<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 - hwdb: mouse DPI data, Roccat Lua USB mouse"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89743">89743</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>hwdb: mouse DPI data, Roccat Lua USB mouse
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>systemd
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>general
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>blaz.tomazic@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Product specs, windows and linux tools (<a href="http://roccat.sourceforge.net/">http://roccat.sourceforge.net/</a>) show
next values:
  * DPI: 250 500 1000 1250 1500 1750 2000
  * Hz: 125 250 500 1000
  * default: 1000DPI 1000Hz

Using this info and match string from mouse-dpi-tool, 70-mouse.hwdb should
contain:

mouse:usb:v1e7dp2c2e:name:ROCCAT ROCCAT Lua:
 MOUSE_DPI=250@125 500@125 1000@125 1250@125 1500@125 1750@125 2000@125 250@250
500@250 1000@250 1250@250 1500@250 1750@250 2000@250 250@500 500@500 1000@500
1250@500 1500@500 1750@500 2000@500 250@1000 500@1000 *1000@1000 1250@1000
1500@1000 1750@1000 2000@1000

But measurements using mouse-dpi-tool (libevdev 1.4) give me different
frequency readings (value set with the driver tool -> reported mouse-dpi-tool
value):
  * 125 -> 166,7
  * 250 -> 333
  * 500 -> 1000
  * 1000 -> 1000 (a few times it reported inf)
DPI readings are OK though.

$ udevadm info /dev/input/event13     
P:
/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0/0003:1E7D:2C2E.0001/input/input15/event13
N: input/event13
S: input/by-id/usb-ROCCAT_ROCCAT_Lua-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-ROCCAT_ROCCAT_Lua-event-mouse
/dev/input/by-path/pci-0000:00:1a.0-usb-0:1.2:1.0-event-mouse
E: DEVNAME=/dev/input/event13
E:
DEVPATH=/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0/0003:1E7D:2C2E.0001/input/input15/event13
E: ID_BUS=usb
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_MODEL=ROCCAT_Lua
E: ID_MODEL_ENC=ROCCAT\x20Lua
E: ID_MODEL_ID=2c2e
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=0035
E: ID_SERIAL=ROCCAT_ROCCAT_Lua
E: ID_TYPE=hid
E: ID_USB_DRIVER=usbhid
E: ID_USB_INTERFACES=:030102:
E: ID_USB_INTERFACE_NUM=00
E: ID_VENDOR=ROCCAT
E: ID_VENDOR_ENC=ROCCAT
E: ID_VENDOR_ID=1e7d
E: LIBINPUT_DEVICE_GROUP=usb-0000:00:1a.0-1
E: MAJOR=13
E: MINOR=77
E: MOUSE_DPI=250@125 500@125 1000@125 1250@125 1500@125 1750@125 2000@125
250@250 500@250 1000@250 1250@250 1500@250 1750@250 2000@250 250@500 500@500
1000@500 1250@500 1500@500 1750@500 2000@500 250@1000 500@1000 *1000@1000
1250@1000 1500@1000 1750@1000 2000@1000
E: SUBSYSTEM=input
E: USEC_INITIALIZED=1922</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>