2010-10-16, 21:26
I have managed to get the remote to function but I'm experiencing something strange with lirc or inputlirc and the remote. I can configure the remote and set the buttons up and it will function correctly, but with several button repeats. After a two days of trying several different things, such as configuring lirc with devinput and /dev/input/event5 and reconfiguring lirc to use inputlirc and inputlirc, both variations work with xbmc. But the remote commands repeats very badly. So today I stopped the lirc and inputlirc and deleted the /dev/lirc* devices manually, even rebooted. To my amazement, xbmc is still receiving the remote commands, even though it can not connect to /dev/lircd. I have actually removed the packages. However it's functioning, I see no way of loading a remote template, as I do not understanding how its working in the first place. But this does show where the repeat button commands are coming from. In this state with no lirc or inputlirc, it does not completely function correctly, but the arrow, play, pause,fast ford,rewind stop do, and the arrow keys are nearly unusable when lirc or lirc&inputlirc are configured and working. The arrows jump from the top to the bottom of folder with thousands of titles. Its almost like the remote is being treated as a keyboard. Also I do not have the remote send keyboard key press enabled, but I believe this to make the remote function in reverse to this issue.
These lirc changes have been a doozy in the newer kernels for me.
# dpkg --list |grep lirc rc means uninstalled, but config files left behind.
rc gnome-lirc-properties 0.5.1-0ubuntu1 Control panel to configure remote controls
rc inputlirc 16-1 Zeroconf LIRC daemon using input event devices
rc liblircclient0 0.8.7~pre3-0ubuntu2 infra-red remote control support - client library
rc lirc 0.8.7~pre3-0ubuntu2 infra-red remote control support
rc lirc-modules-source 0.8.7~pre3-0ubuntu2 infra-red remote control support - kernel modules
#lsmod |grep ir
ir_lirc_codec 3888 0
lirc_dev 11209 1 ir_lirc_codec
ir_sony_decoder 2381 0
ir_jvc_decoder 2442 0
ir_rc6_decoder 3018 0
ir_rc5_decoder 2474 0
ir_nec_decoder 2442 0
ir_core 16906 9 ir_lirc_codec,ir_sony_decoder,ir_jvc_decoder,ir_rc6_decoder,rc_rc6_mce,ir_rc5_decoder,ir_nec_decoder,mceusb
#lsinput
<snip>
/dev/input/event5
bustype : (null)
vendor : 0x0
product : 0x0
version : 0
name : "Media Center Ed. eHome Infrared "
phys : "usb-0000:00:1d.2-2/input0"
bits ev : EV_SYN EV_KEY EV_REP
xbmc.log snippets.
13:15:28 T:140415605610560 M:3138547712 NOTICE: -----------------------------------------------------------------------
13:15:28 T:140415605610560 M:3139006464 NOTICE: Starting XBMC, Platform: Linux (Ubuntu 10.10, 2.6.35-22-generic x86_64). Built on Oct 13 2010 (SVN:34753M)
13:15:59 T:140415605610560 M:3106664448 INFO: LIRC Initialize: using: /dev/lircd
13:15:59 T:140415605610560 M:3106664448 DEBUG: Failed to connect to LIRC. Retry in 40s.
13:16:39 T:140415605610560 M:3107201024 INFO: LIRC Initialize: using: /dev/lircd
13:16:39 T:140415605610560 M:3107201024 DEBUG: Failed to connect to LIRC. Giving up.
The log has no KEY_UP type of commands, that you see when it receives the keys from lirc. Its like its being treated as a keyboard.
#ps -ef |grep ir
root 3 2 0 13:43 ? 00:00:00 [ksoftirqd/0]
root 7 2 0 13:43 ? 00:00:00 [ksoftirqd/1]
root 10 2 0 13:43 ? 00:00:00 [ksoftirqd/2]
root 13 2 0 13:43 ? 00:00:03 [ksoftirqd/3]
#dmesg |grep input
[ 0.803269] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
[ 0.803399] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
[ 2.177635] input: Wireless Keyboard/Mouse as /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1:1.0/input/input2
[ 2.177733] generic-usb 0003:099A:7202.0001: input,hidraw0: USB HID v1.11 Keyboard [Wireless Keyboard/Mouse] on usb-0000:00:1a.0-1/input0
[ 2.212961] input: Wireless Keyboard/Mouse as /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1:1.1/input/input3
[ 2.213107] generic-usb 0003:099A:7202.0002: input,hiddev96,hidraw1: USB HID v1.11 Mouse [Wireless Keyboard/Mouse] on usb-0000:00:1a.0-1/input1
[ 3.757452] generic-usb 0003:051D:0002.0003: hiddev97,hidraw2: USB HID v1.10 Device [American Power Conversion Back-UPS XS 900 FW:830.E6 .D USB FW:E6 ] on usb-0000:00:1a.0-2/input0
[ 10.771346] input: Media Center Ed. eHome Infrared Remote Transceiver (0471:0815) as /devices/virtual/rc/rc0/input4
[ 10.795718] input: UVC Camera (046d:09a1) as /devices/pci0000:00/0000:00:1d.7/usb2/2-5/2-5:1.0/input/input5
Also xbmc was built from svn a night or two ago. I'm not sure how to fix this, but I do miss my remote, as the using a wireless keyboard kinda sucks.
My remote is a cheap windows xp media center usb remotes, microsoft branded, and I have been using it with Ubuntu for atleast a year and a half.
Thanks,
Justin
These lirc changes have been a doozy in the newer kernels for me.
# dpkg --list |grep lirc rc means uninstalled, but config files left behind.
rc gnome-lirc-properties 0.5.1-0ubuntu1 Control panel to configure remote controls
rc inputlirc 16-1 Zeroconf LIRC daemon using input event devices
rc liblircclient0 0.8.7~pre3-0ubuntu2 infra-red remote control support - client library
rc lirc 0.8.7~pre3-0ubuntu2 infra-red remote control support
rc lirc-modules-source 0.8.7~pre3-0ubuntu2 infra-red remote control support - kernel modules
#lsmod |grep ir
ir_lirc_codec 3888 0
lirc_dev 11209 1 ir_lirc_codec
ir_sony_decoder 2381 0
ir_jvc_decoder 2442 0
ir_rc6_decoder 3018 0
ir_rc5_decoder 2474 0
ir_nec_decoder 2442 0
ir_core 16906 9 ir_lirc_codec,ir_sony_decoder,ir_jvc_decoder,ir_rc6_decoder,rc_rc6_mce,ir_rc5_decoder,ir_nec_decoder,mceusb
#lsinput
<snip>
/dev/input/event5
bustype : (null)
vendor : 0x0
product : 0x0
version : 0
name : "Media Center Ed. eHome Infrared "
phys : "usb-0000:00:1d.2-2/input0"
bits ev : EV_SYN EV_KEY EV_REP
xbmc.log snippets.
13:15:28 T:140415605610560 M:3138547712 NOTICE: -----------------------------------------------------------------------
13:15:28 T:140415605610560 M:3139006464 NOTICE: Starting XBMC, Platform: Linux (Ubuntu 10.10, 2.6.35-22-generic x86_64). Built on Oct 13 2010 (SVN:34753M)
13:15:59 T:140415605610560 M:3106664448 INFO: LIRC Initialize: using: /dev/lircd
13:15:59 T:140415605610560 M:3106664448 DEBUG: Failed to connect to LIRC. Retry in 40s.
13:16:39 T:140415605610560 M:3107201024 INFO: LIRC Initialize: using: /dev/lircd
13:16:39 T:140415605610560 M:3107201024 DEBUG: Failed to connect to LIRC. Giving up.
The log has no KEY_UP type of commands, that you see when it receives the keys from lirc. Its like its being treated as a keyboard.
#ps -ef |grep ir
root 3 2 0 13:43 ? 00:00:00 [ksoftirqd/0]
root 7 2 0 13:43 ? 00:00:00 [ksoftirqd/1]
root 10 2 0 13:43 ? 00:00:00 [ksoftirqd/2]
root 13 2 0 13:43 ? 00:00:03 [ksoftirqd/3]
#dmesg |grep input
[ 0.803269] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
[ 0.803399] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
[ 2.177635] input: Wireless Keyboard/Mouse as /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1:1.0/input/input2
[ 2.177733] generic-usb 0003:099A:7202.0001: input,hidraw0: USB HID v1.11 Keyboard [Wireless Keyboard/Mouse] on usb-0000:00:1a.0-1/input0
[ 2.212961] input: Wireless Keyboard/Mouse as /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1:1.1/input/input3
[ 2.213107] generic-usb 0003:099A:7202.0002: input,hiddev96,hidraw1: USB HID v1.11 Mouse [Wireless Keyboard/Mouse] on usb-0000:00:1a.0-1/input1
[ 3.757452] generic-usb 0003:051D:0002.0003: hiddev97,hidraw2: USB HID v1.10 Device [American Power Conversion Back-UPS XS 900 FW:830.E6 .D USB FW:E6 ] on usb-0000:00:1a.0-2/input0
[ 10.771346] input: Media Center Ed. eHome Infrared Remote Transceiver (0471:0815) as /devices/virtual/rc/rc0/input4
[ 10.795718] input: UVC Camera (046d:09a1) as /devices/pci0000:00/0000:00:1d.7/usb2/2-5/2-5:1.0/input/input5
Also xbmc was built from svn a night or two ago. I'm not sure how to fix this, but I do miss my remote, as the using a wireless keyboard kinda sucks.
My remote is a cheap windows xp media center usb remotes, microsoft branded, and I have been using it with Ubuntu for atleast a year and a half.
Thanks,
Justin