Re: [mythtv-users] [OT] Remote Help
Sooo can anyone help me? On 10/1/05, Steve G [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:mythtv-users- [EMAIL PROTECTED] On Behalf Of Marius Schrecker Sent: Saturday, October 01, 2005 4:28 AM To: Discussion about mythtv Subject: Re: [mythtv-users] [OT] Remote Help Did /dev/lirc exist before you started irw ? Did you set the access rights on the lirc* devices ? Niels Dybdahl - Original Message - From: Steve To: Discussion about mythtv Sent: Saturday, October 01, 2005 7:39 AM Subject: [mythtv-users] [OT] Remote Help A friend of mine gave me an ATI Remote Wonder remote and usb receiver. From my understanding it is a RF setup here, not an IR setup. I am running gentoo, so someone told me I needed to emerge lirc when I have LIRC_OPTS=--with-driver=atiusb in my make.conf. So I did # emerge unmerge lirc and then I did emerge --newuse lirc. The problem I have is I start lircd by doing # lircd -n It says whatever it says... then I log in to another terminal as a normal user and do $ irw. This just brings me back to $ and causes the # lircd -n that I ran to crash whilst complaining about not finding /dev/lirc. Any help is greatly appreciated. This sounds very much like the problem I had with my usb receiver. What are you getting in /var/log/messages when you start lircd? Oct 1 12:32:55 MythTv lircd-0.7.2[21570]: lircd(atiusb) ready When I start irw and go back to the console I started lircd -n on I see this: MythTV ~ # lircd -n lircd-0.7.2[21632]: lircd(atiusb) ready lircd-0.7.2[21632]: accepted new client on /dev/lircd lircd-0.7.2[21632]: could not get file information for /dev/lirc lircd-0.7.2[21632]: default_init(): No such file or directory lircd-0.7.2[21632]: caught signal Terminated MythTV ~ # I had to symlink my /dev/lirc node to /dev/usb/hiddev0 (your usb device may well be different). I'm not sure where my USB device is... I've tried various ls's in /dev to find it to no avail. But I gather this much from what you're saying: # ln -s /dev/lircd /dev/lirc or am I way off? If the driver needs a module has this been built and installed, and does it load? I'm not sure what you mean here, but I have built lirc with atiusb in the LIRC_OPTS in my make.conf. Are you running udev? This should take care of your /dev node mappings for you. Unfortunately I can't on my system. Yea, I do have udev... udev will probably help you later, if you can figure ouot how to set up rules for it, I'm afraid I can't help you there. First I think you should try to ascertain if your /dev/lirc should be symlinked to anything else. Make a note of the node major and minor numbers so you can recreate it later: #ls -la /dev |grep lirc then try linking to your usb hid devices in turn and seeing if you can capture ir activity: # ln -s /dev/usb/hiddev0 (for example) /dev/lirc $ irw ffa100030096 00 MOUSE_MEDIUM_N MEDIAMASTER ffa100030096 00 MOUSE_MEDIUM_N MEDIAMASTER ffa100030097 00 MOUSE_FAST_N MEDIAMASTER ffa100030097 01 MOUSE_FAST_N MEDIAMASTER you can also monitor your lircd log for clues: # tail -f /var/log/lircd Oct 2 10:34:13 mythbox lircd 0.7.2: lircd(bw6130) ready Oct 2 10:34:13 mythbox lircd 0.7.2: accepted new client on /dev/lircd Oct 2 10:34:13 mythbox lircd 0.7.2: initializing '/dev/lirc' Oct 2 10:58:08 mythbox lircd 0.7.2: accepted new client on /dev/lircd Oct 2 10:58:08 mythbox lircd 0.7.2: removed client Oct 2 11:00:31 mythbox lircd 0.7.2: accepted new client on /dev/lircd Oct 2 12:23:03 mythbox lircd 0.7.2: accepted new client on /dev/lircd Oct 2 12:23:27 mythbox lircd 0.7.2: accepted new client on /dev/lircd Oct 2 12:24:41 mythbox lircd 0.7.2: removed client Oct 2 12:24:46 mythbox lircd 0.7.2: removed client Hope this helps. Cheers Marius ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] [OT] Remote Help
Sooo can anyone help me? [Didn't get a copy to the list as I sent it from the wrong address!!] These directions are specific to Gentoo due to the way that modules are handled. Create a file in /etc/modules.d called atiusb and put the following into it: alias char-major-61-0 lirc_atiusb then do a modules-update Provided the USB sybsystem sees the device OK, hotplug should load the driver (it does on my mceusb remote) - check by unplugging plugging in the device and use lsmod to see if the atiusb.ko module has loaded. If it doesn't load then add the following to /etc/modules.autoload.d/kernel-2.6 lirc_atiusb so that it gets loaded at startup. You should also have a lirc_dev.ko module loaded as well - that gets loaed automagically (provided you remember to run depmod -a) when the made module is loaded. You can check that its loaded OK by checking for the device entry. # ls /dev/li* /dev/lirc: total 0 crw-rw 1 root root 61, 0 Sep 30 2005 0 notice that lirc is a directory and the drivers get device names 0, 1, 2 within it for udev. Next, since you are using udev, you'll be creating a file in /etc/conf.d called lircd that contains LIRCD_OPTS=-d /dev/lirc/0 -o /dev/lircd This will ensure that lircd gets started with the correct device, i.e. the one you listed above. From there you should be OK to carry on with the irw tests. Good luck! -- Robin Gilks ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] [OT] Remote Help
/dev/lirc does not exist, however, /dev/lircd does when I run lircd –n.I recently had same problem on FC3 (same output in messages). I had to create the /dev/lirc devicenode before it would work. I created it as described on http://www.mythtv.org/docs/mythtv-HOWTO-8.html: # mknod /dev/lirc c 61 0 My steps for making the remote work something like the following: 1.# apt-get install lirc-kmdl-$KVER2. # apt-get install lirc 3. rename /lib/modules/$KVER/kernel/drivers/usb/input/ati_remote.ko to something else (e.g ati_remote.ko.orig)4. Addalias char-major-61 lirc_atiusb and alias lirc_dev lirc_atiusb to modprobe.conf 5.# /sbin/chkconfig lircd on 6. Reboot to stop ati_remote.ko and start lircd 7. # mknod /dev/lirc c 61 0 8. # chmod 666 /dev/lirc* 8. I created my own lirc.conf with irrecord, because Litwillers lirc.conf did not work. I did not check www.lirc.org whether there were one that worked. 9. Test it with irw. Remember to kill mythfrontend so thatmythfrontend does not lock the device. 10. Download Litwillers http://www.litwiller.net/mythtv/lircrc.txtto/home/~mythtv/.mythtv/lircrc So I have both a /dev/lirc and a /dev/lircd. It did not work without the /dev/lirc: [EMAIL PROTECTED] ~]# ll /dev/li* crw--- 1 root root 61, 0 8 sep 20:01 /dev/lirc crw--- 1 root root 61, 0 8 sep 20:01 /dev/lirc0 srw-rw-rw- 1 root root 0 11 sep 10:11 /dev/lircd Best regards Niels ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
RE: [mythtv-users] [OT] Remote Help
-Original Message- From: Marius Schrecker [mailto:[EMAIL PROTECTED] Sent: Sunday, October 02, 2005 6:26 AM To: Steve ; Discussion about mythtv Subject: Re: [mythtv-users] [OT] Remote Help Sooo can anyone help me? On 10/1/05, Steve G [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:mythtv-users- [EMAIL PROTECTED] On Behalf Of Marius Schrecker Sent: Saturday, October 01, 2005 4:28 AM To: Discussion about mythtv Subject: Re: [mythtv-users] [OT] Remote Help Did /dev/lirc exist before you started irw ? Did you set the access rights on the lirc* devices ? Niels Dybdahl - Original Message - From: Steve To: Discussion about mythtv Sent: Saturday, October 01, 2005 7:39 AM Subject: [mythtv-users] [OT] Remote Help A friend of mine gave me an ATI Remote Wonder remote and usb receiver. From my understanding it is a RF setup here, not an IR setup. I am running gentoo, so someone told me I needed to emerge lirc when I have LIRC_OPTS=--with-driver=atiusb in my make.conf. So I did # emerge unmerge lirc and then I did emerge --newuse lirc. The problem I have is I start lircd by doing # lircd -n It says whatever it says... then I log in to another terminal as a normal user and do $ irw. This just brings me back to $ and causes the # lircd -n that I ran to crash whilst complaining about not finding /dev/lirc. Any help is greatly appreciated. This sounds very much like the problem I had with my usb receiver. What are you getting in /var/log/messages when you start lircd? Oct 1 12:32:55 MythTv lircd-0.7.2[21570]: lircd(atiusb) ready When I start irw and go back to the console I started lircd -n on I see this: MythTV ~ # lircd -n lircd-0.7.2[21632]: lircd(atiusb) ready lircd-0.7.2[21632]: accepted new client on /dev/lircd lircd-0.7.2[21632]: could not get file information for /dev/lirc lircd-0.7.2[21632]: default_init(): No such file or directory lircd-0.7.2[21632]: caught signal Terminated MythTV ~ # I had to symlink my /dev/lirc node to /dev/usb/hiddev0 (your usb device may well be different). I'm not sure where my USB device is... I've tried various ls's in /dev to find it to no avail. But I gather this much from what you're saying: # ln -s /dev/lircd /dev/lirc or am I way off? If the driver needs a module has this been built and installed, and does it load? I'm not sure what you mean here, but I have built lirc with atiusb in the LIRC_OPTS in my make.conf. Are you running udev? This should take care of your /dev node mappings for you. Unfortunately I can't on my system. Yea, I do have udev... udev will probably help you later, if you can figure ouot how to set up rules for it, I'm afraid I can't help you there. First I think you should try to ascertain if your /dev/lirc should be symlinked to anything else. Make a note of the node major and minor numbers so you can recreate it later: #ls -la /dev |grep lirc When I do this it only shows me /dev/lircd then try linking to your usb hid devices in turn and seeing if you can capture ir activity: # ln -s /dev/usb/hiddev0 (for example) /dev/lirc I don't have any /dev/usb* or /dev/usb/*... Which is probably why this isn't working. Other than that... Yea still doesn't work. ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] [OT] Remote Help
Did /dev/lirc exist before you started irw ? Did you set the access rights on the lirc* devices ? Niels Dybdahl - Original Message - From: Steve To: Discussion about mythtv Sent: Saturday, October 01, 2005 7:39 AM Subject: [mythtv-users] [OT] Remote Help A friend of mine gave me an "ATI Remote Wonder" remote and usb receiver. From my understanding it is a RF setup here, not an IR setup. I am running gentoo, so someone told me I needed to emerge lirc when I have LIRC_OPTS="--with-driver=atiusb" in my make.conf. So I did "# emerge unmerge lirc" and then I did "emerge --newuse lirc". The problem I haveis I start lircd by doing "# lircd -n" Itsays whatever it says... then I log in to another terminal as a normal user and do "$ irw". Thisjust brings me back to "$ " and causes the "# lircd -n" that I ran to crash whilst complaining about not finding /dev/lirc. Any help is greatly appreciated. ___mythtv-users mailing listmythtv-users@mythtv.orghttp://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] [OT] Remote Help
Did /dev/lirc exist before you started irw ? Did you set the access rights on the lirc* devices ? Niels Dybdahl - Original Message - From: Steve To: Discussion about mythtv Sent: Saturday, October 01, 2005 7:39 AM Subject: [mythtv-users] [OT] Remote Help A friend of mine gave me an ATI Remote Wonder remote and usb receiver. From my understanding it is a RF setup here, not an IR setup. I am running gentoo, so someone told me I needed to emerge lirc when I have LIRC_OPTS=--with-driver=atiusb in my make.conf. So I did # emerge unmerge lirc and then I did emerge --newuse lirc. The problem I have is I start lircd by doing # lircd -n It says whatever it says... then I log in to another terminal as a normal user and do $ irw. This just brings me back to $ and causes the # lircd -n that I ran to crash whilst complaining about not finding /dev/lirc. Any help is greatly appreciated. This sounds very much like the problem I had with my usb receiver. What are you getting in /var/log/messages when you start lircd? I had to symlink my /dev/lirc node to /dev/usb/hiddev0 (your usb device may well be different). If the driver needs a module has this been built and installed, and does it load? Are you running udev? This should take care of your /dev node mappings for you. Unfortunately I can't on my system. Cheers Marius ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
RE: [mythtv-users] [OT] Remote Help
-Original Message- From: [EMAIL PROTECTED] [mailto:mythtv-users- [EMAIL PROTECTED] On Behalf Of Marius Schrecker Sent: Saturday, October 01, 2005 4:28 AM To: Discussion about mythtv Subject: Re: [mythtv-users] [OT] Remote Help Did /dev/lirc exist before you started irw ? Did you set the access rights on the lirc* devices ? Niels Dybdahl - Original Message - From: Steve To: Discussion about mythtv Sent: Saturday, October 01, 2005 7:39 AM Subject: [mythtv-users] [OT] Remote Help A friend of mine gave me an ATI Remote Wonder remote and usb receiver. From my understanding it is a RF setup here, not an IR setup. I am running gentoo, so someone told me I needed to emerge lirc when I have LIRC_OPTS=--with-driver=atiusb in my make.conf. So I did # emerge unmerge lirc and then I did emerge --newuse lirc. The problem I have is I start lircd by doing # lircd -n It says whatever it says... then I log in to another terminal as a normal user and do $ irw. This just brings me back to $ and causes the # lircd -n that I ran to crash whilst complaining about not finding /dev/lirc. Any help is greatly appreciated. This sounds very much like the problem I had with my usb receiver. What are you getting in /var/log/messages when you start lircd? Oct 1 12:32:55 MythTv lircd-0.7.2[21570]: lircd(atiusb) ready When I start irw and go back to the console I started lircd -n on I see this: MythTV ~ # lircd -n lircd-0.7.2[21632]: lircd(atiusb) ready lircd-0.7.2[21632]: accepted new client on /dev/lircd lircd-0.7.2[21632]: could not get file information for /dev/lirc lircd-0.7.2[21632]: default_init(): No such file or directory lircd-0.7.2[21632]: caught signal Terminated MythTV ~ # I had to symlink my /dev/lirc node to /dev/usb/hiddev0 (your usb device may well be different). I'm not sure where my USB device is... I've tried various ls's in /dev to find it to no avail. But I gather this much from what you're saying: # ln -s /dev/lircd /dev/lirc or am I way off? If the driver needs a module has this been built and installed, and does it load? I'm not sure what you mean here, but I have built lirc with atiusb in the LIRC_OPTS in my make.conf. Are you running udev? This should take care of your /dev node mappings for you. Unfortunately I can't on my system. Yea, I do have udev... In matters of style, swim with the current; in matters of principle, stand like a rock. ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] [OT] Remote Help
Sooo can anyone help me? On 10/1/05, Steve G [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:mythtv-users- [EMAIL PROTECTED]] On Behalf Of Marius Schrecker Sent: Saturday, October 01, 2005 4:28 AM To: Discussion about mythtv Subject: Re: [mythtv-users] [OT] Remote Help Did /dev/lirc exist before you started irw ? Did you set the access rights on the lirc* devices ? Niels Dybdahl - Original Message - From: Steve To: Discussion about mythtv Sent: Saturday, October 01, 2005 7:39 AM Subject: [mythtv-users] [OT] Remote Help A friend of mine gave me an ATI Remote Wonder remote and usb receiver. From my understanding it is a RF setup here, not an IR setup. I am running gentoo, so someone told me I needed to emerge lirc when I have LIRC_OPTS=--with-driver=atiusb in my make.conf. So I did # emerge unmerge lirc and then I did emerge --newuse lirc. The problem I have is I start lircd by doing # lircd -n It says whatever it says... then I log in to another terminal as a normal user and do $ irw. This just brings me back to $ and causes the # lircd -n that I ran to crash whilst complaining about not finding /dev/lirc. Any help is greatly appreciated. This sounds very much like the problem I had with my usb receiver. What are you getting in /var/log/messages when you start lircd? Oct1 12:32:55 MythTv lircd-0.7.2[21570]: lircd(atiusb) readyWhen I start irw and go back to the console I started lircd -n on I seethis: MythTV ~ # lircd -n lircd-0.7.2 [21632]: lircd(atiusb) ready lircd-0.7.2[21632]: accepted new client on /dev/lircd lircd-0.7.2[21632]: could not get file information for /dev/lirc lircd-0.7.2[21632]: default_init(): No such file or directory lircd-0.7.2[21632]: caught signal Terminated MythTV ~ # I had to symlink my /dev/lirc node to /dev/usb/hiddev0 (your usb device may well be different).I'm not sure where my USB device is... I've tried various ls's in /dev to find it to no avail. But I gather this much from what you're saying: # ln-s /dev/lircd /dev/lirc or am I way off? If the driver needs a module has this been built and installed, and does it load?I'm not sure what you mean here, but I have built lirc with atiusb in theLIRC_OPTS in my make.conf. Are you running udev? This should take care of your /dev node mappings for you. Unfortunately I can't on my system.Yea, I do have udev...In matters of style, swim with the current; in matters of principle, standlike a rock. ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users