public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* i8k: move driver from char to hwmon
@ 2015-02-22 11:50 Pali Rohár
  2015-02-22 17:33 ` Guenter Roeck
  0 siblings, 1 reply; 9+ messages in thread
From: Pali Rohár @ 2015-02-22 11:50 UTC (permalink / raw)
  To: Guenter Roeck, Arnd Bergmann, Greg Kroah-Hartman, Steven Honeyman,
	Jean Delvare, Valdis.Kletnieks, Jochen Eisinger,
	Gabriele Mazzotta, linux-kernel, lm-sensors

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

Hello,

currently i8k driver for DELLDIAG SMM operations (charger, 
battery, hotkeys, temperature and fan control) supports two 
interfaces:

1) old /proc/i8k char device
2) new hwmon interface

Driver now lives in char subsystem, but nowadays I think lot of 
people are interested only in hwmon interface which provides 
temperature & fan control. Power management and hotkeys support 
(which is missing in 2) but provided by 1)) is already handled by 
ACPI or input subsystem for new laptops.

Also name "i8k" is really non intuitive what it means and 
supports... (I was told it is abbreviation for Inspirion 8000 
model which was probably first dell model supported by that 
DELLDIAG interface). Now driver is used on Vostro, Latitude and 
also Precision and XPS models. I think at least "dell" should be 
part of driver name and config option.

So I have idea for some changes:

1) Move driver from char subsystem to hwmon

2) Rename driver from i8k to something like delldiag or dellsmm

3) Add new CONFIG_ option to enable/disable /proc/i8k device and 
compile only hwmon interface support

What do you think about it?

I do not want to delete /proc/i8k interface (or break support for 
it) as there are still userspace applications which use this old 
interface and for old models it is probably only way how to 
detect power supply and multimedia hotkeys...

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

end of thread, other threads:[~2015-04-22  8:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-22 11:50 i8k: move driver from char to hwmon Pali Rohár
2015-02-22 17:33 ` Guenter Roeck
2015-02-22 17:44   ` Pali Rohár
2015-02-22 17:55     ` Guenter Roeck
2015-02-22 18:11     ` Guenter Roeck
2015-02-22 22:07       ` Jean Delvare
2015-02-22 23:31         ` Guenter Roeck
2015-04-22  8:23       ` Jean Delvare
2015-04-22  8:42         ` Pali Rohár

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox