Re: [RFC PATCH 2/3] ir-rc5-sz: Add ir encoding support

2014-02-27 Thread James Hogan
On Sunday 16 February 2014 19:04:01 Antti Seppälä wrote: > On 12 February 2014 01:39, James Hogan wrote: > > On Tuesday 11 February 2014 20:14:19 Antti Seppälä wrote: > >> Are you working on the wakeup protocol selector sysfs interface? > > > > I gave it a try yesterday, but it's a bit of a work

Re: [RFC PATCH 2/3] ir-rc5-sz: Add ir encoding support

2014-02-16 Thread Antti Seppälä
On 12 February 2014 01:39, James Hogan wrote: > On Tuesday 11 February 2014 20:14:19 Antti Seppälä wrote: >> Are you working on the wakeup protocol selector sysfs interface? > > I gave it a try yesterday, but it's a bit of a work in progress at the moment. > It's also a bit more effort for img-ir

Re: [RFC PATCH 2/3] ir-rc5-sz: Add ir encoding support

2014-02-11 Thread James Hogan
On Tuesday 11 February 2014 20:14:19 Antti Seppälä wrote: > On 10 February 2014 22:50, James Hogan wrote: > >> > I suspect it needs some more space at the end too, to be sure that no > >> > more bits afterwards are accepted. > >> > >> I'm sorry but I'm not sure I completely understood what you me

Re: [RFC PATCH 2/3] ir-rc5-sz: Add ir encoding support

2014-02-11 Thread Antti Seppälä
On 10 February 2014 22:50, James Hogan wrote: >> > I suspect it needs some more space at the end too, to be sure that no >> > more bits afterwards are accepted. >> >> I'm sorry but I'm not sure I completely understood what you meant >> here. For RC-5-SZ the entire scancode gets encoded and nothing

Re: [RFC PATCH 2/3] ir-rc5-sz: Add ir encoding support

2014-02-10 Thread James Hogan
Hi Antti, On Monday 10 February 2014 22:09:33 Antti Seppälä wrote: > >> +static int ir_rc5_sz_encode(u64 protocols, > >> + const struct rc_scancode_filter *scancode, > >> + struct ir_raw_event *events, unsigned int max) > >> +{ > >> + int ret; >

Re: [RFC PATCH 2/3] ir-rc5-sz: Add ir encoding support

2014-02-10 Thread Antti Seppälä
Hi James. On 10 February 2014 12:30, James Hogan wrote: > Hi Antti, > > On 08/02/14 12:07, Antti Seppälä wrote: >> The encoding in rc5-sz first inserts a pulse and then simply utilizes the >> generic Manchester encoder available in rc-core. >> >> Signed-off-by: Antti Seppälä >> --- >> drivers/m

Re: [RFC PATCH 2/3] ir-rc5-sz: Add ir encoding support

2014-02-10 Thread James Hogan
Hi Antti, On 08/02/14 12:07, Antti Seppälä wrote: > The encoding in rc5-sz first inserts a pulse and then simply utilizes the > generic Manchester encoder available in rc-core. > > Signed-off-by: Antti Seppälä > --- > drivers/media/rc/ir-rc5-sz-decoder.c | 35 +++

[RFC PATCH 2/3] ir-rc5-sz: Add ir encoding support

2014-02-08 Thread Antti Seppälä
The encoding in rc5-sz first inserts a pulse and then simply utilizes the generic Manchester encoder available in rc-core. Signed-off-by: Antti Seppälä --- drivers/media/rc/ir-rc5-sz-decoder.c | 35 +++ 1 file changed, 35 insertions(+) diff --git a/drivers/media/