Re: bisected: IR press/release behavior changed in 3.17, repeat events

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 20, 2014 at 12:20:55AM +0100, Stephan Raue wrote:
>with kernel 3.17: (you dont see the messages with "toggle 1" here)
>if i press once and wait:

Ummm...kinda embarassing...try swapping the order of the scancode and
toggle lines in the rc6 decoder (drivers/media/rc/ir-rc6-decoder.c).

They're somewhere around line 259, right after the case 32 statement.

case 32:
	if ((scancode & RC6_6A_LCC_MASK) == RC6_6A_MCE_CC) {
		protocol = RC_TYPE_RC6_MCE;
                scancode &= ~RC6_6A_MCE_TOGGLE_MASK;
		toggle = !!(scancode & RC6_6A_MCE_TOGGLE_MASK);


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




[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux