https://bugs.freedesktop.org/show_bug.cgi?id=92246
Bug ID: 92246
Summary: Existing mouse hddb entry issue
Product: Wayland
Version: 1.0.1
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: libinput
Assignee: [email protected]
Reporter: [email protected]
Hi,
I have a mouse here which seems to exist in the HWDB file, except that the Name
does not match. The entry in hwdb has mixed case, while mine is all upper-case.
As such it is being ignored.
FYI, it does not say HP on it, like the entry in hwdb suggests. Instead it has
NETGEAR printed on it and was handed out at a tradeshow.
I defined the following in /etc/udev/hwdb.d/71-mouse.hwdb
mouse:usb:v093ap2510:name:PIXART USB OPTICAL MOUSE:
MOUSE_DPI=1000@125
MOUSE_WHEEL_CLICK_ANGLE=15
[robert@t430 hwdb.d]$ sudo udevadm hwdb --update
[robert@t430 hwdb.d]$ sudo udevadm trigger /dev/input/event7
[robert@t430 hwdb.d]$ sudo udevadm info /dev/input/event7|grep DPI
E: MOUSE_DPI=1000@125
[robert@t430 hwdb.d]$ sudo udevadm info /dev/input/event7
P:
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.2/3-1.2:1.0/0003:093A:2510.0002/input/input18/event7
N: input/event7
S: input/by-id/usb-PIXART_USB_OPTICAL_MOUSE-event-mouse
S: input/by-path/pci-0000:00:1a.0-usb-0:1.2:1.0-event-mouse
E: DEVLINKS=/dev/input/by-id/usb-PIXART_USB_OPTICAL_MOUSE-event-mouse
/dev/input/by-path/pci-0000:00:1a.0-usb-0:1.2:1.0-event-mouse
E: DEVNAME=/dev/input/event7
E:
DEVPATH=/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.2/3-1.2:1.0/0003:093A:2510.0002/input/input18/event7
E: ID_BUS=usb
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_MODEL=USB_OPTICAL_MOUSE
E: ID_MODEL_ENC=USB\x20OPTICAL\x20MOUSE
E: ID_MODEL_ID=2510
E: ID_PATH=pci-0000:00:1a.0-usb-0:1.2:1.0
E: ID_PATH_TAG=pci-0000_00_1a_0-usb-0_1_2_1_0
E: ID_REVISION=0100
E: ID_SERIAL=PIXART_USB_OPTICAL_MOUSE
E: ID_TYPE=hid
E: ID_USB_DRIVER=usbhid
E: ID_USB_INTERFACES=:030102:
E: ID_USB_INTERFACE_NUM=00
E: ID_VENDOR=PIXART
E: ID_VENDOR_ENC=PIXART
E: ID_VENDOR_ID=093a
E: LIBINPUT_DEVICE_GROUP=3/93a/2510/111:usb-0000:00:1a.0-1
E: MAJOR=13
E: MINOR=71
E: MOUSE_DPI=1000@125
E: MOUSE_WHEEL_CLICK_ANGLE=15
E: SUBSYSTEM=input
E: USEC_INITIALIZED=25968850236
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs