View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 9 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon Jan 05, 2004 1:50 pm 
Offline
Joined: Mon Jan 05, 2004 1:30 pm
Posts: 139
Location: New Hope, MN
I have a couple of questions, first I have the WinTV dbx-TV Stereo and FM radio card from Hauppauge!. This comes with a black remote, as well as a cable and sensor that plugs into the back and mounts in front.

I have installed the lirc enabled kenel, however the remote is still useless as far as I can see. Is there a specific file I should be editing, and if so, is there a template or existing file I can use to work with?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 05, 2004 2:25 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
did you run the install-i686-l script?

If you did and it still doesn't work ( I thought the grey remote that knoppmyth defaults to was a super set of the black remote, but maybe not) then you will need to adjust your lircd.conf file, and your lircrc files to match your remote. There are some sample files in the lirc documentation, but I'm not sure if the hauppage balck remote is there or not. If not you can look on lirc website, or search the mythtv forums, seems like I remember someone posting files for the black remote at one point in time.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 05, 2004 2:38 pm 
Offline
Joined: Mon Jan 05, 2004 1:30 pm
Posts: 139
Location: New Hope, MN
I did run the install-i686-l script, though I am perhaps mistaken that this installs the enabled kernel. (I can presume that the default installs the enabled kernel and th script installs the configuration to use one of the remotes. Will take a look at the lircd.conf file next.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 05, 2004 3:17 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
the default install has lirc kernel modules. the script installs mythtv and mplayer with built in lirc support, so you should look at the config files.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 06, 2004 12:29 am 
Offline
Joined: Mon Jan 05, 2004 1:30 pm
Posts: 139
Location: New Hope, MN
Xsecrets wrote:
the default install has lirc kernel modules. the script installs mythtv and mplayer with built in lirc support, so you should look at the config files.


Ok, pulled the file from http://lirc.sourceforge.net/remotes/hau ... auge.irman, which appears to most closely match the buttons on the remote that I have. This file became my /etc/lircd.conf file.

I also modified both .lircrc and .mythtv/lircrc to reflect both mythtv app configurations (using the "grey" edition of the .mythtv/lircrc as a reference)

I have even gone so far as to reload the entire machine several times along the way, and the buttons still do not seem to be being recognized. At the very least the button presses for the numbers are not being passed through to mythtv as number presses.

On a positive note, knoppmyth R4 has gotten me significantly closer to my goal of having a pvr built out of a pc than anything else so far.

Other than the problems I have been having with the remote, and with sound on the second video capture card, the software has been pretty much doing what I would expect it to. Not perfect yet, but getting there.

Recomendations for future releases would be code to check to see if a newer version of specific software is available. For example if there is a problem downloading channel listings, code that checks to see if there is a newer version of xmltv available, and kicking off a process to go get and install the software automatically would be nice. Likewise a step in the installer that flags any hardware that has known non-free driver requirements, and asking the user if they are ok with downloading and instaling that for them, would probably resolve a lot of problems.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 06, 2004 12:38 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
For the black remote, all you should have to do is replace /etc/lircd.conf(which is included and is in another post here on the forum) and /home/mythtv/.mythtv/lircrc(needs to be modified). The LIRC modules are already compiled.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 06, 2004 9:45 am 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
well to test the remote in a console type irw then start pressing remote keys. If it is set up properly to that point you should see stuff show up in the console. If you do take note of what it is you see, because that is exactly what you should use for button names in the lircrc files.

Just saying this cause if you take configuration files from various sources the button names could easily have gotten mismatched.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 06, 2004 2:52 pm 
Offline
Joined: Mon Jan 05, 2004 1:30 pm
Posts: 139
Location: New Hope, MN
I got it working now. Ended up having to record a new code sheet, as the one from www.lirc.org/remoted/hauppaug did not have useful numbers.

For those interested in doing this, you have to go through the following steps:

Stop lircd (/etc/init.d/lircd stop, take note of the pid for the process, and kill it)
start recording using irrecord (irrecord filename [I used irrecord hauppauge.black])
Follow the instructions, Don't do anything too early, or you will probably have to start all over again.
When irrecord completes, review the output file. (it will be filename.conf, or in my case hauppauge.black.conf) Confirm that you don't have duplicate button presses (I found that vol- had the same code as Radio, which was the button I had pressed previously. It also had an escaped character ahead of the name)
If you run into numerous problems in the file, record again, otherwise
copy this file over /etc/lircd.conf
restart lircd, (/etc/init.d/lircd start)
test the results with irw

Here is the file I ended up creating, on the off chance someone would like to make use of it.


# Please make this file available to others
# by sending it to <lirc@bartelmus.de>
#
# this config file was automatically generated
# using lirc-0.7.0pre2(hauppauge) on Tue Jan 6 13:56:58 2004
#
# contributed by
#
# brand: hauppauge.black.conf
# model no. of remote control:
# devices being controlled by this remote:
#

begin remote

name hauppauge.black.conf
bits 13
eps 30
aeps 100

one 0 0
zero 0 0
gap 199992
min_repeat 4
toggle_bit 0


begin codes
CH+ 0x0000000000001020
CH- 0x0000000000001021
TV 0x000000000000180F
RADIO 0x000000000000100C
VOL+ 0x0000000000001010
VOL- 0x0000000000001011
FULLSCREEN 0x000000000000102E
MUTE 0x000000000000180D
SOURCE 0x0000000000001822
1 0x0000000000001001
2 0x0000000000001802
3 0x0000000000001003
4 0x0000000000001804
5 0x0000000000001005
6 0x0000000000001806
7 0x0000000000001007
8 0x0000000000001808
9 0x0000000000001009
0 0x0000000000001800
RESERVED 0x000000000000101E
MINIMIZE 0x0000000000001826
end codes

end remote


Now I just have to re-map the buttons to keys. 1-0 work, chan+/- work, but vol+/- are mapped wrong, and need to make useful mappings for the other buttons. My current plan is:

MINIMIZE = m (Program guide from tv)
RESERVED = Return (enter)
TV = c (Tv/Video toggle)
RADIO = Esc (exit current mode)
FULLSCREEN = w (toggle through aspect ratios
SOURCE = i (Information)
VOL+ = ] (Volume increase)
VOL- = [ (Volume decreas)
MUTE = F9 (mute)

This won't change the fact that this remote is pretty simple. Mostly useful for watching TV. Have to set something else up for higher level functions I think.

May I presume that so long as the codes get passed through the Hauppauge! card I can use any remote I have around that is otherwise useless, or grab a universal remote and code a mode as a device I don't have, and use that for a more functional remote?

-Rusty


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 06, 2004 3:42 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
well be carefull with this the hauppage only works with a particular type of remote. I can't remember what it is at the moment, some sort of number designation. If you are looking for a universal that works with it you may want to search the mythtv mailing lists I have seen some discussions about which remote works with the hauppage ir.


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

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