View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 13 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: IRBlaster Question
PostPosted: Mon Sep 10, 2007 8:40 pm 
Offline
Joined: Sat Dec 13, 2003 8:13 pm
Posts: 22
Hi Guys,

I just upgraded to R5F27 because of the Zap2It issue. While I was changing things I decided to add a digital cable box and get IRBlaster working.

I've gone through the configuration steps. I can watch TV through the cable box with the PVR-350 on channel 3. However, while watching TV, if I try to change the channel using either the up/down arrows or the keypad, it changes the PVR-350 channel instead of the cable box via the IRBlaster.

I can change channels on the cable box with the IRBlaster if I run channel_change.sh from a command line, so I know it's working.

I'm sure there's something simple I'm missing but I haven't been able to find it. How do I get mythTV to change the cable channel and not the tuner channel?

Thanks,
Scott


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 10, 2007 8:43 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
See the BlackScreenWatchingTV troubleshooting page on the wiki which contains a config walk through. It points out the adjustments you need to make.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 10, 2007 10:41 pm 
Offline
Joined: Sat Dec 13, 2003 8:13 pm
Posts: 22
Hi tjc... thanks for the input...

I've gone through the wiki page you mentioned but didn't find anything that was incorrect. I already had an external channel change command (/etc/irblaster/channel_change.sh) and preset tuner channel (3) entered.

On the off chance that I overlooked something, I deleted capture card and video source, then re-created them with the same results.

I can view TV in mythTV but when I change channels in mythtv, they don't change on the cable box via irblaster.

Thanks,
Scott


Top
 Profile  
 
 Post subject: Check Permissions
PostPosted: Wed Sep 12, 2007 8:04 pm 
Offline
Joined: Wed Apr 12, 2006 11:28 am
Posts: 82
Location: Beverly Hills, Michigan
Hi There,

I ran into some similar problems with my IR blaster on previous versions, give these a check.

Two problems that I ran into was, I made the mistake of editing the channel_change.sh file in Windoze (the file was green) and it had special characters in it. Once I cut and pasted the script in nano and saved it the characters were gone and it started working.

Secondly I had a problem with the permissions of /dev/ttyS0
You can change the permission one of two way

Security Minded
chmod go+wr /dev/ttyS0

If that does not work try the brute force approach
chmod 777 /dev/ttyS0

Also, try and see if it is changing channels to "some channels" but not others, I currently have a problem where it will change the channel to lets say PBS 128, but not SIFI channel? I have found many of the lower channels work but some of the upper range is giving me problems.

Good Luck

Paul

_________________
Backend/Frontend
ASUS M4A78-EM w/8400GS 4G RAM pcHDTV 3000 + PVR500 (1045), 1TB, 250 & 320. Iguana IR USB (running R6)
Frontend_1
Asus M2NPV-VM - 1GB RAM - 40 GB Hard Disk - StreamZap
Frontend_2
Dragon 1.0 w/ 2G RAM - 40 GB Hard Disk StreamZap


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 12, 2007 9:34 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
See the R5F27 hints for other serial point concerns.

Have you made sure that the script you're using exists, has the right ownership and permissions, and is appropriate for the device you're trying to control?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 14, 2007 10:41 pm 
Offline
Joined: Sat Dec 13, 2003 8:13 pm
Posts: 22
Hi guys,

Thanks for the tips. I had to go on a business trip so I reconfigured everything back to basic cable while I'm gone. When I get home next week, I'll start playing with it again.

Yes, the command does exist. If I run it from a command line it will change the channel via the irblaster just fine. I just can't get it to work by changing channels while watching TV.

Thanks,
Scott


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 18, 2007 3:51 pm 
Offline
Joined: Sun Jul 24, 2005 4:16 pm
Posts: 508
Location: Ft. Worth TX
sjasmund wrote:
Yes, the command does exist. If I run it from a command line it will change the channel via the irblaster just fine. I just can't get it to work by changing channels while watching TV.

My problem exactly too ! I converted (auto install) a working irblaster machine to F27 and everything is working (sat box to composite) except myth passing the channel to the change channel command.
I searched ;irblaster' & tried all the hints in all the (several) threads.

Does anyone suppose this is a hardware- software glitch or is everyone using a blaster on 27 seeing it ?

I copied many files in from many threads, & no joy. I have run across 3 historical 'external tuner commands' for input sources & they weren't 'it' either.. I got a feeling this may be a simple misconfig, but need someone to point me in the right direction..

Any harm deleting the four files that direct irblaster & rerun the irblaster setup to recreate them ?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 20, 2007 9:24 pm 
Offline
Joined: Sat Apr 22, 2006 9:29 am
Posts: 30
I am having kind of the same issue.. but this is weird.

When I navigate to the /etc/irblaster directory and try to run channel_change.sh, it returns
'-bash: channel_change.sh: command not found'

When I run the irsend command manually, it changes my set top box...

Any ideas why my channel_change.sh command is not found? It does exist when I perform a directory listing...

UPDATE
I play in Linux once every two years or so... I can now call channel_change.sh from the command line (I had to call ./channel_change.sh), so my problem is, whatever calls channel_change.sh isn't pathing it properly OR I need to put /etc/irblaster in my path...

Which is recommended, and how..


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 21, 2007 6:37 am 
Offline
Joined: Sun Jul 24, 2005 4:16 pm
Posts: 508
Location: Ft. Worth TX
I was using /etc/irblaster/channel_change.sh 182
as root. That will change the satellite box while Myth is running..
But I can't get the channel changed BY Myth..
I'm still trying to sort out file name changes that may be sending the channel info from Myth into outer space....


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 21, 2007 7:35 am 
Offline
Joined: Sat Apr 22, 2006 9:29 am
Posts: 30
This seems to be my exact problem. I can run channel_change.sh and successfully change the channel on my STB, but when I change the channel while watching TV, I get nothing....

I will look into name changes of scripts as well... let me know if you find anything..


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 21, 2007 10:29 am 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
therntier wrote:
This seems to be my exact problem. I can run channel_change.sh and successfully change the channel on my STB, but when I change the channel while watching TV, I get nothing....

I will look into name changes of scripts as well... let me know if you find anything..
Be sure you define the script with the full path (eg. /etc/irblaster/channel_change.sh, not just channel_change.sh) in mythtv-setup and that the mythtv user has permission to execute it - ls -l /etc/irblaster/channel_change.sh


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 21, 2007 12:45 pm 
Offline
Joined: Sun Jul 24, 2005 4:16 pm
Posts: 508
Location: Ft. Worth TX
Done & Done... But no dice

root@mythtv:~# ls -l /etc/irblaster/channel_change.sh
-rwxrwxrwx 1 root root 248 Sep 17 20:07 /etc/irblaster/channel_change.sh

I can't help but think it's a filename chasedown... but I chased them in circles 'til I was dizzy & got nowhere...


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 21, 2007 5:00 pm 
Offline
Joined: Sun Jul 24, 2005 4:16 pm
Posts: 508
Location: Ft. Worth TX
OK- So I got it working-
I thought that the irblaster part was setup all right because the command line would change the channel (from ssh in..)

So I went after the Myth setup, re-did it carefully, and it worked when I was done.

I assume I fixed an unseen error, but can't say what it was.

Wahoo ! The satellite Mythbox is very busy changing channels itsownself.... :lol:


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 1 guest


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:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu