Re: Trying to use IR driver for my SoC

2017-07-12 Thread Sean Young
On Tue, Jul 11, 2017 at 11:51:02PM +0200, Mason wrote: > On 11/07/2017 20:35, Sean Young wrote: > > > Mason wrote: > > > >> Repeating the test (pressing '1' for one second) with ir-keytable: > >> > >> # ir-keytable -p all -t -v > >> Found device /sys/class/rc/rc0/ > >> Input sysfs node is

Re: Trying to use IR driver for my SoC

2017-07-11 Thread Mason
On 11/07/2017 20:35, Sean Young wrote: > Mason wrote: > >> Repeating the test (pressing '1' for one second) with ir-keytable: >> >> # ir-keytable -p all -t -v >> Found device /sys/class/rc/rc0/ >> Input sysfs node is /sys/class/rc/rc0/input0/ >> Event sysfs node is

Re: Trying to use IR driver for my SoC

2017-07-11 Thread Sean Young
On Mon, Jul 10, 2017 at 10:40:04AM +0200, Mason wrote: > On 29/06/2017 21:44, Sean Young wrote: > > > On Thu, Jun 29, 2017 at 09:12:48PM +0200, Mason wrote: > > > >> On 29/06/2017 19:50, Sean Young wrote: > >> > >>> On Thu, Jun 29, 2017 at 06:25:55PM +0200, Mason wrote: > >>> > $ ir-keytable

Re: Trying to use IR driver for my SoC

2017-07-10 Thread Mason
On 29/06/2017 21:44, Sean Young wrote: > On Thu, Jun 29, 2017 at 09:12:48PM +0200, Mason wrote: > >> On 29/06/2017 19:50, Sean Young wrote: >> >>> On Thu, Jun 29, 2017 at 06:25:55PM +0200, Mason wrote: >>> $ ir-keytable -v -t Found device /sys/class/rc/rc0/ Input sysfs node is

Re: Trying to use IR driver for my SoC

2017-07-05 Thread Mason
On 29/06/2017 19:50, Sean Young wrote: > The only thing that stands out is RC5_TIME_BASE. If that is the bit > length or shortest pulse/space? In the latter case it should be 888 usec. IR_RC5_DECODER_CLK_DIV Length of 1 bit of the RC5 code in units of 27 MHz clks Default value = 0xbb86 =>

Re: Trying to use IR driver for my SoC

2017-06-29 Thread Sean Young
On Thu, Jun 29, 2017 at 09:12:48PM +0200, Mason wrote: > On 29/06/2017 19:50, Sean Young wrote: > > > On Thu, Jun 29, 2017 at 06:25:55PM +0200, Mason wrote: > > > >> $ ir-keytable -v -t > >> Found device /sys/class/rc/rc0/ > >> Input sysfs node is /sys/class/rc/rc0/input0/ > >> Event sysfs node

Re: Trying to use IR driver for my SoC

2017-06-29 Thread Mason
On 29/06/2017 19:50, Sean Young wrote: > On Thu, Jun 29, 2017 at 06:25:55PM +0200, Mason wrote: > >> $ ir-keytable -v -t >> Found device /sys/class/rc/rc0/ >> Input sysfs node is /sys/class/rc/rc0/input0/ >> Event sysfs node is /sys/class/rc/rc0/input0/event0/ >> Parsing uevent

Re: Trying to use IR driver for my SoC

2017-06-29 Thread Sean Young
On Thu, Jun 29, 2017 at 06:25:55PM +0200, Mason wrote: > On 29/06/2017 17:55, Sean Young wrote: > > > On Thu, Jun 29, 2017 at 05:29:01PM +0200, Mason wrote: > > > >> I'm trying to use an IR driver written for my SoC: > >>

Re: Trying to use IR driver for my SoC

2017-06-29 Thread Mason
Hello, On 29/06/2017 17:55, Sean Young wrote: > On Thu, Jun 29, 2017 at 05:29:01PM +0200, Mason wrote: > >> I'm trying to use an IR driver written for my SoC: >> https://github.com/mansr/linux-tangox/blob/master/drivers/media/rc/tangox-ir.c >> >> I added these options to my defconfig: >> >>

Re: Trying to use IR driver for my SoC

2017-06-29 Thread Sean Young
Hello, On Thu, Jun 29, 2017 at 05:29:01PM +0200, Mason wrote: > I'm trying to use an IR driver written for my SoC: > https://github.com/mansr/linux-tangox/blob/master/drivers/media/rc/tangox-ir.c > > I added these options to my defconfig: > > +CONFIG_MEDIA_SUPPORT=y > +CONFIG_MEDIA_RC_SUPPORT=y

Re: Trying to use IR driver for my SoC

2017-06-29 Thread Mason
On 29/06/2017 17:29, Mason wrote: > I suppose I am missing some important piece of the puzzle? > I hope someone can point me in the right direction. FWIW, $ ir-keytable -v Found device /sys/class/rc/rc0/ Input sysfs node is /sys/class/rc/rc0/input0/ Couldn't find any node at

Trying to use IR driver for my SoC

2017-06-29 Thread Mason
Hello, I'm trying to use an IR driver written for my SoC: https://github.com/mansr/linux-tangox/blob/master/drivers/media/rc/tangox-ir.c I added these options to my defconfig: +CONFIG_MEDIA_SUPPORT=y +CONFIG_MEDIA_RC_SUPPORT=y +CONFIG_RC_DEVICES=y +CONFIG_IR_TANGO=y (I don't think I need the