[mythtv-users] power failure - now lirc stopped working

R. G. Newbury newbury at mandamus.org
Tue Apr 4 14:48:10 UTC 2006


Lucien D. wrote:
>>You don't specify whether you've tried running irrecord in raw mode
>>(in addition to irw) with the receiver - this should let you know if
>>the card is getting anything from the remote via the IR receiver.
>>Other than enabling LIRC logging (if not already) and making sure your
>>/etc/lircd.conf file is not hosed, I'm not sure what else to suggest.
>>
> 
> Sorry about the slow reply, I've been busy.
> 
> Ok, maybe we're getting somewhere now.  irrecord does not work, it
> says it can't connect to the device.  I've tried it both with and
> without lircd running (I assume its not supposed to be running).  I've
> tried it with various flags forcing raw mode and explicitly passing
> the device file.  I've also tried it as both a regular user and root.
> 
> So if everything else seems to show the remote as being there (modules
> load, lircd starts fine, ivtv sees ir receiver, etc...) and irrecord
> says it cannot init the hardware, where do I stand?

The documentation is not too clear about some things.

Make sure that you have /dev/lircd and /dev/lirc.
If necessary make a symlink from /dev/lirc0 to /dev/lirc
Stop lircd (generally "service lircd stop")
NOW try mode2... and try the explicit --device parameter.

Mode2 does not work if lircd is running (lircd steals the hardware!)

If mode2 does not work, you might try removing all modules (modprobe -r) 
and starting again.

Note that lirc_i2c really likes to be the first line in modprobe.conf
and you usually need lirc_dev as well as lirc_whatever.


Geoff


More information about the mythtv-users mailing list