[mythtv-users] LIRC MythTV Documentation is WRONG, please read and update them.

Chris Germano netslayer at hotmail.com
Wed May 28 22:02:43 EDT 2003


After days of struggling to get lirc working on mandrake 9.1 I kinda figured 
it out. Basicaly we all know mandrakes lirc package doesnt really work 
correctly, and compiling the source never worked for me until I figured out 
that the myth documentation for linking the device is wrong.

-----------Myth Docs 8.4------------
At this point, if you're using a serial receiver, check that the link has 
been correctly made in /dev:

$ ls -l /dev/li*
lr-xr-xr-x    1 root     root            5 Jan 27 09:00 /dev/lirc -> ttyS0
srw-rw-rw-    1 root     root            0 Jan 27 15:01 /dev/lircd=
prw-r--r--    1 root     root            0 Jan 27 09:00 /dev/lircm|


As you can see, there's a link from /dev/lirc to ttyS0, aka "COM1".

If the link was not created, ensure that you ran the make install step as 
root. If it still doesn't work, then you must create the link manually. In 
this example, the IR device is connected to ttyS0. If it were connected to 
"COM2", then use ttyS1, etc.

$ su
# cd /dev
# ln -sf ttyS0 lirc
# exit
$

--------------------

So since when I compiled the source it never setup the device link properly 
I would run the above command to give /dev/lirc -> ttyS0, but this 
apparently is for the older serial devices and not the way to do it for the 
homebrewed ones.

The proper way is:
$su
# mknod /dev/lirc c 61 0
# exit

My current configuration shows the following:
crw-r--r-- 1 root root 61, 0 May... /dev/lirc (in yellow)
prw-rw-rw-- 1 root root 0 May ... /dev/lircd| (in orange/brown)
prw-r--r-- 1 root root 0 May ... /dev/lircm|

I am not sure if it is a combination of having the source compiled, the 
settings in my module.conf file and the fact that i also have the mandrake 
lirc installed, but it works! Thank you guys so much for trying to help me, 
finally I can put this issue to rest!

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail



More information about the mythtv-users mailing list