Re: [PATCH v2 2/4] platform: x86: dell-smbios: Add a generic dell-smbios notifier chain

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

 



Hi,

On 24-10-16 15:43, Pali Rohár wrote:
On Monday 24 October 2016 15:37:31 Hans de Goede wrote:
Well WMI events get enabled via a SMBIOS call,

This is truth only for few laptops and only for one WMI event.
Everything else is automatically enabled, no call is needed to issue.

and dell-laptop uses SMBIOS exclusively

IIRC dell-led.ko uses also dell-smbio.ko, so it is not exclusive for
dell-laptop.

so it seems to fit. Basically this is a case of
we have to put this somewhere and dell-smbios is the best fit IMHO.

Agree, we need to put it somewhere...

Basically we need to solve problem how (currently) 3 kernel modules can
communicate. Does not kernel support such "bus/event" mechanism for
this?

Yes it does, that is exactly what notifiers are for, but we need to
declare the bus somewhere. I still believe dell-smbios is the best
place.

Regards,

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



[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux