diff options
Diffstat (limited to 'drivers/media/dvb/dvb-usb/a800.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/a800.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/media/dvb/dvb-usb/a800.c b/drivers/media/dvb/dvb-usb/a800.c index a3542935604f..f2fcc2f1f846 100644 --- a/drivers/media/dvb/dvb-usb/a800.c +++ b/drivers/media/dvb/dvb-usb/a800.c | |||
@@ -61,6 +61,12 @@ static struct dvb_usb_rc_key a800_rc_keys[] = { | |||
61 | { 0x02, 0x00, KEY_LAST }, /* >>| / BLUE */ | 61 | { 0x02, 0x00, KEY_LAST }, /* >>| / BLUE */ |
62 | { 0x02, 0x04, KEY_EPG }, /* EPG */ | 62 | { 0x02, 0x04, KEY_EPG }, /* EPG */ |
63 | { 0x02, 0x15, KEY_MENU }, /* MENU */ | 63 | { 0x02, 0x15, KEY_MENU }, /* MENU */ |
64 | |||
65 | { 0x03, 0x03, KEY_CHANNELUP }, /* CH UP */ | ||
66 | { 0x03, 0x02, KEY_CHANNELDOWN }, /* CH DOWN */ | ||
67 | { 0x03, 0x01, KEY_FIRST }, /* |<< / GREEN */ | ||
68 | { 0x03, 0x00, KEY_LAST }, /* >>| / BLUE */ | ||
69 | |||
64 | }; | 70 | }; |
65 | 71 | ||
66 | int a800_rc_query(struct dvb_usb_device *d, u32 *event, int *state) | 72 | int a800_rc_query(struct dvb_usb_device *d, u32 *event, int *state) |
@@ -68,7 +74,7 @@ int a800_rc_query(struct dvb_usb_device *d, u32 *event, int *state) | |||
68 | u8 key[5]; | 74 | u8 key[5]; |
69 | if (usb_control_msg(d->udev,usb_rcvctrlpipe(d->udev,0), | 75 | if (usb_control_msg(d->udev,usb_rcvctrlpipe(d->udev,0), |
70 | 0x04, USB_TYPE_VENDOR | USB_DIR_IN, 0, 0, key, 5, | 76 | 0x04, USB_TYPE_VENDOR | USB_DIR_IN, 0, 0, key, 5, |
71 | 2*HZ) != 5) | 77 | 2000) != 5) |
72 | return -ENODEV; | 78 | return -ENODEV; |
73 | 79 | ||
74 | /* call the universal NEC remote processor, to find out the key's state and event */ | 80 | /* call the universal NEC remote processor, to find out the key's state and event */ |
@@ -143,7 +149,7 @@ static struct dvb_usb_properties a800_properties = { | |||
143 | 149 | ||
144 | static struct usb_driver a800_driver = { | 150 | static struct usb_driver a800_driver = { |
145 | .owner = THIS_MODULE, | 151 | .owner = THIS_MODULE, |
146 | .name = "AVerMedia AverTV DVB-T USB 2.0 (A800)", | 152 | .name = "dvb_usb_a800", |
147 | .probe = a800_probe, | 153 | .probe = a800_probe, |
148 | .disconnect = dvb_usb_device_exit, | 154 | .disconnect = dvb_usb_device_exit, |
149 | .id_table = a800_table, | 155 | .id_table = a800_table, |