LinHES Forums http://forums.linhes.org/ |
|
USB IR Blaster for the Hauppauge PVR-150MCE version http://forums.linhes.org/viewtopic.php?f=2&t=19519 |
Page 1 of 1 |
Author: | mojoJOJO [ Wed Feb 11, 2009 10:41 pm ] |
Post subject: | USB IR Blaster for the Hauppauge PVR-150MCE version |
I made a previous post about this in Installation, but I meant to post it here as it seems more of a hardware issue. Anyway, I went back to my old post but it wont let me delete it, so I'm sorry for the double-post. I really hope someone can help me with these issues. I have been pulling my hair out trying to get a Hauppauge PVR-150 MCE version to change channels on a Motorola DCT2224 Cable Box. I have the remote working OK, but the IRBlaster is a USB type interface that came with the Hauppauge PVR-150MCE. Is it possible to get the USB IRBlaster from this to work in KnoppMyth? I have been scouring forums looking for answers, but all I ever see are posts about getting a regular PVR-150 IR Blaster to work, but none for the USB version of the IRBlaster. If it can be made to work, exactly what steps should I take to make it work? Any help on this issue would be GREATLY appreciated. Thanks in advance. |
Author: | mojoJOJO [ Mon Feb 16, 2009 11:02 pm ] |
Post subject: | |
I have been trying to make this work for some time now, still no luck. If anybody out there has some suggestions, any help would be greatly appreciated. To reiterate, I am trying to make a Hauppauge PVR-150MCE's USB IR Blaster work with a Motorola DCT-2224 Cable Box. Originally, I ran through MythTV main setup and selected that I did not have a Serial IR Blaster (because it's a USB IR Blaster that comes with the MCE version of a Hauppauge PVR-150, not a serial blaster). I'm guessing that I selected that wrong however because the IR Blaster did not work. After that, I ran the master setup again with the following command. "touch /home/mythtv/.configure" then rebooted. This time I told it I had a serial IR blaster, but it asked me if I was connected to serial port 1 or 2.....since I'm using a USB IR Blaster it's neither....but USB was not an option so I selected serial 1. I then reconfigured all my backend stuff and everything worked like it did before....almost.....this time it changes the channel on my PVR-150 tuner instead of keeping it on channel 4 like it used to......I checked my config several times and it is being told that I am connected to a STB and that the channel needs to stay on 4 for the tuner card.....but for some reason it still tries to change channels on it......Also, the IR Blaster still does not work. If MythTV WILL use a USB version of the PVR-150 IR Blaster, do I tell Myth Setup that I have a serial IR Blaster or do I tell it nothing.....it does not ask about a USB IR Blaster, only a serial IR. The remote I'm using worked right out of the bow. It was a remote that came with the CPU Case that I'm using for MythTV. It had a built in remote receiver. All I had to do was change the keybinds in Myth to those put out by the remote, which it reads as a simple keyboard. But the USB IR Blaster will not work on the STB no matter how I change it in setup. I have searched all over the place for over a week now and I am no closer to figuring out how to make this work.....I'm not even sure a USB Ir Blaster WILL work in MythTV. I'm guessing at this point that I have to do something with LIRC, but I am still new to MythTV and to Linux and I have no idea what to do. I found a file on the LIRC web site for a DCT-2224 STB which I presume I need to do something with, but I am completely lost as to what I need to do with it. Could somebody please point me in the right direction? Thanks in advance. Here is a file I got from the LIRC site for the DCT2224 STB....but I don't know what to do with it. Code: #
# this config file was automatically generated # using lirc-0.8.1(default) on Mon Feb 12 21:46:09 2007 # # contributed by mike mcchesney # # brand: Cox # model no. of remote control: URC#7810B00-MOT-60261 # devices being controlled by this remote: Motorola DCT 2224 # begin remote name Motorola_DCT2224 bits 16 flags SPACE_ENC|CONST_LENGTH eps 30 aeps 100 header 9033 4412 one 563 4420 zero 563 2180 ptrail 562 repeat 9031 2192 gap 99937 toggle_bit 0 begin codes power 0x5006 rew 0x7808 play 0x1C0A ffwd 0xB804 record 0x8C03 stop 0x9C02 pause 0xF800 page+ 0x5C0C page- 0xDC04 info 0xCC05 back 0xB926 guide 0x0C0B exit 0x480B left 0x6C0E right 0xEC06 up 0x2C09 down 0xAC01 select 0x8807 a 0xE801 b 0xE40E c 0x1406 settings 0x4C0D ppv 0x6809 menu 0x9806 last 0xC803 fav 0xA805 1 0x800F 2 0x4007 3 0xC00B 4 0x2003 5 0xA00D 6 0x6005 7 0xE009 8 0x1001 9 0x900E 0 0x0000 input 0x280D enter 0x8807 ch+ 0xD00A ch- 0x3002 end codes end remote begin remote name Motorola_DCT2224-2 bits 16 flags SPACE_ENC|CONST_LENGTH eps 30 aeps 100 header 9034 4412 one 603 1639 zero 603 513 ptrail 608 repeat 9030 2193 pre_data_bits 16 pre_data 0x2FD gap 108104 toggle_bit 0 begin codes vol+ 0x58A7 vol- 0x7887 mute 0x08F7 end codes end remote |
Author: | mojoJOJO [ Tue Feb 17, 2009 8:41 am ] |
Post subject: | |
Using some info from here.............. http://www.eggshellskull.com/lirc/blast ... .php#step4 I am able to presume the following. 1. I need to append the DCT2224 file from above into "/etc/lircd.conf" 2. I need to create a file called "/cc.sh" and paste the following into it. Code: #!/bin/bash
REMOTE_NAME=Motorola_DCT2224 for digit in $(echo $1 | sed -e 's/./& /g'); do irsend --device=/dev/lircd1 SEND_ONCE $REMOTE_NAME $digit sleep 0.4 # note, you may have to tweak the interdigit delay up a bit done irsend --device=/dev/lircd1 SEND_ONCE $REMOTE_NAME OK 3. Run mythtv-setup and tell input "device" to use the "/cc.sh" script to change channels. Am I close? All the info I can find on this topic is about a serial IR Blaster though.....I have never found anything regarding a USB IR Blaster. Will this work for a USB IR Blaster? Anybody who has gotten this setup with a USB IR Blaster please gimme some info. Thanks |
Author: | cecil [ Tue Feb 17, 2009 3:04 pm ] |
Post subject: | |
MojoJOJO ![]() I've been reading this, sorry I've not piped in as I have nothing to pipe in with (and I've been busy w/ R6)... I'll take a look at the link and see what it states. |
Author: | mojoJOJO [ Tue Feb 17, 2009 10:30 pm ] |
Post subject: | |
Thanks for the help....greatly appreciated. I am going to give this info a try asap, but all the info above is for a serial IR blaster and I have googled until my eyes bled and have yet to find any info for a USB IR blaster. I don't know what I should choose in MythTV master setup for IR blaster because it asks if I have a "Serial" IR blaster, which clearly I do not, but does that mean it will assume that I don't have an IR blaster at all? Again though, thanks for the help....it is very much appreciated. Hope to get this issue sorted out soon. |
Author: | cecil [ Wed Feb 18, 2009 12:24 am ] |
Post subject: | |
A few things come to mind... grep dmesg for the device. Do you see it? Perhaps something like /dev/input/X? Try changing the script to use that instead of a regular serial port. |
Author: | uteck [ Thu Feb 26, 2009 3:16 pm ] |
Post subject: | |
mojoJOJO, what version of Lirc do have running? I ran into a problem with a MS remote and USB receiver I got from Pinnacle. The USB receiver uses a new vendor model that lirc 8.3 does not know about, but it is 8.4. Or you can add the missing 3 lines to the 8.3 source code and recompile it. http://www.mythtv.org/pipermail/mythtv- ... 05275.html |
Author: | mojoJOJO [ Thu Feb 26, 2009 5:10 pm ] |
Post subject: | |
Thanks for the reply. I'm not sure what version I have. I am running KnoppMyth r5.5 so whatever version comes with that....I believe its lirc 0.8.3 but I'm not sure. How would I check that, and once checked, how would I go about either updating or recompiling? Sorry for the barrage of questions, but I'm still not used to linux just yet. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |