Error Inserting Lirc Serial Busy
instructions: Windows Mac Red Hat Linux Ubuntu Click URL instructions: Right-click on ad, choose "Copy Link", then paste here → (This may not be possible with some types of ads) More information about our ad policies X You seem to have CSS turned off. Please don't fill out this field. You seem to have CSS turned off. Please don't fill out this field. Briefly describe the problem (required): Upload screenshot of ad (required): Select a file, or drag & drop file here. ✔ ✘ Please provide the ad click URL, if possible: Home Browse LIRC Mailing Lists LIRC Linux Infrared Remote Control Brought to you by: alec_leamas, lirc Summary Files Reviews Support Wiki Mailing Lists Git CVS Tickets lirc-list What am I doing wrong? bug in lirc perhaps? What am I doing wrong? bug in lirc perhaps? From: Justin Tussey
Rabies Member Registered: 2011-01-20 Posts: 3 LIRC(serial receiver) does not work. Hello,i have a PINNCALE Systems Serial IRC receiver, but i don't get it to work.[12187.956765] lirc_serial: module is from the staging directory, the quality is unknown, you have been warned. [12187.960012] lirc_serial: port 03f8 already in use [12187.960018] lirc_serial: use 'setserial /dev/ttySX uart none' [12187.960022] lirc_serial: or compile the serial port driver as module and [12187.960026] lirc_serial: make sure this module is loaded firstI have tried to release it with setserial, but it doesn't change anything.setserial /dev/ttyS0 uart noneThis error comes when i try to load the kernel modul:modprobe lirc_serial FATAL: Error inserting lirc_serial (/lib/modules/2.6.38-pae/kernel/drivers/staging/lirc/lirc_serial.ko.gz): Device or https://sourceforge.net/p/lirc/mailman/message/21797913/ resource busykind regards Offline #2 2011-05-18 21:27:21 anrxc Member From: Croatia Registered: 2008-03-22 Posts: 834 Website Re: LIRC(serial receiver) does not work. This error comes when i try to load the kernel modul:But what does dmesg say after this? It should give an explanation I would hope.Also you are sure ttyS0 is where you receiver is? By the way I start this lircs service before the lircd service in rc.conf#!/bin/bash https://bbs.archlinux.org/viewtopic.php?id=119276 # Releases ttyS0 and loads the lirc_serial module # - serial support is built into Arch kernel26 . /etc/rc.conf . /etc/rc.d/functions case "$1" in start) stat_busy "Releasing ttyS0 COM port" /usr/bin/setserial /dev/ttyS0 uart none /sbin/modprobe lirc_serial # Could be needed to stop treating the remote as a keyboard #echo "lirc" > /sys/class/rc/rc0/protocols stat_done ;; stop) stat_busy "Unloading LIRC Serial module" /sbin/rmmod lirc_serial stat_done ;; restart) $0 stop $0 start ;; *) echo "usage: $0 {start|stop|restart}" esac exit 0Just a note for other readers who could have troubles with lirc_serial, my receiver does not work currently, Lirc can't detect it and developers can't fix it. Last lirc where it worked was 0.8.0, on another distribution.Edit: I forgot to tell you how to increase verbosity of lirc_serial, this is an excerpt from my modprobe.conf:# Set custom options #options lirc_serial irq=4 io=0x3f8 sense=1 debug=1 # Only increase verbosity options lirc_serial debug=1 Last edited by anrxc (2011-05-18 21:31:06) You need to install an RTFM interface. Offline #3 2011-06-09 16:42:55 Dehir Member From: Finland Registered: 2009-11-08 Posts: 25 Re: LIRC(serial receiver) does not work. Having similar problem. Just started use lirc with following http://www.tb-electronic.de/vdr/lirc/lirc_rx.html lirc reciever that i welded. my kernel gives my following error when i try first time run modprob
use my home-brew receiver and transmitter on the same serial port? Yes. The value of the resistor in the receiver circuit is labeled as '4k7' Ohm. Is this 4.7 Ohm, 4.7 kOhm or what? 4k7 Ohm means 4700 Ohm. http://www.lirc.org/faq.html k is the abbreviation of kilo. Can I use a home-brew LIRC receiver with a Serial to USB adapter? No, this won't work. But there is a project working on a dedicated USB transceiver or you can connect an IR receiver to a FTDI based USB chip. Using an Irman with USB adapter should work though. I have a Hauppauge TV card. Can I use a different remote control with this TV card except the original Hauppauge remote control? The Hauppauge error inserting remote control uses the RC-5 protocol. You should be able to use any TV remote control that uses this protocol. Common brands that use this protocol are Philips and Marantz. A short description how to setup LIRC with an universal remote control was posted on the mailing list. How do the drivers for the home-brew receivers work? Do they use polling? No, the serial port driver is fully interrupt driven. On each edge of the IR signal the interrupt handler error inserting lirc is called and the time since the last interrupt is calculated. As the parallel port only generates interrupts on the rising edge of the input signal, the parallel port driver uses polling with the help of the hardware timer until the signal becomes low again. As it is polling only for microseconds this has no noticeable effect on system performance. I would like to connect an LCD display and an home-brew IR receiver to the same serial port. Will this work? No, unless somebody writes a driver that merges the functionality of the kernel serial port driver and the lirc_serial driver. This is not trivial. I need a IR transmitter device to control my TV/VCR/Settop box. But I'd rather buy a device than solder my own. Where can I buy LIRC compatible transmitters? Check the driver documentation in the configuration guide. Here is several commercially available devices including IrToy, IguanaIR and Tira. I need a IR transmitter device to control my TV/VCR/Settop box. But I'd rather buy a device than solder my own. Where can I buy LIRC compatible transmitters? You can buy serial port or USB transceivers at www.irtrans.de. They provide a LIRC compatible socket interface. Software setup I have trouble to create a working lircd config file for my remote. What can I do? Please read the documentation about how to add new remote controls. Which kernel module do I have to load for my hardware? The documenta