Skocz do zawartości

Pilot Elmak Maxter I Pytanie Firmy Do Społeczności


3k_PL

Rekomendowane odpowiedzi

Witam, jakis czas temu kupilem pilot do kompa i TV Elmak Maxter. Sprzet fajny ale nie dzialalo mi 5 przycisków w Linuksie. Napisalem do Elmaka, niestety tak na szybko nie znalazlem z nimi rozwiazania.

 

Dostalem od nich kolejnego maila:

Poniewaz otrzymujemy coraz wiecej sygnalów od uzytkowników LINUXA rozwazamy wprowadzenie wersji pilota MAXTER która lepiej bedzie wspólpracowala z tym systemem.

Jezeli ma Pan jakies sugestie dotyczace jakich przycisków nalezalo by uzyc pod obecnie niedzialajacymi funkcjami to prosze o informacje.

W tej chwili jestesmy na etapie tworzenia zalozen do takiej wersji pilota. Idealnie bylo by aby nowa wersja wspólpracowala z oboma systemami LINUXEM I WINDOWSEM.

 

Czy macie jakies wobec tego sugestie, pomysly jak zaprojektowac sprzet by juz zawsze dzialal na Linuksie?

 

Pilot dziala w ten sposób ze podlacza sie odbiornik IR do kompa (USB) i jest wykrywany jako klawiatura + mysz. Pilot po nacisnieciu przycisku "TV" obsluguje podstawowe funkcje TV (On/Off, Vol +/-, mute, Chan +/-, AV in, AV out).

 

$ lsusb:
Bus 003 Device 004: ID 18b1:0037 Petalynx Maxter Remote Control

$ dmesg:
[59693.525086] usb 3-3: new low speed USB device using ohci_hcd and address 5
[59693.676295] usb 3-3: New USB device found, idVendor=18b1, idProduct=0037
[59693.676315] usb 3-3: New USB device strings: Mfr=3, Product=1, SerialNumber=0
[59693.676331] usb 3-3: Product: irMAKbd pl
[59693.676338] usb 3-3: Manufacturer: ELMAK.pl
[59693.690272] petalynx 0003:18B1:0037.0006: fixing up Petalynx Maxter Remote report descriptor
[59693.691545] input: ELMAK.pl irMAKbd pl as /devices/pci0000:00/0000:00:12.0/usb3/3-3/3-3:1.0/input/input9
[59693.691900] petalynx 0003:18B1:0037.0006: input,hiddev97,hidraw4: USB HID v1.00 Mouse [ELMAK.pl irMAKbd pl] on usb-0000:00:12.0-3/input0

 

$ xev
dla *** W GÓRE ***:
KeyPress event, serial 35, synthetic NO, window 0xa000001,
   root 0xd1, subw 0x0, time 59897872, (1364,711), root:(1374,762),
   state 0x10, keycode 111 (keysym 0xff52, Up), same_screen YES,
   XLookupString gives 0 bytes:
   XmbLookupString gives 0 bytes:
   XFilterEvent returns: False

KeyRelease event, serial 35, synthetic NO, window 0xa000001,
   root 0xd1, subw 0x0, time 59897992, (1364,711), root:(1374,762),
   state 0x10, keycode 111 (keysym 0xff52, Up), same_screen YES,
   XLookupString gives 0 bytes:
   XFilterEvent returns: False



dla *** W PRAWO ***:
KeyPress event, serial 35, synthetic NO, window 0xa000001,
   root 0xd1, subw 0x0, time 59906001, (1364,711), root:(1374,762),
   state 0x10, keycode 114 (keysym 0xff53, Right), same_screen YES,
   XLookupString gives 0 bytes:
   XmbLookupString gives 0 bytes:
   XFilterEvent returns: False

KeyRelease event, serial 35, synthetic NO, window 0xa000001,
   root 0xd1, subw 0x0, time 59906233, (1364,711), root:(1374,762),
   state 0x10, keycode 114 (keysym 0xff53, Right), same_screen YES,
   XLookupString gives 0 bytes:
   XFilterEvent returns: False



dla *** 7 ***:
KeyPress event, serial 35, synthetic NO, window 0xa000001,
   root 0xd1, subw 0x0, time 59910554, (1364,711), root:(1374,762),
   state 0x10, keycode 79 (keysym 0xffb7, KP_7), same_screen YES,
   XLookupString gives 1 bytes: (37) "7"
   XmbLookupString gives 1 bytes: (37) "7"
   XFilterEvent returns: False

KeyRelease event, serial 35, synthetic NO, window 0xa000001,
   root 0xd1, subw 0x0, time 59910786, (1364,711), root:(1374,762),
   state 0x10, keycode 79 (keysym 0xffb7, KP_7), same_screen YES,
   XLookupString gives 1 bytes: (37) "7"
   XFilterEvent returns: False



dla *** REC ***
KeyPress event, serial 35, synthetic NO, window 0xa000001,
   root 0xd1, subw 0x0, time 59918347, (1364,711), root:(1374,762),
   state 0x10, keycode 175 (keysym 0x1008ff1c, XF86AudioRecord), same_screen YES,
   XLookupString gives 0 bytes:
   XmbLookupString gives 0 bytes:
   XFilterEvent returns: False

KeyRelease event, serial 35, synthetic NO, window 0xa000001,
   root 0xd1, subw 0x0, time 59918467, (1364,711), root:(1374,762),
   state 0x10, keycode 175 (keysym 0x1008ff1c, XF86AudioRecord), same_screen YES,
   XLookupString gives 0 bytes:
   XFilterEvent returns: False



dla *** CLEAR ***
KeyPress event, serial 35, synthetic NO, window 0xa000001,
   root 0xd1, subw 0x0, time 60199518, (803,605), root:(813,656),
   state 0x10, keycode 22 (keysym 0xff08, BackSpace), same_screen YES,
   XLookupString gives 1 bytes: (08) "
   XmbLookupString gives 1 bytes: (08) "
   XFilterEvent returns: False

KeyRelease event, serial 35, synthetic NO, window 0xa000001,
   root 0xd1, subw 0x0, time 60199702, (803,605), root:(813,656),
   state 0x10, keycode 22 (keysym 0xff08, BackSpace), same_screen YES,
   XLookupString gives 1 bytes: (08) "
   XFilterEvent returns: False

Przy wciskaniu REC TV, GUIDE, LIVE TV, MORE, MCE oraz DVD MENU xev nie pokazuje nic.

 

System: Fedora 14

kernel: 2.6.35.10-74.fc14.x86_64

 

Problemy która ja wykrylem:

W Linuksie uzywamy serwera X11 który nie rozpoznaje kodów klawiszy wiekszych od 255 - info1 i info2

 

$ sudo evtest /dev/input/event6
Input driver version is 1.0.0
Input device ID: bus 0x3 vendor 0x18b1 product 0x37 version 0x100
Input device name: "ELMAK.pl irMAKbd pl"
Supported events:
 Event type 0 (Sync)
 Event type 1 (Key)
   Event code 1 (Esc)
   Event code 2 (1)
   Event code 3 (2)
   Event code 4 (3)
   Event code 5 (4)
   Event code 6 (5)
   Event code 7 (6)
   Event code 8 (7)
   Event code 9 (8)
   Event code 10 (9)
   Event code 11 (0)
   Event code 12 (Minus)
   Event code 13 (Equal)
   Event code 14 (Backspace)
   Event code 15 (Tab)
   Event code 16 (Q)
   Event code 17 (W)
   Event code 18 (E)
   Event code 19 (R)
   Event code 20 (T)
   Event code 21 (Y)
   Event code 22 (U)
   Event code 23 (I)
   Event code 24 (O)
   Event code 25 (P)
   Event code 26 (LeftBrace)
   Event code 27 (RightBrace)
   Event code 28 (Enter)
   Event code 29 (LeftControl)
   Event code 30 (A)
   Event code 31 (S)
   Event code 32 (D)
   Event code 33 (F)
   Event code 34 (G)
   Event code 35 (H)
   Event code 36 (J)
   Event code 37 (K)
   Event code 38 (L)
   Event code 39 (Semicolon)
   Event code 40 (Apostrophe)
   Event code 41 (Grave)
   Event code 42 (LeftShift)
   Event code 43 (BackSlash)
   Event code 44 (Z)
   Event code 45 (X)
   Event code 46 (C)
   Event code 47 (V)
   Event code 48 (
   Event code 49 (N)
   Event code 50 (M)
   Event code 51 (Comma)
   Event code 52 (Dot)
   Event code 53 (Slash)
   Event code 54 (RightShift)
   Event code 55 (KPAsterisk)
   Event code 56 (LeftAlt)
   Event code 57 (Space)
   Event code 58 (CapsLock)
   Event code 59 (F1)
   Event code 60 (F2)
   Event code 61 (F3)
   Event code 62 (F4)
   Event code 63 (F5)
   Event code 64 (F6)
   Event code 65 (F7)
   Event code 66 (F8)
   Event code 67 (F9)
   Event code 68 (F10)
   Event code 69 (NumLock)
   Event code 70 (ScrollLock)
   Event code 71 (KP7)
   Event code 72 (KP8)
   Event code 73 (KP9)
   Event code 74 (KPMinus)
   Event code 75 (KP4)
   Event code 76 (KP5)
   Event code 77 (KP6)
   Event code 78 (KPPlus)
   Event code 79 (KP1)
   Event code 80 (KP2)
   Event code 81 (KP3)
   Event code 82 (KP0)
   Event code 83 (KPDot)
   Event code 85 (Zenkaku/Hankaku)
   Event code 86 (102nd)
   Event code 87 (F11)
   Event code 88 (F12)
   Event code 89 (RO)
   Event code 90 (Katakana)
   Event code 91 (HIRAGANA)
   Event code 92 (Henkan)
   Event code 93 (Katakana/Hiragana)
   Event code 94 (Muhenkan)
   Event code 95 (KPJpComma)
   Event code 96 (KPEnter)
   Event code 97 (RightCtrl)
   Event code 98 (KPSlash)
   Event code 99 (SysRq)
   Event code 100 (RightAlt)
   Event code 102 (Home)
   Event code 103 (Up)
   Event code 104 (PageUp)
   Event code 105 (Left)
   Event code 106 (Right)
   Event code 107 (End)
   Event code 108 (Down)
   Event code 109 (PageDown)
   Event code 110 (Insert)
   Event code 111 (Delete)
   Event code 113 (Mute)
   Event code 114 (VolumeDown)
   Event code 115 (VolumeUp)
   Event code 116 (Power)
   Event code 117 (KPEqual)
   Event code 119 (Pause)
   Event code 121 (KPComma)
   Event code 122 (Hanguel)
   Event code 123 (Hanja)
   Event code 124 (Yen)
   Event code 125 (LeftMeta)
   Event code 126 (RightMeta)
   Event code 127 (Compose)
   Event code 128 (Stop)
   Event code 129 (Again)
   Event code 130 (Props)
   Event code 131 (Undo)
   Event code 132 (Front)
   Event code 133 (Copy)
   Event code 134 (Open)
   Event code 135 (Paste)
   Event code 136 (Find)
   Event code 137 (Cut)
   Event code 138 (Help)
   Event code 139 (Menu)
   Event code 140 (Calc)
   Event code 142 (Sleep)
   Event code 143 (WakeUp)
   Event code 150 (WWW)
   Event code 152 (Screen Lock)
   Event code 158 (Back)
   Event code 159 (Forward)
   Event code 161 (EjectCD)
   Event code 163 (NextSong)
   Event code 164 (PlayPause)
   Event code 165 (PreviousSong)
   Event code 166 (StopCD)
   Event code 167 (Record)
   Event code 168 (Rewind)
   Event code 169 (Phone)
   Event code 173 (Refresh)
   Event code 174 (Exit)
   Event code 176 (Edit)
   Event code 177 (ScrollUp)
   Event code 178 (ScrollDown)
   Event code 179 (KPLeftParenthesis)
   Event code 180 (KPRightParenthesis)
   Event code 183 (F13)
   Event code 184 (F14)
   Event code 185 (F15)
   Event code 186 (F16)
   Event code 187 (F17)
   Event code 188 (F18)
   Event code 189 (F19)
   Event code 190 (F20)
   Event code 191 (F21)
   Event code 192 (F22)
   Event code 193 (F23)
   Event code 194 (F24)
   Event code 207 (Play)
   Event code 208 (Fast Forward)
   Event code 209 (Bass Boost)
   Event code 240 (Unknown)
   Event code 241 (Video Next)
   Event code 256 (Btn0)
   Event code 272 (LeftBtn)
   Event code 273 (RightBtn)
   Event code 274 (MiddleBtn)
   Event code 353 (Select)
   Event code 362 (Program)
   Event code 366 (PVR)
   Event code 372 (Zoom)
   Event code 376 (PC)
   Event code 377 (TV)
   Event code 378 (TV2)
   Event code 379 (VCR)
   Event code 380 (VCR2)
   Event code 381 (Sat)
   Event code 383 (CD)
   Event code 384 (Tape)
   Event code 386 (Tuner)
   Event code 388 (Text)
   Event code 389 (DVD)
   Event code 396 (Memo)
   Event code 398 (Red)
   Event code 399 (Green)
   Event code 400 (Yellow)
   Event code 401 (Blue)
   Event code 402 (ChannelUp)
   Event code 403 (ChannelDown)
   Event code 405 (Last)
   Event code 407 (Next)
   Event code 409 (Slow)
   Event code 416 (Videophone)
   Event code 417 (Games)
   Event code 418 (Zoom In)
   Event code 419 (Zoom Out)
   Event code 439 (Media Repeat)
 Event type 2 (Relative)
   Event code 0 (X)
   Event code 1 (Y)
   Event code 8 (Wheel)
 Event type 3 (Absolute)
   Event code 32 (Volume)
     Value      0
     Min        0
     Max      250
   Event code 40 (Misc)
     Value      0
     Min        0
     Max      255
   Event code 41 (?)
     Value      0
     Min        0
     Max      255
   Event code 42 (?)
     Value      0
     Min        0
     Max      255
   Event code 43 (?)
     Value      0
     Min        0
     Max      255
 Event type 4 (Misc)
   Event code 4 (ScanCode)
 Event type 17 (LED)
   Event code 0 (NumLock)
   Event code 1 (CapsLock)
   Event code 2 (ScrollLock)
   Event code 3 (Compose)
   Event code 4 (Kana)
 Event type 20 (Repeat)

 

Problem ten dotyczy klawiszy:

GUIDE - code 362 (Program)

MORE - code 407 (Next)

Ziel+Red - code 398 (Red)

Ziel+Ziel - code 399 (Green)

Ziel+Zól - code 400 (Yellow)

Ziel+Nieb - code 401 (Blue)

 

Kolejne utrudnienie jakie stwarza Master Plus to klawisze nie rózniace sie dla Linuksa kodami a wartoscia

 

$ sudo evtest /dev/input/event6
Testing ...
type 3 (Absolute), code 41 (?), value 37    <- Live TV pierwszy raz
type 3 (Absolute), code 41 (?), value 165    <- Live TV drugi raz
type 3 (Absolute), code 41 (?), value 40    <- Rec TV drugi raz
type 3 (Absolute), code 41 (?), value 168    <- Rec TV drugi raz
type 3 (Absolute), code 41 (?), value 13    <- MCE pierwszy raz
type 3 (Absolute), code 41 (?), value 141    <- MCE drugi raz
type 3 (Absolute), code 41 (?), value 36    <- DVD Menu pierwszy raz
type 3 (Absolute), code 41 (?), value 164    <- DVD Menu drugi raz

 

Dodatkowo klawisz MENU emituje kombinacje:

$ sudo evtest /dev/input/event6
Testing ... 
Event: time 1296889902.593721, type 4 (Misc), code 4 (ScanCode), value 700e2
Event: time 1296889902.593749, type 1 (Key), code 56 (LeftAlt), value 1
Event: time 1296889902.593763, type 4 (Misc), code 4 (ScanCode), value 700e3
Event: time 1296889902.593768, type 1 (Key), code 125 (LeftMeta), value 1
Event: time 1296889902.593787, type 4 (Misc), code 4 (ScanCode), value 70028
Event: time 1296889902.593790, type 1 (Key), code 28 (Enter), value 1
Event: time 1296889902.593793, -------------- Report Sync ------------
^[
Event: time 1296889902.601708, type 3 (Absolute), code 40 (Misc), value 1
Event: time 1296889902.601734, type 3 (Absolute), code 41 (?), value 11
Event: time 1296889902.601752, type 3 (Absolute), code 42 (?), value 0
Event: time 1296889902.601760, -------------- Report Sync ------------
Event: time 1296889902.713715, type 4 (Misc), code 4 (ScanCode), value 700e2
Event: time 1296889902.713741, type 1 (Key), code 56 (LeftAlt), value 0
Event: time 1296889902.713759, type 4 (Misc), code 4 (ScanCode), value 700e3
Event: time 1296889902.713763, type 1 (Key), code 125 (LeftMeta), value 0
Event: time 1296889902.713781, type 4 (Misc), code 4 (ScanCode), value 70028
Event: time 1296889902.713784, type 1 (Key), code 28 (Enter), value 0
Event: time 1296889902.713786, -------------- Report Sync ------------

 

$ xev
KeyPress event, serial 35, synthetic NO, window 0x4a00001,
   root 0xd1, subw 0x0, time 1871028, (1632,412), root:(1642,463),
   state 0x10, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
   XLookupString gives 0 bytes: 
   XmbLookupString gives 0 bytes: 
   XFilterEvent returns: False

KeyPress event, serial 35, synthetic NO, window 0x4a00001,
   root 0xd1, subw 0x0, time 1871028, (1632,412), root:(1642,463),
   state 0x18, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
   XLookupString gives 0 bytes: 
   XmbLookupString gives 0 bytes: 
   XFilterEvent returns: False

KeyPress event, serial 35, synthetic NO, window 0x4a00001,
   root 0xd1, subw 0x0, time 1871028, (1632,412), root:(1642,463),
   state 0x58, keycode 36 (keysym 0xff0d, Return), same_screen YES,
"   XLookupString gives 1 bytes: (0d) "
"   XmbLookupString gives 1 bytes: (0d) "
   XFilterEvent returns: False

KeyRelease event, serial 35, synthetic NO, window 0x4a00001,
   root 0xd1, subw 0x0, time 1871156, (1632,412), root:(1642,463),
   state 0x58, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
   XLookupString gives 0 bytes: 
   XFilterEvent returns: False

KeyRelease event, serial 35, synthetic NO, window 0x4a00001,
   root 0xd1, subw 0x0, time 1871156, (1632,412), root:(1642,463),
   state 0x50, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
   XLookupString gives 0 bytes: 
   XFilterEvent returns: False

KeyRelease event, serial 35, synthetic NO, window 0x4a00001,
   root 0xd1, subw 0x0, time 1871156, (1632,412), root:(1642,463),
   state 0x10, keycode 36 (keysym 0xff0d, Return), same_screen YES,
"   XLookupString gives 1 bytes: (0d) "
   XFilterEvent returns: False

 

Która nie jest latwa do obsluzenia i pewnie na MacOS sie polozy ze wzgledu na Super_L -> klawisz z Win logo (Albo z Domkiem)

 

Co napisalem zle, co nie zauwazylem i co jeszcze?

Odnośnik do komentarza
Udostępnij na innych stronach

  • 1 month later...

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
×
×
  • Dodaj nową pozycję...