Sorry, you're right. irw listen to /dev/lircd which is a socket created by the lirc daemon
from "man irw": irw will connect to any Unix domain socket and will print the data that it receives to stdout. If you don't give it a socket name argument it will watch /dev/lircd. Useful for debugging. Then /dev/lirc is not always a directory. It's distro dependent. On my gentoo box: ls -l /dev/lirc* htpc dev # ls -l lirc* lrwxrwxrwx 1 root root 5 Sep 1 17:19 lirc -> lirc0 crw-rw---- 1 root root 61, 0 Sep 1 17:19 lirc0 crw-rw---- 1 root root 61, 1 Sep 1 17:19 lirc1 srw-rw-rw- 1 root root 0 Sep 1 17:19 lircd srw-rw-rw- 1 root root 0 Sep 1 17:19 lircd1 prw-r--r-- 1 root root 0 Sep 1 18:29 lircm by Andreas Dick wrote: >> irw listen events on /dev/lirc, so you need a symbolic link >> /dev/lircd/0 called /dev/lirc, or >> you could use: >> >> irw -d /dev/lirc/0 >> > NO! > irw do not listen to /dev/lirc, it uses a allready running lircd daemon. > (and a symlink is not possible because /dev/lirc is a directory!) > > next you should have a propper lircd.conf file, maybe you find one for > your remote in your distro or even at http://lirc.sourceforge.net/remotes/ > > else you have to train your remote (I think this is allways better) > $ irrecord -d /dev/lirc/0 lircd.conf > this sould generate you a valid lircd.conf file (sometimes its then called > lircd.conf.conf) > > then try to start the lircd daemon in nodaemon mode: > $ lircd -n -d /dev/lirc/0 lircd.conf > you see now the output of lircd > > try to run now irw in annother terminal > $ irw > > then you can copy your valid lircd.conf to /etc/ or to /etc/lirc, and try > to start the daemon in the distros way: > $ /etc/init.d/lircd start (or similar) > > if this works, your remot is up at every reboot. > > its a long way, but it is hard to install a general setup such that every > remote out there would work plug n play :-) > > Andreas > > >> by >> >> Alberto Hernando wrote: >> >>> El Martes, 2 de Septiembre de 2008 01:42, [EMAIL PROTECTED] >>> escribió: >>> >>> >>>> [EMAIL PROTECTED] patrick]# ircat --config=/etc/freevo/lircrc freevo >>>> freevo: could not connect to socket >>>> freevo: Connection refused >>>> [EMAIL PROTECTED] patrick]# >>>> >>>> >>> Hi. >>> >>> In this case, it is normal, because you killed lircd. >>> Well, the hardware seems to be ok. I don't know why irw doesn't work... >>> :( >>> >>> Alberto >>> >>> ------------------------------------------------------------------------- >>> This SF.Net email is sponsored by the Moblin Your Move Developer's >>> challenge >>> Build the coolest Linux based applications with Moblin SDK & win great >>> prizes >>> Grand prize is a trip for two to an Open Source event anywhere in the >>> world >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>> _______________________________________________ >>> Freevo-users mailing list >>> Freevo-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/freevo-users >>> >>> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________ >> Freevo-users mailing list >> Freevo-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/freevo-users >> >> > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Freevo-users mailing list > Freevo-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freevo-users > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users