Author |
Message |
bradm81
|
Posted: Sun Jun 01, 2008 4:52 pm |
|
Joined: Fri May 30, 2008 9:30 pm
Posts: 13
|
The only piece I have left to get my MythTV box up and running is my IR Blaster. I have found two guides which seem to be very thorough but which apply to two different setups. For my setup, I do not need LIRC to operate an IR Receiver (I'm just using a wireless keyboard).
The rest of my setup:
- Hauppauge 150 MCE (no IR Blaster included)
- IR Blaster from irblaster.info on Serial COM1
- I'm trying to control a DirecTV HD box (though I will only be recording SD). The number on the Box says "H21-100"
- The remote that is operating it now is a DirecTV RC64 (Though again, I will be using my keyboard for input).
- Knoppmyth R5F27 fresh install
Here are the guides I'm trying to choose between:
http://www.knoppmythwiki.org/index.php?page=PVR150withSetTopBox
- Seems to be the most pertinent since it's tailored to Knoppmyth, but my Hauppauge 150 does not have the built in IR Blaster. If I go with this one, what steps would be different for me?
http://losdos.dyndns.org:8080/public/mythtv-info/IR-BLASTER-HOWTO.html
- Seems to be the most thorough and generic, though I'm guessing some of the steps would be a bit redundant since KP comes with LIRC and IR Blaster already configured.
Thanks.
|
|
Top |
|
 |
larrybpsu
|
Posted: Sun Jun 01, 2008 6:26 pm |
|
Joined: Wed Mar 07, 2007 9:51 am
Posts: 173
Location:
Uniontown, PA
|
if using the irblaster.info unit.... just su to root, and issue:
/usr/local/bin/irblaster.sh
I used that for my blaster, and it worked fine.
Just remember to work with the irblaster.conf files, etc.
The KM wiki page is a good reference, but you could then start with Step Three.
|
|
Top |
|
 |
bradm81
|
Posted: Sun Jun 01, 2008 8:18 pm |
|
Joined: Fri May 30, 2008 9:30 pm
Posts: 13
|
Thanks Larry,
I tried to follow his instructions but encountered a few problems.
When I run the test that he suggests in Step 5 I get the response
Code: channel changing 207 /usr/bin/irsend: could not connect to socket /usr/bin/irsend: No such file or directory
Which to me sounds like knoppmyth doesn't know that my IR Blaster is connected to my serial port. But I ran irblaster.sh a few times and tried it on both COM1 and COM2 and got the same result.
I also checked to see what was in irsend and it was total gibberish, so I'm guessing that is generated dynamically? Yes?
Also the file /etc/lirc/lircd.conf was empty, said "Unconfigured" and pointed me to the README. So I downloaded the lircd.conf file referred to in Step 2 of the wiki. Was that a good idea or a bad idea?
Any response will be greatly appreciated.
|
|
Top |
|
 |
tjc
|
Posted: Sun Jun 01, 2008 9:06 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
bradm81 wrote: When I run the test that he suggests in Step 5 I get the response Code: channel changing 207 /usr/bin/irsend: could not connect to socket /usr/bin/irsend: No such file or directory Which to me sounds like knoppmyth doesn't know that my IR Blaster is connected to my serial port. But I ran irblaster.sh a few times and tried it on both COM1 and COM2 and got the same result. Looks more like the driver/daemon isn't running and providing the socket that irsend connects to bradm81 wrote: I also checked to see what was in irsend and it was total gibberish, so I'm guessing that is generated dynamically? Yes? In a way, but probably not quite the way you're thinking. It's not a script, it's a binary executable, i.e. machine code.  Code: root@black2:~/scripts/backup# type -p irsend /usr/bin/irsend root@black2:~/scripts/backup# file /usr/bin/irsend /usr/bin/irsend: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.8, dynamically linked (uses shared libs), not stripped
|
|
Top |
|
 |
bradm81
|
Posted: Sun Jun 01, 2008 9:14 pm |
|
Joined: Fri May 30, 2008 9:30 pm
Posts: 13
|
So.... any suggestions for how to fix it?
|
|
Top |
|
 |
bradm81
|
Posted: Mon Jun 02, 2008 5:25 pm |
|
Joined: Fri May 30, 2008 9:30 pm
Posts: 13
|
Question: Would this error [read above] be the error I would get if I had put in the wrong remote codes in irblasterd.conf?
|
|
Top |
|
 |
mjl
|
Posted: Mon Jun 02, 2008 5:32 pm |
|
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location:
Warwick, RI
|
Hi,
One thing that needs to be done is make your comm port of choice get dumb. There is a setserial command that basically disables the uart so the port can be accessed, i suspect, directly.
It goes something like this: setserial /dev/ttyS0 uart=none but check for the exact syntax. I put mine command entry at bottom of the /etc/init.d/bootmisc.sh
I don't have access to that box right now that I have it on so this is only an awareness post.
Mike
|
|
Top |
|
 |
bradm81
|
Posted: Mon Jun 02, 2008 7:06 pm |
|
Joined: Fri May 30, 2008 9:30 pm
Posts: 13
|
Well I ran
Code: setserial /dev/ttyS0 uart none And it appeared to go through, then I checked it and got: Code: $dmesg | grep tty serial8250: ttyS0 at I/O 0x3f8 (irq=4) is a 16550A 00:08: ttyS0 at I/O 0x3f8 (irq=4) is a 16550A
I tried it multiple times always with the same result.
Also, I reread http://www.knoppmythwiki.org/index.php?page=PVR150withSetTopBox and decided to double-check some of the first steps I was told to skip, and I find that my /etc/lirc/hardware.conf and /etc/lirc/lirc-modules-source.conf are entirely unconfigured. Should I be concerned about this? Or are these only configured in order to use an IR Receiver?
|
|
Top |
|
 |
mjl
|
Posted: Mon Jun 02, 2008 8:03 pm |
|
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location:
Warwick, RI
|
Hi,
Do some searching for post by Greg Frost as he has some good stuff.
if you do setserial /dev/ttyS0 I believe if the comm port is set correctly if it reports the uart as none. I am pretty sure that was for the red eye out . I just remember it was a factor with the serial ir .
Mike
|
|
Top |
|
 |
bradm81
|
Posted: Fri Jun 06, 2008 3:26 pm |
|
Joined: Fri May 30, 2008 9:30 pm
Posts: 13
|
I'm still very very stuck and starting to get very frustrated with this whole IR blaster thing.
So those files I mentioned control an IR Receiver. If I don't have one, will an IR Blaster work if they're still blank?
And if that command I mentioned doesn't "dumb" the comm socket, I would have no idea what would.
I'm desperate for help.
|
|
Top |
|
 |
neutron68
|
Posted: Mon Jun 09, 2008 3:21 pm |
|
Joined: Tue Mar 28, 2006 8:26 pm
Posts: 804
Location:
Minneapolis, MN
|
I've got a VERY similar setup. Greg Frost has advised me a little on this. I think my serial IRBLASTER is sending data when the change_channel.sh script runs (I see the IR LED blinking when I watch it from a digital video camera), but my satellite receiver isn't changing channels, so I'm not sure what is wrong.
see:
http://knoppmyth.net/phpBB2/viewtopic.p ... highlight=
_________________ KnoppMyth R5.5, Asus A8N-VM CSM (nvidia 6150 onboard video), AMD Athlon 64 dual-core 4200+, two 1GB sticks DDR 400, HD-3000 HDTV card, PVR-150 card, Iguanaworks RS-232 IR receiver/transmitter, Pioneer DVR-110 DVD burner
|
|
Top |
|
 |
cliffsjunk
|
Posted: Mon Jun 09, 2008 10:16 pm |
|
Joined: Fri Sep 15, 2006 12:16 pm
Posts: 292
|
|
Top |
|
 |
target
|
Posted: Tue Jun 10, 2008 7:07 am |
|
Joined: Fri May 30, 2008 11:49 am
Posts: 12
|
|
Top |
|
 |