[systemd-bugs] [Bug 90143] New: mouse-dpi-tool hint to compute resolution is wrong

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 22 10:26:25 PDT 2015


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

            Bug ID: 90143
           Summary: mouse-dpi-tool hint to compute resolution is wrong
           Product: systemd
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: systemd-bugs at lists.freedesktop.org
          Reporter: rodrigorivascosta at gmail.com
        QA Contact: systemd-bugs at lists.freedesktop.org

When running mouse-dpi-tool /dev/... it says:

If your resolution is not in the list, calculate it with:
    resolution=xxxxxx/inches, or
    resolution=xxxxxx/(mm * 25.4)

The last line, the operation to convert mm to inches is wrong, you always have
more mm than inches, so you divide to convert. The correct formula is:

    resolution=xxxxxx/(mm / 25.4)

or:

    resolution=xxxxxx / mm * 25.4

or, my preferred:

    resolution=xxxxxx * 25.4 / mm

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20150422/7a5e8cb2/attachment.html>


More information about the systemd-bugs mailing list