All of lore.kernel.org
 help / color / mirror / Atom feed
* New dell-wireless driver
@ 2014-11-22 22:45 Pali Rohár
  2014-11-22  2:09 ` Darren Hart
  0 siblings, 1 reply; 15+ messages in thread
From: Pali Rohár @ 2014-11-22 22:45 UTC (permalink / raw)
  To: Alex Hung, Darren Hart, Matthew Garrett
  Cc: platform-driver-x86, Gabriele Mazzotta

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

Hello,

I saw dell-wireless driver on platform-driver-x86 mailinglist [1] 
which using DELLABCE acpi device and I do not like some parts in 
this driver.

First is that this driver export rfkill event as keypress which 
is also reported to userspace by keyboard controller. So then 
userspace receive two rfkill keypresses.

Second is that DELLABCE acpi device can also control "soft" 
rfkill status and this driver does not enable it because it use 
input class instead rfkill.

Anyway I have unfinished my version of DELLABCE acpi driver which 
will use rfkill interface and plus allow to use hw switch events 
in dell-laptop.ko driver.

Currently dell-laptop.ko driver is using i8042 hook function for 
detecting hw switch key press event. It is needed to detect if 
rfkill state was changed or not.

My prepared patches for dell-laptop.ko allows to use acpi event 
from DELLABCE driver, so i8042 hook function can be dropped. 
Really it is not good idea to pass every PS/2 data from both 
keyboard, touchpad and trackpoint to dell-laptop driver and if 
there is alternative (DELLABCE) it is better to use it.

But now I would like to hear what do you think about it.

Because only one kernel driver can attach to DELLABCE acpi 
device, I cannot use new dell-wireless driver. And I think only 
one driver can hit mainline kernel.

[1] - 
http://thread.gmane.org/gmane.linux.drivers.platform.x86.devel/6036

-- 
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] 15+ messages in thread

end of thread, other threads:[~2014-12-04  9:57 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-22 22:45 New dell-wireless driver Pali Rohár
2014-11-22  2:09 ` Darren Hart
2014-11-23  0:52   ` Pali Rohár
2014-11-22  3:44     ` Darren Hart
2014-11-23 15:11       ` Pali Rohár
2014-11-27  4:41     ` Alex Hung
2014-12-02 11:06       ` Gabriele Mazzotta
2014-12-02 12:01         ` Pali Rohár
2014-12-02 15:08         ` Gabriele Mazzotta
2014-12-03  8:50           ` Darren Hart
2014-12-04  6:52             ` Alex Hung
2014-12-04  9:57               ` Pali Rohár
2014-11-27  4:27   ` Alex Hung
2014-11-27 11:43     ` Pali Rohár
2014-11-28  5:33       ` Alex Hung

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.