[mythtv-users] LIRC and my CIMR100

Eni Gma enigma at thedonnerparty.com
Sun Jun 29 03:23:26 EDT 2003


Looks like the problem is that you are using lirc_serial.  That module 
is for different recievers.  The CIMR100 (I have 3 of them) uses the 
regular Linux serial module.  I start lircd like this:

/usr/local/sbin/lircd -d /dev/ttyS0

This tells it to use the regular serial device rather than a special 
lirc device.  To check if the drivers are loaded for your serial ports, 
execute

setserial /dev/ttyS0

You should get some output like:

/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4

Hope this helps.


Omer Shenker wrote:

>Hello,
>
>I'm building a MythTV box and I'm having trouble getting my CIMR100 to work.
>I've installed all the Mandrake 9.1 packages for LIRC and I have the lirc*
>modules compiled for my kernel (using the mdk sources). In
>/etc/sysconfig/lircd I have uncommented the lines for COM1 (since that's
>where the receiver is attached) and the line DEVICE=/dev/lirc/serial (since
>that's where devfs seems to place it). I've set HWMOD=lirc_serial and
>DRIVER=creative. I've copied the creative/CD driver to /etc/lircd.conf.
>
>[root at helium root]# ls -la /dev/lirc/
>total 0
>drwxr-xr-x    1 root     root            0 Dec 31  1969 ./
>drwxr-xr-x    1 root     root            0 Dec 31  1969 ../
>crw-------    1 root     root      61,   0 Dec 31  1969 serial
>[root at helium root]# mode2
>This program is only intended for receivers supporting the pulse/space
>layer.
>Note that this is no error, but this program simply makes no sense for your
>receiver.
>[root at helium root]# mode2 -d /dev/lirc/serial
># press buttons, no output, ^C
>[root at helium root]# irw /dev/lirc/serial
>connect: Connection refused
>[root at helium root]# irw
># returns immediately
>[root at helium root]# tail /var/log/messages|grep lirc
>Jun 28 05:21:43 helium lircd 0.6.6[7469]: lircd(any) ready
>Jun 28 05:21:43 helium lircd: lircd startup succeeded
>Jun 28 05:21:50 helium lircd 0.6.6[7469]: accepted new client on /tmp/.lircd
>Jun 28 05:21:50 helium lircd 0.6.6[7469]: could not reset tty
>Jun 28 05:21:50 helium lircd 0.6.6[7469]: caught signal
>
>Now I try DRIVER=default. The terminal log is exactly the same up until:
>
>[root at helium root]# tail /var/log/messages|grep lirc
>Jun 28 05:27:05 helium lircd 0.6.6[8175]: lircd(any) ready
>Jun 28 05:27:05 helium lircd: lircd startup succeeded
>Jun 28 05:27:07 helium lircd 0.6.6[8175]: accepted new client on /tmp/.lircd
>Jun 28 05:27:07 helium lircd 0.6.6[8175]: could not open /dev/lirc/serial
>Jun 28 05:27:07 helium lircd 0.6.6[8175]: default_init(): Device or resource
>busy
>Jun 28 05:27:07 helium lircd 0.6.6[8175]: caught signal
>
>Just for kicks I did a modprobe on all the lirc_* modules:
>
>[root at helium root]# lsmod|grep lirc
>lirc_dev                9016   0
>lirc_serial             9184   1
>
>I'm at a loss here. I'm pretty sure I should use the creative driver and the
>lirc_serial module, but it doesn't seem to work. Any help would be greatly
>appreciated.
>
>Thanks,
>  
>





More information about the mythtv-users mailing list