I have an ene0100 chipset. Does anyone know of a driver I can use, and how to set it up so I can use my CIR-reciever?
I have an ene0100 chipset. Does anyone know of a driver I can use, and how to set it up so I can use my CIR-reciever?
After updating to Ubuntu 9.04 and following the same procedure everything was working except irexec.
lircd was created in /dev/ with the correct permissions and irw was working just fine with the lircd.conf file in my /etc/ but I had to define the socket (I had to run: irw /dev/lircd)
The problem was that irexec does not have an argument to specify a socket, so I looked a bit at config.h in the sources and I found out that the default socket which irexec looks for is /var/run/lirc/lircd
Then all I had to do was to change the script in /etc/init.d/ to this:
and everything was back to normalCode:#!/bin/bash case "$1" in start) echo -n "Starting lirc daemon:" echo -n " lircd" echo -n " " if [ ! -d /var/run/lirc ] then mkdir /var/run/lirc fi LIRCD_ARGS=' --output=/var/run/lirc/lircd --permission=666 --device=/dev/lirc0 /etc/lircd.conf' start-stop-daemon --start --exec /usr/local/sbin/lircd -- $LIRCD_ARGS echo "" ;; stop) echo -n "Stopping lirc daemon:" echo -n " lircd" echo -n "" start-stop-daemon --stop --exec /usr/local/sbin/lircd if [ -d /var/run/lirc ] then rm -rf /var/run/lirc fi echo " " ;; *) echo "Usage: /etc/init.d/lircd {start|stop}" exit 1 esac exit 0
Also for some reason I had to create the folder lirc in /var/run/ otherwise the lirc daemon wouldn't start because it couldn't create the folder even when running the script with root permissions.
Anyway if someone had a problem with Ubuntu 9.04 I hope this helped.
I've got an Acer Aspire 5920G as well, I am going to try installing Karmic Koala Ubuntu 9.10 Alpha5 on it this weekend and see if the kernel module and lirc version work correctly for this hardware
(Here is a search on packages.ubuntu.com for wpc8796l in all filenames: http://packages.ubuntu.com/search?se...armic&arch=any
Cool- works for me!
Last edited by FokkerCharlie; December 11th, 2009 at 06:22 AM. Reason: Posted in error.
Actually, it works until I suspend:
After that, there's no output from irw, sudo mode2 returns:
I can stop/start the script in init.d OK, but no joy. However, the modules do seem to be loaded (starting / stopping by the script doesn't make a difference to this)Code:$ sudo mode2 mode2: could not get file information for /dev/lirc mode2: default_init(): No such file or directory
After a reboot, all is well. So any idea what's going on here?Code:$ lsmod | grep lirc lirc_wpc8769l 9936 0 lirc_dev 13992 1 lirc_wpc8769l
Charlie
Last edited by FokkerCharlie; December 13th, 2009 at 11:00 AM.
Bookmarks