[mythtv-users] Trouble with LIRC and Myth

Michael Segulja msegulja at lmdcs.com
Sat Apr 17 11:49:37 EDT 2004


I bought an IR receiver from manoweb.com a few days ago, so I'm trying
to get lirc and myth working, but am running into some trouble and I'm
not real sure where to turn.  I believe I have lirc working correctly
because I can see that it is receiving codes from my remote.  I
installed lirc from source, and ran irrecord to set up my remote.  I
followed the documentation and also recompiled myth after enabling
native lirc support in settings.pro.

If I run irw I can see my buttons being received by lirc, but Myth does
nothing.  I am also receiving one error when I run modprobe
lirc_serial.  Here it is:

/lib/modules/2.4.22-28mdk/kernel/3rdparty/lirc/lirc_serial.o.gz:
init_module: Input/output error
modprobe: insmod
/lib/modules/2.4.22-28mdk/kernel/3rdparty/lirc/lirc_serial.o.gz failed
Starting Linux Infrared Remote Control daemon:                  [  OK  ]

I also get this in the log:

Apr 17 10:44:41 darthmaul kernel: lirc_serial: auto-detected active low
receiver
Apr 17 10:44:41 darthmaul kernel: _devfs_append_entry(serial): dir:
"lirc" is not a directory
Apr 17 10:44:41 darthmaul kernel: devfs_register(lirc/serial): could not
append to parent, err: -20
Apr 17 10:44:41 darthmaul kernel: lirc_serial: devfs_register failed!
Apr 17 10:44:41 darthmaul kernel: lirc_serial: in
calc_pulse_lengths_in_clocks, freq=38000, duty_cycle=50,
clk/jiffy=7290880, pulse=9593, space=9593, conv_us_to_clocks=729
Apr 17 10:44:42 darthmaul kernel: lirc_serial: auto-detected active low
receiver
Apr 17 10:44:42 darthmaul lircd 0.6.6[8809]: lircd(any) ready
Apr 17 10:44:42 darthmaul lircd: lircd startup succeeded

I'm not sure what this stuff about dev_fs is.  I have /dev/lirc,
/dev/lircd, and /dev/lircmd and that's all.  I set the following in
/etc/sysconf/lircd:

DRIVER=default
HWMOD=lirc_serial
# with devfs enabled -> not sure what this is
#DEVICE=/dev/lirc/0
# without devfs -> not sure what this is
DEVICE=/dev/lirc
COM_PORT=/dev/ttyS0

I have no prior experience with lirc, so I'm not sure what to look at or
how to get rid of the problems above.  I can't tell because of these
errors if the problem is with lirc or with Myth not using lirc for some
reason.

I appreciate anybody's help or advice or pointers.

Thank you,

---
Michael Segulja
LMD Computing Solutions, Inc.
281.376-8181 | Office
281.300.8285 | Mobile
832.717.5126 | Fax
www.lmdcs.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20040417/bb884c64/attachment.htm


More information about the mythtv-users mailing list