<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Existing mouse hddb entry issue"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92246">92246</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Existing mouse hddb entry issue
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Wayland
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>1.0.1
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>libinput
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>wayland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>robert.de.rooy@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>