** Description changed: Remote control doesn't work for Leadtek Winfast DTV1000 Running Ubuntu Feisty/Gutsy with all current patches. + This has been tested in Fiesty and Gutsy The following files need to be edited as follows... /drivers/media/video/cx88/cx88-cards.c Find the entry for CX88_BOARD_WINFAST_DTV1000 and add the following lines after .vmux = 0, .gpio0 = 0x00F5e700, .gpio1 = 0x00003004, .gpio2 = 0x00F5e700, .gpio3 = 0x02000000 So that the full entry reads: [CX88_BOARD_WINFAST_DTV1000] = { .name = "WinFast DTV1000-T", .tuner_type = TUNER_ABSENT, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .input = {{ .type = CX88_VMUX_DVB, .vmux = 0, .gpio0 = 0x00F5e700, .gpio1 = 0x00003004, .gpio2 = 0x00F5e700, .gpio3 = 0x02000000, }}, .mpeg = CX88_MPEG_DVB, }, For the File /linux/drivers/media/video/cx88/cx88-input.c Find the entry that says case CX88_BOARD_WINFAST2000XP_EXPERT: and immediately after it add the line case CX88_BOARD_WINFAST_DTV1000: So the entry reads: case CX88_BOARD_WINFAST2000XP_EXPERT: case CX88_BOARD_WINFAST_DTV1000: ir_codes = ir_codes_winfast; ir->gpio_addr = MO_GP0_IO; ir->mask_keycode = 0x8f8; ir->mask_keyup = 0x100; ir->polling = 1; /* ms */ break; Next, open the file v4l-dvb/linux/drivers/media/video/cx88/cx88-input.c in your editor. Find the entry that says case CX88_BOARD_WINFAST2000XP_EXPERT: and immediately after it add the line case CX88_BOARD_WINFAST_DTV1000: So the entry reads: case CX88_BOARD_WINFAST2000XP_EXPERT: case CX88_BOARD_WINFAST_DTV1000: ir_codes = ir_codes_winfast; ir->gpio_addr = MO_GP0_IO; ir->mask_keycode = 0x8f8; ir->mask_keyup = 0x100; ir->polling = 1; /* ms */ break; - Finally, open the file v4l-dvb/linux/drivers/media/common/ir-keymaps.c + Finally, open the file drivers/media/common/ir-keymaps.c Find the entry that reads IR_KEYTAB_TYPE ir_codes_winfast[IR_KEYTAB_SIZE] = { the codes should read as follows (there are only 2 lines to edit): IR_KEYTAB_TYPE ir_codes_winfast[IR_KEYTAB_SIZE] = { /* Keys 0 to 9 */ [ 0x12 ] = KEY_0, [ 0x05 ] = KEY_1, [ 0x06 ] = KEY_2, [ 0x07 ] = KEY_3, [ 0x09 ] = KEY_4, [ 0x0a ] = KEY_5, [ 0x0b ] = KEY_6, [ 0x0d ] = KEY_7, [ 0x0e ] = KEY_8, [ 0x0f ] = KEY_9, [ 0x15 ] = KEY_BACK, /* THIS NEEDS INSERTING */ [ 0x00 ] = KEY_POWER, [ 0x1b ] = KEY_AUDIO, /* Audio Source */ [ 0x02 ] = KEY_TUNER, /* TV/FM, not on Y0400052 */ [ 0x1e ] = KEY_VIDEO, /* Video Source */ [ 0x16 ] = KEY_INFO, /* Display information */ [ 0x04 ] = KEY_VOLUMEUP, [ 0x08 ] = KEY_VOLUMEDOWN, [ 0x0c ] = KEY_CHANNELUP, [ 0x10 ] = KEY_CHANNELDOWN, [ 0x03 ] = KEY_ZOOM, /* fullscreen */ [ 0x1f ] = KEY_TEXT, /* closed caption/teletext */ [ 0x20 ] = KEY_SLEEP, [ 0x29 ] = KEY_CLEAR, /* boss key */ [ 0x14 ] = KEY_MUTE, [ 0x2b ] = KEY_RED, [ 0x2c ] = KEY_GREEN, [ 0x2d ] = KEY_YELLOW, [ 0x2e ] = KEY_BLUE, [ 0x18 ] = KEY_KPPLUS, /* fine tune + , not on Y040052 */ [ 0x19 ] = KEY_KPMINUS, /* fine tune - , not on Y040052 */ [ 0x2a ] = KEY_MEDIA, /* PIP (Picture in picture */ [ 0x21 ] = KEY_DOT, [ 0x13 ] = KEY_ENTER, [ 0x11 ] = KEY_LAST, /* Recall (last channel */ [ 0x22 ] = KEY_PREVIOUS, [ 0x23 ] = KEY_PLAYPAUSE, [ 0x24 ] = KEY_NEXT, [ 0x25 ] = KEY_ARCHIVE, /* Time Shifting */ [ 0x26 ] = KEY_STOP, [ 0x27 ] = KEY_RECORD, [ 0x28 ] = KEY_SHUFFLE, /* Screenshot */ /* THIS HAS CHANGED */ [ 0x2f ] = KEY_MENU, [ 0x30 ] = KEY_CANCEL, [ 0x31 ] = KEY_CHANNEL, /* Channel Surf */ [ 0x32 ] = KEY_SUBTITLE, [ 0x33 ] = KEY_LANGUAGE, [ 0x34 ] = KEY_REWIND, [ 0x35 ] = KEY_FASTFORWARD, [ 0x36 ] = KEY_TV, [ 0x37 ] = KEY_RADIO, /* FM */ [ 0x38 ] = KEY_DVD }; + + + People have also found for many versions of Ubuntu it was necessary to re-compile the kernel with a timer frequency of 1000Hz in order to reliably recieve keypresses without lag.
** Tags added: dtv patch remote winfast -- Leadtek Winfast DTV1000T Remote Control https://bugs.launchpad.net/bugs/151561 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs