cx88-input.c 13.6 KB
Newer Older
L
Linus Torvalds 已提交
1 2 3 4 5 6 7
/*
 *
 * Device driver for GPIO attached remote control interfaces
 * on Conexant 2388x based TV/DVB cards.
 *
 * Copyright (c) 2003 Pavel Machek
 * Copyright (c) 2004 Gerd Knorr
8
 * Copyright (c) 2004, 2005 Chris Pascoe
L
Linus Torvalds 已提交
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 */

#include <linux/init.h>
#include <linux/delay.h>
#include <linux/input.h>
#include <linux/pci.h>
#include <linux/module.h>

#include "cx88.h"
32
#include <media/ir-common.h>
L
Linus Torvalds 已提交
33 34 35 36

/* ---------------------------------------------------------------------- */

struct cx88_IR {
M
Mauro Carvalho Chehab 已提交
37
	struct cx88_core *core;
38
	struct input_dev *input;
M
Mauro Carvalho Chehab 已提交
39 40 41
	struct ir_input_state ir;
	char name[32];
	char phys[32];
L
Linus Torvalds 已提交
42 43

	/* sample from gpio pin 16 */
44
	u32 sampling;
M
Mauro Carvalho Chehab 已提交
45 46 47
	u32 samples[16];
	int scount;
	unsigned long release;
L
Linus Torvalds 已提交
48 49

	/* poll external decoder */
M
Mauro Carvalho Chehab 已提交
50
	int polling;
51
	struct delayed_work work;
M
Mauro Carvalho Chehab 已提交
52 53 54 55 56
	u32 gpio_addr;
	u32 last_gpio;
	u32 mask_keycode;
	u32 mask_keydown;
	u32 mask_keyup;
L
Linus Torvalds 已提交
57 58
};

59
static int ir_debug;
M
Mauro Carvalho Chehab 已提交
60
module_param(ir_debug, int, 0644);	/* debug level [IR] */
L
Linus Torvalds 已提交
61 62 63
MODULE_PARM_DESC(ir_debug, "enable debug messages [IR]");

#define ir_dprintk(fmt, arg...)	if (ir_debug) \
64
	printk(KERN_DEBUG "%s IR: " fmt , ir->core->name , ##arg)
L
Linus Torvalds 已提交
65 66 67 68 69 70

/* ---------------------------------------------------------------------- */

static void cx88_ir_handle_key(struct cx88_IR *ir)
{
	struct cx88_core *core = ir->core;
71
	u32 gpio, data, auxgpio;
L
Linus Torvalds 已提交
72 73 74

	/* read gpio value */
	gpio = cx_read(ir->gpio_addr);
75
	switch (core->boardnr) {
76
	case CX88_BOARD_NPGTECH_REALTV_TOP10FM:
77 78 79 80 81 82 83 84 85 86 87 88 89 90
		/* This board apparently uses a combination of 2 GPIO
		   to represent the keys. Additionally, the second GPIO
		   can be used for parity.

		   Example:

		   for key "5"
			gpio = 0x758, auxgpio = 0xe5 or 0xf5
		   for key "Power"
			gpio = 0x758, auxgpio = 0xed or 0xfd
		 */

		auxgpio = cx_read(MO_GP1_IO);
		/* Take out the parity part */
91
		gpio=(gpio & 0x7fd) + (auxgpio & 0xef);
92 93
		break;
	case CX88_BOARD_WINFAST_DTV1000:
94
	case CX88_BOARD_WINFAST_TV2000_XP_GLOBAL:
95 96
		gpio = (gpio & 0x6ff) | ((cx_read(MO_GP1_IO) << 8) & 0x900);
		auxgpio = gpio;
97 98
		break;
	default:
99
		auxgpio = gpio;
100
	}
L
Linus Torvalds 已提交
101
	if (ir->polling) {
102
		if (ir->last_gpio == auxgpio)
L
Linus Torvalds 已提交
103
			return;
104
		ir->last_gpio = auxgpio;
L
Linus Torvalds 已提交
105 106 107 108 109
	}

	/* extract data */
	data = ir_extract_bits(gpio, ir->mask_keycode);
	ir_dprintk("irq gpio=0x%x code=%d | %s%s%s\n",
M
Mauro Carvalho Chehab 已提交
110 111 112 113
		   gpio, data,
		   ir->polling ? "poll" : "irq",
		   (gpio & ir->mask_keydown) ? " down" : "",
		   (gpio & ir->mask_keyup) ? " up" : "");
L
Linus Torvalds 已提交
114

115
	if (ir->core->boardnr == CX88_BOARD_NORWOOD_MICRO) {
116 117 118 119 120 121 122 123
		u32 gpio_key = cx_read(MO_GP0_IO);

		data = (data << 4) | ((gpio_key & 0xf0) >> 4);

		ir_input_keydown(ir->input, &ir->ir, data, data);
		ir_input_nokey(ir->input, &ir->ir);

	} else if (ir->mask_keydown) {
L
Linus Torvalds 已提交
124 125
		/* bit set on keydown */
		if (gpio & ir->mask_keydown) {
126
			ir_input_keydown(ir->input, &ir->ir, data, data);
L
Linus Torvalds 已提交
127
		} else {
128
			ir_input_nokey(ir->input, &ir->ir);
L
Linus Torvalds 已提交
129 130 131 132 133
		}

	} else if (ir->mask_keyup) {
		/* bit cleared on keydown */
		if (0 == (gpio & ir->mask_keyup)) {
134
			ir_input_keydown(ir->input, &ir->ir, data, data);
L
Linus Torvalds 已提交
135
		} else {
136
			ir_input_nokey(ir->input, &ir->ir);
L
Linus Torvalds 已提交
137 138 139 140
		}

	} else {
		/* can't distinguish keydown/up :-/ */
141 142
		ir_input_keydown(ir->input, &ir->ir, data, data);
		ir_input_nokey(ir->input, &ir->ir);
L
Linus Torvalds 已提交
143 144 145
	}
}

D
David Howells 已提交
146
static void cx88_ir_work(struct work_struct *work)
L
Linus Torvalds 已提交
147
{
148
	struct cx88_IR *ir = container_of(work, struct cx88_IR, work.work);
L
Linus Torvalds 已提交
149 150

	cx88_ir_handle_key(ir);
151
	schedule_delayed_work(&ir->work, msecs_to_jiffies(ir->polling));
L
Linus Torvalds 已提交
152 153
}

154
void cx88_ir_start(struct cx88_core *core, struct cx88_IR *ir)
155 156
{
	if (ir->polling) {
157 158
		INIT_DELAYED_WORK(&ir->work, cx88_ir_work);
		schedule_delayed_work(&ir->work, 0);
159 160
	}
	if (ir->sampling) {
161
		core->pci_irqmask |= PCI_INT_IR_SMPINT;
162 163 164 165 166
		cx_write(MO_DDS_IO, 0xa80a80);	/* 4 kHz sample rate */
		cx_write(MO_DDSCFG_IO, 0x5);	/* enable */
	}
}

167
void cx88_ir_stop(struct cx88_core *core, struct cx88_IR *ir)
168 169 170
{
	if (ir->sampling) {
		cx_write(MO_DDSCFG_IO, 0x0);
171
		core->pci_irqmask &= ~PCI_INT_IR_SMPINT;
172 173
	}

174 175
	if (ir->polling)
		cancel_delayed_work_sync(&ir->work);
176 177
}

L
Linus Torvalds 已提交
178 179 180 181 182
/* ---------------------------------------------------------------------- */

int cx88_ir_init(struct cx88_core *core, struct pci_dev *pci)
{
	struct cx88_IR *ir;
183
	struct input_dev *input_dev;
L
Linus Torvalds 已提交
184 185
	IR_KEYTAB_TYPE *ir_codes = NULL;
	int ir_type = IR_TYPE_OTHER;
186
	int err = -ENOMEM;
L
Linus Torvalds 已提交
187

188 189
	ir = kzalloc(sizeof(*ir), GFP_KERNEL);
	input_dev = input_allocate_device();
190 191
	if (!ir || !input_dev)
		goto err_out_free;
192 193

	ir->input = input_dev;
L
Linus Torvalds 已提交
194 195

	/* detect & configure */
196
	switch (core->boardnr) {
L
Linus Torvalds 已提交
197
	case CX88_BOARD_DNTV_LIVE_DVB_T:
198
	case CX88_BOARD_KWORLD_DVB_T:
199
	case CX88_BOARD_KWORLD_DVB_T_CX22702:
M
Mauro Carvalho Chehab 已提交
200 201
		ir_codes = ir_codes_dntv_live_dvb_t;
		ir->gpio_addr = MO_GP1_IO;
L
Linus Torvalds 已提交
202
		ir->mask_keycode = 0x1f;
M
Mauro Carvalho Chehab 已提交
203 204
		ir->mask_keyup = 0x60;
		ir->polling = 50; /* ms */
L
Linus Torvalds 已提交
205
		break;
206 207 208
	case CX88_BOARD_TERRATEC_CINERGY_1400_DVB_T1:
		ir_codes = ir_codes_cinergy_1400;
		ir_type = IR_TYPE_PD;
209
		ir->sampling = 0xeb04; /* address */
210
		break;
L
Linus Torvalds 已提交
211 212
	case CX88_BOARD_HAUPPAUGE:
	case CX88_BOARD_HAUPPAUGE_DVB_T1:
213 214
	case CX88_BOARD_HAUPPAUGE_NOVASE2_S1:
	case CX88_BOARD_HAUPPAUGE_NOVASPLUS_S1:
215
	case CX88_BOARD_HAUPPAUGE_HVR1100:
216
	case CX88_BOARD_HAUPPAUGE_HVR3000:
217 218
	case CX88_BOARD_HAUPPAUGE_HVR4000:
	case CX88_BOARD_HAUPPAUGE_HVR4000LITE:
219 220
	case CX88_BOARD_PCHDTV_HD3000:
	case CX88_BOARD_PCHDTV_HD5500:
221
	case CX88_BOARD_HAUPPAUGE_IRONLY:
M
Mauro Carvalho Chehab 已提交
222 223 224
		ir_codes = ir_codes_hauppauge_new;
		ir_type = IR_TYPE_RC5;
		ir->sampling = 1;
L
Linus Torvalds 已提交
225
		break;
226
	case CX88_BOARD_WINFAST_DTV2000H:
M
Mauro Carvalho Chehab 已提交
227 228
		ir_codes = ir_codes_winfast;
		ir->gpio_addr = MO_GP0_IO;
L
Linus Torvalds 已提交
229
		ir->mask_keycode = 0x8f8;
M
Mauro Carvalho Chehab 已提交
230
		ir->mask_keyup = 0x100;
231
		ir->polling = 50; /* ms */
L
Linus Torvalds 已提交
232
		break;
233
	case CX88_BOARD_WINFAST2000XP_EXPERT:
234
	case CX88_BOARD_WINFAST_DTV1000:
235
	case CX88_BOARD_WINFAST_TV2000_XP_GLOBAL:
236 237 238 239 240 241
		ir_codes = ir_codes_winfast;
		ir->gpio_addr = MO_GP0_IO;
		ir->mask_keycode = 0x8f8;
		ir->mask_keyup = 0x100;
		ir->polling = 1; /* ms */
		break;
L
Linus Torvalds 已提交
242
	case CX88_BOARD_IODATA_GVBCTV7E:
M
Mauro Carvalho Chehab 已提交
243 244
		ir_codes = ir_codes_iodata_bctv7e;
		ir->gpio_addr = MO_GP0_IO;
L
Linus Torvalds 已提交
245 246
		ir->mask_keycode = 0xfd;
		ir->mask_keydown = 0x02;
M
Mauro Carvalho Chehab 已提交
247
		ir->polling = 5; /* ms */
L
Linus Torvalds 已提交
248
		break;
249
	case CX88_BOARD_PROLINK_PLAYTVPVR:
250
	case CX88_BOARD_PIXELVIEW_PLAYTV_ULTRA_PRO:
M
Mauro Carvalho Chehab 已提交
251 252
		ir_codes = ir_codes_pixelview;
		ir->gpio_addr = MO_GP1_IO;
253
		ir->mask_keycode = 0x1f;
M
Mauro Carvalho Chehab 已提交
254 255
		ir->mask_keyup = 0x80;
		ir->polling = 1; /* ms */
256
		break;
257
	case CX88_BOARD_PROLINK_PV_8000GT:
258
	case CX88_BOARD_PROLINK_PV_GLOBAL_XTREME:
259 260 261 262 263 264
		ir_codes = ir_codes_pixelview_new;
		ir->gpio_addr = MO_GP1_IO;
		ir->mask_keycode = 0x3f;
		ir->mask_keyup = 0x80;
		ir->polling = 1; /* ms */
		break;
265 266 267 268 269 270 271
	case CX88_BOARD_KWORLD_LTV883:
		ir_codes = ir_codes_pixelview;
		ir->gpio_addr = MO_GP1_IO;
		ir->mask_keycode = 0x1f;
		ir->mask_keyup = 0x60;
		ir->polling = 1; /* ms */
		break;
M
Mauro Carvalho Chehab 已提交
272
	case CX88_BOARD_ADSTECH_DVB_T_PCI:
M
Mauro Carvalho Chehab 已提交
273 274
		ir_codes = ir_codes_adstech_dvb_t_pci;
		ir->gpio_addr = MO_GP1_IO;
M
Mauro Carvalho Chehab 已提交
275
		ir->mask_keycode = 0xbf;
M
Mauro Carvalho Chehab 已提交
276 277 278 279 280 281 282 283 284
		ir->mask_keyup = 0x40;
		ir->polling = 50; /* ms */
		break;
	case CX88_BOARD_MSI_TVANYWHERE_MASTER:
		ir_codes = ir_codes_msi_tvanywhere;
		ir->gpio_addr = MO_GP1_IO;
		ir->mask_keycode = 0x1f;
		ir->mask_keyup = 0x40;
		ir->polling = 1; /* ms */
M
Mauro Carvalho Chehab 已提交
285
		break;
286
	case CX88_BOARD_AVERTV_303:
287
	case CX88_BOARD_AVERTV_STUDIO_303:
288 289 290 291 292 293
		ir_codes         = ir_codes_avertv_303;
		ir->gpio_addr    = MO_GP2_IO;
		ir->mask_keycode = 0xfb;
		ir->mask_keydown = 0x02;
		ir->polling      = 50; /* ms */
		break;
294 295 296 297 298
	case CX88_BOARD_DNTV_LIVE_DVB_T_PRO:
		ir_codes = ir_codes_dntv_live_dvbt_pro;
		ir_type = IR_TYPE_PD;
		ir->sampling = 0xff00; /* address */
		break;
299 300 301 302 303 304 305
	case CX88_BOARD_NORWOOD_MICRO:
		ir_codes         = ir_codes_norwood;
		ir->gpio_addr    = MO_GP1_IO;
		ir->mask_keycode = 0x0e;
		ir->mask_keyup   = 0x80;
		ir->polling      = 50; /* ms */
		break;
306
	case CX88_BOARD_NPGTECH_REALTV_TOP10FM:
307 308 309 310 311
		ir_codes = ir_codes_npgtech;
		ir->gpio_addr = MO_GP0_IO;
		ir->mask_keycode = 0xfa;
		ir->polling = 50; /* ms */
		break;
312 313 314 315 316
	case CX88_BOARD_PINNACLE_PCTV_HD_800i:
		ir_codes = ir_codes_pinnacle_pctv_hd;
		ir_type = IR_TYPE_RC5;
		ir->sampling = 1;
		break;
317 318 319 320 321 322
	case CX88_BOARD_POWERCOLOR_REAL_ANGEL:
		ir_codes = ir_codes_powercolor_real_angel;
		ir->gpio_addr = MO_GP2_IO;
		ir->mask_keycode = 0x7e;
		ir->polling = 100; /* ms */
		break;
L
Linus Torvalds 已提交
323
	}
324

L
Linus Torvalds 已提交
325
	if (NULL == ir_codes) {
326 327
		err = -ENODEV;
		goto err_out_free;
L
Linus Torvalds 已提交
328 329 330
	}

	/* init input device */
331
	snprintf(ir->name, sizeof(ir->name), "cx88 IR (%s)", core->board.name);
M
Mauro Carvalho Chehab 已提交
332
	snprintf(ir->phys, sizeof(ir->phys), "pci-%s/ir0", pci_name(pci));
L
Linus Torvalds 已提交
333

334 335 336 337 338
	ir_input_init(input_dev, &ir->ir, ir_type, ir_codes);
	input_dev->name = ir->name;
	input_dev->phys = ir->phys;
	input_dev->id.bustype = BUS_PCI;
	input_dev->id.version = 1;
L
Linus Torvalds 已提交
339
	if (pci->subsystem_vendor) {
340 341
		input_dev->id.vendor = pci->subsystem_vendor;
		input_dev->id.product = pci->subsystem_device;
L
Linus Torvalds 已提交
342
	} else {
343 344
		input_dev->id.vendor = pci->vendor;
		input_dev->id.product = pci->device;
L
Linus Torvalds 已提交
345
	}
346
	input_dev->dev.parent = &pci->dev;
L
Linus Torvalds 已提交
347 348 349 350
	/* record handles to ourself */
	ir->core = core;
	core->ir = ir;

351
	cx88_ir_start(core, ir);
L
Linus Torvalds 已提交
352 353

	/* all done */
354 355 356
	err = input_register_device(ir->input);
	if (err)
		goto err_out_stop;
L
Linus Torvalds 已提交
357 358

	return 0;
359 360 361 362 363 364 365 366

 err_out_stop:
	cx88_ir_stop(core, ir);
	core->ir = NULL;
 err_out_free:
	input_free_device(input_dev);
	kfree(ir);
	return err;
L
Linus Torvalds 已提交
367 368 369 370 371 372 373 374 375 376
}

int cx88_ir_fini(struct cx88_core *core)
{
	struct cx88_IR *ir = core->ir;

	/* skip detach on non attached boards */
	if (NULL == ir)
		return 0;

377
	cx88_ir_stop(core, ir);
378
	input_unregister_device(ir->input);
L
Linus Torvalds 已提交
379 380 381 382 383 384 385 386 387 388 389 390
	kfree(ir);

	/* done */
	core->ir = NULL;
	return 0;
}

/* ---------------------------------------------------------------------- */

void cx88_ir_irq(struct cx88_core *core)
{
	struct cx88_IR *ir = core->ir;
391
	u32 samples, ircode;
392
	int i, start, range, toggle, dev, code;
L
Linus Torvalds 已提交
393 394 395 396 397 398 399

	if (NULL == ir)
		return;
	if (!ir->sampling)
		return;

	samples = cx_read(MO_SAMPLE_IO);
M
Mauro Carvalho Chehab 已提交
400
	if (0 != samples && 0xffffffff != samples) {
L
Linus Torvalds 已提交
401 402 403 404 405 406 407
		/* record sample data */
		if (ir->scount < ARRAY_SIZE(ir->samples))
			ir->samples[ir->scount++] = samples;
		return;
	}
	if (!ir->scount) {
		/* nothing to sample */
M
Mauro Carvalho Chehab 已提交
408
		if (ir->ir.keypressed && time_after(jiffies, ir->release))
409
			ir_input_nokey(ir->input, &ir->ir);
L
Linus Torvalds 已提交
410 411 412 413 414 415 416 417 418
		return;
	}

	/* have a complete sample */
	if (ir->scount < ARRAY_SIZE(ir->samples))
		ir->samples[ir->scount++] = samples;
	for (i = 0; i < ir->scount; i++)
		ir->samples[i] = ~ir->samples[i];
	if (ir_debug)
M
Mauro Carvalho Chehab 已提交
419
		ir_dump_samples(ir->samples, ir->scount);
L
Linus Torvalds 已提交
420 421

	/* decode it */
422
	switch (core->boardnr) {
423
	case CX88_BOARD_TERRATEC_CINERGY_1400_DVB_T1:
424
	case CX88_BOARD_DNTV_LIVE_DVB_T_PRO:
425 426 427 428 429 430 431 432 433 434 435 436 437 438 439
		ircode = ir_decode_pulsedistance(ir->samples, ir->scount, 1, 4);

		if (ircode == 0xffffffff) { /* decoding error */
			ir_dprintk("pulse distance decoding error\n");
			break;
		}

		ir_dprintk("pulse distance decoded: %x\n", ircode);

		if (ircode == 0) { /* key still pressed */
			ir_dprintk("pulse distance decoded repeat code\n");
			ir->release = jiffies + msecs_to_jiffies(120);
			break;
		}

440
		if ((ircode & 0xffff) != (ir->sampling & 0xffff)) { /* wrong address */
441
			ir_dprintk("pulse distance decoded wrong address\n");
442
			break;
443 444 445 446 447 448 449 450 451
		}

		if (((~ircode >> 24) & 0xff) != ((ircode >> 16) & 0xff)) { /* wrong checksum */
			ir_dprintk("pulse distance decoded wrong check sum\n");
			break;
		}

		ir_dprintk("Key Code: %x\n", (ircode >> 16) & 0x7f);

452
		ir_input_keydown(ir->input, &ir->ir, (ircode >> 16) & 0x7f, (ircode >> 16) & 0xff);
453 454
		ir->release = jiffies + msecs_to_jiffies(120);
		break;
L
Linus Torvalds 已提交
455 456
	case CX88_BOARD_HAUPPAUGE:
	case CX88_BOARD_HAUPPAUGE_DVB_T1:
457 458
	case CX88_BOARD_HAUPPAUGE_NOVASE2_S1:
	case CX88_BOARD_HAUPPAUGE_NOVASPLUS_S1:
C
 
Chris Pascoe 已提交
459
	case CX88_BOARD_HAUPPAUGE_HVR1100:
460
	case CX88_BOARD_HAUPPAUGE_HVR3000:
461 462
	case CX88_BOARD_HAUPPAUGE_HVR4000:
	case CX88_BOARD_HAUPPAUGE_HVR4000LITE:
463 464
	case CX88_BOARD_PCHDTV_HD3000:
	case CX88_BOARD_PCHDTV_HD5500:
465
	case CX88_BOARD_HAUPPAUGE_IRONLY:
466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492
		ircode = ir_decode_biphase(ir->samples, ir->scount, 5, 7);
		ir_dprintk("biphase decoded: %x\n", ircode);
		/*
		 * RC5 has an extension bit which adds a new range
		 * of available codes, this is detected here. Also
		 * hauppauge remotes (black/silver) always use
		 * specific device ids. If we do not filter the
		 * device ids then messages destined for devices
		 * such as TVs (id=0) will get through to the
		 * device causing mis-fired events.
		 */
		/* split rc5 data block ... */
		start = (ircode & 0x2000) >> 13;
		range = (ircode & 0x1000) >> 12;
		toggle= (ircode & 0x0800) >> 11;
		dev   = (ircode & 0x07c0) >> 6;
		code  = (ircode & 0x003f) | ((range << 6) ^ 0x0040);
		if( start != 1)
			/* no key pressed */
			break;
		if ( dev != 0x1e && dev != 0x1f )
			/* not a hauppauge remote */
			break;
		ir_input_keydown(ir->input, &ir->ir, code, ircode);
		ir->release = jiffies + msecs_to_jiffies(120);
		break;
	case CX88_BOARD_PINNACLE_PCTV_HD_800i:
493 494 495
		ircode = ir_decode_biphase(ir->samples, ir->scount, 5, 7);
		ir_dprintk("biphase decoded: %x\n", ircode);
		if ((ircode & 0xfffff000) != 0x3000)
L
Linus Torvalds 已提交
496
			break;
497
		ir_input_keydown(ir->input, &ir->ir, ircode & 0x3f, ircode);
L
Linus Torvalds 已提交
498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515
		ir->release = jiffies + msecs_to_jiffies(120);
		break;
	}

	ir->scount = 0;
	return;
}

/* ---------------------------------------------------------------------- */

MODULE_AUTHOR("Gerd Knorr, Pavel Machek, Chris Pascoe");
MODULE_DESCRIPTION("input driver for cx88 GPIO-based IR remote controls");
MODULE_LICENSE("GPL");
/*
 * Local variables:
 * c-basic-offset: 8
 * End:
 */