2011-12-21, 16:39
Hi garz,
I have just purchased an Antec Fusion Black case and managed to get the remote for the IR/LCD (product 15c2:0038) working with LIRC 0.9.0. I am working on Archlinux, but I think I can adapt it to Ubuntu. The LCD still isn't working; see my next post for details. The procedure is adapted from the Archlinux wiki.
The trick is that we now need to configure LIRC to use the devinput layer. To do so, first find your product by running the command You should get something like Find the line similar to Bus 001 Device 003: ID 15c2:0038 SoundGraph Inc. GD01 MX VFD Display/IR Receiver and note the product code, 15c2:0038 in this case.
We now need to find which event your IR receiver is associated with. Run which should give you something like There should be several lines with the product code you noted earlier. Note the event numbers associated with them. In my case, the one that ultimately worked was the event associated with usb-15c2_0038-event-if00 (/event6), but it might be different if you have a different device.
You finally need to configure LIRC to work with this event. The way to do this in Ubuntu differs from Arch, therefore, there might be little mistakes. Let me know and I'll try to corect them. Run and select the devinput entry in the first dialog, and the event you noted earlier in the next screen. Restart the lirc daemon with and see if it worked by running the command Press a few keys on your remote (make sure to hold them for a few seconds, it doesn't seem to be very responsive) and you should see something like appear. If so, congratulations, LIRC is now configured. If not, retry the dpkg-reconfigure command with a different event associated with the same product code.
Now, to have it work correctly with XBMC, you need to do a few more things. Please see this thread: http://forum.xbmc.org/showthread.php?tid=45972 for more information.
I have just purchased an Antec Fusion Black case and managed to get the remote for the IR/LCD (product 15c2:0038) working with LIRC 0.9.0. I am working on Archlinux, but I think I can adapt it to Ubuntu. The LCD still isn't working; see my next post for details. The procedure is adapted from the Archlinux wiki.
The trick is that we now need to configure LIRC to use the devinput layer. To do so, first find your product by running the command
Code:
lsusb
Code:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 15c2:0038 SoundGraph Inc. GD01 MX VFD Display/IR Receiver
Bus 003 Device 003: ID 045e:008a Microsoft Corp. Wireless Keyboard and Mouse
We now need to find which event your IR receiver is associated with. Run
Code:
ls -l /dev/input/by-id/
Code:
lrwxrwxrwx 1 root root 9 20 déc 15:04 usb-15c2_0038-event-if00 -> ../event6
lrwxrwxrwx 1 root root 9 20 déc 15:04 usb-15c2_0038-event-mouse -> ../event5
lrwxrwxrwx 1 root root 9 20 déc 15:04 usb-15c2_0038-mouse -> ../mouse1
lrwxrwxrwx 1 root root 9 20 déc 15:04 usb-Microsoft_Microsoft_Wireless_Optical_Desktop®_1.00-event-kbd -> ../event0
lrwxrwxrwx 1 root root 9 20 déc 15:04 usb-Microsoft_Microsoft_Wireless_Optical_Desktop®_1.00-event-mouse -> ../event1
lrwxrwxrwx 1 root root 9 20 déc 15:04 usb-Microsoft_Microsoft_Wireless_Optical_Desktop®_1.00-if01-event-mouse -> ../event1
lrwxrwxrwx 1 root root 9 20 déc 15:04 usb-Microsoft_Microsoft_Wireless_Optical_Desktop®_1.00-if01-mouse -> ../mouse0
lrwxrwxrwx 1 root root 9 20 déc 15:04 usb-Microsoft_Microsoft_Wireless_Optical_Desktop®_1.00-mouse -> ../mouse0
You finally need to configure LIRC to work with this event. The way to do this in Ubuntu differs from Arch, therefore, there might be little mistakes. Let me know and I'll try to corect them. Run
Code:
sudo dpkg-reconfigure lirc
Code:
sudo /etc/init.d/lircd restart
Code:
irw
Code:
00000000800100e2 00 KEY_MEDIA devinput
00000000800100cf 00 KEY_PLAY devinput
000000008001019c 00 KEY_PREVIOUS devinput
0000000080010197 00 KEY_NEXT devinput
Now, to have it work correctly with XBMC, you need to do a few more things. Please see this thread: http://forum.xbmc.org/showthread.php?tid=45972 for more information.