All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] module 'dell-laptop': quirk for laptop Dell Inspiron 3179: problem with keyboard controller for keys: Home, End, PgUp, PgDn
       [not found] <20170107205240.11836-1-polymorphm@gmail.com>
@ 2017-01-07 21:16 ` Matthew Garrett
  2017-01-07 21:21 ` Pali Rohár
  1 sibling, 0 replies; 2+ messages in thread
From: Matthew Garrett @ 2017-01-07 21:16 UTC (permalink / raw)
  To: Andrei Antonov
  Cc: Pali Rohár, platform-driver-x86,
	мастер
	инструкции
	о том как
	отсылать
	патчи в
	ядро (если
	что то
	виним во
	всём этого
	парня)

I think you should be able to do this by simply adding some entries to 
hwdb.d/60-keyboard.hwdb - if you set the scancodes to !, udev should 
then tell the kernel to synthesise keyup events.

-- 
Matthew Garrett | mjg59@srcf.ucam.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] module 'dell-laptop': quirk for laptop Dell Inspiron 3179: problem with keyboard controller for keys: Home, End, PgUp, PgDn
       [not found] <20170107205240.11836-1-polymorphm@gmail.com>
  2017-01-07 21:16 ` [PATCH] module 'dell-laptop': quirk for laptop Dell Inspiron 3179: problem with keyboard controller for keys: Home, End, PgUp, PgDn Matthew Garrett
@ 2017-01-07 21:21 ` Pali Rohár
  1 sibling, 0 replies; 2+ messages in thread
From: Pali Rohár @ 2017-01-07 21:21 UTC (permalink / raw)
  To: Andrei Antonov
  Cc: Matthew Garrett, platform-driver-x86,
	 мастер
	инструкции
	о том как
	отсылать
	патчи в
	ядро ( если
	что то
	виним во
	всём этого
	парня)

[-- Attachment #1: Type: Text/Plain, Size: 865 bytes --]

On Saturday 07 January 2017 21:52:40 Andrei Antonov wrote:
> +	/*
> +	 * kbd_missing_release_interrupts=1 means bug in keyboard
> controller for additional keys: +	 * Home, End, PgUp, PgDn. These
> four keys only -- from all keyboard. +	 * These keys does not send
> key-release interrupts (send key-press interrupts only). +	 *
> kbd_missing_release_interrupts=<...> (!=0) -- for other variations
> of similar issues +	 */

NACK. There is "no new force-release quirks" policy in linux kernel.

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8b8a518ef16be2de27207991e32fc32b0475c767

"force release" quirks are handled by userspace e.g. by udev rule. There 
is hwdb database where can be put DMI of problematic/broken machines 
together with keys which should be force-released.

-- 
Pali Rohár
pali.rohar@gmail.com

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-01-07 21:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20170107205240.11836-1-polymorphm@gmail.com>
2017-01-07 21:16 ` [PATCH] module 'dell-laptop': quirk for laptop Dell Inspiron 3179: problem with keyboard controller for keys: Home, End, PgUp, PgDn Matthew Garrett
2017-01-07 21:21 ` Pali Rohár

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.