Re: [RFC 0/4] rc: ir-raw: Add encode, implement NEC encode

2014-02-10 Thread Antti Seppälä
On 10 February 2014 11:58, James Hogan wrote: > Hi Antti, > > On 08/02/14 11:30, Antti Seppälä wrote: >>> The first patch adds an encode callback to the existing raw ir handler >>> struct and a helper function to encode a scancode for a given protocol. >>> >> >> The mechanism used here to encode w

Re: [RFC 0/4] rc: ir-raw: Add encode, implement NEC encode

2014-02-10 Thread James Hogan
Hi Antti, On 08/02/14 11:30, Antti Seppälä wrote: >> The first patch adds an encode callback to the existing raw ir handler >> struct and a helper function to encode a scancode for a given protocol. >> > > The mechanism used here to encode works fine as long as there is only > one protocol select

Re: [RFC 0/4] rc: ir-raw: Add encode, implement NEC encode

2014-02-08 Thread Antti Seppälä
On 6 February 2014 21:59, James Hogan wrote: > A recent discussion about proposed interfaces for setting up the > hardware wakeup filter lead to the conclusion that it could help to have > the generic capability to encode and modulate scancodes into raw IR > events so that drivers for hardware wit

[RFC 0/4] rc: ir-raw: Add encode, implement NEC encode

2014-02-06 Thread James Hogan
A recent discussion about proposed interfaces for setting up the hardware wakeup filter lead to the conclusion that it could help to have the generic capability to encode and modulate scancodes into raw IR events so that drivers for hardware with a low level wake filter (on the level of pulse/space