Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: Hauppauge DVB-S Nexus and lirc
Wolfgang Rohdewald wrote:
Hi,
Hi!
I want to use the Hauppauge remote connected to the Hauppage card. Is
this possible at all?
It sure is. I have done tonnes of searching, reading, hacking, and have
spend the last several hours getting my Hauppauge romote working with my
nexus-s, with lircd.
The remote works with using the linuxtv DVB drivers (Version 1.1.0):
I'm using drivers vers 1.0.1.
cd
av7110_loadkeys hauppauge.rc5 > /proc/av7110_ir
evtest /dev/input/event0
Right, but as far as I can tell the hauppauge.rc5 file bites. I made
one called hauppauge_grey.rc5 which I have attached. Maybe someone
could commit it.
How do I connect /dev/input/event0 to lirc?
Lirc CVS supports /dev/input/eventX, in the setup menu you have to
search really hard (under other - 9) there's an option for
/dev/input/event devices. Select that and rebuild / install lirc.
I found this message - it mentions a README file but none of the READMEs
I found said anything about this.
http://www.linuxtv.org/mailinglists/linux-dvb/2003/04-2003/msg00140.html
I began my search with that link, and found some others that helped big
time on the lirc list:
http://sourceforge.net/mailarchive/message.php?msg_id=6599286
http://sourceforge.net/mailarchive/message.php?msg_id=6317457
http://sourceforge.net/mailarchive/forum.php?thread_id=3190458&forum_id=5339
Jan 30 14:15:27 mm lircd 0.7.0pre1: lircd(hauppauge_dvb) ready
Jan 30 14:15:36 mm lircd 0.7.0pre1: accepted new client on /dev/lircd
Jan 30 14:15:36 mm lircd 0.7.0pre1: could not open /dev/lirc
Jan 30 14:15:36 mm lircd 0.7.0pre1: default_init(): No such device
I now get:
Jan 30 22:59:34 tucan lircd 0.7.0pre1: lircd(devinput) ready
Jan 30 23:03:07 tucan lircd 0.7.0pre1: accepted new client on /dev/lircd
Jan 30 23:03:07 tucan lircd 0.7.0pre1: initializing '/dev/input/event0'
Jan 30 23:03:07 tucan lircd 0.7.0pre1: WARNING: can't get exclusive
access to events comming from `/dev/input/event0' interface
The warning is ok. BTW, I run lircd with no options (default device)
therefore it does use /dev/lircd. Also attached is my lircd.conf for
this remote (maybe someone wants to commit that). It is different from
the one in lirc CVS since it if for an event device. I left in the
bits/flags/gap etc stuff because I'm not sure if it needs some of those
to handle repeat timings and stuff. Also I think this lircd.conf must
be used with my hauppauge_grey.rc5 file. If that is not the case then
what's the point? :) Or in that case lircd could be borked but who
knows, I'm just glad everything is working.
Shameless plug:
I'm a Freevo developer (http://freevo.sf.net) and now my nexus-s remote
is working for my freevo box - which uses lirc. :) Not everyone with a
DVB card uses VDR. :P Too bad Freevo lacks DVB support but its comming,
at least to the extent that mplayer, xine, and szap support it.
Cheers,
-Rob
0x3d KEY_POWER
0x3b KEY_GOTO
0x00 KEY_0
0x01 KEY_1
0x02 KEY_2
0x03 KEY_3
0x04 KEY_4
0x05 KEY_5
0x06 KEY_6
0x07 KEY_7
0x08 KEY_8
0x09 KEY_9
0x1f KEY_EXIT
0x0d KEY_MENU
0x0b KEY_RED
0x2e KEY_GREEN
0x38 KEY_YELLOW
0x29 KEY_BLUE
0x11 KEY_LEFT
0x10 KEY_RIGHT
0x20 KEY_UP
0x21 KEY_DOWN
0x25 KEY_OK
0x0f KEY_MUTE
0x0c KEY_INFO
0x3c KEY_EPG
0x32 KEY_REWIND
0x35 KEY_PLAY
0x34 KEY_FASTFORWARD
0x37 KEY_RECORD
0x36 KEY_STOP
0x30 KEY_PAUSE
0x24 KEY_PREVIOUS
0x1e KEY_NEXT
#
#
# contributed by Rob Shortt
#
# brand: Hauppauge
# model no. of remote control:
# devices being controlled by this remote: PVR 2/350/Nexus/Nova
#
begin remote
name hauppauge_pvr
bits 13
flags RC5|CONST_LENGTH
eps 30
aeps 100
one 969 811
zero 969 811
plead 1097
gap 114605
toggle_bit 2
begin codes
Power 0x80010074
Go 0x80010162
1 0x80010002
2 0x80010003
3 0x80010004
4 0x80010005
5 0x80010006
6 0x80010007
7 0x80010008
8 0x80010009
9 0x8001000a
Back/Exit 0x800100ae
0 0x8001000b
Menu 0x8001008b
Red 0x8001018e
Green 0x8001018f
Yellow 0x80010190
Blue 0x80010191
Ch+ 0x80010067
Ch- 0x8001006c
Vol- 0x80010069
Vol+ 0x8001006a
Ok 0x80010160
Mute 0x80010071
Blank 0x80010166
Full 0x8001016d
Rewind 0x800100a8
Play 0x80010197
Forward 0x8001019b
Record 0x800100a7
Stop 0x80010080
Pause 0x80010077
Replay 0x8001019c
Skip 0x8001019d
end codes
end remote
Home |
Main Index |
Thread Index