[linux-dvb] Hauppauge Nova-T PCI on Fedora Core 3
Sid Boyce
sboyce at blueyonder.co.uk
Tue Mar 8 01:38:45 CET 2005
Lauri Tischler wrote:
> Sid Boyce wrote:
>
>> Lauri Tischler wrote:
>>
>>> Sid Boyce wrote:
>>>
>>>> Lauri Tischler wrote:
>>>>
>>>>> Martin Cap wrote:
>>>>>
>>>>>> Lauri Tischler wrote:
>>>>>>
>>>>>>> Martin Cap wrote:
>>>>>>>
>>>>>>> Not true, tryed that.
>>>>>>> Installed kernel 2.6.11-rc3, cx88 did not work,
>>>>>>> after also installing All-2.6.11-rc3.diff from
>>>>>>> bytesex things started to work.
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> Well, ok, that's true related to 2.6.11-rc3. There's 2.6.11-final
>>>>>> out :)
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Aarghh, should have checked before saying anything, sorry.
>>>>> Downloaded stuff, cx88-input.c does not exit anymore.
>>>>> Where are the remote buttons defined now ?
>>>>>
>>>>> _______________________________________________
>>>>> linux-dvb mailing list
>>>>> linux-dvb at linuxtv.org
>>>>> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
>>>>>
>>>>>
>>>>
>>>> The codes for the remote for the card with both Antenna In and out
>>>> are not defined in ir-common.c. "tail -f /var/log/message" while
>>>> pressing the remote buttons and you will see the codes and match
>>>> them against buttons.
>>>> #if 0 /* FIXME */
>>>> [ 0x0a ] = KEY_RESERVED, // 1/2/3 digits (japan: 10)
>>>> [ 0x0e ] = KEY_RESERVED, // P.P. (personal preference)
>>>> [ 0x14 ] = KEY_RESERVED, // colour saturation +
>>>> [ 0x15 ] = KEY_RESERVED, // colour saturation -
>>>> [ 0x16 ] = KEY_RESERVED, // bass +
>>>> etc., etc.
>>>
>>>
>>>
>>>
>>> Wouldn't it be much easier to have separate tables for each remote
>>> and then be able select at runtime which remote to use.
>>> Now there is no usefull remote at all, unless you go and hack
>>> the kernel.
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> linux-dvb mailing list
>>> linux-dvb at linuxtv.org
>>> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
>>>
>>>
>>
>> It seems a mine field for developers, there is more than one remote
>> type with the Hauppauge Nova-T and my guess is that whatever gets
>> shipped has the accompanying Windows software for it, so there seems
>> no easy way around this problem. I exchanged the picture of mine with
>> someone else in the UK and they were both different, as a matter of
>> fact, the two cards and remotes were different, his card didn't have
>> the antenna out socket and I think was an earlier version.
>> These are the key codes I get from my remote.
>> Channels Down 0x15
>> Channels Up 0x14
>> Volume Up 0x17
>> Volume Down 0x16
>> TV 0x1c
>> Prev CH 0x12
>> Guide 0x1b
>> Videos 0x18
>> * 0x0a
>> # 0x0e
>> Pictures 0x1a
>> Music 0x19
>> All other keys generate no codes.
>
>
>
> I used this with cx88-input.c
>
> ---------------------
> /* Hauppauge: still newer 45-key, gray remote */
> static IR_KEYTAB_TYPE ir_codes_hauppauge_new[IR_KEYTAB_SIZE] = {
> [ 0x00 ] = KEY_KP0, // 0
> [ 0x01 ] = KEY_KP1, // 1
> [ 0x02 ] = KEY_KP2, // 2
> [ 0x03 ] = KEY_KP3, // 3
> [ 0x04 ] = KEY_KP4, // 4
> [ 0x05 ] = KEY_KP5, // 5
> [ 0x06 ] = KEY_KP6, // 6
> [ 0x07 ] = KEY_KP7, // 7
> [ 0x08 ] = KEY_KP8, // 8
> [ 0x09 ] = KEY_KP9, // 9
> [ 0x0a ] = KEY_TEXT, // text
> [ 0x0b ] = KEY_RED, // red button
> [ 0x0c ] = KEY_RADIO, // radio
> [ 0x0d ] = KEY_MENU, // menu
> [ 0x0e ] = KEY_SUBTITLE, // sub/cc
> [ 0x0f ] = KEY_MUTE, // mute
> [ 0x10 ] = KEY_VOLUMEUP, // volume +
> [ 0x11 ] = KEY_VOLUMEDOWN, // volume -
> [ 0x12 ] = KEY_CHANNEL, // prev.ch
>
> [ 0x14 ] = KEY_UP, // up
> [ 0x15 ] = KEY_DOWN, // down
> [ 0x16 ] = KEY_LEFT, // left
> [ 0x17 ] = KEY_RIGHT, // right
> [ 0x18 ] = KEY_VIDEO, // videos
> [ 0x19 ] = KEY_MP3, // music
> [ 0x1a ] = KEY_CAMERA, // pictures
> [ 0x1b ] = KEY_INFO, // guide
> [ 0x1c ] = KEY_TV, // tv
>
> [ 0x1e ] = KEY_NEXT, // skip >|
> [ 0x1f ] = KEY_EXIT, // back/exit
> [ 0x20 ] = KEY_CHANNELUP, // channel / program +
> [ 0x21 ] = KEY_CHANNELDOWN, // channel / program -
> [ 0x24 ] = KEY_PREVIOUS, // replay |<
> [ 0x25 ] = KEY_ENTER, // OK
> [ 0x29 ] = KEY_BLUE, // blue key
> [ 0x2e ] = KEY_GREEN, // green button
> [ 0x30 ] = KEY_PAUSE, // pause
> [ 0x32 ] = KEY_REWIND, // backward <<
> [ 0x34 ] = KEY_FASTFORWARD, // forward >>
> [ 0x35 ] = KEY_PLAY, // play
> [ 0x36 ] = KEY_STOP, // stop
> [ 0x37 ] = KEY_RECORD, // recording
> [ 0x38 ] = KEY_YELLOW, // yellow key
> [ 0x3b ] = KEY_SELECT, // go
> [ 0x3d ] = KEY_POWER, // system power (green button)
> };
> -----------------------
>
Looks good, i'll give it try later.
Regards
Sid.
--
Sid Boyce .... Large Computer Systems Specialist - Retired
Hamradio Callsign G3VBV and Keen Private Pilot
Aeroplanes, Linux, Computers and Cricket my major passions
===== LINUX USED HERE, A Microsoft-free Computing Environment ====
More information about the linux-dvb
mailing list