Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I would like to use my TiVo remote instead of the streamzap one. Has anyone setup a Tivo remote with Mythbuntu and if so would you share your configurations (lircd.conf/lircrc) and experiences?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Ended up using irrecord to get this working. in case anyone else needs the same, here is how I did it:

  1. Kill mythfrontend and mtd as both had grabbed the lirc device

  2. su - root

  3. irrecord --device=/dev/lirc0 Tivo (this may be different depending on your IR devices)

  4. Follow learning directions. Basically, it has you press all the buttons for a second to determine the signal length, then it has you teach the remote buttons. It asks you to name the buttons and press the button on the remote.

  5. When done, you are left with a lirc config file named Tivo. Copy this to the lirc remotes directory just to keep things in the same place. mkdir /usr/share/lirc/remotes/tivo && cp Tivo /usr/share/lirc/remote/tivo/

  6. You could do this by editing the lircd.conf but I used the Mythbuntu Control Center to do it. Launch Control Center and goto the IR section. Select "Custom" from the dropdown menu and click on the Configuration and select remotes/tivo/Tivo. I tried to use Generate dynamic Button mappings but that didnt work for me so you can leave that unchecked and do it manually.

  7. Click Apply and let it write the changes.

  8. Edit the ~/.lirc/mythtv file to put your mappings in. Basically I used one that I had already had buttons mapped for a Streamzap remote. All i had to do was replace the remote name eachtime it after the "begin" line for the button. Since I named my remote config in step 3, "Tivo" I just did a global search and replace with vi. This is case sensitive and wont work if you dont have it correct. If in question look at the name in the file you generated in the irrecord step. For each button/function i looked at what I named the buttons in the Tivo config file...for example instead of "Menu" for the Menu button on the remote to send the "M" character, I changed it to "Tivo" for the Tivo button on the remote. When pressed it now sends the "M" signal and brings up the menu. Once again this is case sensitive so just refer to you Tivo remote config you made.

    I am still adding new buttons and trying to figure out if can fake macros with it...like bringing up the program guide with one button. Also need to do my mplayer lirc as well. So far it works solid. I have attached my config files but I recommend going the irrecord route as there a lot of different Tivo remotes..and you remote sends different signals based on what position the 1/2 switch is in. Also this should work for any remote...not just Tivo

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.