Bug 90540

Summary: Add DPI information for MS Arc Touch Mouse
Product: systemd Reporter: Bastien Nocera <bugzilla>
Component: generalAssignee: Peter Hutterer <peter.hutterer>
Status: RESOLVED FIXED QA Contact: systemd-bugs
Severity: normal    
Priority: medium CC: mybigspam, peter.hutterer
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Bastien Nocera 2015-05-20 19:24:49 UTC
$ sudo ./mouse-dpi-tool /dev/input/event17 
Mouse Arc Touch Mouse SE on /dev/input/event17
Move the device 250mm/10in or more along the x-axis.
Pause 3 seconds before movement to reset, Ctrl+C to exit.
Covered distance in device units:    11345 at frequency infHz Hz\^C	-
Estimated sampling frequency: -2147483648Hz
To calculate resolution, measure physical distance covered
and look up the matching resolution in the table below
     720mm	   28.36in	     400dpi
     480mm	   18.91in	     600dpi
     360mm	   14.18in	     800dpi
     288mm	   11.35in	    1000dpi
     240mm	    9.45in	    1200dpi
     205mm	    8.10in	    1400dpi
     180mm	    7.09in	    1600dpi
     160mm	    6.30in	    1800dpi
     144mm	    5.67in	    2000dpi
     130mm	    5.16in	    2200dpi
     120mm	    4.73in	    2400dpi
If your resolution is not in the list, calculate it with:
	resolution=11345/inches, or
	resolution=11345 * 25.4/mm

Entry for hwdb match (replace XXX with the resolution in DPI):
mouse:bluetooth:v045ep07f3:name:Arc Touch Mouse SE:
 MOUSE_DPI=XXX@-2147483648

The estimated frequency is completely out of whack, but the USB dongley version of the mouse is advertised as 1000dpi:
http://www.cnet.com/products/microsoft-arc-touch-mouse-black-series/specs/
Comment 1 Peter Hutterer 2015-05-21 01:55:42 UTC
Can you try again with this patch applied please?
http://lists.freedesktop.org/archives/input-tools/2015-May/001168.html
the specs claim a frequency of up to 8000hz
Comment 2 Bastien Nocera 2015-05-21 04:55:01 UTC
I could only get it up to 2000Hz. Rounded up, it gives:

mouse:bluetooth:v045ep07f3:name:Arc Touch Mouse SE:
 MOUSE_DPI=1000@2000
Comment 4 Peter Hutterer 2015-05-26 00:38:44 UTC
libevdev mouse-dpi-tool fix:

commit e1d87fa6dfa9cdd3ade490911db49e48871a1295
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Thu May 21 11:48:34 2015 +1000

    tools: widen frequency resolution to µs in the DPI tool

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.