If you type irrecord -H blah (raelly... Type something there) It
will show you a list of valid options for the driver. (Not the device)
I would run down the list a bit (there are some obvious ones that is is
not going to be) and do 'irrecord -H Driver_I'm_testing --device
/dev/lirc0 /etc/lircd.conf'<br>
<br>
You may be able to figure out the driver that should be used. I would
be able to help more, but I'm rebuilding after a failed DRI install
from CVS. Should have backed up!!!<br><br><div><span class="gmail_quote">On 1/10/06, <b class="gmail_sendername">Matt Rude</b> <<a href="mailto:mythtv-users@mattrude.com">mythtv-users@mattrude.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I was thinking I did have the recommended driver for the PVR-350 but<br>now im not<br>so sure. I tryed running the fallowing comand:
<br><br>[root@mythtv backup]# irrecord --device /dev/lirc0 /etc/lircd.conf<br>irrecord - application for recording IR-codes for usage with lirc<br>Copyright (C) 1998,1999 Christoph Bartelmus(<a href="mailto:lirc@bartelmus.de">
lirc@bartelmus.de</a>)<br>irrecord: could not init hardware (lircd running ? --> close it, check<br>permissions)<br><br>then from /var/log/messages<br>Jan 10 23:34:41 mythtv irrecord: could not open /dev/lirc0<br>Jan 10 23:34:41 mythtv irrecord: default_init(): No such device or address
<br><br>yet<br>[root@mythtv backup]# ls -l /dev/lir*<br>lrwxrwxrwx 1 root root 10 Jan 10 19:23 /dev/lirc -> /dev/lirc0<br>crwxrwxrwx 1 mythtv mythtv 212, 0 Jan 10 19:23 /dev/lirc0<br>srw-rw-rw- 1 mythtv mythtv 0 Jan 10 19:23 /dev/lircd
<br><br>if I try running the command with the other devices in the list i get the same<br>messages except with the /dev/lircd dev<br>Jan 10 23:38:12 mythtv irrecord: could not connect to unix socket /dev/lircd<br>Jan 10 23:38:12 mythtv irrecord: default_init(): Connection refused
<br><br>I downloaded the ivit software using yum as shown below.<br><br>thanks<br>-Matt<br><br><br>Quoting Adam Propeck <<a href="mailto:adam@propeck.com">adam@propeck.com</a>>:<br><br>> Do you know the recommended driver for your device? The best thing to do is
<br>> leave lircd not running. Unless you've copied a valid /etc/lircd.conf file<br>> over, it won't do any good really anyhow. I run (as root) "irrecord -H uirt2<br>> --device /dev/ttyUSB0 test.conf" You should try replacing the uirt2 with
<br>> either the driver that your IR receiver calls for, or simply use "irrecord<br>> --device /dev/something test.conf" where something is the device that your<br>> IR is actually connected to. I'll have some better instructions out in just
<br>> a bit as I'm having some quick supper. I went back and redid my universal<br>> remote training with VCR code 0081 as talked about on the FedoraMythology<br>> page, and that seems to work good and give me more buttons on my remote.
<br>> Even when lircd wasn't working, when I passed the right parameters to<br>> irrecord, I was able to get input from the remote.<br>><br>> On 1/10/06, Seth Art <<a href="mailto:sethsec@gmail.com">sethsec@gmail.com
</a>> wrote:<br>>><br>>> Adam, Mat, and anyone else who can help,<br>>><br>>> I am having the same problem actually. I am using a different remote<br>>> control/tuner card (leadtek WinFast cool command) however. I have been
<br>>> reading reading all of the lirc documentation over the last couple of days<br>>> but its mostly for compiling the kernel mod and device yourself. I am using<br>>> the atrmps distro for all of my myth/lirc stuff and these are the packages I
<br>>> have installed:<br>>><br>>> [root@fedora ~]# yum list *lirc*<br>>> Setting up repositories<br>>> Reading repository metadata in from local files<br>>> Installed Packages<br>>>
lirc.i386 0.8.0-54_cvs20060107.rinstalled<br>>>
lirc-devices.noarch <a href="http://0.7.0-1.rhfc4.at">0.7.0-1.rhfc4.at</a><br>>> installed<br>>> lirc-kmdl-2.6.14-1.1656_FC4smp.i686 0.8.0-54_cvs20060107.rinstalled<br>>>
lirc-lib.i386
0.8.0-54_cvs20060107.rinstalled<br>>>
lirc-lib-devel.i386 0.8.0-54_cvs20060107.r
installed<br>>><br>>><br>>><br>>> I also just have a lircd in the /dev directory:<br>>><br>>> [root@fedora ~]# ls -l /dev/lir*<br>>> srw-rw-rw- 1 root root 0 Jan 10 12:41 /dev/lircd
<br>>><br>>> When i run "lircd -n as root I do not see any errors:<br>>><br>>> [root@fedora ~]# lircd -n<br>>> lircd-0.8.0-CVS[2954]: lircd(userspace) ready<br>>> ^H^H<br>>>
lircd-0.8.0-CVS[2954]: caught signal<br>>><br>>> When I run irw it automatically kills my lircd if it is running, but does<br>>> not sit there and listen for commands. It just exits right away. Is this
<br>>> the normal behavior? I do remember at one time that when i ran irw is<br>>> actually did receive a signal from one of the buttons on my remote, but<br>>> unfortunately I have made the problem worse.
<br>>><br>>> Any help is definitely appreciated. I can't wait to get this working so<br>>> that I can transfer all of my myth commands from my leadtek remote to my<br>>> all-in-on. Now that will be impressive!
<br>>><br>>> Thanks,<br>>><br>>> Seth<br>>><br>>><br>>><br>>> On 1/10/06, Adam Propeck <<a href="mailto:adam@propeck.com">adam@propeck.com</a>> wrote:<br>>><br>>> > Well, this would be specific to the remote "receiver" you are using. I'm
<br>>> > assuming that you are using the one that comes with the PVR-350.<br>>> ><br>>> > What do you see when you run 'ls -l /dev/lir*' as root? You should at a<br>>> > minimum have an lircd file, but you may have an lirc0 file which might be
<br>>> > the one to point to. Also tell me the output of running 'lircd -n'<br>>> as root.<br>>> > You may have to run 'service lircd stop' first. Give me those and<br>>> I'll check<br>>> > into some of the specific PVR-350 settings in the mean time. Lirc
<br>>> was a big<br>>> > problem for me as it seems that the directions are extremely vague for<br>>> > anyone not using the 250 and 150. Since I have a USB Uirt, I had to figure<br>>> > some of it out on my own. I still need to figure out how to rebuild Myth
<br>>> > with lirc support built-in.<br>>> ><br>>> > On 1/10/06, Matt Rude < <a href="mailto:mythtv-users@mattrude.com">mythtv-users@mattrude.com</a>> wrote:<br>>> > ><br>>> > > So what execting file should I link to? or am I missing a file?
<br>>> > > -Matt<br>>> > ><br>>> > > Quoting Adam Propeck <<a href="mailto:adam@propeck.com">adam@propeck.com</a> >:<br>>> > ><br>>> > > > I don't know which /dev file you should be linking the /dev/lirc
<br>>> > > file to<br>>> > > > with the PVR-350, but I would recommend that at least while you<br>>> > > test, just<br>>> > > > use (as root or via sudo) 'lircd -n' to see the messages immediately
<br>>> > > and<br>>> > > > then you don't have to go and look for them. I have a USB-UIRT, and<br>>> > > so I<br>>> > > > ended up having to edit the /etc/sysconfig/lircd file to show -h
<br>>> > > uirt2<br>>> > > > --device=/dev/ttyUSB0 I'd expect that you simply need to edit your<br>>> > > file<br>>> > > > appropriately.<br>>> > > ><br>
>> > > > On 1/9/06, Matt Rude < <a href="mailto:mythtv-users@mattrude.com">mythtv-users@mattrude.com</a>> wrote:<br>>> > > >><br>>> > > >> I have Mythtv running on FC4 with a PVR-350. Everything is running
<br>>> > > but the<br>>> > > >> remote control. I have installed lirc & lirc-kmdl via yum along<br>>> > > with the<br>>> > > >> reset<br>>> > > >> of the Mythtv suite. I edited my
modprobe.conf file and ran these<br>>> > > >> commands.<br>>> > > >><br>>> > > >> $mkdir /home/mythtv/.mythtv<br>>> > > >> $wget <a href="http://wilsonet.com/mythtv/lircrc-haupgrey-g3.txt">
http://wilsonet.com/mythtv/lircrc-haupgrey-g3.txt</a><br>>> > > >> $mv lircd-haupgrey-g3.conf.txt ~/.mythtv/lircrc<br>>> > > >> $/sbin/depmod -a<br>>> > > >> $/sbin/modprobe lirc_i2c
<br>>> > > >> $/sbin/chkconfig lircd on<br>>> > > >> $/sbin/service lircd start<br>>> > > >><br>>> > > >> Once this is done I can try to run /usr/bin/irw and the program
<br>>> > > exits. if<br>>> > > >> I look<br>>> > > >> at my messages file I get as below. A list for /dev/lircd shows me.<br>>> > ><br>>> > > >>
<br>>> > > >> #ll /dev/lir*<br>>> > > >> srw-rw-rw- 1 root root 0 Jan 9 20:31 /dev/lircd<br>>> > > >><br>>> > > >> I know I need the lirc0 or lirc.
<br>>> > > >><br>>> > > >><br>>> > > >> What am I missing to make this work?<br>>> > > >> any help would be nice.<br>>> > > >><br>>> > > >>
<br>>> > > >><br>>> > > >><br>>> > > >> ### tail /var/log/messages # Fresh after a reboot<br>>> > > >> Jan 9 20:28:50 mythtv lircd-0.8.0-CVS[2280]: lircd(any) ready
<br>>> > > >> Jan 9 20:30:03 mythtv lircd-0.8.0-CVS[2280]: accepted new client<br>>> > > on<br>>> > > >> /dev/lircd<br>>> > > >> Jan 9 20:30:03 mythtv lircd-0.8.0-CVS
[2280]: could not get file<br>>> > > >> information for<br>>> > > >> /dev/lirc<br>>> > > >> Jan 9 20:30:03 mythtv lircd-0.8.0-CVS[2280]: default_init(): No<br>>> > > such file
<br>>> > > >> or<br>>> > > >> directory<br>>> > > >> Jan 9 20:30:03 mythtv lircd-0.8.0-CVS[2280]: caught signal<br>>> > > >> Jan 9 20:31:32 mythtv
lircd-0.8.0-CVS[2931]: lircd(any) ready<br>>> > > >> Jan 9 20:31:49 mythtv lircd-0.8.0-CVS[2931]: accepted new client<br>>> > > on<br>>> > > >> /dev/lircd<br>>> > > >> Jan 9 20:31:49 mythtv
lircd-0.8.0-CVS[2931]: could not get file<br>>> > > >> information for<br>>> > > >> /dev/lirc<br>>> > > >> Jan 9 20:31:49 mythtv lircd-0.8.0-CVS[2931]: default_init(): No
<br>>> > > such file<br>>> > > >> or<br>>> > > >> directory<br>>> > > >> Jan 9 20:31:49 mythtv lircd-0.8.0-CVS [2931]: caught signal<br>>> > > >>
<br>>> > > >><br>>> > > >> ### ll /dev/lirc*<br>>> > > >> srw-rw-rw- 1 root root 0 Jan 9 20:31 /dev/lircd<br>>> > > >><br>>> > > >>
<br>>> > > >> ### cat /etc/modprobe.conf<br>>> > > >> # Enable IF<br>>> > > >> alias char-major-61 lirc_i2c<br>>> > > >> # From Setup<br>>> > > >> alias eth0 e100
<br>>> > > >> alias snd-card-0 snd-intel8x0<br>>> > > >> options snd-card-0 index=0<br>>> > > >> options snd-intel8x0 index=0<br>>> > > >> remove snd-intel8x0 { /usr/sbin/alsactl store 0 >/dev/null 2>&1 ||
<br>>> > > : ; };<br>>> > > >> /sbin/modprobe -r --ignore-remove snd-intel8x0<br>>> > > >> alias usb-controller uhci-hcd<br>>> > > >> # ivtv modules setup<br>
>> > > >> alias char-major-81 ivtv<br>>> > > >> alias char-major-81-0 ivtv<br>>> > > >> alias tveeprom tveeprom-ivtv<br>>> > > >> alias msp3400 msp3400-ivtv
<br>>> > > >> install ivtv /sbin/modprobe --ignore-install ivtv; /sbin/modprobe<br>>> > > ivtv-fb<br>>> > > >> install lirc_i2c /sbin/modprobe ivtv; /sbin/modprobe<br>>> > > --ignore-install
<br>>> > > >> lirc_i2c<br>>> > > >> install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 &&<br>>> > > >> /usr/sbin/alsactl restore >/dev/null 2>&1 || :
<br>>> > > >> remove snd-emu10k1 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ;<br>>> > > };<br>>> > > >> /sbin/modprobe -r --ignore-remove snd-emu10k<br>>> > > >>
<br>>> > > >><br>>> > > >><br>>> > > >><br>>> > > >><br>>> > > >><br>>> > > >><br>>> > > >> Thanks
<br>>> > > >> Matt<br>>> > > >> _______________________________________________<br>>> > > >> mythtv-users mailing list<br>>> > > >> <a href="mailto:mythtv-users@mythtv.org">
mythtv-users@mythtv.org</a><br>>> > > >> <a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>>> > > >><br>>> > > >
<br>>> > ><br>>> > ><br>>> > > _______________________________________________<br>>> > > mythtv-users mailing list<br>>> > > <a href="mailto:mythtv-users@mythtv.org">
mythtv-users@mythtv.org</a><br>>> > > <a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>>> > ><br>>> ><br>>> >
<br>>> > _______________________________________________<br>>> > mythtv-users mailing list<br>>> > <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>>> > <a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>>> ><br>>> ><br>>> ><br>>><br>>> _______________________________________________<br>>> mythtv-users mailing list<br>
>> <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>>> <a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>>>
<br>>><br>>><br>><br><br><br>_______________________________________________<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br></blockquote></div><br>