View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 14 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Dec 20, 2005 12:43 pm 
Offline
Joined: Wed Dec 14, 2005 7:43 am
Posts: 14
Hi,

I have an IR Blaster from

http://www.irblaster.info/

and I've been following the IR-BLASTER_HOWTO at

http://losdos.dyndns.org:8080/public/mythtv-info/MythTV_DISH_IR_LED_TX_via_Modified_LIRC.html

Everything has gone relatively smoothly up till now, but I'm stuck at one of the last steps. When I do

Code:
/usr/local/lirc-ledxmit/bin/ledxmit-irsend SEND_ONCE JVC_RAW 2


then ledxmitd.log shows this:

Code:
0.7.2pvr150: accepted new client on /dev/ledxmitd
Dec 20 10:31:15 mythtv ledxmitd 0.7.2pvr150: removed client


Which looks OK, but the LED, viewed through a digital camera, doesn't flash.

Does anyone have any ideas on how to troubleshoot a problem like this?

Thanks,

Jon

_________________
- -
Jon Hoyt
Eugene, OR


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 24, 2005 1:39 am 
Offline
Joined: Thu Feb 19, 2004 6:52 pm
Posts: 117
jon,
a couple of questions:
1) are you sure your camera detects IR? check with your TV remote.
2) are you sure you are configured on the correct serial port?
3) where did you get LIRC "0.7.2pvr150" from?

jim aka the wrooster


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 24, 2005 9:23 am 
Offline
Joined: Wed Dec 14, 2005 7:43 am
Posts: 14
wrooster wrote:
jon,
a couple of questions:
1) are you sure your camera detects IR? check with your TV remote.


Yes, I checked it with the Dish remote and I can see the flash clearly.

wrooster wrote:
2) are you sure you are configured on the correct serial port?


I believe so. I only have one serial port so I followed the instructions to change the configuration to ttyS0. It didn't work at first (kept saying the device or resource was busy despite doing 'setserial ttyS0 uart none') so I changed the installation script as Lev recommended in this thread:
http://mysettopbox.tv/phpBB2/viewtopic.php?t=7372
After that the installation ran smoothly so I assume I'm configured on the correct serial port.

wrooster wrote:
3) where did you get LIRC "0.7.2pvr150" from?


I'm following the tutorial at
http://losdos.dyndns.org:8080/public/mythtv-info/MythTV_DISH_IR_LED_TX_via_Modified_LIRC.html
so I downloaded lirc 0.7.2:
Code:
wget http://internap.dl.sourceforge.net/sourceforge/lirc/lirc-0.7.2.tar.bz2

then ran the script which somehow renamed it to 0.7.2pvr150 (I guess).
I'm not too good at reading scripts so this could be wrong.

Thanks,

Jon

_________________
- -
Jon Hoyt
Eugene, OR


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 24, 2005 9:34 am 
Offline
Joined: Thu Feb 19, 2004 6:52 pm
Posts: 117
darwin wrote:
wrooster wrote:
3) where did you get LIRC "0.7.2pvr150" from?

I'm following the tutorial at
http://losdos.dyndns.org:8080/public/mythtv-info/MythTV_DISH_IR_LED_TX_via_Modified_LIRC.html
so I downloaded lirc 0.7.2:
Code:
wget http://internap.dl.sourceforge.net/sourceforge/lirc/lirc-0.7.2.tar.bz2

then ran the script which somehow renamed it to 0.7.2pvr150 (I guess).
I'm not too good at reading scripts so this could be wrong.


jon,
my scripts don't rename LIRC files to anything close to "*pvr150".

i have two hunches...

1) you have a pvr150 installed and somehow your change_channel script is calling LIRC code compiled specifically for the pvr150.
OR
2) you downloaded and installed the pvr150 patched version of LIRC when you built the ir blaster setup per my web page above.

i think you are one step away from getting this working. we just have to find the one step you need.

so lets back up just a bit...

what is you hardware config? have pvr150?
what knoppmyth version are you running?
does everything else in mythtv work right now?
what serial port is your blaster connected to?
post your config files that you created/modified per my setup page.

thanks

jim / wrooster


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 24, 2005 11:33 am 
Offline
Joined: Wed Dec 14, 2005 7:43 am
Posts: 14
wrooster wrote:
jon,
my scripts don't rename LIRC files to anything close to "*pvr150".

i have two hunches...

1) you have a pvr150 installed and somehow your change_channel script is calling LIRC code compiled specifically for the pvr150.
OR
2) you downloaded and installed the pvr150 patched version of LIRC when you built the ir blaster setup per my web page above.


I have a pvr150 but am not using a change_channel script yet, see below.

wrooster wrote:
what is you hardware config? have pvr150?
what knoppmyth version are you running?
does everything else in mythtv work right now?
what serial port is your blaster connected to?


Yes, I have a pvr150 installed. In /usr/src/ I found lirc-0.7.2pvr150.tar.bz2. Could this be something that Knoppmyth installed (I have version R5A26)? Thinking about it, I might have used this instead of downloading a new version. I'm not yet using a channel change script, though, I'm still just trying to get the IR to light using
Code:
/usr/local/lirc-ledxmit/bin/ledxmit-irsend SEND_ONCE JVC_RAW 2

Should I start over using a freshly downloaded lirc?
Everything else seems to work fine. I only have one serial port and that's what the blaster is connected to.

wrooster wrote:
post your config files that you created/modified per my setup page.


By config files are you referring to the ledxmitd.conf file? I am just using the one you used without any modifications:
http://losdos.dyndns.org:8080/public/mythtv-info/ledxmitd.conf
I have an Echostar Model 3000 (an early model) and I have yet to find any downloadable configs for that exact model. I kind of figured I'd just try to get the IR blinking first and then get it configured for my receiver.

wrooster wrote:
thanks

jim / wrooster


I'm the one who should be saying thanks. Thanks for writing the How To in the first place and thanks for taking the time to help me out, especially since it's Christmas Eve.

Jon

_________________
- -
Jon Hoyt
Eugene, OR


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 24, 2005 9:28 pm 
Offline
Joined: Thu Feb 19, 2004 6:52 pm
Posts: 117
darwin wrote:
In /usr/src/ I found lirc-0.7.2pvr150.tar.bz2. Could this be something that Knoppmyth installed (I have version R5A26)? Thinking about it, I might have used this instead of downloading a new version.
...
Should I start over using a freshly downloaded lirc?


jon,
use the lirc 0.7.2 tarball from the lirc site. in other words, use the wget line that i spec'd. make the changes you did prior to use the right serial port, and try building lirc again from scratch. the new binaries will simply overwrite the old.

jim / wrooster


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 25, 2005 9:02 am 
Offline
Joined: Sun Nov 06, 2005 7:02 pm
Posts: 22
Location: Reykjavik, Iceland
Jim/Wrooster,
I also wanted to say thanks for your how-to - it's really a great piece of work and helped me a lot since I know next-to-nothing about linux and perl. :)

Darwin,
Did you put the ledxmitd.conf file in /etc/ and change its permissions as described in the How-To?

Lev.

_________________
Knoppmyth R5A22
Hauppauge PVR-500MCE
Nvidia FX5200
DVI to plasma
Biostar M7NCG 400
AMD XP-M 2400


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 25, 2005 4:44 pm 
Offline
Joined: Mon Mar 21, 2005 1:43 pm
Posts: 388
Location: Nanaimo BC
You may want to have a look at my post on this subject. I use the same IR blaster and r5a26 after much fooling around I got it to work. Look for my post and follow it and see if you have better luck


Craig

PS: I had messed everything up so bad that i reinstalled then got it working the way i describe in my other post.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 27, 2005 9:33 am 
Offline
Joined: Wed Dec 14, 2005 7:43 am
Posts: 14
Hello everyone and thanks for all the help.

I started over with a fresh download of lirc. I editted the install script to use COM1. I followed all the steps to the letter, including putting the ledxmitd.conf file in /etc/ and changing its permissions. I used the JVC_RAW file from the How To. I've seen at least one post somewhere which said that file works with my receiver.

When I go to test:

Code:
root@mythtv:/home/mythtv# tail -f /tmp/ledxmitd.log &
[1] 12896
root@mythtv:/home/mythtv# Dec 26 20:25:53 mythtv ledxmitd 0.7.2: ledxmitd(serial) ready
/usr/local/lirc-ledxmit/bin/ledxmit-irsend SEND_ONCE JVC_RAW 2
root@mythtv:/home/mythtv# Dec 27 07:30:00 mythtv ledxmitd 0.7.2: accepted new client on /dev/ledxmitd
Dec 27 07:30:00 mythtv ledxmitd 0.7.2: removed client


Which looks good to me, but I'm still not seeing any flashes or getting a channel change on my receiver.

Any ideas on what to try next?

_________________
- -
Jon Hoyt
Eugene, OR


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 27, 2005 10:03 am 
Offline
Joined: Thu Feb 19, 2004 6:52 pm
Posts: 117
jon,
grab a 9V battery and a couple of paper clips.

connect pin 4 of the db9 to the (+) terminal.
connect pin 5 of the db9 to the (-) terminal.

can you see the IR LED with your camera now?

jim


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 27, 2005 10:16 am 
Offline
Joined: Thu Feb 19, 2004 6:52 pm
Posts: 117
jon,
also, could you post the following:

0) $ uname -a

1) your edited ledxmit make script, ie myth-ledxmit.sh

2) /etc/modutils/lirc-ledxmit

3) /etc/init.d/bootmisc.sh (specifically the ledxmit tail end)

4) $ ls -sl /dev/led*

5) $ lsmod | grep ledxmit

ps
were there ANY anomolies when you installed? any error messages, things that didn't look my howto, anything at all out of the ordinary?

pps
check in your BIOS setup screen whether the serial port is enabled, and that the address and IRQ are EXACTLY as you specified in the make script.

jim


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 27, 2005 12:15 pm 
Offline
Joined: Wed Dec 14, 2005 7:43 am
Posts: 14
I figured it out!

It turns out that on my last time through the tutorial I forgot to uncomment the COM1 line in /etc/modutils/lirc-ledxmit. I noticed it as I was preparing a reply to Jim's message above. After fixing that and rebooting everything works like a dream!

Thanks to everyone who chimed in and especially thanks to Jim for writing the How To in the first place and for sticking with me as I plodded through this.

Gratefully,

Jon

_________________
- -
Jon Hoyt
Eugene, OR


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 27, 2005 12:31 pm 
Offline
Joined: Thu Feb 19, 2004 6:52 pm
Posts: 117
<The A-Team> "I love it when a plan comes together" </The A-Team>

jim / wrooster


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 14, 2008 3:38 pm 
Offline
Joined: Mon Apr 14, 2008 3:26 pm
Posts: 3
I just wanted to add that I bought a blaster from the irblaster.info people and was completely stymied when I could see no IR even though it should have been working. I use IR cameras for work, so I really should have seen it.

My camcorder screen was just blank. It works fine on other IR sources.

Strangely, when running the script that sends a 2 over and over, I didn't see IR in the camera and was about to give up. I switched the output from the sat box from the pc to the tv and there it was 2 2 2 2 2 2 2 2 2 ...

I don't know if the emitter is set very low because it is meant to be stuck right next to the Rx on the set top box or what. It does change channels fine, but I can't either see it on the camera.

Now, I just can't get it to change channels from inside myth. My change_channel.sh works fine, but when I restart the backend and go into myth, it won't change the channels.

My info window comes up with no program data and the channel stays the same. Looking at dmesg, it doesn't look like the ledxmitd has started, though I double-checked the lines in the init.d/bootmisc.sh.

I can at least offer the bit about the blaster. If somebody has a tip on my problem, I'd be happy to hear it. Now, back to skimming the forums.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu