Bug 89743 - hwdb: mouse DPI data, Roccat Lua USB mouse
Summary: hwdb: mouse DPI data, Roccat Lua USB mouse
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-24 09:33 UTC by Blaž Tomažič
Modified: 2015-04-09 07:06 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Patch for adding mouse DPI data for Roccat Lua mouse (1.06 KB, patch)
2015-04-03 20:28 UTC, Blaž Tomažič
Details | Splinter Review

Description Blaž Tomažič 2015-03-24 09:33:38 UTC
Product specs, windows and linux tools (http://roccat.sourceforge.net/) 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
Comment 1 Blaž Tomažič 2015-04-03 20:28:05 UTC
Created attachment 114854 [details] [review]
Patch for adding mouse DPI data for Roccat Lua mouse
Comment 2 Blaž Tomažič 2015-04-03 20:33:02 UTC
Probably I wasn't quite clear what I was trying to achieve with my bug report, sorry about that.

I would like to add Roccat Lua mouse DPI data to hwdb/hwdb/70-mouse.hwdb. I've attached a patch for it.

NOTE: I had different frequency readings with mouse-dpi-tool than the specs and mouse tools advertise (details in previous post). The values in the patch are as reported by manufacturer.
Comment 3 Peter Hutterer 2015-04-09 07:06:49 UTC
pushed as 729bc933beea3365b0c9a1d5cd0eb16fb8b7e8be, thanks


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.