[mythtv-users] IR Problem with FC4

Les Gondor les at totalgraphix.ca
Tue Jan 10 18:40:39 UTC 2006


Seth Art wrote:
> Adam, Mat, and anyone else who can help,
> 
> I am having the same problem actually.  I am using a different remote 
> control/tuner card (leadtek WinFast cool command) however.  I have been 
> reading reading all of the lirc documentation over the last couple of 
> days but its mostly for compiling the kernel mod and device yourself.  I 
> am using the atrmps distro for all of my myth/lirc stuff and these are 
> the packages I have installed:
> 
> [root at fedora ~]# yum list *lirc*
> Setting up repositories
> Reading repository metadata in from local files
> Installed Packages
> lirc.i386                                0.8.0-54_cvs20060107.r 
> installed      
> lirc-devices.noarch                      0.7.0-1.rhfc4.at 
> <http://0.7.0-1.rhfc4.at>       installed      
> lirc-kmdl-2.6.14-1.1656_FC4smp.i686      0.8.0-54_cvs20060107.r 
> installed      
> lirc-lib.i386                             0.8.0-54_cvs20060107.r 
> installed      
> lirc-lib-devel.i386                      0.8.0-54_cvs20060107.r installed 
> 
> 
> I also just have a lircd  in the  /dev directory:
> 
> [root at fedora ~]# ls -l /dev/lir*
> srw-rw-rw-  1 root root 0 Jan 10 12:41 /dev/lircd
> 
> When i run "lircd -n as root I do not see any errors:
> 
> [root at fedora ~]# lircd -n
> lircd-0.8.0-CVS[2954]: lircd(userspace) ready
> ^H^H
> lircd-0.8.0-CVS[2954]: caught signal
>  
> When I run irw it automatically kills my lircd if it is running, but 
> does not sit there and listen for commands.  It just exits right away.  
> Is this the normal behavior?  I do remember at one time that when i ran 
> irw is actually did receive a signal from one of the buttons on my 
> remote, but unfortunately I have made the problem worse. 
> 
> Any help is definitely appreciated.   I can't wait to get this working 
> so that I can transfer all of my myth commands from my leadtek remote to 
> my all-in-on.   Now that will be impressive!
> 
> Thanks,
> 
> Seth 
> 
> 
> 
> On 1/10/06, *Adam Propeck* <adam at propeck.com <mailto:adam at propeck.com>> 
> wrote:
> 
>     Well, this would be specific to the remote "receiver" you are using.
>     I'm assuming that you are using the one that comes with the PVR-350.
> 
>     What do you see when you run 'ls -l /dev/lir*' as root? You should
>     at a minimum have an lircd file, but you may have an lirc0 file
>     which might be the one to point to. Also tell me the output of
>     running 'lircd -n' as root. You may have to run 'service lircd stop'
>     first. Give me those and I'll check into some of the specific
>     PVR-350 settings in the mean time. Lirc was a big problem for me as
>     it seems that the directions are extremely vague for anyone not
>     using the 250 and 150. Since I have a USB Uirt, I had to figure some
>     of it out on my own. I still need to figure out how to rebuild Myth
>     with lirc support built-in.
> 
>     On 1/10/06, *Matt Rude* < mythtv-users at mattrude.com
>     <mailto:mythtv-users at mattrude.com>> wrote:
> 
>         So what execting file should I link to? or am I missing a file?
>         -Matt
> 
>         Quoting Adam Propeck <adam at propeck.com <mailto:adam at propeck.com>>:
> 
>>  I don't know which /dev file you should be linking the
>         /dev/lirc file to
>>  with the PVR-350, but I would recommend that at least while
>         you test, just
>>  use (as root or via sudo) 'lircd -n' to see the messages
>         immediately and
>>  then you don't have to go and look for them. I have a
>         USB-UIRT, and so I
>>  ended up having to edit the /etc/sysconfig/lircd file to show
>         -h uirt2
>>  --device=/dev/ttyUSB0   I'd expect that you simply need to
>         edit your file
>>  appropriately.
>>
>>  On 1/9/06, Matt Rude < mythtv-users at mattrude.com
>         <mailto:mythtv-users at mattrude.com>> wrote:
>> >
>> > I have Mythtv running on FC4 with a PVR-350. Everything is
>         running but the
>> > remote control. I have installed lirc & lirc-kmdl via yum
>         along with the
>> > reset
>> > of the Mythtv suite. I edited my modprobe.conf file and ran these
>> > commands.
>> >
>> > $mkdir /home/mythtv/.mythtv
>> > $wget http://wilsonet.com/mythtv/lircrc-haupgrey-g3.txt
>> > $mv lircd-haupgrey-g3.conf.txt ~/.mythtv/lircrc
>> > $/sbin/depmod -a
>> > $/sbin/modprobe lirc_i2c
>> > $/sbin/chkconfig lircd on
>> > $/sbin/service lircd start
>> >
>> > Once this is done I can try to run /usr/bin/irw and the
>         program exits. if
>> > I look
>> > at my messages file I get as below. A list for /dev/lircd
>         shows me.
>> >
>> > #ll /dev/lir*
>> > srw-rw-rw-  1 root root 0 Jan  9 20:31 /dev/lircd
>> >
>> > I know I need the lirc0 or lirc.
>> >
>> >
>> > What am I missing to make this work?
>> > any help would be nice.
>> >
>> >
>> >
>> >
>> > ### tail /var/log/messages  # Fresh after a reboot
>> > Jan  9 20:28:50 mythtv lircd-0.8.0-CVS[2280]: lircd(any) ready
>> > Jan  9 20:30:03 mythtv lircd-0.8.0-CVS[2280]: accepted new
>         client on
>> > /dev/lircd
>> > Jan  9 20:30:03 mythtv lircd-0.8.0-CVS[2280]: could not get file
>> > information for
>> > /dev/lirc
>> > Jan  9 20:30:03 mythtv lircd-0.8.0-CVS[2280]: default_init():
>         No such file
>> > or
>> > directory
>> > Jan  9 20:30:03 mythtv lircd-0.8.0-CVS[2280]: caught signal
>> > Jan  9 20:31:32 mythtv lircd-0.8.0-CVS[2931]: lircd(any) ready
>> > Jan  9 20:31:49 mythtv lircd-0.8.0-CVS[2931]: accepted new
>         client on
>> > /dev/lircd
>> > Jan  9 20:31:49 mythtv lircd-0.8.0-CVS[2931]: could not get file
>> > information for
>> > /dev/lirc
>> > Jan  9 20:31:49 mythtv lircd-0.8.0-CVS[2931]: default_init():
>         No such file
>> > or
>> > directory
>> > Jan  9 20:31:49 mythtv lircd-0.8.0-CVS [2931]: caught signal
>> >
>> >
>> > ### ll /dev/lirc*
>> > srw-rw-rw-  1 root root 0 Jan  9 20:31 /dev/lircd
>> >
>> >
>> > ### cat /etc/modprobe.conf
>> > # Enable IF
>> > alias char-major-61 lirc_i2c
>> > # From Setup
>> > alias eth0 e100
>> > alias snd-card-0 snd-intel8x0
>> > options snd-card-0 index=0
>> > options snd-intel8x0 index=0
>> > remove snd-intel8x0 { /usr/sbin/alsactl store 0 >/dev/null
>         2>&1 || : ; };
>> > /sbin/modprobe -r --ignore-remove snd-intel8x0
>> > alias usb-controller uhci-hcd
>> > # ivtv modules setup
>> > alias char-major-81 ivtv
>> > alias char-major-81-0 ivtv
>> > alias tveeprom tveeprom-ivtv
>> > alias msp3400 msp3400-ivtv
>> > install ivtv /sbin/modprobe --ignore-install ivtv;
>         /sbin/modprobe ivtv-fb
>> > install lirc_i2c /sbin/modprobe ivtv; /sbin/modprobe
>         --ignore-install
>> > lirc_i2c
>> > install snd-emu10k1 /sbin/modprobe --ignore-install
>         snd-emu10k1 &&
>> > /usr/sbin/alsactl restore >/dev/null 2>&1 || :
>> > remove snd-emu10k1 { /usr/sbin/alsactl store >/dev/null 2>&1
>         || : ; };
>> > /sbin/modprobe -r --ignore-remove snd-emu10k
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > Thanks
>> > Matt
>> > _______________________________________________
>> > mythtv-users mailing list
>> > mythtv-users at mythtv.org <mailto:mythtv-users at mythtv.org>
>> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>         <http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users>
>> >
>>
> 
> 
>         _______________________________________________
>         mythtv-users mailing list
>         mythtv-users at mythtv.org <mailto:mythtv-users at mythtv.org>
>         http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 
> 
> 
>     _______________________________________________
>     mythtv-users mailing list
>     mythtv-users at mythtv.org <mailto:mythtv-users at mythtv.org>
>     http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

A quick llook at Jarod Wilson's guide to installing Myth on Fedora Core reveals that for the /dev 
entries to be created by udev, you should modify /etc/udev/rules.d/lirc.rules to contain only the 
line 'KERNEL="lirc0",              SYMLINK="lirc"'.

See http://www.wilsonet.com/mythtv/fcmyth.php for more info.
-- 
Les Gondor, Total Graphics            les at totalgraphix.ca
If you don't know what you're doing, do it neatly


More information about the mythtv-users mailing list