Bob's Notepad

Notes on projects I have done and things I have learned saved for my reference and for the world to share

Thursday, November 19, 2009

PVR-150 IR Blaster on MythBuntu 9.10 with Dish Network

Upgrading to MythBuntu 9.10 from 9.04 was a challenge on some respects but the biggest of the challenges was getting my PVR-150 IR Blaster working.... again. I don't know why Ubuntu loves to break this thing on every upgrade but they do. Thanks to Jimmybondo for the bulk of this work.



  • sudo apt-get install lirc-modules-source
  • cd /usr/src/lirc-0.8.6
  • wget http://www.skynet.ie/~shabba/zilog.diff
  • sudo patch -p0 < ~/Downloads/zilog.diff
  • sudo dpkg-reconfigure lirc-modules-source


Now edit your /etc/init.d/hardware.conf file and replace lirc_pvr150 with lirc_zilog and you should be set.

If you're not upgrading from MythBuntu 9.04 and/or don't have the rest of your configuration files, you can refer to my prior post for what your lircd.conf file needs to look like. You may also need to add the following to hardware.conf:
TRANSMITTER_DEVICE="/dev/lirc0"

Labels: , , , , , ,

Reference Link


8 Comments:

Anonymous Anonymous said...

Thanks for posting this solution. I got the pvr_zilog to compile and load. But now I am getting an error that by blaster raw codes are bad for my dish receiver. Could you please share your blaster lircd.conf file for your blaster.
? That would be a great help.

Thanks for your help.

AR.

20/12/09 2:30 PM  
Blogger Bob K Mertz said...

Check my previous post: http://notepad.bobkmertz.com/2007/11/pvr150-with-set-top-box-knoppmyth.html

Keep in mind that you may face some issues if you are using a 64bit kernel.

20/12/09 6:40 PM  
Anonymous Anonymous said...

Thanks for the response. I do have a 64-bit kernel. It looks like there is no love for 64bit :-(

I guess I need to reinstall with the 32-bit kernel.

Thanks for the info.

20/12/09 7:29 PM  
Blogger Unknown said...

Thanks for posting this information, Bob. I followed all the steps, and the module appears to load correctly, but when I use irsend to test it out, I get the "hardware does not support sending" error.

I am using a 64-bit kernel. Am I completely out of luck, or are you aware of any workarounds?

27/12/09 1:30 PM  
Blogger Bob K Mertz said...

brent -- I don't want to say you are completely out of luck however when I was dealing with 64-bit I eventually gave up and reloaded with a 32bit version because I just wanted to get things running. I know that the issue that affected me was that when you're on a 64bit kernel all of the mathematics are running on base64 rather than base32. Since all of the IR codes are represented by a number the calculation of those codes is thrown off and it causes a lot of confusion with lirc. It has been well over a year since I dealt with this and part of me thinks that someone must have come up with a solution by now but, unfortunately, I don't know if that is the case. I know at the time I was dealing with it there were some people that had some patches for lirc that could be used but I never really dug too deeply into that because I was more concerned with sticking with the deb packages that mythbuntu uses. I really wish that I could be of more help but I just am not aware of any solutions. Try searching google for "64bit lirc" or something and see what you find.... If you do find a solution, PLEASE update this post with it so we can all have it documented. I'd also be happy to help with anything that I can but I'm by no means a coder nor do I fully understand even the stuff that I just explained to you :)

27/12/09 1:37 PM  
Blogger Tom said...

I've been building a new machine myself. I have a Mythdora running .21 and now building a .22 with Mythbutnu 9.10. I got my IR blaster working (almost!). Channel numbers were changing and I just had to figure out how to put in the ENTER command to the IR to change the channel on my DirecTV box. Now I can't get anything to work.

Just wondering if this "zilog" thing is also compatible with a Serial port IR blaster? I see a few references to this and figure I might give it a try, but I don't have a remote on my PVR-150 card, I just use a wireless keyboard, so I just need to shoot IR to my Satellite box.

Any ideas? Thanks for your blog tips, they have been helpful!

Tom

31/12/09 3:19 PM  
Blogger Bob K Mertz said...

Tom -- sorry I don't have too much input for you but I *think* that the zilog module is only for PVR-150 cards... I could be wrong tho.

31/12/09 3:55 PM  
Blogger Tom said...

Thanks Bob,
I'll poke around with what I *had* working earlier and see if I can get it going again. MythTV is definitely worth the frustration to build, I've been using one for over 2 years and never see commercials anymore!

Tom

31/12/09 10:33 PM  

Post a Comment

<< Home