diff options
author | Ville-Pekka Vainio <vpivaini@cs.helsinki.fi> | 2007-01-12 12:06:21 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-02-21 10:34:20 -0500 |
commit | ae1942c5712f700c9ccc8cc287c51db4daaa50d7 (patch) | |
tree | 36eadc93cb0845391b00f0737a07e8633737408c /drivers/media/dvb/ttpci/budget-ci.c | |
parent | 43db48d3d2f6326c571984b7b30ab355596bb3cc (diff) |
V4L/DVB (5070): Budget-ci: add support for the Technotrend 1500 bundled remote
The keymap is based on a previous patch by Jussi Kukkonen.
This remote is identified by subsystem_device id 0x1010.
Signed-off-by: Ville-Pekka Vainio <vpivaini@cs.helsinki.fi>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/ttpci/budget-ci.c')
-rw-r--r-- | drivers/media/dvb/ttpci/budget-ci.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/drivers/media/dvb/ttpci/budget-ci.c b/drivers/media/dvb/ttpci/budget-ci.c index f2066b47baee..ea4257653318 100644 --- a/drivers/media/dvb/ttpci/budget-ci.c +++ b/drivers/media/dvb/ttpci/budget-ci.c | |||
@@ -223,7 +223,6 @@ static int msp430_ir_init(struct budget_ci *budget_ci) | |||
223 | switch (budget_ci->budget.dev->pci->subsystem_device) { | 223 | switch (budget_ci->budget.dev->pci->subsystem_device) { |
224 | case 0x100c: | 224 | case 0x100c: |
225 | case 0x100f: | 225 | case 0x100f: |
226 | case 0x1010: | ||
227 | case 0x1011: | 226 | case 0x1011: |
228 | case 0x1012: | 227 | case 0x1012: |
229 | case 0x1017: | 228 | case 0x1017: |
@@ -236,6 +235,16 @@ static int msp430_ir_init(struct budget_ci *budget_ci) | |||
236 | else | 235 | else |
237 | budget_ci->ir.rc5_device = rc5_device; | 236 | budget_ci->ir.rc5_device = rc5_device; |
238 | break; | 237 | break; |
238 | case 0x1010: | ||
239 | /* for the Technotrend 1500 bundled remote */ | ||
240 | ir_input_init(input_dev, &budget_ci->ir.state, | ||
241 | IR_TYPE_RC5, ir_codes_tt_1500); | ||
242 | |||
243 | if (rc5_device < 0) | ||
244 | budget_ci->ir.rc5_device = IR_DEVICE_ANY; | ||
245 | else | ||
246 | budget_ci->ir.rc5_device = rc5_device; | ||
247 | break; | ||
239 | default: | 248 | default: |
240 | /* unknown remote */ | 249 | /* unknown remote */ |
241 | ir_input_init(input_dev, &budget_ci->ir.state, | 250 | ir_input_init(input_dev, &budget_ci->ir.state, |