LinHES Forums
http://forums.linhes.org/

Hauppauge Remote and eHome IR Transceiver
http://forums.linhes.org/viewtopic.php?f=6&t=15940
Page 1 of 1

Author:  bradpvr [ Sun Jul 22, 2007 11:57 am ]
Post subject:  Hauppauge Remote and eHome IR Transceiver

Hey,

I bought a Harmony 659 all in one remote. I currently use an ATI Remote Wonder to control mythtv.

From what I can see, the Harmony remote needs to emulate another IR remote to control mythtv. To do this, I needed to find an IR Receiver and an IR remote.

I found a receiver/remote that came with a PVR-150-MCE I bought a while back. Currently, I'm not using the PVR-150 in my mythtv box.

The IR Transceiver is USB and I can see that by doing:

Code:
mythtv@mythtv:~$ lsusb
Bus 002 Device 002: ID 0609:031d SMK Manufacturing, Inc.
Bus 002 Device 003: ID 051d:0002 American Power Conversion Back-UPS Pro 500/1000   /1500
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

mythtv@mythtv:~$ dmesg | grep -i ehome
lirc_mceusb2: Philips eHome USB IR Transciever and Microsoft MCE 2005 Remote Control driver for LIRC $Revision: 1.29 $
lirc_mceusb2[2]: SMK eHome Infrared Transceiver on usb2:2


I've downloaded an example lircrc file and placed it in /home/mythtv/.mythtv/lircrc

When I run lirc-reconfig.sh, I choose #17 hauppauge. I've tried c, d and f to no avail.

I also tried #28 for mceusb and it says it should have auto-detected it. I then selected b for the new one and still no avail

Here's the output from the lirc-reconfig.log

Code:
root@mythtv:/home/mythtv# cat /var/log/mythtv/lirc-reconfig.log

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 8
B:  Alloc= 35/900 us ( 4%), #Int=  2, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.18-chw-13 ohci_hcd
S:  Product=OHCI Host Controller
S:  SerialNumber=0000:00:0b.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=02 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=16 #Cfgs=  1
P:  Vendor=0609 ProdID=031d Rev= 0.00
S:  Manufacturer=SMK
S:  Product=eHome Infrared Transceiver
S:  SerialNumber=SM005iCl
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=lirc_mceusb2
E:  Ad=01(O) Atr=03(Int.) MxPS=  16 Ivl=1ms
E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=1ms

T:  Bus=02 Lev=01 Prnt=01 Port=02 Cnt=02 Dev#=  3 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=051d ProdID=0002 Rev= 1.06
S:  Manufacturer=American Power Conversion
S:  Product=Back-UPS NS 1050 FW:7.g3 .D USB FW:g3
S:  SerialNumber=JB0632010664
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 24mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid
E:  Ad=81(I) Atr=03(Int.) MxPS=   6 Ivl=10ms

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 8
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.18-chw-13 ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=0000:00:0b.1
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=256ms
/usr/local/bin/lirc-reconfig.sh:
/usr/local/bin/lirc-reconfig.sh: The MCEUSB remote should be in there somewhere.
/usr/local/bin/lirc-reconfig.sh:


It looks like I have everything I need in /dev/lirc

Code:
root@mythtv:/home/mythtv# ls -l /dev/lirc*
crw-rw---- 1 root video 61, 0 Jul 22 13:53 /dev/lirc0
srw-rw-rw- 1 root root      0 Jul 22 13:58 /dev/lircd


Do I have to have the ivtv drivers installed to use this receiver/remote? Or do I need the actual PVR card installed?

Any ideas or tips would be greatly appreciated.

Thanks!
Brad

Author:  mjl [ Sun Jul 22, 2007 5:23 pm ]
Post subject: 

Hi,

I missed what KM version? I find it works quit nicely with R5F1 and even some previous versions.

I select the choice about 150 with dog bone :) I did need to reboot and you don't need any tuner.

The requirement was because I was playing with a sff Gateway that only has usb and will only accept the low profile 150 (which has no space for a remote connection) The receiver, if I recall correctly needed to be plugged in at boot time also.

Mike

Author:  bradpvr [ Sun Jul 22, 2007 6:17 pm ]
Post subject: 

Hey Mike,

Thanks for the reply.

I'm using RE50.

So basically you plugged it into your system before booting up, ran lirc-reconfig.sh and you selected the pvr-150 with dog bone?

Which remote out of the three in this link do you have?

I have the 4th one.

Do you mind posting your lirc.conf and lircrc?

Thanks for your help!

Brad

Author:  mjl [ Sun Jul 22, 2007 10:25 pm ]
Post subject: 

Hi,

I was just doing some experimenting so was able to repeat what I had posted to you :) I just redid an auto upgrade and had selected the 150 with dog bone. When I saw your note, I plugged in my usb ir receiver:

dmesg reported:

lirc_mceusb2: Philips eHome USB IR Transciever and Microsoft MCE 2005
Remote Control driver for LIRC $Revision: 1.25 $
lirc_mceusb2: Daniel Melander <lirc@rajidae.se>, Martin Blatter
<martin_a_blatter@yahoo.com>

lirc_mceusb2[2]: SMK eHome Infrared Transceiver on usb2:2
usbcore: registered new driver lirc_mceusb2

and of course it didn't work, as expected.

I then rebooted and dmesg|grep lirc reports this:
sh-3.1$ dmesg|grep lirc
lirc_dev: IR Remote Control driver registered, at major 61
lirc_mceusb2: Philips eHome USB IR Transciever and Microsoft MCE 2005
Remote Control driver for LIRC $Revision: 1.25 $
lirc_mceusb2: Daniel Melander <lirc@rajidae.se>, Martin Blatter
<martin_a_blatter@yahoo.com>
lirc_dev: lirc_register_plugin: sample_rate: 0
lirc_mceusb2[2]: SMK eHome Infrared Transceiver on usb2:2
usbcore: registered new driver lirc_mceusb2

and it works :) I am using a hdhomerun as a tuner. and this works with the R5F1. I never used R5E50 but I think it worked in D. after some putzing but that was a long time ago so I forget... that happens when you get over 21 :) You may have to re run the lirc-reconfig script and reselect the H415 to obtain the proper table if it doesn't work for you. Mean time I will play a little to see if it repeatable for me.

I know if you take the newer lirc and put it into C7 you can use the H415 instead of the funky silver cigar. Hated to use the vol up /dwn to navigate left / rigtht

Maybe you might want to consider upgrading if all else fails, ponder on the idea for a week or two..

The only thing custom I did to the lirc was to add a restart mythfrontend to the green button for my C7 machine but it uses the little ir button for the 350 card. It got to be a pain to run to the cellar to restart it when sometimes it would shutdown when switching a menu choice so now I just press the green button. I would upgrade it but I have too many other things running and it would take me weeks to rebuild and it is to slow / old to do hd anyway.

Nothing fancy so not really any need to post what you should already have. Hope that is helpful.

Mike

Author:  bradpvr [ Mon Jul 23, 2007 6:46 am ]
Post subject: 

Hey,

I got the Hauppauge remote to work, finally. Turns out lirc was looking at /dev/lirc and not /dev/lirc0 even though my hardware.conf was saying so.

So I just did a symlink from one to the other, and it works.

Now just to figure out the Harmony -> Hauppauge link!

Thanks,
Brad

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/