[mythtv-users] More LIRC Woes

Shawn Asmussen asmussen at cox.net
Sun Apr 18 05:18:30 EDT 2004


Scott Nicholson said:
>> If you are using devfs then you should remove the /dev/lirc device, it
>> is
>> preventing things from working.
>
> Okay. I did "rm /dev/lirc" and then "rmmod lirc_serial" and "rmmod
> lirc_dev"
> and "/etc/init.d/lircd stop" and "modprobe lirc_serial" and
> "/etc/init.d/lircd start".
>
> I don't get the errors in dmesg anymore.
>
> But it's still not working.

Have you verified that /dev/lirc/0 is created after you load the driver?
Assuming that /dev/lirc/0 is the correct device file, are you specifying
this to lircd when you test it? By default, lircd assumes that it should
connect to /dev/lirc to talk to the device driver. If /dev/lirc/0 is the
correct device file, you will need to specify '--device=/dev/lirc/0' on
the lircd command line when it is started in order to tell it the correct
file to open.

What about the serial driver in the kernel? Are you making sure to either
not load the serial port driver, or to use setserial to set the uart to
none so that the kernel won't fight with lirc over the serial port?

>
> (that is, I don't receive any input in irw or irrecord, and irsend doesn't
> light up the standard LED that I replaced the IR one with for testing
> purposes.)
>
> Any more suggestions? (based on dmesg and /var/log/lircd everything seems
> to
> be working properly).
>
> Do I just assume it's my circuit and buy a ready-made?

I wouldn't assume a hardware problem yet. It still sounds like you may
have configuration issues.

>
> TIA for any more pointers.
> Scott
>
>>
>>
>> > I'm still not sure if my homebrew IR Transceiver is working or not...
>> I've
>> > torn it apart and rebuilt it a few time, most recently following a
>> > step-by-step that was pointed out in the "IR Frustration" thread. I've
>> > checked and re-checked to make sure it's assembled correctly, and
>> > everything
>> > appears to be good.
>> >
>> > I'm using the lircd 0.7.0pre2 compiled from source.
>> >
>> > There's nothing in /var/log/lircd to indicate any problems, and all
>> lirc
>> > tools (irw, irrecord, irsend, etc) seem to run okay, apart from the
>> fact
>> > that they don't send or receive any signals.
>> >
>> > dmesg gives some errors, though, when I modprobe lirc_serial. Here's
>> the
>> > complete output:
>> >
>> > lirc_dev: IR Remote Control driver registered, at major 61
>> > lirc_serial: auto-detected active high receiver
>> > lirc_dev: lirc_register_plugin:sample_rate: 0
>> > _devfs_append_entry(0): dir: "lirc" is not a directory
>> > devfs_register(lirc/0): could not append to parent, err: -20
>> >
>> > I don't know much about devfs, but it appears that lirc_dev is trying
>> to
>> > create an entry /dev/lirc/0 but is unable to, because /dev/lirc
>> already
>> > exists and is not a directory.
>> >
>> > /dev/lirc was created (using mknod) when I did "make install".
>> >
>> > Have I done something wrong in configuring or compiling lirc? Or is
>> this
>> a
>> > bug? Would I be better off using an earlier version?
>> >
>> > (I'm running Gentoo)
>> >
>> > TIA For any help.
>> > Scott
>> >



Shawn Asmussen


More information about the mythtv-users mailing list