Messages in this thread | | | Date | Tue, 14 Nov 2006 05:28:53 +0100 | From | Petr Baudis <> | Subject | Re: [linux-dvb] Avermedia 777 misbehaves after remote hack merged into v4l-dvb tree |
| |
On Tue, Nov 14, 2006 at 04:45:29AM CET, José Suárez wrote: > At the moment I can't give the remote control a try because lirc doesn't > compile against version 2.6.18 of the kernel. If that lirc issue gets solved, > I will try to use it as soon as I can.
Note that in lircd, you should use the input device driver ("devinput"). The saa7134 driver will create a random input event device for the events; I use this udev rule to create a /dev/remote symlink pointing at the right device:
KERNEL="event*", SYSFS{name}="saa7134 IR*", NAME="input/%k", SYMLINK="remote"
Furthermore, especially if you have problems with lircd, having the full-blown daemon for the event interface may not be worth it. There is a standalone inputlircd package containing a much simpler daemon which is compatible with lirc client applications but takes the events just from the input devices. You can run it e.g. like:
/usr/sbin/inputlircd /dev/remote -g -m 0
You can find an example mplayer lirc configuration at:
http://pasky.or.cz/~pasky/dev/v4l/lircrc
-- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ #!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1 lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |