All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 99523] mouse-dpi-tool reports 0 dpi
Date: Wed, 25 Jan 2017 01:10:26 +0000	[thread overview]
Message-ID: <bug-99523-502@http.bugs.freedesktop.org/> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 2808 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=99523

            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. However
it can't seem to compute any distance as I move my finger. This is the output
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=0/inches, or
        resolution=0 * 25.4/mm

Output from udevadm info:

P: /devices/platform/i8042/serio4/input/input12/event7
N: input/event7
E: DEVNAME=/dev/input/event7
E: DEVPATH=/devices/platform/i8042/serio4/input/input12/event7
E: ID_BUS=i8042
E: ID_INPUT=1
E: ID_INPUT_TOUCHPAD=1
E: ID_INPUT_TOUCHPAD_INTEGRATION=internal
E: LIBINPUT_DEVICE_GROUP=11/2/12/0:isa0060/serio4
E: MAJOR=13
E: MINOR=71
E: SUBSYSTEM=input
E: USEC_INITIALIZED=2131871
Entry for hwdb match (replace XXX with the resolution in DPI):
mouse:unknown bus type:v0002p0012:name:FocalTechPS/2 FocalTech Touchpad:
 MOUSE_DPI=XXX@70

This is a FocalTech Touchpad on an Asus UX303UB latpop.


Referenced Bugs:

https://bugs.freedesktop.org/show_bug.cgi?id=94186
[Bug 94186] Crash when launching glxinfo and World of Warcraft with RV790
-- 
You are receiving this mail because:
You are on the CC list for the bug.

[-- Attachment #1.2: Type: text/html, Size: 4602 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

             reply	other threads:[~2017-01-25  1:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-25  1:10 bugzilla-daemon [this message]
2017-01-25  1:10 ` [Bug 99523] mouse-dpi-tool reports 0 dpi bugzilla-daemon
2017-01-25  1:58 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-99523-502@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.