Ahoj,
sestrojil jsem si IR přijímač do sériového portu dle :
http://www.lirc.org/receivers.htmlzapojil jsem ho do seriového portu.
spustil sudo dpkg-reconfigure lirc
nastavil
Home-brew (16x50 UART compatible serial port) a transmitter none a /dev/ttyS0
pak jsem stopnul lirc:
sudo /etc/init.d/lirc stop
a zadal
irrecord -d /dev/ttyS0 lirc.conf.myremote
tady mi však naskočí tato hláška :
root@XBMCLive:~# irrecord -d /dev/ttyS0 lirc.conf.myremote
irrecord - application for recording IR-codes for usage with lirc
Copyright (C) 1998,1999 Christoph Bartelmus(lirc@bartelmus.de)
irrecord: could not get hardware features
irrecord: this device driver does not support the LIRC ioctl interface
irrecord: major number of /dev/ttyS0 is 4
irrecord: LIRC major number is 61
irrecord: check if /dev/ttyS0 is a LIRC device
irrecord: could not init hardware (lircd running ? --> close it, check permissions)
prosím o radu jak dál
díky
Alda