From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 99523] mouse-dpi-tool reports 0 dpi Date: Wed, 25 Jan 2017 01:10:26 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0229899663==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 33E6889FD3 for ; Wed, 25 Jan 2017 01:10:26 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0229899663== Content-Type: multipart/alternative; boundary="14853066260.6D4c6A.23334"; charset="UTF-8" --14853066260.6D4c6A.23334 Date: Wed, 25 Jan 2017 01:10:26 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D99523 Bug ID: 99523 Summary: mouse-dpi-tool reports 0 dpi Product: libevdev Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Core Assignee: peter.hutterer@who-t.net Reporter: guillaume.horel@gmail.com CC: dri-devel@lists.freedesktop.org, rankincj@googlemail.com, samuel.pitoiset@gmail.com Depends on: 94186 I'm trying to record the dpi for my touchpad since it seems quite slow. How= ever it can't seem to compute any distance as I move my finger. This is the outp= ut from mouse-dpi-tool. It seems to record the frequency fine, but doesn't read any distance: sudo ./mouse-dpi-tool /dev/input/event7 Mouse FocalTechPS/2 FocalTech Touchpad on /dev/input/event7 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: 0 at frequency 70.4Hz /^C Estimated sampling frequency: 70Hz (mean 62Hz) To calculate resolution, measure physical distance covered and look up the matching resolution in the table below 0mm 0.00in 400dpi 0mm 0.00in 600dpi 0mm 0.00in 800dpi 0mm 0.00in 1000dpi 0mm 0.00in 1200dpi 0mm 0.00in 1400dpi 0mm 0.00in 1600dpi 0mm 0.00in 1800dpi 0mm 0.00in 2000dpi 0mm 0.00in 2200dpi 0mm 0.00in 2400dpi If your resolution is not in the list, calculate it with: resolution=3D0/inches, or resolution=3D0 * 25.4/mm Output from udevadm info: P: /devices/platform/i8042/serio4/input/input12/event7 N: input/event7 E: DEVNAME=3D/dev/input/event7 E: DEVPATH=3D/devices/platform/i8042/serio4/input/input12/event7 E: ID_BUS=3Di8042 E: ID_INPUT=3D1 E: ID_INPUT_TOUCHPAD=3D1 E: ID_INPUT_TOUCHPAD_INTEGRATION=3Dinternal E: LIBINPUT_DEVICE_GROUP=3D11/2/12/0:isa0060/serio4 E: MAJOR=3D13 E: MINOR=3D71 E: SUBSYSTEM=3Dinput E: USEC_INITIALIZED=3D2131871 Entry for hwdb match (replace XXX with the resolution in DPI): mouse:unknown bus type:v0002p0012:name:FocalTechPS/2 FocalTech Touchpad: MOUSE_DPI=3DXXX@70 This is a FocalTech Touchpad on an Asus UX303UB latpop. Referenced Bugs: https://bugs.freedesktop.org/show_bug.cgi?id=3D94186 [Bug 94186] Crash when launching glxinfo and World of Warcraft with RV790 --=20 You are receiving this mail because: You are on the CC list for the bug.= --14853066260.6D4c6A.23334 Date: Wed, 25 Jan 2017 01:10:26 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 99523
Summary mouse-dpi-tool reports 0 dpi
Product libevdev
Version unspecified
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component Core
Assignee peter.hutterer@who-t.net
Reporter guillaume.horel@gmail.com
CC dri-devel@lists.freedesktop.org, rankincj@googlemail.= com, samuel.pitoiset@gmail.com
Depends on 94186

I'm trying to record the dpi for my touchpad since it seems qu=
ite slow. However
it can't seem to compute any distance as I move my finger. This is the outp=
ut
from mouse-dpi-tool. It seems to record the frequency fine, but doesn't read
any distance:

sudo ./mouse-dpi-tool /dev/input/event7
Mouse FocalTechPS/2 FocalTech Touchpad on /dev/input/event7
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:        0 at frequency 70.4Hz  /^C
Estimated sampling frequency: 70Hz (mean 62Hz)
To calculate resolution, measure physical distance covered
and look up the matching resolution in the table below
       0mm          0.00in           400dpi
       0mm          0.00in           600dpi
       0mm          0.00in           800dpi
       0mm          0.00in          1000dpi
       0mm          0.00in          1200dpi
       0mm          0.00in          1400dpi
       0mm          0.00in          1600dpi
       0mm          0.00in          1800dpi
       0mm          0.00in          2000dpi
       0mm          0.00in          2200dpi
       0mm          0.00in          2400dpi
If your resolution is not in the list, calculate it with:
        resolution=3D0/inches, or
        resolution=3D0 * 25.4/mm

Output from udevadm info:

P: /devices/platform/i8042/serio4/input/input12/event7
N: input/event7
E: DEVNAME=3D/dev/input/event7
E: DEVPATH=3D/devices/platform/i8042/serio4/input/input12/event7
E: ID_BUS=3Di8042
E: ID_INPUT=3D1
E: ID_INPUT_TOUCHPAD=3D1
E: ID_INPUT_TOUCHPAD_INTEGRATION=3Dinternal
E: LIBINPUT_DEVICE_GROUP=3D11/2/12/0:isa0060/serio4
E: MAJOR=3D13
E: MINOR=3D71
E: SUBSYSTEM=3Dinput
E: USEC_INITIALIZED=3D2131871
Entry for hwdb match (replace XXX with the resolution in DPI):
mouse:unknown bus type:v0002p0012:name:FocalTechPS/2 FocalTech Touchpad:
 MOUSE_DPI=3DXXX@70

This is a FocalTech Touchpad on an Asus UX303UB latpop.



You are receiving this mail because:
  • You are on the CC list for the bug.
= --14853066260.6D4c6A.23334-- --===============0229899663== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0229899663==--