From: Leho K. <le...@kr...> - 2011-04-30 17:01:56
|
Hi (This is a subscribed resend. Sending this unsubscribed gave me "admin must approve message" and now nothing has happened for two days.) This is to continue on topic of http://sourceforge.net/mailarchive/message.php?msg_id=27241663. I'm running into the same thing as OP there, with a couple of differences I guess. $ sudo lsusb | grep 15c2 Bus 006 Device 002: ID 15c2:0038 SoundGraph Inc. GD01 MX VFD Display/IR Receiver $ ir-keytable --version IR keytable control version 0.8.3 $ uname -r 2.6.38-gentoo-r3 1. udev rules don't seem to set my keymap up correctly Apr 28 14:05:32 udevd-work[17065]: RUN '/usr/bin/ir-keytable -a /etc/rc_maps.cfg -s $name' /lib/udev/rules.d/70-infrared.rules:6 Apr 28 14:05:32 udevd-work[17065]: '/usr/bin/ir-keytable -a /etc/rc_maps.cfg -s rc0' started Apr 28 14:05:32 udevd-work[17065]: '/usr/bin/ir-keytable -a /etc/rc_maps.cfg -s rc0' returned with exitcode 0 But then ir-keytable -r only returns a single registered keycode: KEY_COFFEE When I manually do: $ sudo ir-keytable -w /etc/rc_keymaps/imon_pad keymap is loaded correctly. Now that I am writing this, I'm thinking this might be because I did not compile rc-imon-pad, because there is no way ("yet" hopefully) to single it out. So rc_maps.cfg line doesn't match: * rc-imon-pad imon_pad Should it be just "imon" instead: * imon imon_pad Setting the driver "imon" does not help: imon rc-imon-pad imon_pad 2. Since I can load keytables manually, I can see I basically don't need LIRC at all anymore, since remote becomes a keyboard, which is awesome. Now I still have a problem with unrecognized scancodes spamming my syslog like the OP mentioned. Jared responded that it is an issue with 32-bit vs 64-bit keycodes. Putting these into imon_pad doesn't do anything for me. +0x010000f2 KEY_UP +0x01000e00 KEY_RIGHT +0x0100000e KEY_DOWN +0x0100f200 KEY_LEFT Should they? 3. imon debug=1 codes that doesn't seem to be handled at all for now Timer Apr 28 16:21:00 vmr45 kernel: [61560.699740] intf1 decoded packet: 2b 83 95 b7 00 00 02 01 Apr 28 16:21:00 vmr45 kernel: [61560.747672] intf1 decoded packet: 2b 83 d5 b7 00 00 02 01 Task Switcher Apr 28 16:21:38 vmr45 kernel: [61598.696736] intf1 decoded packet: 2a 93 95 b7 00 00 02 01 Apr 28 16:21:38 vmr45 kernel: [61598.800726] intf1 decoded packet: 2a 93 d5 b7 00 00 02 01 go Apr 28 16:21:57 vmr45 kernel: [61617.747209] intf1 decoded packet: 2a b1 95 b7 00 00 02 01 Apr 28 16:21:57 vmr45 kernel: [61617.803166] intf1 decoded packet: 2a b1 d5 b7 00 00 02 01 App Launcher Apr 28 16:22:11 vmr45 kernel: [61631.225629] intf1 decoded packet: 29 b7 15 b7 00 00 02 01 Apr 28 16:22:11 vmr45 kernel: [61631.297572] intf1 decoded packet: 29 b7 55 b7 00 00 02 01 Mid-Eject Apr 28 16:22:36 vmr45 kernel: [61656.111939] intf1 decoded packet: 29 93 95 b7 00 00 02 01 Apr 28 16:22:36 vmr45 kernel: [61656.199874] intf1 decoded packet: 29 93 d5 b7 00 00 02 01 L-mouse Apr 28 16:23:07 vmr45 kernel: [61687.505626] intf0 decoded packet: 01 01 00 01 00 00 00 00 Apr 28 16:23:07 vmr45 kernel: [61687.617546] intf0 decoded packet: 01 00 00 00 00 00 00 00 R-mouse Apr 28 16:23:32 vmr45 kernel: [61712.551825] intf0 decoded packet: 01 02 00 00 00 00 00 00 Apr 28 16:23:32 vmr45 kernel: [61712.599715] intf0 decoded packet: 01 00 00 00 00 00 00 00 Help? (vasakul pool dialit) Apr 28 16:24:06 vmr45 kernel: [61745.992089] intf0 decoded packet: 02 80 00 00 00 00 00 00 Apr 28 16:24:06 vmr45 kernel: [61746.111958] intf0 decoded packet: 02 00 00 00 00 00 00 00 Compose key (paremal pool dialit) Apr 28 16:25:15 vmr45 kernel: [61815.550620] intf0 decoded packet: 02 00 00 65 00 00 00 00 Apr 28 16:25:15 vmr45 kernel: [61815.654543] intf0 decoded packet: 02 00 00 00 00 00 00 00 Up-Eject Apr 28 16:25:57 vmr45 kernel: [61857.544777] intf1 decoded packet: 29 b1 95 b7 00 00 02 01 Apr 28 16:25:57 vmr45 kernel: [61857.648582] intf1 decoded packet: 29 b1 d5 b7 00 00 02 01 Power Apr 28 16:26:43 vmr45 kernel: [61903.416199] intf1 decoded packet: 28 91 15 b7 00 00 02 01 Apr 28 16:26:43 vmr45 kernel: [61903.536077] intf1 decoded packet: 28 91 55 b7 00 00 02 01 -- Leho Kraav, M.Sc. |