From: lautriv <la...@co...> - 2014-10-21 11:23:40
|
On 10/21/2014 11:43 AM, 007GK wrote: > Fwding to lirc-list > > On Tuesday, 21 October 2014 14:03:16 UTC+5:30, 007GK wrote: > > *Hi, > > On Ubuntu 14 with redrat3-II, I am getting error "irsend: hardware > does not support sending". > > I installed lirc, > > 1. sudo apt-get install lirc > > 2. Modified hardware.conf as:* > ================================================================================ > # /etc/lirc/hardware.conf > # > #Chosen Remote Control > REMOTE="None" > REMOTE_MODULES="" > REMOTE_DRIVER="" > REMOTE_DEVICE="/dev/lirc0" > REMOTE_SOCKET="" > REMOTE_LIRCD_CONF="/etc/lirc/lircd.conf" > REMOTE_LIRCD_ARGS="" > > #Chosen IR Transmitter > TRANSMITTER="None" > TRANSMITTER_MODULES="" > TRANSMITTER_DRIVER="" > TRANSMITTER_DEVICE="/dev/lirc0" > TRANSMITTER_SOCKET="" > TRANSMITTER_LIRCD_CONF="/etc/lirc/lircd.conf" > TRANSMITTER_LIRCD_ARGS="" > > #Enable lircd > START_LIRCD="true" > > #Don't start lircmd even if there seems to be a good config file > #START_LIRCMD="false" > > #Try to load appropriate kernel modules > LOAD_MODULES="true" > > # Default configuration files for your hardware if any > LIRCMD_CONF="" > > #Forcing noninteractive reconfiguration > #If lirc is to be reconfigured by an external application > #that doesn't have a debconf frontend available, the noninteractive > #frontend can be invoked and set to parse REMOTE and TRANSMITTER > #It will then populate all other variables without any user input > #If you would like to configure lirc via standard methods, be sure > #to leave this set to "false" > FORCE_NONINTERACTIVE_RECONFIGURATION="false" > START_LIRCMD="" > > ================================================================================== > * > 3. lircd.conf is populated with signals. > > 4. *irsend SEND_ONCE roku home > irsend: command failed: SEND_ONCE roku home > irsend: hardware does not support sending > > 5. In syslog i find.. > > Oct 21 13:42:29 ubuntu lircd-0.9.0[8344]: lircd(default) ready, > using /run/lirc/lircd > Oct 21 13:42:29 ubuntu lircd-0.9.0[8344]: connected to localhost > Oct 21 13:42:29 ubuntu lircd-0.9.0[8342]: accepted new client from > 127.0.0.1 > Oct 21 13:42:34 ubuntu lircd-0.9.0[8344]: accepted new client on > /run/lirc/lircd > Oct 21 13:42:34 ubuntu lircd-0.9.0[8344]: could not open /dev/lirc0 > Oct 21 13:42:34 ubuntu lircd-0.9.0[8344]: *default_init(): Device > or resource busy* > Oct 21 13:42:34 ubuntu lircd-0.9.0[8344]: Failed to initialize > hardware > Oct 21 13:42:34 ubuntu lircd-0.9.0[8344]: error processing > command: SEND_ONCE roku home > Oct 21 13:42:34 ubuntu lircd-0.9.0[8344]: hardware does not > support sending > Oct 21 13:42:34 ubuntu lircd-0.9.0[8344]: removed client > ^C > > It is saying "Device or resource busy" > > Has anyone faced this issue? how to resolve this? > > Also has anyone tried building lirc from source? > > Thanks, > Sneha > > > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho You told the config more or less "no hardware, no modules" and maybe you tried the lirc even without rebooting or triggering udev ? if you miss /dev/lirc0 you have no driver(kernel-module) or it may be /dev/lirc/0 but the latter is often symlinked. |