diff options
author | Patrick Boettcher <devnull@localhost> | 2005-06-26 08:42:45 +0000 |
---|---|---|
committer | Patrick Boettcher <devnull@localhost> | 2005-06-26 08:42:45 +0000 |
commit | f7fb65d48d0f5c19cc22564c4b968a9a9d23e217 (patch) | |
tree | 7ebe39bacaa907947f7e18ea974e87ac05335bb8 /linux/drivers/media/dvb/dvb-usb | |
parent | 9f247b36ea32a916e23c527a636e77409f655300 (diff) | |
download | mediapointer-dvb-s2-f7fb65d48d0f5c19cc22564c4b968a9a9d23e217.tar.gz mediapointer-dvb-s2-f7fb65d48d0f5c19cc22564c4b968a9a9d23e217.tar.bz2 |
FIX: The changes to a800.c are trivial just a few errors in the remote control codes.
FIX: not using HZ for control_msg-timeout.
Signed-off-by: Andrew Hodgson <a.s.hodgson@gmail.com>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/dvb-usb')
-rw-r--r-- | linux/drivers/media/dvb/dvb-usb/a800.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/a800.c b/linux/drivers/media/dvb/dvb-usb/a800.c index a35429356..672037c22 100644 --- a/linux/drivers/media/dvb/dvb-usb/a800.c +++ b/linux/drivers/media/dvb/dvb-usb/a800.c @@ -61,6 +61,12 @@ static struct dvb_usb_rc_key a800_rc_keys[] = { { 0x02, 0x00, KEY_LAST }, /* >>| / BLUE */ { 0x02, 0x04, KEY_EPG }, /* EPG */ { 0x02, 0x15, KEY_MENU }, /* MENU */ + + { 0x03, 0x03, KEY_CHANNELUP }, /* CH UP */ + { 0x03, 0x02, KEY_CHANNELDOWN }, /* CH DOWN */ + { 0x03, 0x01, KEY_FIRST }, /* |<< / GREEN */ + { 0x03, 0x00, KEY_LAST }, /* >>| / BLUE */ + }; 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) u8 key[5]; if (usb_control_msg(d->udev,usb_rcvctrlpipe(d->udev,0), 0x04, USB_TYPE_VENDOR | USB_DIR_IN, 0, 0, key, 5, - 2*HZ) != 5) + 2000) != 5) return -ENODEV; /* call the universal NEC remote processor, to find out the key's state and event */ |