lkml.org 
[lkml]   [2009]   [Dec]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC v2] Another approach to IR
Jon Smirl wrote:

> IR devices transmit vendor/device/command triplets. They are easy to
> tell apart and create an evdev device corresponding to each
> vendor/device pair or something else along those lines.

What they transmit depend on the used protocol. With NEC and RC5 (currently, the
most common protocols), they transmit only address (TV, VCR, SAT) and command.

If you have two IR's that not fully follow RC5 standard, they may use distinct
addresses. So, if you're lucky enough, you'll be able to guess the IR vendor,
based on the 8 bit address code.

I think that you can get the vendor only with RC6 IR's on some modes.
In the case of RC6, as pointed by Andy, there are some patents envolved,
meaning that we probably will need to decode it on userspace, except if
someone can get the proper patent rights for its used on Linux.

Cheers,
Mauro.



\
 
 \ /
  Last update: 2009-12-02 21:51    [W:0.144 / U:0.196 seconds]
©2003-2014 Jasper Spaans. Advertise on this site