diff options
author | Jarod Wilson <jarod@redhat.com> | 2011-04-19 15:47:34 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-05-20 08:27:37 -0400 |
commit | 2faa0ca82c7180f58a4b3bb3c460e5bdcdcf04c6 (patch) | |
tree | 203625149df6e8bba732b051da974ea634d14a3f /drivers/media/rc/mceusb.c | |
parent | 39381d4fcd97462f0262bef382b7643f17787587 (diff) |
[media] mceusb: Formosa e017 device has no tx
Per hardware provided to me, the Formosa Industrial Computing eHome
Infrared Receiver, 0x147a:0xe017, has no tx capability, it is rx only.
Thanks go to Paul Rae for the hardware.
Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/rc/mceusb.c')
-rw-r--r-- | drivers/media/rc/mceusb.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/media/rc/mceusb.c b/drivers/media/rc/mceusb.c index 9145be9c0f04..5edd2cb8128a 100644 --- a/drivers/media/rc/mceusb.c +++ b/drivers/media/rc/mceusb.c | |||
@@ -150,6 +150,7 @@ enum mceusb_model_type { | |||
150 | CX_HYBRID_TV, | 150 | CX_HYBRID_TV, |
151 | MULTIFUNCTION, | 151 | MULTIFUNCTION, |
152 | TIVO_KIT, | 152 | TIVO_KIT, |
153 | MCE_GEN2_NO_TX, | ||
153 | }; | 154 | }; |
154 | 155 | ||
155 | struct mceusb_model { | 156 | struct mceusb_model { |
@@ -173,6 +174,10 @@ static const struct mceusb_model mceusb_model[] = { | |||
173 | [MCE_GEN2] = { | 174 | [MCE_GEN2] = { |
174 | .mce_gen2 = 1, | 175 | .mce_gen2 = 1, |
175 | }, | 176 | }, |
177 | [MCE_GEN2_NO_TX] = { | ||
178 | .mce_gen2 = 1, | ||
179 | .no_tx = 1, | ||
180 | }, | ||
176 | [MCE_GEN2_TX_INV] = { | 181 | [MCE_GEN2_TX_INV] = { |
177 | .mce_gen2 = 1, | 182 | .mce_gen2 = 1, |
178 | .tx_mask_normal = 1, | 183 | .tx_mask_normal = 1, |
@@ -284,7 +289,8 @@ static struct usb_device_id mceusb_dev_table[] = { | |||
284 | /* Formosa21 / eHome Infrared Receiver */ | 289 | /* Formosa21 / eHome Infrared Receiver */ |
285 | { USB_DEVICE(VENDOR_FORMOSA, 0xe016) }, | 290 | { USB_DEVICE(VENDOR_FORMOSA, 0xe016) }, |
286 | /* Formosa aim / Trust MCE Infrared Receiver */ | 291 | /* Formosa aim / Trust MCE Infrared Receiver */ |
287 | { USB_DEVICE(VENDOR_FORMOSA, 0xe017) }, | 292 | { USB_DEVICE(VENDOR_FORMOSA, 0xe017), |
293 | .driver_info = MCE_GEN2_NO_TX }, | ||
288 | /* Formosa Industrial Computing / Beanbag Emulation Device */ | 294 | /* Formosa Industrial Computing / Beanbag Emulation Device */ |
289 | { USB_DEVICE(VENDOR_FORMOSA, 0xe018) }, | 295 | { USB_DEVICE(VENDOR_FORMOSA, 0xe018) }, |
290 | /* Formosa21 / eHome Infrared Receiver */ | 296 | /* Formosa21 / eHome Infrared Receiver */ |