Re: Reported key not released

2014-11-24 Thread Pali Rohár
On Monday 24 November 2014 21:04:33 Matthew Garrett wrote: On Sun, Nov 23, 2014 at 02:13:30PM +0100, Pali Rohár wrote: When I enable or disable this switch it correctly enable or disable devices (and also hard rfkill status is set correctly). If the switch changes the rfkill state, you

Re: Reported key not released

2014-11-24 Thread Matthew Garrett
On Mon, Nov 24, 2014 at 09:58:32PM +0100, Pali Rohár wrote: So kernel should filter i8042 atk key press events which represent HW switch? Yeah - the firmware is sending an Update rfkill state message, not a real keypress. If you're already listening for those events through a filter then

Re: Reported key not released

2014-11-24 Thread Pali Rohár
On Monday 24 November 2014 22:51:47 Matthew Garrett wrote: On Mon, Nov 24, 2014 at 09:58:32PM +0100, Pali Rohár wrote: So kernel should filter i8042 atk key press events which represent HW switch? Yeah - the firmware is sending an Update rfkill state message, not a real keypress. If

Reported key not released

2014-11-23 Thread Pali Rohár
Hello, my laptop (Dell Latitude E6440) has HW switch which for disabling some radio devices (bluetooth, wifi, 3g; list of devices can be configured in BIOS). When I enable or disable this switch it correctly enable or disable devices (and also hard rfkill status is set correctly). But