Portál AbcLinuxu, 10. května 2025 13:28

Dotaz: Ubuntu - rozchození přijímače na sériovém portu

13.8.2010 19:24 alda
Ubuntu - rozchození přijímače na sériovém portu
Přečteno: 351×
Odpovědět | Admin
Ubastlil jsem si obyč přijímač pro sériový port dle : http://www.lirc.org/receivers.html

po zapojení do com1 jsem dal: sudo dpkg-reconfigure lirc

a vybral : Home-brew (16x50 UART compatible serial port) poté jsem zadal none na transmitter a vybral /dev/ttyS0.

pak kontrola : xbmc@XBMCLive:~$ dmesg | grep lirc [ 14.446468] lirc_dev: IR Remote Control driver registered, major 61 [ 15.385023] lirc_serial: auto-detected active high receiver [ 15.385033] lirc_dev: lirc_register_driver: sample_rate: 0 [ 15.385163] lirc_serial $Revision: 5.104 $ registered [ 564.463621] lirc_dev: IR Remote Control driver registered, major 61 [ 565.372030] lirc_serial: auto-detected active high receiver [ 565.372042] lirc_dev: lirc_register_driver: sample_rate: 0 [ 565.372181] lirc_serial $Revision: 5.104 $ registered

takže asi tam je, ale teď si nejsem moc jistej jak dál. Myslím že bych měl zadat : irrecord -d /dev/ttyS0 lirc.conf.myremote ale mám s tím problém: xbmc@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)

jak dál ?
Nástroje: Začni sledovat (1) ?Zašle upozornění na váš email při vložení nového komentáře.

Na otázku zatím nikdo bohužel neodpověděl.

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.