summaryrefslogtreecommitdiffstats
path: root/hwdb.d/60-input-id.hwdb (follow)
Commit message (Collapse)AuthorAgeFilesLines
* hwdb: Remove version check in CH Pro Pedals ruleColin Geniet2024-02-161-1/+1
| | | | | | | | | | | | | CH Pedals are incorrectly reported as an accelerometer [1], because they have no button. This is fixed by a rule in 60-input-id.hwdb [2], but the rule checks id/version="0100", while my pedals report id/version="0111". So there are several versions of the pedals, presumably all affected by the bug. Remove the version check in the rule to fix them all. [1] https://bugs.freedesktop.org/show_bug.cgi?id=81889 [2] commit: 230ed4c4ba (hwdb: CH Pro Pedals not classified correctly due to no buttons, 2022-01-19) PR: https://github.com/systemd/systemd/pull/22184
* Update 60-input-id.hwdb: add TEX Shinobi (#29068)khm2023-09-061-0/+4
| | | | | | | * Update 60-input-id.hwdb: add TEX Shinobi The TEX Shinobi keyboard with trackpoint incorrectly identifies as a mouse instead of a pointing stick. This corrects it as suggested at https://gitlab.freedesktop.org/libinput/libinput/-/issues/932#note_2069967 Following the example of the Lite-On keyboard entry, this modalias specifies the mouse unit without tagging the device's other entries.
* hwdb: drop boilerplate about match patterns being unstableZbigniew Jędrzejewski-Szmek2022-04-061-5/+0
| | | | | | | We've had this text since the beginning, but in fact the patterns must be stable in order for people to create local hwdb entries. And we support that and can't change the match patterns without being very careful. So let's just drop the text.
* hwdb: treat logitech craft keyboard as a keyboardSeth Falco2022-01-281-0/+4
|
* hwdb: CH Pro Pedals not classified correctly due to no buttonsTyson Whitehead2022-01-201-1/+6
|
* hwdb: remove the tablet pad entry for the UC-Logic 1060NPeter Hutterer2021-11-081-5/+0
| | | | | | | | | | | | | | | | This entry only matches on vid/pid, so the pen event node of the device would also get assigned the ID_INPUT_TABLET_PAD property - making it break with libinput. On top of that, UC-Logic's tablets re-use USB ids, so now we're breaking multiple devices this way. To get this device tagged correctly, use libwacom which has the per-device hwdb entries. Fixes #17953 This reverts commit 0fbe78ac7a4c5689660b1c1e2c956ffa1a2e4ee5
* hwdb: Force no "mouse" type on Logitech MX KeysBjörn Daase2021-01-081-0/+4
| | | Fixes https://gitlab.freedesktop.org/upower/upower/-/issues/128
* Partially revert "hwdb: reindent commments and say that "*" should always be ↵Zbigniew Jędrzejewski-Szmek2020-11-031-2/+1
| | | | | | | | | trailing" This partially reverts commit 62ad1c6495c098a09b36bb20bb37a9b8a11df76f. I kept the reindents and other cosmetic changes, but removed the statements about trailing ":*".
* Partially revert "hwdb: add trailing ":*" everywhere"Zbigniew Jędrzejewski-Szmek2020-11-031-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit c0443b97b71d5f70a0622061f589307bec5502c6. I got various cases wrong: "usb:v04F3p2B7Cd5912dc00dsc00dp00ic03isc00ip00in00" "usb:v0627p0001:QEMU USB Tablet" "input:b0003v0627p0001e0001-e0,1,2,4,k110,111,112,r0,1,8,B,am4,lsfw" OTOH: -evdev:name:ETPS/2 Elantech Touchpad:dmi:*svnASUSTeKComputerInc.:pnN53SV:* +evdev:name:ETPS/2 Elantech Touchpad:dmi:*svnASUSTeKComputerInc.:pnN53SV* is OK. Other parts follow after 'pn'. -mouse:*:name:*Trackball*:* -mouse:*:name:*trackball*:* -mouse:*:name:*TrackBall*:* +mouse:*:name:*Trackball*: +mouse:*:name:*trackball*: +mouse:*:name:*TrackBall*: ... and anything else with :name should be OK too, because our imports always include ":" at the end: IMPORT{builtin}="hwdb 'joystick:$env{ID_BUS}:v$attr{id/vendor}p$attr{id/product}:name:$attr{name}:'" Including '*' at the end makes the pattern work even if we decide to add something to the match string later. Fixes #17499.
* hwdb: add trailing ":*" everywhereZbigniew Jędrzejewski-Szmek2020-10-151-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No functional change is intended. The general pattern of changes: -usb:v04F3p2B7C* +usb:v04F3p2B7C:* This is mostly a clarification, to make the part that makes the usb vXXXXpYYYY part visually separated. It would only make a difference if we added further keys with a different number of digits, which is unlikely. -usb:v0627p0001:*QEMU USB Keyboard* -usb:v0627p0001:*QEMU USB Mouse* -usb:v0627p0001:*QEMU USB Tablet* +usb:v0627p0001:*QEMU USB Keyboard*:* +usb:v0627p0001:*QEMU USB Mouse*:* +usb:v0627p0001:*QEMU USB Tablet*:* Again, only a clarification. We know that ":" will appear somewhere later in the match key, so anything that matches "…Keyboard*" will also match "…Keyboard*:*". -evdev:name:ETPS/2 Elantech Touchpad:dmi:*svnASUSTeKComputerInc.:pnN53SV* +evdev:name:ETPS/2 Elantech Touchpad:dmi:*svnASUSTeKComputerInc.:pnN53SV:* This makes the match narrower. Previously we would match product "N53SV" and "N53SV2", "N53SV3", and others. Here we are saying that the ':pn' part must match exactly. Most of the changes in this patch match this pattern. I made a few judgement calls and used "pn…*:*" when I wasn't sure if the full pn is included: -evdev:name:Dell WMI hotkeys:dmi:bvn*:bvr*:bd*:svnDell*:pnPrecision* +evdev:name:Dell WMI hotkeys:dmi:bvn*:bvr*:bd*:svnDell*:pnPrecision*:* -evdev:name:Cypress APA Trackpad ?cyapa?:dmi:*:svnHewlett-Packard*:pnFalco*: +evdev:name:Cypress APA Trackpad ?cyapa?:dmi:*:svnHewlett-Packard*:pnFalco*:* This more like the "QEMU" example above, since all dmi strings end in ":", so anything which matches the old version will also match the new version. -evdev:atkbd:dmi:bvn*:bvr*:bd*:svnGateway*:pnA0A1*:pvr* +evdev:atkbd:dmi:bvn*:bvr*:bd*:svnGateway*:pnA0A1*:* I replaced trailing ":pvr*" by ":*". This makes no functional difference because we expect "pvr" to always appear in the dmi string. This makes patterns shorter. -evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pn* +evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pn*:* OTOH, ":pn*" is kept. This is because almost patterns include ":pn*", and if we skip it, we should make it clear that this is on purpose, that we really want to match any product name. The python script to generate autosuspend rules is updated to use ":*" too. Inspired by https://github.com/systemd/systemd/pull/17281#discussion_r501489750.
* hwdb: reindent commments and say that "*" should always be trailingZbigniew Jędrzejewski-Szmek2020-10-151-14/+13
|
* hwdb: Force "mouse" type on Logitech Ultrathin Touch MouseBastien Nocera2020-05-061-0/+4
| | | | Closes: #15657
* Rename udev's hwdb/ to hwdb.d/Zbigniew Jędrzejewski-Szmek2019-10-101-0/+72
As in the parent commit, this makes the name consistent with the rest of the source tree and the actuall installation path.