Author |
Message |
lhassell
|
Posted: Thu Aug 23, 2007 5:48 pm |
|
Joined: Wed Sep 27, 2006 4:47 pm
Posts: 46
|
I am assuming this is a hardware question, due to the syslog message I found. I have a MCE remote with an SMK USB receiver. It had worked previously, but as of the latest release (R5F1), it does not. I tried starting lirc manually and using irw... the following is the tail of the syslog.
Code: Aug 23 18:47:10 box lircd-0.8.1-CVS-pvr150[25079]: lircd(all) ready Aug 23 18:47:16 box lircd-0.8.1-CVS-pvr150[25079]: accepted new client on /dev/lircd Aug 23 18:47:16 box lircd-0.8.1-CVS-pvr150[25079]: could not get hardware features Aug 23 18:47:16 box lircd-0.8.1-CVS-pvr150[25079]: this device driver does not support the new LIRC interface Aug 23 18:47:16 box lircd-0.8.1-CVS-pvr150[25079]: major number of /dev/usb/hiddev0 is 180 Aug 23 18:47:16 box lircd-0.8.1-CVS-pvr150[25079]: LIRC major number is 61 Aug 23 18:47:16 box lircd-0.8.1-CVS-pvr150[25079]: check if /dev/usb/hiddev0 is a LIRC device Aug 23 18:47:16 box lircd-0.8.1-CVS-pvr150[25079]: caught signal
Using mode2, I can see the signal coming in, and I still have the lircd.conf and lircrc files that worked previously. My receiver is lirc0, but for some reason, this seems to be trying to use my keyboard (hiddev0).
Any ideas?
|
|
Top |
|
 |
tjc
|
Posted: Thu Aug 23, 2007 6:12 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
See the R5F1 hints under LIRC. The device names changed because of udev, which means changing the reference in hardware.conf.
|
|
Top |
|
 |
lhassell
|
Posted: Fri Aug 24, 2007 4:15 pm |
|
Joined: Wed Sep 27, 2006 4:47 pm
Posts: 46
|
I fixed the hardware.conf issue, and spent a couple of days fiddling with the settings for my remote... I've fixed part of the problem, but still no luck. For some reason, it seems that my lircd.conf is not being loaded--- I have it both in /etc and /etc/lirc, (just covering bases), so location shouldn't be an issue, and the file worked previously, but irw returns nothing, and irreccord tells me it can't init the hardware. Mode2 -d /dev/lirc0 still returns normal data, though.
What should my next move be?
Thanks
|
|
Top |
|
 |
tjc
|
Posted: Fri Aug 24, 2007 5:52 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
What driver are you using?
|
|
Top |
|
 |
lhassell
|
Posted: Sat Aug 25, 2007 2:11 pm |
|
Joined: Wed Sep 27, 2006 4:47 pm
Posts: 46
|
As to drivers:
cat /var/log/syslog | grep lirc produces the following:
Aug 23 22:26:59 box kernel: lirc_dev: IR Remote Control driver registered, at major 61
Aug 23 22:26:59 box kernel: lirc_mceusb2: Philips eHome USB IR Transciever and Microsoft MCE 2005 Remote Control driver for LIRC v0.26
Aug 23 22:26:59 box kernel: lirc_mceusb2: Daniel Melander <lirc@rajidae.se>, Martin Blatter <martin_a_blatter@yahoo.com>
Aug 23 22:26:59 box kernel: lirc_dev: lirc_register_plugin: sample_rate: 0
Aug 23 22:26:59 box kernel: lirc_mceusb2[2]: SMK eHome Infrared Transceiver on usb3:2
Aug 23 22:26:59 box kernel: usbcore: registered new driver lirc_mceusb2
Aug 23 22:26:59 box kernel: lirc_mceusb2[2]: usb remote disconnected
Aug 23 22:26:59 box kernel: lirc_dev: lirc_register_plugin: sample_rate: 0
Aug 23 22:26:59 box kernel: lirc_mceusb2[3]: SMK eHome Infrared Transceiver on usb3:3
As far as I know, this seems correct.
|
|
Top |
|
 |
lhassell
|
Posted: Mon Aug 27, 2007 4:45 pm |
|
Joined: Wed Sep 27, 2006 4:47 pm
Posts: 46
|
I realize the transition to Schedules Direct is playing havoc with everyone's time... just bumping the thread to keep it current... any ideas out there?
|
|
Top |
|
 |
lhassell
|
Posted: Wed Aug 29, 2007 7:50 pm |
|
Joined: Wed Sep 27, 2006 4:47 pm
Posts: 46
|
|
Top |
|
 |
wmcvetty
|
Posted: Thu Aug 30, 2007 7:41 am |
|
Joined: Sat Jan 06, 2007 6:50 pm
Posts: 141
Location:
Nashville, TN
|
Edit: Misread your problem....I need to not post after staying up all night upgrading my computer....haha. This may come into play once you get your remote working but channels don't change....lol.
I just ran through an upgrade to R5F1 myself last night and had to battle my remote again....
My main thing seemed to be making sure the change-channel-script.pl file referenced the correct remote, then I had to change the system command from using "rc" to "irsend"....I know that was a work around, but hey - it worked.
To test out if that will work for you find out what your remote name is, then run
Code: irsend SEND_ONCE [Remote Name] [button/channel]
Also, I changed the ENTER command at the end of the script to use the "ok/select" button from my remote
_________________ LinHES Release 6.04.00
Mboard MSI PM8PM-V P4M800
CPU - Intel Celeron D 336 Processor 2.80GHZ
Memo - Corsair VS512MB533D2 512MB DDR2-533
Hard D - Hitachi T7K500 250GB Serial ATA
Wireless - Netgear wg311
Tuner Card - PVR-150
|
|
Top |
|
 |
thrillhouse
|
Posted: Fri Sep 07, 2007 9:18 am |
|
Joined: Thu Jan 18, 2007 6:06 pm
Posts: 39
|
Just changed the DEVICE line in the /etc/lirc/hardware.conf from
Code: DEVICE="/dev/usb/hiddev0"
Code: DEVICE="/dev/lirc0" and the remote worked fine.[/code]
|
|
Top |
|
 |
thrillhouse
|
Posted: Fri Sep 07, 2007 9:55 am |
|
Joined: Thu Jan 18, 2007 6:06 pm
Posts: 39
|
Little premature. Navigating through the menu and the output of irw work fine, but when I get to watch a recording or live tv, the guide button doesn't bring up the guide and nothing pops up when I use the channel or volume keys.
Edit: the guide pops up when I hit the 'm' button on the keyboard.
|
|
Top |
|
 |
bruce_s01
|
Posted: Fri Sep 07, 2007 10:01 am |
|
Joined: Tue Aug 08, 2006 7:08 pm
Posts: 561
Location:
UK
|
This seems to point to a problem with your ~/.mythtv/lircrc .
Have you checked that your button names in there match with those in /etc/lirc/lircd.conf ?
Bruce S.
_________________ Updated 2019/10/26: AthlonII X2 265 Gigabyte GA-970A-DS3P 16Gb PC 1866 DDR3, 500GB+2TB+4TB SATA HDD, SATA DVD-RW Asus DRW-24D5MT , NVIDIA GeForce GT1080 Hauppauage Nova-T 500, Nova-T LinHes R8.6.1
|
|
Top |
|
 |
thrillhouse
|
Posted: Fri Sep 07, 2007 10:03 am |
|
Joined: Thu Jan 18, 2007 6:06 pm
Posts: 39
|
Well the buttons 'work'. I can pause rewind fast forward and all that jazz. But none of the on screen stuff pops up.
|
|
Top |
|
 |
bruce_s01
|
Posted: Fri Sep 07, 2007 10:10 am |
|
Joined: Tue Aug 08, 2006 7:08 pm
Posts: 561
Location:
UK
|
When using irw, did those ones you having problems with currently, return with the correct button name?
Quote: Well the buttons 'work'. I can pause rewind fast forward and all that jazz. But none of the on screen stuff pops up.
If those buttons labels have gotten out of sync between the two files, lirc wouldn't be able to emulate that particular key.
Bruce S.
_________________ Updated 2019/10/26: AthlonII X2 265 Gigabyte GA-970A-DS3P 16Gb PC 1866 DDR3, 500GB+2TB+4TB SATA HDD, SATA DVD-RW Asus DRW-24D5MT , NVIDIA GeForce GT1080 Hauppauage Nova-T 500, Nova-T LinHes R8.6.1
|
|
Top |
|
 |
thrillhouse
|
Posted: Fri Sep 07, 2007 10:12 am |
|
Joined: Thu Jan 18, 2007 6:06 pm
Posts: 39
|
Yeah, the buttons are fine in irw. They do what they are supposed to when watching tv or recording, the on screen display stuff just doesn't come up.
|
|
Top |
|
 |
thrillhouse
|
Posted: Fri Sep 07, 2007 10:47 am |
|
Joined: Thu Jan 18, 2007 6:06 pm
Posts: 39
|
Ok, managed to get the guide button to pop up the guide. I copied the old, working /home/mythtv/.mythtv/lircrc to the new hard drive in the same spot. Still no on screen recording positions though...
|
|
Top |
|
 |