----- Original Message -----

>> And this seems to reset the protocol back to "unknown". (But I need to use 
>> this other remote control to use VDR - the PCTV one just doesn't have enough 
>> buttons).

> Ok, then it seems to be no em28xx issue.
> What happens with kernel 3.8 ? Does ir-keytable trigger an
> em28xx_ir_change_protocol() call there, too, but with type=8 ? Or is this 
> call missing ?

Possibly the significant difference between 3.8 and 3.9 is that the 
em2874_polling_getkey() function in 3.8 can only do one thing, whereas in 3.9 
its behaviour switches on ir->rc_type.

The 3.9 version of em28xx_ir_change_protocol() also sets ir->rc_type to 
*rc_type before it exits, which means that the RC framework will "unconfigure" 
the em28xx remote control if it were to send RC_BIT_UNKNOWN for any reason.

And "yes", the 3.8 kernel does seem to call em28xx_ir_change_protocol() with 
*rc_type = RC_BIT_UNKNOWN occasionally too. It's just that under 3.8, the 
em28xx neither noticed nor cared.

Cheers,
Chris
--
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