[mythtv-users] irman & lirc help

Jeff Wormsley daworm at comcast.net
Mon May 16 01:31:49 UTC 2005


Andy O'Brien wrote:

>Hey Jeff, I have a similar problem to the one discussed below sometime
>back, hoping you can help:
>
>I have an "old" IRman plugged into com1 on my system, but can't get it
>to take input at all.
>
>I did the changes you suggested below, changed the symlink for
>/dev/lirc to point to /dev/ttyS0
>
I didn't make that change on mine, although I have seen where others 
needed it.


>, lircd starts ok, but irrecord
>doesn't work and irw just exits to prompt immediately. Am I missing
>something? Below is some of my settings, my box is sucessfully
>connected via firewire, just using the remote to control myth.
>
>[root at localhost dev]# /sbin/service lircd start
>Starting infrared remote control daemon:                   [  OK  ]
>[root at localhost dev]# ps -ef | grep lircd
>root      5164     1  0 14:58 ?        00:00:00 lircd --driver=irman
>--device=/dev/ttyS0
>
[root at mythtv ~]# ps -ef | grep lircd
root      4441     1  0 May08 ?        00:00:00 lircd --driver=irman 
--device=/dev/ttyS14

>root      5168  4799  0 14:59 pts/2    00:00:00 grep lircd
>  
>
root     27076 27033  0 21:26 pts/5    00:00:00 grep lircd

>[root at localhost dev]# irw
>[root at localhost dev]# cd /dev/lir*
>-bash: cd: /dev/lirc: Not a directory
>[root at localhost dev]# ls -l /dev/lir*
>lrwxrwxrwx  1 root root     5 May 15 14:52 /dev/lirc -> ttyS0
>crw-------  1 root root 61, 0 May 15 14:19 /dev/lirc0
>srw-rw-rw-  1 root root     0 May 15 14:58 /dev/lircd
>  
>
[root at mythtv ~]# ll /dev/lir*
srw-rw-rw-  1 root root 0 May  8 21:15 /dev/lircd

I think the symlink you  may need is from /dev/lirc0 to /dev/lirc, not 
ttyS0.  The command line parameter should take care of pointing to ttyS0.

>If I switch the lirc link to point to lirc0 I get a connection refused
>when running irw.
>  
>

I hope this helps.  I'm not much of a guru.  I just got mine to work and 
hoped what I did would work for others, since I didn't see any single 
source for the info.

Jeff.




More information about the mythtv-users mailing list