Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 226399
b: refs/heads/master
c: b223745
h: refs/heads/master
i:
  226397: 3555ecb
  226395: 30cef43
  226391: 2c0adc7
  226383: 444ab79
  226367: 6bb6b77
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Dec 30, 2010
1 parent bfa42ee commit 1a0d676
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 61ea3aa5bf309333c6655ccef825b4a765bff219
refs/heads/master: b22374544b981b82f7319a02e6b718fc796e9cfa
12 changes: 12 additions & 0 deletions trunk/drivers/media/video/bt8xx/bttv-input.c
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,18 @@ static int get_key_pv951(struct IR_i2c *ir, u32 *ir_key, u32 *ir_raw)
return 0;
dprintk(KERN_INFO DEVNAME ": key %02x\n", b);

/*
* NOTE:
* lirc_i2c maps the pv951 code as:
* addr = 0x61D6
* cmd = bit_reverse (b)
* So, it seems that this device uses NEC extended
* I decided to not fix the table, due to two reasons:
* 1) Without the actual device, this is only a guess;
* 2) As the addr is not reported via I2C, nor can be changed,
* the device is bound to the vendor-provided RC.
*/

*ir_key = b;
*ir_raw = b;
return 1;
Expand Down

0 comments on commit 1a0d676

Please sign in to comment.