|
From: Ulrich E. <uli...@ul...> - 2012-12-09 13:04:56
|
Hi,
with the old lircd 0.8.x the front panel buttons of the thermaltake
dh102 case worked without problems. Due to kernel update to 3.6.8 I want
to switch to from the lirc_imon to the imon kernel module. With the imon
module the remote control, the touch screen and the volume knob of the
front panel is working but not all other buttons of the front panel. The
iMon is detected as:
input: iMON Panel, Knob and Mouse(15c2:0034) as
/devices/pci0000:00/0000:00:02.0/usb2/2-5/2-5:1.0/input/input9
Registered IR keymap rc-imon-pad
input: iMON Remote (15c2:0034) as
/devices/pci0000:00/0000:00:02.0/usb2/2-5/2-5:1.0/rc/rc2/input10
rc2: iMON Remote (15c2:0034) as
/devices/pci0000:00/0000:00:02.0/usb2/2-5/2-5:1.0/rc/rc2
imon 2-5:1.0: could not get a minor number for display
imon 2-5:1.0: iMON device (15c2:0034, intf0) on usb<2:3> initialized
input: iMON USB Touchscreen (15c2:0034) as
/devices/pci0000:00/0000:00:02.0/usb2/2-5/2-5:1.0/input/input11
imon 2-5:1.1: iMON device (15c2:0034, intf1) on usb<2:3> initialized
When I press for example the ENTER button of the front panel, this
button is detected:
intf1 decoded packet: 00 00 00 16 00 00 14 ee
So I added this to the imon_panel_key_table in imon.c . Now this key if
forwarded to the input device, but a single press on the ENTER button
creates now a lot of events:
vdr:/usr/src/linux # evtest /dev/input/by-id/usb-15c2_0034-event-mouse
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x15c2 product 0x34 version 0x14
Input device name: "iMON Panel, Knob and Mouse(15c2:0034)"
Supported events:
Event type 0 (Sync)
Event type 1 (Key)
Event code 1 (Esc)
Event code 28 (Enter)
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 128 (Stop)
Event code 139 (Menu)
Event code 164 (PlayPause)
Event code 168 (Rewind)
Event code 174 (Exit)
Event code 208 (Fast Forward)
Event code 212 (Camera)
Event code 226 (Media)
Event code 272 (LeftBtn)
Event code 273 (RightBtn)
Event code 353 (Select)
Event code 377 (TV)
Event code 389 (DVD)
Event code 392 (Audio)
Event code 393 (Video)
Event code 407 (Next)
Event code 412 (Previous)
Event type 2 (Relative)
Event code 0 (X)
Event code 1 (Y)
Event code 8 (Wheel)
Event type 20 (Repeat)
Testing ... (interrupt to exit)
Event: time 1355057188.227031, type 1 (Key), code 28 (Enter), value 1
Event: time 1355057188.227035, -------------- Report Sync ------------
Event: time 1355057188.227057, type 1 (Key), code 28 (Enter), value 0
Event: time 1355057188.227060, -------------- Report Sync ------------
Event: time 1355057188.235010, type 1 (Key), code 28 (Enter), value 1
Event: time 1355057188.235014, -------------- Report Sync ------------
Event: time 1355057188.235037, type 1 (Key), code 28 (Enter), value 0
Event: time 1355057188.235039, -------------- Report Sync ------------
Event: time 1355057188.251225, type 1 (Key), code 28 (Enter), value 1
Event: time 1355057188.251228, -------------- Report Sync ------------
Event: time 1355057188.251259, type 1 (Key), code 28 (Enter), value 0
Event: time 1355057188.251261, -------------- Report Sync ------------
Event: time 1355057188.258996, type 1 (Key), code 28 (Enter), value 1
Event: time 1355057188.259000, -------------- Report Sync ------------
Event: time 1355057188.259019, type 1 (Key), code 28 (Enter), value 0
Event: time 1355057188.259021, -------------- Report Sync ------------
Event: time 1355057188.266997, type 1 (Key), code 28 (Enter), value 1
Event: time 1355057188.267002, -------------- Report Sync ------------
Event: time 1355057188.267021, type 1 (Key), code 28 (Enter), value 0
Event: time 1355057188.267023, -------------- Report Sync ------------
...
How can I fix this problem and get the front panels to work?
Best Regards
Uli
--
Ulrich Eckhardt http://www.uli-eckhardt.de
Ein Blitzableiter auf dem Kirchturm ist das denkbar stärkste
Misstrauensvotum gegen den lieben Gott. (Karl Krauss)
|