public inbox for linux-usb@vger.kernel.org
 help / color / mirror / Atom feed
* Disabling intel-wmi-thunderbolt on devices without Thunderbolt / detecting if a device has Thunderbolt
@ 2021-10-25 13:48 Hans de Goede
  2021-10-25 14:46 ` Oliver Neukum
       [not found] ` <PH0PR15MB4992B80415BE9BD4836CF336E1839@PH0PR15MB4992.namprd15.prod.outlook.com>
  0 siblings, 2 replies; 8+ messages in thread
From: Hans de Goede @ 2021-10-25 13:48 UTC (permalink / raw)
  To: Mika Westerberg, Andreas Noever, Michael Jamet, Yehezkel Bernat,
	Mario Limonciello
  Cc: linux-usb

Hi All,

While digging through Microsoft Surface Go ACPI tables to fix an unrelated
issue, I noticed that there is an intel-wmi-thunderbolt WMI device in the
ACPI tables and the intel-wmi-thunderbolt driver happily binds to this.
This is likely the result of copy paste programming of the ACPI tables.

This causes a /sys/bus/wmi/devices/.../force_power attribute to be created
and echoing to that executes ACPI code which ends up poking at things it
should not be poking at on the Surface Go.

The problem of having these "nonsense" WMI devices with the
intel-wmi-thunderbolt GUID is likely more wide-spread and ideally the
intel-wmi-thunderbolt would ignore these.

This makes me wonder if there is a way to see if there are any thunderbolt
controllers on the system at all ? (with as goal to make intel-wmi-thunderbolt
not bind if there are none)

Regards,

Hans



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

end of thread, other threads:[~2021-10-26 12:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-25 13:48 Disabling intel-wmi-thunderbolt on devices without Thunderbolt / detecting if a device has Thunderbolt Hans de Goede
2021-10-25 14:46 ` Oliver Neukum
     [not found] ` <PH0PR15MB4992B80415BE9BD4836CF336E1839@PH0PR15MB4992.namprd15.prod.outlook.com>
2021-10-25 14:54   ` Hans de Goede
2021-10-25 15:12     ` Mika Westerberg
2021-10-26  8:17       ` Hans de Goede
2021-10-26  8:53         ` Mika Westerberg
2021-10-26 10:34           ` Hans de Goede
2021-10-26 12:22             ` Mika Westerberg

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