diff options
author | Antti Palosaari <crope@iki.fi> | 2008-11-17 22:20:38 +0200 |
---|---|---|
committer | Antti Palosaari <crope@iki.fi> | 2008-11-17 22:20:38 +0200 |
commit | e673ee96f4708b75bd25a9d4995dcf49667e239f (patch) | |
tree | 56df2cf89ab9105d7ba4e7ce15ae8634334f2e68 /linux/drivers/media/dvb/dvb-usb/af9015.c | |
parent | 63fddcde9b4824f1bd5d261dd0f91171d560a98a (diff) | |
download | mediapointer-dvb-s2-e673ee96f4708b75bd25a9d4995dcf49667e239f.tar.gz mediapointer-dvb-s2-e673ee96f4708b75bd25a9d4995dcf49667e239f.tar.bz2 |
af9015: Add support for the Digittrade DVB-T USB Stick remote
From: Alain Kalker <miki@dds.nl>
Adds support for the Digittrade DVB-T USB Stick remote.
As the Digittrade USB stick identifies itself as a generic Afatech AF9015
device, the remote cannot be autodetected. To enable it, add the following
to /etc/modprobe.d/dvb-usb-af9015 or /etc/modprobe.conf:
options dvb-usb-af9015 remote=4
Priority: normal
Signed-off-by: Alain Kalker <miki@dds.nl>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Diffstat (limited to 'linux/drivers/media/dvb/dvb-usb/af9015.c')
-rw-r--r-- | linux/drivers/media/dvb/dvb-usb/af9015.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/af9015.c b/linux/drivers/media/dvb/dvb-usb/af9015.c index c52ebce9f..77a29f7f9 100644 --- a/linux/drivers/media/dvb/dvb-usb/af9015.c +++ b/linux/drivers/media/dvb/dvb-usb/af9015.c @@ -733,6 +733,16 @@ static int af9015_read_config(struct usb_device *udev) af9015_config.ir_table_size = ARRAY_SIZE(af9015_ir_table_mygictv); break; + case AF9015_REMOTE_DIGITTRADE_DVB_T: + af9015_properties[i].rc_key_map = + af9015_rc_keys_digittrade; + af9015_properties[i].rc_key_map_size = + ARRAY_SIZE(af9015_rc_keys_digittrade); + af9015_config.ir_table = + af9015_ir_table_digittrade; + af9015_config.ir_table_size = + ARRAY_SIZE(af9015_ir_table_digittrade); + break; } } else { switch (udev->descriptor.idVendor) { |