View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 17 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Jun 11, 2006 12:09 pm 
Offline
Joined: Sat Mar 18, 2006 1:18 pm
Posts: 45
I decided to try hooking my myth box to my satellite (Dish Network 311) so I could get more out of it than just recording off the standard cable. I purchased a homebrew IRBlaster and reformatted/installed R5C7 because rumor has it it was good to go out of the box.

Now, please pardon my noobness, but I'm just not that good at linux. I think it would be a good thing to have a concise walkthrough getting this to work, as I think this configuration is pretty common among knoppmyth users.

Basically, I just don't know where to begin. I answered during setup that my IRBlaster is connected to COM1 and chose the DCT2000 option because my current model wasn't listed and figured I could edit out whatever to make it work for me. The problem is though that I don't have a clue what needs to be changed for it to work with my dish receiver.

Also, how do I modify the input for my tv tuner (pvr350) to accept the signal. I currently have the coax output from the dish receiver going into the coax input on my pvr350. When in mythtv-setup, I don't know what needs to be modded in order to accept the change channel script.

I assume that in the end I'll be using my hauppauge silver remote to control everything, but how do I test this?

Once again, I kind of need my hand held through this as I am a bit of a noob. Here is what I have:

Hardware:
Asus A7n8x-e
PVR350
Homebrew IRBlaster
Dish Network Model 311 Receiver

Configuration
COAX TV out from Receiver into COAX input of PVR350
IRBLASTER on COM1 placed over IR of DISH receiver

Thanks for any help in this matter

Tim

_________________
R5D1, PVR350, ASUS A7N8X-E Deluxe, AMD 2200+, SB Live.


Last edited by timmayk on Wed Jun 14, 2006 8:50 am, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 11, 2006 3:31 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
You need to replace the file /etc/irblaster/irblasterd.conf with a LIRC configuration file that contains the remote control codes for your dish network 311 receiver.

Then reboot and check that you can run the command:
/etc/irblaster/channel_change.sh 10
(Or some other valid channel number) to check that it will control your receiver.

Then, in mythtv-setup, under input connections, select the connection that your receiver is using and set the "External channel change command:" to /etc/irblaster/channel_change.sh

That should get your channel changing working.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 11, 2006 7:51 pm 
Offline
Joined: Sat Mar 18, 2006 1:18 pm
Posts: 45
I replaced my irblasterd.conf file with this file i found in another thread. It's not exactly the same model, but they said they got it working with the dish 301 receiver. http://lirc.sourceforge.net/remotes/dis ... _58xx_59xx

I rebooted and tried /etc/irblaster/channel_change.sh 10 and it outputted

changing to 10
/etc/irblaster/channel_change.sh: line 7:301/501/3100/5100/58xx/59xx: no such file or directory
/usr/bin/irsend: command failed: SEND_ONCE 3100 1
/usr/bin/irsend: unknown remote: "3100"
/usr/bin/irsend: command failed: SEND_ONCE 3100 0
/usr/bin/irsend: unknown remote: "3100"

any ideas?

also, I changed the mythtv-setup option in the input connections, I have nothing but static when I press Watch TV.

_________________
R5D1, PVR350, ASUS A7N8X-E Deluxe, AMD 2200+, SB Live.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 11, 2006 11:05 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
I don't use an external channel change command because I get my content via DVB-T. Having just tested the channel_change.sh script that I got cesman to include a while back, I have found it has a problem.

Edit the file /etc/irblaster/channel_change.sh and remove the space from the end of this line:
Code:
REMOTE_NAME=\

The backslash is a continuation character that only actually works if it is the last character on the line.

After doing this, the name of the remote should be correctly extracted from your /etc/irblaster/irblasterd.conf file.

The full channel_change.sh should look like this but be careful cutting and pasting it that you dont end up with a space on the end of each line
Code:
#!/bin/bash

echo "changing to $1"

REMOTE_NAME=\
$(grep ^[[:space:]]*name[[:space:]] /etc/irblaster/irblasterd.conf |
  awk '{ print $2 }')

for digit in $(echo $1 | sed -e 's/./& /g'); do
sleep 0.2
/usr/bin/irsend --device=/dev/irblasterd SEND_ONCE $REMOTE_NAME $digit
sleep 0.5
done


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 12, 2006 10:41 am 
Offline
Joined: Mon Jun 07, 2004 11:48 am
Posts: 55
I was about to ask about this also. I added an irblaster and I was able to get a response with ./irsend, but not with ./channel_change.sh due to the error. Will edit and try again. Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 12, 2006 11:16 am 
Offline
Joined: Fri Apr 28, 2006 9:45 am
Posts: 22
when I try using the channel_change.sh script the system thinks it is changing the channel, but nothing happens. Specifically, when I run channel_change.sh from the command line the only message that is returned is that the channel was changed. If I do this from within watch live tv, the video freezes for a second then resumes playing and myth thinks it is on a new channel but the reciever has not responded.

I just upgraded to R5C7 last night and used the dish lirc.conf file listed above for dish network and saved it as irblasterd.conf per the directions above. I am using an irblaster that I purchased from irblaster.info. I tried using my camera to pick up LED signals, but I got no response from it when I pointed the original dish remote at it and I don't know which other devices I have at home that I can use to test that a signal is coming from the irblaster.

I figure I have one of four errors.
1. Either the led end of the irblaster is in the wrong location (I have it hanging right in front of the dish receiver) or
2.I am using the wrong conf file (I am thinking about replacing my irblasterd.conf file with the one on lirc.org for the echostar receiver with the "blue" remote or
3. My channel_change.sh script has an error (I removed the space after the / as mentioned above) or
4. I have no clue what the problem is or
D. All of the above :)

I ran through all of the error checking above and in another post that Greg contributed heavily to (can't remember which one) and did not find any errors.

Thanks for any help.
Julie


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 12, 2006 2:20 pm 
Offline
Joined: Mon Jun 07, 2004 11:48 am
Posts: 55
Julie,

I thought about getting the "clear" version to see if it's transmitting, but since I'm using a wireless video repeater to pipe DISH into my bedroom and I'm using it to see if I'm getting a signal out (which I am). I noticed that the output to the irblaster is not very strong and needs to be right over the ir receiver. What DISH receiver do you have?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 12, 2006 3:12 pm 
Offline
Joined: Sat Mar 18, 2006 1:18 pm
Posts: 45
Greg Frost wrote:
I don't use an external channel change command because I get my content via DVB-T. Having just tested the channel_change.sh script that I got cesman to include a while back, I have found it has a problem.

Edit the file /etc/irblaster/channel_change.sh and remove the space from the end of this line:
Code:
REMOTE_NAME=\

The backslash is a continuation character that only actually works if it is the last character on the line.

After doing this, the name of the remote should be correctly extracted from your /etc/irblaster/irblasterd.conf file.

The full channel_change.sh should look like this but be careful cutting and pasting it that you dont end up with a space on the end of each line
Code:
#!/bin/bash

echo "changing to $1"

REMOTE_NAME=\
$(grep ^[[:space:]]*name[[:space:]] /etc/irblaster/irblasterd.conf |
  awk '{ print $2 }')

for digit in $(echo $1 | sed -e 's/./& /g'); do
sleep 0.2
/usr/bin/irsend --device=/dev/irblasterd SEND_ONCE $REMOTE_NAME $digit
sleep 0.5
done

Hardware used is Echostar Dish Model 311

Alright, I tried what you said. Still nothing. Here is what I have right now:

irblasterd.conf in /etc/irblaster
Code:
#
# this config file was automatically generated
# using WinLIRC 0.6.5 (LIRC 0.6.1pre3) on Tue Apr 04 06:16:24 2006
#
# contributed by
#
# brand:             301
# model:             
# supported devices:
#

begin remote

  name  301
  bits           16
  flags SPACE_ENC
  eps            30
  aeps          100

  header        400  6100
  one           400  1700
  zero          400  2800
  ptrail        400
  gap          6200
  min_repeat      4
  toggle_bit      0

  frequency    56000

      begin codes
          info                     0x0000000000000000
          power                    0x0000000000000800
          play                     0x0000000000000C10
          1                        0x0000000000001000
          2                        0x0000000000001400
          3                        0x0000000000001800
          frwd                     0x0000000000001C10
          4                        0x0000000000002000
          5                        0x0000000000002400
          6                        0x0000000000002800
          menu                     0x0000000000002C00
          7                        0x0000000000003000
          8                        0x0000000000003400
          9                        0x0000000000003800
          ffwd                     0x0000000000003C10
          select                   0x0000000000004000
          0                        0x0000000000004400
          cancel                   0x0000000000004800
          guide                    0x0000000000005000
          mute                     0x0000000000005401
          view                     0x0000000000005800
          tv_video                 0x0000000000005C00
          right                    0x0000000000006000
          vol+                     0x0000000000006401
          up                       0x0000000000006800
          recall                   0x0000000000006C00
          left                     0x0000000000007000
          vol-                     0x0000000000007401
          down                     0x0000000000007800
          rec                      0x0000000000007C00
          pause                    0x0000000000008000
          stop                     0x0000000000008400
          sys_info                 0x0000000000009000
          */ptv_list               0x0000000000009400
          #/search                 0x0000000000009800
          sat                      0x000000000000A400
          tv                       0x000000000000A801
          rew                      0x000000000000C410
          fwd                      0x000000000000C810
          skip_back                0x000000000000D810
          skip_fwd                 0x000000000000DC10
      end codes

end remote

and here is my channel_change.sh located in /etc/irblaster
Code:
#!/bin/bash

echo "changing to $1"

REMOTE_NAME=301
$(grep ^[[:space:]]*name[[:space:]] /etc/irblaster/irblasterd.conf |
  awk '{ print $2 }')

for digit in $(echo $1 | sed -e 's/./& /g'); do
sleep 0.2
/usr/bin/irsend --device=/dev/irblasterd SEND_ONCE $REMOTE_NAME $digit
sleep 0.5
done

And here is the output of /etc/irblaster/channel_change.sh 10
Code:
changing to 10
/etc/irblaster/channel_change.sh: line 7: 301: command not found
/usr/bin/irsend: command failed: SEND_ONCE 301 1
/usr/bin/irsend: unknown remote: "301"
/usr/bin/irsend: command failed: SEND_ONCE 301 0
/usr/bin/irsend: unknown remote: "301"

I figgured out what I was doing wrong so I couldn't see video through my mythbox because of a switch on the receiver, but the box is still not being controlled.

1) Any idea what got screwed up above?
2) Which remote will I end up using? I would like to still with just using my hauppauge silver remote and not have to use my echostar remote.

Thanks again. Maybe through all this, we can come up with a nice, concise walkthrough.

_________________
R5D1, PVR350, ASUS A7N8X-E Deluxe, AMD 2200+, SB Live.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 12, 2006 3:16 pm 
Offline
Joined: Sat Mar 18, 2006 1:18 pm
Posts: 45
OH MY DAMN!

I restarted and it worked! AWESOME!

The scripts in the above post do work, I just needed another restart. Those of you using the dish receiver, there you go. good luck!

Thanks Greg for the help!

_________________
R5D1, PVR350, ASUS A7N8X-E Deluxe, AMD 2200+, SB Live.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 12, 2006 6:02 pm 
Offline
Joined: Fri Apr 28, 2006 9:45 am
Posts: 22
I got mine to work also. Once I realized I wasn't going to get an error whether or not I had the irblaster plugged in or not, I decided to try changing the specified com port in the hardware.conf file, rebooting and lo and behold it worked.

Thanks everyone for their input.

I'm also using a Dish Network 311 receiver and R5C7 with a pvr350.

Julie


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 13, 2006 6:51 am 
Offline
Joined: Mon Jun 07, 2004 11:48 am
Posts: 55
Once the space was removed in channel_change.sh, it seems to work with my 6000, using the 301 conf file.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 13, 2006 2:51 pm 
Offline
Joined: Fri Apr 28, 2006 9:45 am
Posts: 22
I was premature in my jubilation. My channel change script only worked briefly then locked up the system then threw me a cryptic message which I am researching and will post here once I either have a clue or have given up hope on getting a clue.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 29, 2006 9:01 am 
Offline
Joined: Sat Mar 18, 2006 1:18 pm
Posts: 45
Ok, everything's still working, but a minor annoyance is present. When I click 'Watch TV,' instead of going right to the last channel, it load the Dish Network interactive TV feature.

Is there a way to set the channel to load by default?

_________________
R5D1, PVR350, ASUS A7N8X-E Deluxe, AMD 2200+, SB Live.


Top
 Profile  
 
PostPosted: Mon Aug 14, 2006 11:19 pm 
Offline
Joined: Sat Jul 29, 2006 3:40 am
Posts: 2
Thanks so much for showing us how to get K-Myth to work with dish recievers! It has been so frustrating trying to find a post that acurately shows what is involved! Kudo's to Greg. I just ordered a MyBlaster serial to try to get this to work. BTW anyone looking for a MyBlaster serial?

I do have one more question. Do you know where or how to produce the hex codes for various other recievers etc?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 15, 2006 12:15 am 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
If you have a homebrew ir receiver you can actually record the codes from the device's remote. Otherwise, you need to rely on someone else having done it (google) or even better, if someone else has done it and sumbitted it to lirc: http://lirc.cvs.sourceforge.net/lirc/lirc/remotes/ or for a more comprehensive list as pointed out by mac, go to http://lirc.sourceforge.net/remotes/


Last edited by Greg Frost on Tue Aug 15, 2006 3:30 am, edited 1 time in total.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 22 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