[systemd-bugs] [Bug 87037] Some mouse DPI data

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Dec 21 23:26:21 PST 2014


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

Alexander E. Patrakov <patrakov at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #14 from Alexander E. Patrakov <patrakov at gmail.com> ---
The rule that you suggested doesn't work. Here is a working rule:

DRIVERS=="psmouse", \
        IMPORT{builtin}="hwdb 'mouse:ps2::name:$attr{device/name}:'", \
        GOTO="mouse_end"

The hwdb entry works as it is:

mouse:ps2:*:name:ImExPS/2 Logitech Wheel Mouse:
 MOUSE_DPI=400 at 250


Result:

# udevadm info /dev/input/event3
P: /devices/platform/i8042/serio1/input/input4/event3
N: input/event3
S: input/by-path/platform-i8042-serio-1-event-mouse
E: DEVLINKS=/dev/input/by-path/platform-i8042-serio-1-event-mouse
E: DEVNAME=/dev/input/event3
E: DEVPATH=/devices/platform/i8042/serio1/input/input4/event3
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_PATH=platform-i8042-serio-1
E: ID_PATH_TAG=platform-i8042-serio-1
E: ID_SERIAL=noserial
E: MAJOR=13
E: MINOR=67
E: MOUSE_DPI=400 at 250
E: SUBSYSTEM=input
E: USEC_INITIALIZED=384140

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


More information about the systemd-bugs mailing list