From: Henrik <Henrik@Ostergaard.net> - 2007-11-20 09:23:18
|
I have an otherwise working lirc setup on an ftdi-device (Zalman hd160xt) via a home-made interface and the lirc dev/input driver. an irexec is started up as well (as root) for ejecting and suspending-2-ram. Further more a number of clients is used under Xorg (vlc, another irexec, mplayer, etc). If I just do a /etc/init.d/lirc restart (as root) and restart X, everything works fine. irw recognizes the button pressed and all clients works. But if lirc is started during boot, ONLY the irexec started from /etc/init.d/lirc works. lirc correcty reports received codes to syslog, and the irexec responds as it should. But irw (running as root) no longer receives anyting (it does connect to lirc!), and nothing under X receives anything either. NO errors are logged anywhere?! lirc keeps reporting connected clients and button presses.. Running /etc/init.d/lirc restart again restores the full functionality (except for clients started before, of course?). It is a Debian Lenny on a 2.6.11 kernel running the packaged 0.8.2 Lirc. I have tried to insert delays between teh lirc startup and the X startup, and to restart lirc several times before starting X, but this changes nothing. I have not been able to find any clues in the mailing lists so far - does anybody have a suggestion on how to debug this further - or even solve it? Regards Henrik |