diff options
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r-- | drivers/media/dvb/dvb-usb/dib0700_devices.c | 46 | ||||
-rw-r--r-- | drivers/media/dvb/dvb-usb/dvb-usb-ids.h | 1 |
2 files changed, 45 insertions, 2 deletions
diff --git a/drivers/media/dvb/dvb-usb/dib0700_devices.c b/drivers/media/dvb/dvb-usb/dib0700_devices.c index 2deca210d5a0..800800a9649e 100644 --- a/drivers/media/dvb/dvb-usb/dib0700_devices.c +++ b/drivers/media/dvb/dvb-usb/dib0700_devices.c | |||
@@ -794,6 +794,43 @@ static struct dvb_usb_rc_key ir_codes_dib0700_table[] = { | |||
794 | { 0x7a13, KEY_VOLUMEDOWN }, | 794 | { 0x7a13, KEY_VOLUMEDOWN }, |
795 | { 0x7a40, KEY_POWER }, | 795 | { 0x7a40, KEY_POWER }, |
796 | { 0x7a41, KEY_MUTE }, | 796 | { 0x7a41, KEY_MUTE }, |
797 | |||
798 | /* Key codes for the Elgato EyeTV Diversity silver remote, | ||
799 | set dvb_usb_dib0700_ir_proto=0 */ | ||
800 | { 0x4501, KEY_POWER }, | ||
801 | { 0x4502, KEY_MUTE }, | ||
802 | { 0x4503, KEY_1 }, | ||
803 | { 0x4504, KEY_2 }, | ||
804 | { 0x4505, KEY_3 }, | ||
805 | { 0x4506, KEY_4 }, | ||
806 | { 0x4507, KEY_5 }, | ||
807 | { 0x4508, KEY_6 }, | ||
808 | { 0x4509, KEY_7 }, | ||
809 | { 0x450a, KEY_8 }, | ||
810 | { 0x450b, KEY_9 }, | ||
811 | { 0x450c, KEY_LAST }, | ||
812 | { 0x450d, KEY_0 }, | ||
813 | { 0x450e, KEY_ENTER }, | ||
814 | { 0x450f, KEY_RED }, | ||
815 | { 0x4510, KEY_CHANNELUP }, | ||
816 | { 0x4511, KEY_GREEN }, | ||
817 | { 0x4512, KEY_VOLUMEDOWN }, | ||
818 | { 0x4513, KEY_OK }, | ||
819 | { 0x4514, KEY_VOLUMEUP }, | ||
820 | { 0x4515, KEY_YELLOW }, | ||
821 | { 0x4516, KEY_CHANNELDOWN }, | ||
822 | { 0x4517, KEY_BLUE }, | ||
823 | { 0x4518, KEY_LEFT }, /* Skip backwards */ | ||
824 | { 0x4519, KEY_PLAYPAUSE }, | ||
825 | { 0x451a, KEY_RIGHT }, /* Skip forward */ | ||
826 | { 0x451b, KEY_REWIND }, | ||
827 | { 0x451c, KEY_L }, /* Live */ | ||
828 | { 0x451d, KEY_FASTFORWARD }, | ||
829 | { 0x451e, KEY_STOP }, /* 'Reveal' for Teletext */ | ||
830 | { 0x451f, KEY_MENU }, /* KEY_TEXT for Teletext */ | ||
831 | { 0x4540, KEY_RECORD }, /* Font 'Size' for Teletext */ | ||
832 | { 0x4541, KEY_SCREEN }, /* Full screen toggle, 'Hold' for Teletext */ | ||
833 | { 0x4542, KEY_SELECT }, /* Select video input, 'Select' for Teletext */ | ||
797 | }; | 834 | }; |
798 | 835 | ||
799 | /* STK7700P: Hauppauge Nova-T Stick, AVerMedia Volar */ | 836 | /* STK7700P: Hauppauge Nova-T Stick, AVerMedia Volar */ |
@@ -2049,6 +2086,7 @@ struct usb_device_id dib0700_usb_id_table[] = { | |||
2049 | /* 65 */{ USB_DEVICE(USB_VID_PINNACLE, USB_PID_PINNACLE_PCTV73ESE) }, | 2086 | /* 65 */{ USB_DEVICE(USB_VID_PINNACLE, USB_PID_PINNACLE_PCTV73ESE) }, |
2050 | { USB_DEVICE(USB_VID_PINNACLE, USB_PID_PINNACLE_PCTV282E) }, | 2087 | { USB_DEVICE(USB_VID_PINNACLE, USB_PID_PINNACLE_PCTV282E) }, |
2051 | { USB_DEVICE(USB_VID_DIBCOM, USB_PID_DIBCOM_STK8096GP) }, | 2088 | { USB_DEVICE(USB_VID_DIBCOM, USB_PID_DIBCOM_STK8096GP) }, |
2089 | { USB_DEVICE(USB_VID_ELGATO, USB_PID_ELGATO_EYETV_DIVERSITY) }, | ||
2052 | { 0 } /* Terminating entry */ | 2090 | { 0 } /* Terminating entry */ |
2053 | }; | 2091 | }; |
2054 | MODULE_DEVICE_TABLE(usb, dib0700_usb_id_table); | 2092 | MODULE_DEVICE_TABLE(usb, dib0700_usb_id_table); |
@@ -2393,7 +2431,7 @@ struct dvb_usb_device_properties dib0700_devices[] = { | |||
2393 | } | 2431 | } |
2394 | }, | 2432 | }, |
2395 | 2433 | ||
2396 | .num_device_descs = 6, | 2434 | .num_device_descs = 7, |
2397 | .devices = { | 2435 | .devices = { |
2398 | { "DiBcom STK7070PD reference design", | 2436 | { "DiBcom STK7070PD reference design", |
2399 | { &dib0700_usb_id_table[17], NULL }, | 2437 | { &dib0700_usb_id_table[17], NULL }, |
@@ -2419,7 +2457,11 @@ struct dvb_usb_device_properties dib0700_devices[] = { | |||
2419 | { "Sony PlayTV", | 2457 | { "Sony PlayTV", |
2420 | { &dib0700_usb_id_table[44], NULL }, | 2458 | { &dib0700_usb_id_table[44], NULL }, |
2421 | { NULL }, | 2459 | { NULL }, |
2422 | } | 2460 | }, |
2461 | { "Elgato EyeTV Diversity", | ||
2462 | { &dib0700_usb_id_table[68], NULL }, | ||
2463 | { NULL }, | ||
2464 | }, | ||
2423 | }, | 2465 | }, |
2424 | .rc_interval = DEFAULT_RC_INTERVAL, | 2466 | .rc_interval = DEFAULT_RC_INTERVAL, |
2425 | .rc_key_map = ir_codes_dib0700_table, | 2467 | .rc_key_map = ir_codes_dib0700_table, |
diff --git a/drivers/media/dvb/dvb-usb/dvb-usb-ids.h b/drivers/media/dvb/dvb-usb/dvb-usb-ids.h index de1f3af60d53..085c4e457e0e 100644 --- a/drivers/media/dvb/dvb-usb/dvb-usb-ids.h +++ b/drivers/media/dvb/dvb-usb/dvb-usb-ids.h | |||
@@ -290,6 +290,7 @@ | |||
290 | #define USB_PID_MSI_DIGI_VOX_MINI_III 0x8807 | 290 | #define USB_PID_MSI_DIGI_VOX_MINI_III 0x8807 |
291 | #define USB_PID_SONY_PLAYTV 0x0003 | 291 | #define USB_PID_SONY_PLAYTV 0x0003 |
292 | #define USB_PID_MYGICA_D689 0xd811 | 292 | #define USB_PID_MYGICA_D689 0xd811 |
293 | #define USB_PID_ELGATO_EYETV_DIVERSITY 0x0011 | ||
293 | #define USB_PID_ELGATO_EYETV_DTT 0x0021 | 294 | #define USB_PID_ELGATO_EYETV_DTT 0x0021 |
294 | #define USB_PID_ELGATO_EYETV_DTT_Dlx 0x0020 | 295 | #define USB_PID_ELGATO_EYETV_DTT_Dlx 0x0020 |
295 | #define USB_PID_DVB_T_USB_STICK_HIGH_SPEED_COLD 0x5000 | 296 | #define USB_PID_DVB_T_USB_STICK_HIGH_SPEED_COLD 0x5000 |