[systemd-bugs] [Bug 78312] New: Microsoft Surface tablet detected as Virtual Machine through sysfs DMI string
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon May 5 14:42:25 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=78312
Priority: medium
Bug ID: 78312
Assignee: systemd-bugs at lists.freedesktop.org
Summary: Microsoft Surface tablet detected as Virtual Machine
through sysfs DMI string
QA Contact: systemd-bugs at lists.freedesktop.org
Severity: normal
Classification: Unclassified
OS: All
Reporter: reyad.attiyat at gmail.com
Hardware: Other
Status: NEW
Version: unspecified
Component: general
Product: systemd
Created attachment 98517
--> https://bugs.freedesktop.org/attachment.cgi?id=98517&action=edit
[PATCH] Remove Microsft DMI string from virtual detection
I have a Microsoft Surface 2 table and it is being detected as a virtual
machine with the Visualization attribute set to "microsoft". It is my
understanding that Microsoft offers virtuosity support via Hyper-V, and systemd
detects for this by checking cpuinfo and /sys/class/dmi/id/ sysinfo strings.
These heuristics incorrectly identity my device as a virtual machine because
the string "Microsoft Corporation\0" is found in /sys/class/dmi/id/board_vendor
and sys_vendor.
I have attached the a patch that removes this string from the array
dmi_vendor_table[]. Other possible solutions might be to send a kernel command
argument, or do more sophisticated DMI testing to ensure Hyper-V presence and
not a real hw device.
The only negative side effects I experienced by this bug were
gnome-settings-daemon would disable suspend but there might be other services
that act differently because of this.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20140505/91205530/attachment.html>
More information about the systemd-bugs
mailing list