[Wayland-bugs] [Bug 97912] Feature Request: Support for Firmware Version Detection.
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Jan 5 08:49:49 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=97912
--- Comment #4 from Peter Hutterer <peter.hutterer at who-t.net> ---
Please don't re-open RFE bugs closed by a maintainer unless you have intentions
of working on this in the foreseeable future.
(In reply to oiaohm from comment #3)
> At a min I think libinput should store and check the SMBIOS/DMI inform to
> check the bios/UEFI on a x86 system. As this is one thing that EFI
> standard is pushing that OS like Windows will update.
And what do we do with this information? This is something we can do when
there's a specific use-case, but just storing it for the sake of having it
doesn't help.
> If this does not have a place in libinput it need a home somewhere.
The way we work with similar cases so far is have udev property tag devices
where we need specific quirks. So this could be part of udev, or any external
project provided it adds to udev properties.
> --The FW version is afaict a free-form string--
> I don't see where it being a free-form string is a problem. [..]
A free-form string cannot be reliably compared for correct increments,
specifically because we don't care about how the string looks like per se but
rather the information that the string implies. For example, "fw84xx23s" may
imply "this touchpad doesn't tag multiple fingers correctly". So we need
specific parsing and handling of the situation, and that again requires a
specific use-case.
> I don't see needing to really process firmware strings heavily just compare
> them so the user can be informed that there has been an update/downgrade to
> the firmware and check their interface out. [...]
As said above, the mere knowledge of update/downgrade doesn't hold much
information for what we actually need to do.
> This proactive response stuff is userspace work possible wayland protocol
> work.
fwiw, wayland is a display server protocol. this level of details is beyond its
scope.
> So we need to start with a very limited generic system and expand. Limited
> being has firmware change yes/no and this triggers events then expand how
> informing to users this is.
We already have this, see e.g.
https://cgit.freedesktop.org/wayland/libinput/tree/udev/libinput-model-quirks.c#n54
So, it all comes down to: unless we know what and why to add this, we don't
know what to do given the rather generic issue.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20170105/9dfd8360/attachment-0001.html>
More information about the wayland-bugs
mailing list