Fórum Ubuntu CZ/SK
Ubuntu pro osobní počítače => Obecná podpora => Téma založeno: alda2 13 Srpna 2010, 20:15:21
-
Ahoj,
sestrojil jsem si IR přijímač do sériového portu dle : http://www.lirc.org/receivers.html
zapojil 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
-
...
pak jsem stopnul lirc:
sudo /etc/init.d/lirc stop
...
irrecord: could not init hardware (lircd running ? --> close it, check permissions)
...
Asi jsem našel tvůj problém ;)
-
tak jsem dal lirc restart :
root@XBMCLive:~# sudo service lirc restart
* Stopping remote control daemon(s): LIRC [ OK ]
* Loading LIRC modules [ OK ]
* Starting remote control daemon(s) : LIRC [ OK ]
a skusil znovu irrecord :
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)
root@XBMCLive:~#