Re: (Saa7134) Re: ADS-Tech Instant TV PCI, no remote support, no idea what to try.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



from cx88-input.c

case CX88_BOARD_ADSTECH_DVB_T_PCI:
		ir_codes = ir_codes_adstech_dvb_t_pci;
		ir->gpio_addr = MO_GP1_IO;
		ir->mask_keycode = 0xbf;
		ir->mask_keyup = 0x40;
		ir->polling = 50; /* ms */
		break;

I'm not sure how much of the adstech instant tv dvb-t pci can be copied for the non dvb-t one but could the solution be something along the lines of that "ir->gpio_addr" thing ? or is that specific to the cx88 driver ?

Morvan Le Meut a écrit :
Still rambling about it :)
i was just comparing the instant TV dvb-t pci keymap with what i got for the instant tv pci :
   dvb-t
   { 0x4d, KEY_0 },
   { 0x57, KEY_1 },
   { 0x4f, KEY_2 },
   { 0x53, KEY_3 },
   { 0x56, KEY_4 },
   { 0x4e, KEY_5 },
   { 0x5e, KEY_6 },
   { 0x54, KEY_7 },
   { 0x4c, KEY_8 },
   { 0x5c, KEY_9 },
   pci
   { 0xd, KEY_0 },
   { 0x17, KEY_1 },
   { 0xf, KEY_2 },
   { 0x13, KEY_3 },
   { 0x16, KEY_4 },
   { 0xe, KEY_5 },
   { 0x1e, KEY_6 },
   { 0x14, KEY_7 },
   { 0xc, KEY_8 },
   { 0x1c, KEY_9 },
if manufacturers are half as lazy as i am, and since the remote is the same ( or at least looks the same ), it looks like i am indeed missing part of the gpio. ( no mark, got the output with ir_debug=1 )
now for the rest of the keys :
dvb-t
{ 0x5b, KEY_POWER },
   { 0x5f, KEY_MUTE },
   { 0x55, KEY_GOTO },
   { 0x5d, KEY_SEARCH },
   { 0x17, KEY_EPG },        /* Guide */
   { 0x1f, KEY_MENU },
   { 0x0f, KEY_UP },
   { 0x46, KEY_DOWN },
   { 0x16, KEY_LEFT },
   { 0x1e, KEY_RIGHT },
   { 0x0e, KEY_SELECT },        /* Enter */
   { 0x5a, KEY_INFO },
   { 0x52, KEY_EXIT },
   { 0x59, KEY_PREVIOUS },
   { 0x51, KEY_NEXT },
   { 0x58, KEY_REWIND },
   { 0x50, KEY_FORWARD },
   { 0x44, KEY_PLAYPAUSE },
   { 0x07, KEY_STOP },
   { 0x1b, KEY_RECORD },
   { 0x13, KEY_TUNER },        /* Live */
   { 0x0a, KEY_A },
   { 0x12, KEY_B },
   { 0x03, KEY_PROG1 },        /* 1 */
   { 0x01, KEY_PROG2 },        /* 2 */
   { 0x00, KEY_PROG3 },        /* 3 */
   { 0x06, KEY_DVD },
   { 0x48, KEY_AUX },        /* Photo */
   { 0x40, KEY_VIDEO },
   { 0x19, KEY_AUDIO },        /* Music */
   { 0x0b, KEY_CHANNELUP },
   { 0x08, KEY_CHANNELDOWN },
   { 0x15, KEY_VOLUMEUP },
   { 0x1c, KEY_VOLUMEDOWN },
pci
   { 0x1b, KEY_POWER },
   { 0x1f, KEY_MUTE },
   { 0x15, KEY_GOTO },
   { 0x1d, KEY_SEARCH },
   { 0x17, KEY_EPG },        /* Guide */
   { 0x1f, KEY_MENU },
   { 0x0f, KEY_UP },
   { 0x6, KEY_DOWN },
   { 0x16, KEY_LEFT },
   { 0x1e, KEY_RIGHT },
   { 0x0e, KEY_SELECT },        /* Enter */
   { 0x1a, KEY_INFO },
   { 0x12, KEY_EXIT },
   { 0x19, KEY_PREVIOUS },
   { 0x11, KEY_NEXT },
   { 0x18, KEY_REWIND },
   { 0x10, KEY_FORWARD },
   { 0x4, KEY_PLAYPAUSE },
   { 0x07, KEY_STOP },
   { 0x1b, KEY_RECORD },
   { 0x13, KEY_TUNER },        /* Live */
   { 0x0a, KEY_A },
   { 0x12, KEY_B },
   { 0x03, KEY_PROG1 },        /* 1 */
   { 0x01, KEY_PROG2 },        /* 2 */
   { 0x00, KEY_PROG3 },        /* 3 */
   { 0x06, KEY_DVD },
   { 0x8, KEY_AUX },        /* Photo */
   { 0x0, KEY_VIDEO },
   { 0x19, KEY_AUDIO },        /* Music */
   { 0x0b, KEY_CHANNELUP },
   { 0x08, KEY_CHANNELDOWN },
   { 0x15, KEY_VOLUMEUP },
   { 0x1c, KEY_VOLUMEDOWN },

as you can see, for most of the keycodes, i am missing 0x40, which mean i am missing one bit.

And i don't even know where i should start looking to solve that problem.

thanks for any help/solution.




--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux