View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 7 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: TiVo remote on KnoppMyth
PostPosted: Fri Dec 09, 2005 10:55 pm 
Offline
Joined: Sun Nov 27, 2005 11:28 pm
Posts: 7
I've been trying really really hard to get a TiVo remote working with MythTV - so hard in fact that Google has blocked my IP address because they think I'm launching a DOS attack!

What I've done so far:

Installed R5A16 successfully
Played a test video that I downloaded
Used an ATI Remote Wonder that came with an old 9700 AIW card
Bought and hooked up a homebrew IR receiver to my serial port (from http://www.irblaster.info/receiver.html)
Read countless threads on mysettopbox.tv and other sites looking for information on this that would apply to me.
Renamed the TIVO file to lircd.conf in /etc/lirc
Ran lirc-reconfig.sh (not sure I answered the questions correctly)

What I don't understand:

Does LIRC run automatically on a standard install?
- if I type lircd from a prompt it appears to start, if I do it again I get an error that it's already running

Do I have to recompile LIRC for the TiVo remote to work? I was hoping not, but I think I read that somewhere along the way. I saw a page on the wiki about doing this but it looks pretty daunting and hard to follow.

How can I tell if my serial port is working and do some basic tests of this device?

A whole bunch of things... I'm a computer pro with 20 years experience but a Linux n00b. I've got a pretty good understanding of Linux conceptually but have never compiled any programs with it or done much more than some superficial things.

I've probably spent 5 hours trying to figure this out on my own using the mantra "Google is your friend", but am still coming up short. Thanks in advance for any help!


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 10, 2005 10:43 pm 
Offline
Joined: Sun Nov 27, 2005 11:28 pm
Posts: 7
OK, some success. Here's the first stage of what I tried, but which I think was made irrelevant by the second stage. I followed this readme:
Quote:
LIRC kernel modules source for DEBIAN
=====================================

In the Debian packaging of LIRC, kernel module sources are installed in
/usr/src/lirc-modules.tar.gz. In order to build them, you should:

cd /usr/src
tar -xzf lirc-modules.tar.gz

You will now have a directory called lirc under /usr/src/modules, please read
/usr/src/modules/lirc/README for further instructions.
root@mythtv:/usr/share/doc/lirc-modules-source#
When I tried the "further instructions" I got lost and gave up.

The next thing I tried (which worked) was recompiling LIRC based on this Knoppmyth wiki article: http://www.knoppmythwiki.org/index.php?page=LIRCHowTo

When I tried to start lircd did I was told it couldn't find lircd.conf in /etc so I copied it there. The lircd.conf file was originally called TIVO and I'm pretty sure it's the right one for my remote. My remote is for a Series 1 TiVo.

ONE PROBLEM - only the Play and Pause buttons work. The replay button starts the video at the beginning instead of jumping back 8 seconds like it does on a TiVo, but I guess that's for another thread. None of the other buttons on the remote seem to have any effect

Here's the text of that file:
Code:
root@mythtv:/usr/local/sbin# cat lircd.conf
#
# This config file has been automatically converted from a device file
# found in the 06/26/00 release of the Windows Slink-e software
# package.
#
# Many thanks to Colby Boles of Nirvis Systems Inc. for allowing us to
# use these files.
#
# The original filename was: "tivo.cde"
#
# The original description for this device was:
#
# tivo tx file
#


begin remote

  name  TIVO
  bits           32
  flags SPACE_ENC
  eps            20
  aeps          200

  header       9000  4500
  one           562   562
  zero          562  1687
  ptrail        562
  repeat       9000  2250
  gap          46000
  toggle_bit      0

  frequency    40000

      begin codes
          TIVO                     0x000000005EF3FFF0
          LIVETV                   0x000000005EF377F8
          UP                       0x000000005EF3D7F8
          DOWN                     0x000000005EF397F8
          RIGHT                    0x000000005EF357F8
          LEFT                     0x000000005EF317F8
          THUMBSDOWN               0x000000005EF3E7F8
          THUMBSUP                 0x000000005EF3A7F8
          SELECT                   0x000000005EF367F8
          RECORD                   0x000000005EF3FBF4
          PLAY                     0x000000005EF37BF4
          CH+                      0x000000005EF387F8
          CH-                      0x000000005EF307F8
          REV                      0x000000005EF3BBF4
          FWD                      0x000000005EF3DBF4
          PAUSE                    0x000000005EF33BF4
          SLOW                     0x000000005EF35BF4
          REPLAY                   0x000000005EF39BF4
          JUMPTOEND                0x000000005EF31BF4
          1                        0x000000005EF3EBF4
          2                        0x000000005EF36BF4
          3                        0x000000005EF3ABF4
          4                        0x000000005EF32BF4
          5                        0x000000005EF3CBF4
          6                        0x000000005EF34BF4
          7                        0x000000005EF38BF4
          8                        0x000000005EF30BF4
          9                        0x000000005EF3F3FC
          CLEAR                    0x000000005EF3B3FC
          0                        0x000000005EF373FC
          ENTER                    0x000000005EF333FC
      end codes

end remote


What do you think is wrong? Do I need a different file for my remote? If so do I need to recompile again? Any suggestions at all???


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 11, 2005 5:22 am 
Offline
Joined: Sun Jun 12, 2005 2:39 pm
Posts: 464
Location: UK
Either the codes in lircd.conf are wrong, or the button names don't match up with the .lircrc file under mythtv's home folder. Try this:

open up a terminal, run: irw

then press buttons on your remote, it should print up which buttons you've pressed. If only play and pause come up then your lircd.conf file is wrong. If all of them come up, you need to edit the .lircrc file.

If lircd.conf is the problem you can actually make one yourself quite easily using irrecord!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 11, 2005 10:09 pm 
Offline
Joined: Sun Nov 27, 2005 11:28 pm
Posts: 7
Looks like the command names in lirc.conf don't match what's in .lircrc. By changing "REW" to "REV", for example, I can get other buttons to work.

Until I get a better understanding of all the commands available for the "mythtv", "mplayer" and "Xine" sections of .lircrc I'm gonna wait it out. Guess I'm going to go ahead and get a tuner card and try this for real now.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 12, 2005 8:20 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Once you do get this working, please provide clean concise details and the needed files and well see about including this in a future release.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 30, 2006 8:48 pm 
Offline
Joined: Tue Mar 22, 2005 8:19 am
Posts: 4
Hi timeshifter -
Did you make any progress with the tivo remote? I'm going to be embarking on my maiden voyage to get knoppmyth installed and working with my tivo (series 2) remote.


Greg


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 31, 2006 6:17 pm 
Offline
Joined: Fri Nov 18, 2005 9:22 am
Posts: 777
Location: spencerport, ny (USA)
This sounds like a very worthwhile project. If someone gets a write-up, I will probably extend it by adding instructions on how to tweak it for the second tivo remote. There's a trick that you do with the TiVo and remote so that you can have two TiVos in the same room. One is remote0 and the other is remote1, or somethign like that. So if someone gets the TiVo writeup, I'll investigate how to get it working as a primary/secondary remote, so that you can have a Mythbox and TiVo in the same room without driving the other one nuts.
IMO, having a smooth transition from TiVo remotes is something that will improve the WAF, as well as the "out-of-box" experience.


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 19 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:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu