Em Fri, 14 Dec 2012 22:26:31 -0200
Mauro Carvalho Chehab <mche...@redhat.com> escreveu:

> Em Fri, 14 Dec 2012 17:39:50 -0200
> Mauro Carvalho Chehab <mche...@redhat.com> escreveu:
> 
> > > Anyway, first we have to GET the bytes from the hardware. That's our
> > > current problem !
> > > And the hardware seems to need a different setup for reg 0x50 for the
> > > different NEC sub protocols.
> > > Which means that the we need to know the sub protocol BEFORE we get any
> > > bytes from the device.
> > 
> > No. All em28xx needs is to make sure that the NEC protocol will return
> > the full 32 bits scancode.
> 
> It seems a way easier/quicker to just add the proper support there at the
> driver than keep answering to this thread ;)
> 
> Tested here with a Terratec HTC stick, and using two different IR's:
>       - a Terratec IR (address code 0x14 - standard NEC);
>       - a Pixelview IR (address code 0x866b - 24 bits NEC).

Just in case, I tested also that RC5 keeps working, by using a
Hauppauge grey control:

        # ir-keytable  -c -w /etc/rc_keymaps/hauppauge 
        Read hauppauge table
        Old keytable cleared
        Wrote 136 keycode(s) to driver
        Protocols changed to RC-5 

        # sudo ir-keytable  -t 
        Testing events. Please, press CTRL-C to abort.
        1355531445.443208: event type EV_MSC(0x04): scancode = 0x1e02
        1355531445.443208: event type EV_KEY(0x01) key_down: KEY_2(0x0001)
        1355531445.443208: event type EV_SYN(0x00).
        21355531445.543207: event type EV_MSC(0x04): scancode = 0x1e02
        1355531445.543207: event type EV_SYN(0x00).
        1355531445.793072: event type EV_KEY(0x01) key_up: KEY_2(0x0001)
        1355531445.793072: event type EV_SYN(0x00).
        1355531446.643224: event type EV_MSC(0x04): scancode = 0x1e02
        1355531446.643224: event type EV_KEY(0x01) key_down: KEY_2(0x0001)
        1355531446.643224: event type EV_SYN(0x00).
        21355531446.743205: event type EV_MSC(0x04): scancode = 0x1e02
        1355531446.743205: event type EV_SYN(0x00).


Cheers,
Mauro
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to