Osaisiko joku vääntää rautalangasta miten 11.04:ssä ir-kaukosäätimen pitäisi toimia?
10.10:ssä toimi otsikon mukainen kaukosäädin lirc:in kanssa ihan ok. 11.04-päivityksen jälkeen tilanne on seuraava kun painan kaukosäätimen Play-, Go- ja Enter-nappeja (lircd ei ajossa):
evtest /dev/input/event5
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x15c2 product 0x38 version 0x1
Input device name: "iMON Remote (15c2:0038)"
Supported events:
Event type 0 (Sync)
Event type 1 (Key)
Event code 1 (Esc)
Event code 14 (Backspace)
Event code 28 (Enter)
Event code 57 (Space)
Event code 103 (Up)
Event code 105 (Left)
Event code 106 (Right)
Event code 108 (Down)
Event code 113 (Mute)
Event code 114 (VolumeDown)
Event code 115 (VolumeUp)
Event code 116 (Power)
Event code 119 (Pause)
Event code 127 (Compose)
Event code 128 (Stop)
Event code 139 (Menu)
Event code 148 (Prog1)
Event code 154 (CycleWindows)
Event code 156 (Bookmarks)
Event code 161 (EjectCD)
Event code 162 (EjectCloseCD)
Event code 167 (Record)
Event code 168 (Rewind)
Event code 174 (Exit)
Event code 204 (?)
Event code 207 (Play)
Event code 208 (Fast Forward)
Event code 212 (Camera)
Event code 226 (Media)
Event code 272 (LeftBtn)
Event code 273 (RightBtn)
Event code 359 (Time)
Event code 368 (Language)
Event code 370 (Subtitle)
Event code 372 (Zoom)
Event code 374 (Keyboard)
Event code 375 (Screen)
Event code 377 (TV)
Event code 389 (DVD)
Event code 392 (Audio)
Event code 393 (Video)
Event code 402 (ChannelUp)
Event code 403 (ChannelDown)
Event code 407 (Next)
Event code 412 (Previous)
Event code 438 (?)
Event code 512 (?)
Event code 513 (?)
Event code 514 (?)
Event code 515 (?)
Event code 516 (?)
Event code 517 (?)
Event code 518 (?)
Event code 519 (?)
Event code 520 (?)
Event code 521 (?)
Event code 522 (?)
Event code 523 (?)
Event type 4 (Misc)
Event code 4 (ScanCode)
Event type 20 (Repeat)
Testing ... (interrupt to exit)
Event: time 1334591381.330516, type 4 (Misc), code 4 (ScanCode), value 2a8115b7
Event: time 1334591381.330527, type 1 (Key), code 207 (Play), value 1
Event: time 1334591381.330528, -------------- Report Sync ------------
Event: time 1334591381.410518, type 1 (Key), code 207 (Play), value 0
Event: time 1334591381.410525, -------------- Report Sync ------------
Event: time 1334591385.482565, type 4 (Misc), code 4 (ScanCode), value 2ab195b7
Event: time 1334591385.482577, type 1 (Key), code 148 (Prog1), value 1
Event: time 1334591385.482578, -------------- Report Sync ------------
Event: time 1334591385.578569, type 1 (Key), code 148 (Prog1), value 0
Event: time 1334591385.578576, -------------- Report Sync ------------
Event: time 1334591388.826609, type 4 (Misc), code 4 (ScanCode), value 2000028
Event: time 1334591388.826621, type 1 (Key), code 28 (Enter), value 1
Event: time 1334591388.826622, -------------- Report Sync ------------
Event: time 1334591388.954612, type 1 (Key), code 28 (Enter), value 0
Event: time 1334591388.954618, -------------- Report Sync ------------
ir-keytable -t
Testing events. Please, press CTRL-C to abort.
1334591381.330516: event MSC: scancode = 2a8115b7
1334591381.330527: event key down: KEY_PLAY (0x00cf)
1334591381.330528: event sync
1334591381.410518: event key up: KEY_PLAY (0x00cf)
1334591381.410525: event sync
1334591385.482565: event MSC: scancode = 2ab195b7
1334591385.482577: event key down: KEY_PROG1 (0x0094)
1334591385.482578: event sync
1334591385.578569: event key up: KEY_PROG1 (0x0094)
1334591385.578576: event sync
1334591388.826609: event MSC: scancode = 2000028
1334591388.826621: event key down: KEY_ENTER (0x001c)
1334591388.826622: event sync
1334591388.954612: event key up: KEY_ENTER (0x001c)
1334591388.954618: event sync
Nyt haluaisin mythtv:n jotenkin mäppäävän esim. tuon Enter-key:n toimintoon down, vanhassa elämässä .mythtv/lircrc:ssä se tapahtui konfiguraatiolla
begin
prog = mythtv
button = KEY_ENTER
config = Down
end
/lib/udev/rc_keymaps/imon_pad -tiedostossa jota käytin komennossa
ir-keytable -c -w /lib/udev/rc_keymaps/imon_pad
on noille napeille seuraavat määritykset:
0x2a8115b7 KEY_PLAY
0x2a8315b7 KEY_PLAY
0x02000028 KEY_ENTER
0x28a195b7 KEY_ENTER
mutta esim tuolle Go-napille (Prog1) ei ole määritystä
ja tässä vaiheessa multa loppuu ymmärrys. Kun käynnistän lircd:n ja kokeilen kaukosäädintä mytht:n kanssa niin
- Enter-nappi tekee enterin
- Go/Prog1 ja Play -napit eivät tee mitään
sama tulos jos lircd ei ole ajossa.
Ja sama tulos irw-komennolla