2008-12-29, 22:02
Doxic Wrote:I can't get over the first step... my "cat /proc/usb/devices" shows this information
so I altered my /etc/modprobe.d/usbhid to the following
but the result is still the same (after "depmod -ae" and "update-initramfs -u"), the driver section shows Driver=usbhid. I installed the XBMC Live (Ubuntu 8.04, 2.6.24-19-generic)
Can anyone help me?
The update-initramfs command didnt work for me, I guess the livecd boot stuff is slighly different (using live usb also). I ended up creating an rc.local file in /etc with all the commands the original post suggested having in crontab + a few additionals.
The first line makes sure usbhid is loaded and actually reading the options from /etc/modprobe.d/usbhid
The second loads lirc_imon
The rest is more or less the same as the original post had in crontab.
Code:
#!/bin/sh
/sbin/rmmod usbhid && /sbin/modprobe usbhid
/sbin/modprobe lirc_imon
/usr/local/sbin/lircd --driver=default --device=/dev/lirc0 --pidfile=/var/run/lirc0.pid --listen=8765
/usr/local/sbin/lircd --driver=default --device=/dev/lirc1 --pidfile=/var/run/lirc1.pid --output=/dev/lircd --connect=localhost:8765
/bin/chmod 777 /dev/lcd0
Oh yeah, dont forget to chmod +x /etc/rc.local