Don’t be Marceline’s dad.
Don’t be Marceline’s dad.
That’s their web dev documentation. The official position is no: https://mozilla.github.io/standards-positions/#webusb
I haven’t received it, but Thatiany Nunes seems to be a real grad student. https://dongseo.academia.edu/ThatianyNunes
ID_INPUT_SWITCH (Line 88 here) appears to be an option that is excluded from the list on the libinput page.
I went through some similar issues with PostmarketOS on a Chromebook. The libinput quirks and udev rules are highly undocumented and unstable right now. You have to piece together information from existing configurations and poking around in the libinput repo.
Then you’ll likely have to mess with the udev rules and force the device to recognized as a lid switch.
Per the example under “Querying the hwdb,” you need the ID_INPUT_SWITCH property to be set correctly.
There’s an example of how to group devices in the Arch wiki for graphics tablets that may be of use if libinput will accept two different switches as one.
If you are using Wayland, it might be time to play with libinput quirks.
I’ve found the best way to set them is by first reading ones that may already cover your situation, the finding the right string to match on.
Gameyfin describes itself as a Jellyfin inspired game library manager.
Assuming you have a model with one of the displayports on a daughterboard, then there may be a compatable replacement.
https://www.servethehome.com/hp-elitedesk-mini-2-5gbe-flex-io-v2-nic-intel-i225-m74416-001/
Disclaimer: I have not tried this.
You can attempt to opt-out, but this kind of thing should be illegal in the first place.
https://www.spectrum.com/policies/your-privacy-rights-opt-out