[Bug 267922] Contour Rollermouse Red not supported by ums(4)

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 22 Nov 2022 12:43:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267922

            Bug ID: 267922
           Summary: Contour Rollermouse Red not supported by ums(4)
           Product: Base System
           Version: 13.1-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: usb
          Assignee: usb@FreeBSD.org
          Reporter: koston@iki.fi

Mouse is detected by ums(4) driver:

ums0: <Contour Rollermouse Red> on usbus0
ums0: 26 buttons and [XYZ] coordinates ID=1

Output from "xev -input button | grep button" when pressing and releasing
buttons:

Left (only one that works correctly):
    state 0x0, button 1, same_screen YES
    state 0x100, button 1, same_screen YES

Right:
    state 0x0, button 1, same_screen YES
    state 0x100, button 3, same_screen YES
    state 0x500, button 1, same_screen YES
    state 0x400, button 3, same_screen YES

Middle:
    state 0x0, button 1, same_screen YES
    state 0x100, button 2, same_screen YES
    state 0x300, button 1, same_screen YES
    state 0x200, button 2, same_screen YES

Double-click, copy and paste buttons all work as Left button.

Pressing the roller bar (should be just Left button):
    state 0x0, button 3, same_screen YES
    state 0x400, button 1, same_screen YES
    state 0x500, button 3, same_screen YES
    state 0x100, button 1, same_screen YES
    state 0x0, button 3, same_screen YES
    state 0x400, button 3, same_screen YES

Results are identical in console using moused(8) debug mode. The mouse has
three operating modes (mac/windows/linux) which all produce slightly different
but equally erratic results.

ums(4) is assumed to lack support for this mouse. It does work correctly on
Linux. An additional feature not supported is that once the roller bar is at
either vertical extreme position, cursor should continuously move to that
direction.

If someone capable is serious about implementing proper support, contact me and
I will send you a Rollermouse Red for development/testing.

-- 
You are receiving this mail because:
You are the assignee for the bug.