>Synopsis: USB mouse generates incorrect keycodes for some button presses. >Category: system >Environment: System : OpenBSD 6.1 Details : OpenBSD 6.1-current (GENERIC.MP-PPPOE_TERM_UNKNOWN_SESSIONS) #17: Thu Jul 20 20:49:09 JST 2017 shoshon...@shoshoni-m.shoshoni.info:/usr/src/sys/arch/amd64/compile/GENERIC.MP-PPPOE_TERM_UNKNOWN_SESSIONS
Architecture: OpenBSD.amd64 Machine : amd64 >Description: Hello bugs@, I recently purchased a new USB mouse. It has the following buttons: Left Right Wheel-press Wheel-up Wheel-down Wheel-tilt-right Wheel-tilt-left Forward Back The left, right, and wheel-press (for middle-click) work fine. The mouse wheel up & down, as well as the mouse wheel left & right also work as expected. The forward & back buttons however, generate mouse events, but not the correct ones. The following xev output is from (in order), wheel-up, wheel-down, forward, back: ButtonPress event, serial 33, synthetic NO, window 0x4a00001, root 0xd7, subw 0x0, time 602333103, (89,89), root:(1210,379), state 0x0, button 4, same_screen YES ButtonRelease event, serial 33, synthetic NO, window 0x4a00001, root 0xd7, subw 0x0, time 602333103, (89,89), root:(1210,379), state 0x800, button 4, same_screen YES ButtonPress event, serial 33, synthetic NO, window 0x4a00001, root 0xd7, subw 0x0, time 602334427, (89,89), root:(1210,379), state 0x0, button 5, same_screen YES ButtonRelease event, serial 33, synthetic NO, window 0x4a00001, root 0xd7, subw 0x0, time 602334427, (89,89), root:(1210,379), state 0x1000, button 5, same_screen YES ButtonPress event, serial 33, synthetic NO, window 0x4a00001, root 0xd7, subw 0x0, time 602335857, (89,89), root:(1210,379), state 0x0, button 5, same_screen YES MotionNotify event, serial 33, synthetic NO, window 0x4a00001, root 0xd7, subw 0x0, time 602335970, (90,89), root:(1211,379), state 0x1000, is_hint 0, same_screen YES ButtonRelease event, serial 33, synthetic NO, window 0x4a00001, root 0xd7, subw 0x0, time 602336069, (90,89), root:(1211,379), state 0x1000, button 5, same_screen YES ButtonPress event, serial 33, synthetic NO, window 0x4a00001, root 0xd7, subw 0x0, time 602336858, (90,89), root:(1211,379), state 0x0, button 4, same_screen YES ButtonRelease event, serial 33, synthetic NO, window 0x4a00001, root 0xd7, subw 0x0, time 602337007, (90,89), root:(1211,379), state 0x800, button 4, same_screen YES It appears that the forward/back buttons are generating the same keycodes as the mouse wheel, and indeed, pressing them causes the page to scroll up or down by the same amount as it would have if I'd turned the mouse wheel a single click. Ironically, I experienced a similar problem many years ago, but it was quickly fixed with the following patch: http://marc.info/?l=openbsd-bugs&m=133027438013943&w=2 I'm not sure if the current behavior may be due to a similar issue. The original commit above fixed the original issue for me. I'm not sure if trying to add a ButtonMapping line xorg.conf is the correct way to go, or if the driver itself is somehow mis-detecting the buttons on the mouse. If the best solution is to simply over-ride the defaults, I'm fine with doing so but want to confirm that there's not a bug lurking somewhere that may affect other users. In case it's relevant, I'm running on a Thinkpad T440p. % ls /etc/xorg.conf ls: /etc/xorg.conf: No such file or directory % cat /var/log/Xorg.0.log [ 90.429] (--) checkDevMem: using aperture driver /dev/xf86 [ 90.446] (--) Using wscons driver on /dev/ttyC4 [ 90.480] X.Org X Server 1.18.4 Release Date: 2016-07-19 [ 90.480] X Protocol Version 11, Revision 0 [ 90.480] Build Operating System: OpenBSD 6.1 amd64 [ 90.480] Current Operating System: OpenBSD shoshoni-m.shoshoni.info 6.1 GENERIC.MP-PPPOE_TERM_UNKNOWN_SESSIONS#17 amd64 [ 90.480] Build Date: 13 July 2017 07:47:00PM [ 90.480] [ 90.480] Current version of pixman: 0.34.0 [ 90.480] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 90.480] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 90.480] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Aug 4 11:58:46 2017 [ 90.482] (==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d" [ 90.482] (==) No Layout section. Using the first Screen section. [ 90.483] (==) No screen section available. Using defaults. [ 90.483] (**) |-->Screen "Default Screen Section" (0) [ 90.483] (**) | |-->Monitor "<default monitor>" [ 90.483] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 90.483] (==) Disabling SIGIO handlers for input devices [ 90.483] (==) Automatically adding devices [ 90.483] (==) Automatically enabling devices [ 90.483] (==) Not automatically adding GPU devices [ 90.484] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 90.489] (==) FontPath set to: /usr/X11R6/lib/X11/fonts/misc/, /usr/X11R6/lib/X11/fonts/TTF/, /usr/X11R6/lib/X11/fonts/OTF/, /usr/X11R6/lib/X11/fonts/Type1/, /usr/X11R6/lib/X11/fonts/100dpi/, /usr/X11R6/lib/X11/fonts/75dpi/ [ 90.490] (==) ModulePath set to "/usr/X11R6/lib/modules" [ 90.490] (II) The server relies on wscons to provide the list of input devices. If no devices become available, reconfigure wscons or disable AutoAddDevices. [ 90.490] (II) Loader magic: 0x1fa2e2433020 [ 90.490] (II) Module ABI versions: [ 90.490] X.Org ANSI C Emulation: 0.4 [ 90.490] X.Org Video Driver: 20.0 [ 90.490] X.Org XInput driver : 22.1 [ 90.490] X.Org Server Extension : 9.0 [ 90.490] (--) PCI:*(0:0:2:0) 8086:0416:17aa:220e rev 6, Mem @ 0xe0000000/4194304, 0xc0000000/536870912, I/O @ 0x00003000/64 [ 90.490] (II) LoadModule: "glx" [ 90.492] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so [ 90.501] (II) Module glx: vendor="X.Org Foundation" [ 90.501] compiled for 1.18.4, module version = 1.0.0 [ 90.501] ABI class: X.Org Server Extension, version 9.0 [ 90.501] (==) AIGLX enabled [ 90.501] (==) Matched modesetting as autoconfigured driver 0 [ 90.501] (==) Matched vesa as autoconfigured driver 1 [ 90.501] (==) Assigned the driver to the xf86ConfigLayout [ 90.501] (II) LoadModule: "modesetting" [ 90.502] (II) Loading /usr/X11R6/lib/modules/drivers/modesetting_drv.so [ 90.502] (II) Module modesetting: vendor="X.Org Foundation" [ 90.502] compiled for 1.18.4, module version = 1.18.4 [ 90.502] Module class: X.Org Video Driver [ 90.502] ABI class: X.Org Video Driver, version 20.0 [ 90.502] (II) LoadModule: "vesa" [ 90.503] (II) Loading /usr/X11R6/lib/modules/drivers/vesa_drv.so [ 90.503] (II) Module vesa: vendor="X.Org Foundation" [ 90.503] compiled for 1.18.4, module version = 2.3.4 [ 90.503] Module class: X.Org Video Driver [ 90.503] ABI class: X.Org Video Driver, version 20.0 [ 90.503] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [ 90.503] (II) VESA: driver for VESA chipsets: vesa [ 90.504] (**) modeset(0): claimed PCI slot 0@0:2:0 [ 90.504] (II) modeset(0): using default device [ 90.504] (WW) Falling back to old probe method for vesa [ 90.504] (II) modeset(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [ 90.504] (==) modeset(0): Depth 24, (==) framebuffer bpp 32 [ 90.504] (==) modeset(0): RGB weight 888 [ 90.504] (==) modeset(0): Default visual is TrueColor [ 90.504] (II) Loading sub module "glamoregl" [ 90.504] (II) LoadModule: "glamoregl" [ 90.505] (II) Loading /usr/X11R6/lib/modules/libglamoregl.so [ 90.517] (II) Module glamoregl: vendor="X.Org Foundation" [ 90.517] compiled for 1.18.4, module version = 1.0.0 [ 90.517] ABI class: X.Org ANSI C Emulation, version 0.4 [ 90.517] (II) glamor: OpenGL accelerated X.org driver based. [ 90.551] (II) glamor: EGL version 1.4 (DRI2): [ 90.565] (II) modeset(0): glamor initialized [ 90.566] (II) modeset(0): Output eDP-1 has no monitor section [ 90.568] (II) modeset(0): Output VGA-1 has no monitor section [ 90.568] (II) modeset(0): Output DP-1 has no monitor section [ 90.819] (II) modeset(0): Output HDMI-1 has no monitor section [ 90.819] (II) modeset(0): Output DP-2 has no monitor section [ 90.820] (II) modeset(0): Output HDMI-2 has no monitor section [ 90.821] (II) modeset(0): EDID for output eDP-1 [ 90.821] (II) modeset(0): Manufacturer: AUO Model: 133d Serial#: 0 [ 90.821] (II) modeset(0): Year: 2014 Week: 0 [ 90.821] (II) modeset(0): EDID Version: 1.4 [ 90.821] (II) modeset(0): Digital Display Input [ 90.821] (II) modeset(0): 6 bits per channel [ 90.821] (II) modeset(0): Digital interface is DisplayPort [ 90.821] (II) modeset(0): Max Image Size [cm]: horiz.: 31 vert.: 17 [ 90.821] (II) modeset(0): Gamma: 2.20 [ 90.821] (II) modeset(0): No DPMS capabilities specified [ 90.821] (II) modeset(0): Supported color encodings: RGB 4:4:4 [ 90.821] (II) modeset(0): First detailed timing is preferred mode [ 90.821] (II) modeset(0): Preferred mode is native pixel format and refresh rate [ 90.821] (II) modeset(0): redX: 0.643 redY: 0.336 greenX: 0.313 greenY: 0.620 [ 90.821] (II) modeset(0): blueX: 0.151 blueY: 0.053 whiteX: 0.313 whiteY: 0.329 [ 90.821] (II) modeset(0): Manufacturer's mask: 0 [ 90.821] (II) modeset(0): Supported detailed timing: [ 90.821] (II) modeset(0): clock: 141.0 MHz Image Size: 309 x 173 mm [ 90.821] (II) modeset(0): h_active: 1920 h_sync: 1936 h_sync_end 1952 h_blank_end 2104 h_border: 0 [ 90.821] (II) modeset(0): v_active: 1080 v_sync: 1083 v_sync_end 1097 v_blanking: 1116 v_border: 0 [ 90.821] (II) modeset(0): Unknown vendor-specific block f [ 90.821] (II) modeset(0): Unknown vendor-specific block 2 [ 90.821] (II) modeset(0): EDID (in hex): [ 90.821] (II) modeset(0): 00ffffffffffff0006af3d1300000000 [ 90.821] (II) modeset(0): 00180104951f11780287e5a456509e26 [ 90.821] (II) modeset(0): 0d505400000001010101010101010101 [ 90.821] (II) modeset(0): 010101010101143780b8703824401010 [ 90.821] (II) modeset(0): 3e0035ad100000180000000f00000000 [ 90.821] (II) modeset(0): 00000000000000000020000000000000 [ 90.821] (II) modeset(0): 00000000000000000000000000000002 [ 90.821] (II) modeset(0): 000c33ff103c961b10289620202000d9 [ 90.821] (II) modeset(0): Printing probed modes for output eDP-1 [ 90.821] (II) modeset(0): Modeline "1920x1080"x60.0 141.00 1920 1936 1952 2104 1080 1083 1097 1116 -hsync -vsync (67.0 kHz eP) [ 90.821] (II) modeset(0): Modeline "1400x1050"x60.0 122.00 1400 1488 1640 1880 1050 1052 1064 1082 +hsync +vsync (64.9 kHz d) [ 90.821] (II) modeset(0): Modeline "1280x1024"x60.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz d) [ 90.821] (II) modeset(0): Modeline "1280x960"x60.0 108.00 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync (60.0 kHz d) [ 90.821] (II) modeset(0): Modeline "1024x768"x120.1 133.47 1024 1100 1212 1400 768 768 770 794 doublescan -hsync +vsync (95.3 kHz d) [ 90.821] (II) modeset(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz d) [ 90.821] (II) modeset(0): Modeline "960x720"x120.0 117.00 960 1024 1128 1300 720 720 722 750 doublescan -hsync +vsync (90.0 kHz d) [ 90.821] (II) modeset(0): Modeline "928x696"x120.1 109.15 928 976 1088 1264 696 696 698 719 doublescan -hsync +vsync (86.4 kHz d) [ 90.821] (II) modeset(0): Modeline "896x672"x120.0 102.40 896 960 1060 1224 672 672 674 697 doublescan -hsync +vsync (83.7 kHz d) [ 90.821] (II) modeset(0): Modeline "800x600"x120.0 81.00 800 832 928 1080 600 600 602 625 doublescan +hsync +vsync (75.0 kHz d) [ 90.821] (II) modeset(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz d) [ 90.821] (II) modeset(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz d) [ 90.821] (II) modeset(0): Modeline "700x525"x120.0 61.00 700 744 820 940 525 526 532 541 doublescan +hsync +vsync (64.9 kHz d) [ 90.821] (II) modeset(0): Modeline "640x512"x120.0 54.00 640 664 720 844 512 512 514 533 doublescan +hsync +vsync (64.0 kHz d) [ 90.821] (II) modeset(0): Modeline "640x480"x120.0 54.00 640 688 744 900 480 480 482 500 doublescan +hsync +vsync (60.0 kHz d) [ 90.821] (II) modeset(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz d) [ 90.822] (II) modeset(0): Modeline "512x384"x120.0 32.50 512 524 592 672 384 385 388 403 doublescan -hsync -vsync (48.4 kHz d) [ 90.822] (II) modeset(0): Modeline "400x300"x120.6 20.00 400 420 484 528 300 300 302 314 doublescan +hsync +vsync (37.9 kHz d) [ 90.822] (II) modeset(0): Modeline "400x300"x112.7 18.00 400 412 448 512 300 300 301 312 doublescan +hsync +vsync (35.2 kHz d) [ 90.822] (II) modeset(0): Modeline "320x240"x120.1 12.59 320 328 376 400 240 245 246 262 doublescan -hsync -vsync (31.5 kHz d) [ 90.824] (II) modeset(0): EDID for output VGA-1 [ 90.824] (II) modeset(0): EDID for output DP-1 [ 91.074] (II) modeset(0): EDID for output HDMI-1 [ 91.074] (II) modeset(0): EDID for output DP-2 [ 91.075] (II) modeset(0): EDID for output HDMI-2 [ 91.075] (II) modeset(0): Output eDP-1 connected [ 91.075] (II) modeset(0): Output VGA-1 disconnected [ 91.075] (II) modeset(0): Output DP-1 disconnected [ 91.075] (II) modeset(0): Output HDMI-1 disconnected [ 91.075] (II) modeset(0): Output DP-2 disconnected [ 91.075] (II) modeset(0): Output HDMI-2 disconnected [ 91.075] (II) modeset(0): Using exact sizes for initial modes [ 91.075] (II) modeset(0): Output eDP-1 using initial mode 1920x1080 +0+0 [ 91.075] (II) modeset(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated. [ 91.075] (==) modeset(0): DPI set to (96, 96) [ 91.076] (II) Loading sub module "fb" [ 91.076] (II) LoadModule: "fb" [ 91.077] (II) Loading /usr/X11R6/lib/modules/libfb.so [ 91.078] (II) Module fb: vendor="X.Org Foundation" [ 91.078] compiled for 1.18.4, module version = 1.0.0 [ 91.078] ABI class: X.Org ANSI C Emulation, version 0.4 [ 91.078] (II) UnloadModule: "vesa" [ 91.078] (II) Unloading vesa [ 91.078] (==) Depth 24 pixmap format is 32 bpp [ 91.232] (==) modeset(0): Backing store enabled [ 91.232] (==) modeset(0): Silken mouse disabled [ 91.232] (II) modeset(0): RandR 1.2 enabled, ignore the following RandR disabled message. [ 91.234] (==) modeset(0): DPMS enabled [ 91.234] (WW) modeset(0): DRI2: glamor lacks support for pixmap import/export [ 91.234] (II) modeset(0): [DRI2] Setup complete [ 91.234] (II) modeset(0): [DRI2] DRI driver: i965 [ 91.234] (II) modeset(0): [DRI2] VDPAU driver: i965 [ 91.244] (--) RandR disabled [ 91.260] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer [ 91.260] (II) AIGLX: enabled GLX_ARB_create_context [ 91.260] (II) AIGLX: enabled GLX_ARB_create_context_profile [ 91.260] (II) AIGLX: enabled GLX_EXT_create_context_es{,2}_profile [ 91.260] (II) AIGLX: enabled GLX_INTEL_swap_event [ 91.260] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control [ 91.260] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB [ 91.260] (II) AIGLX: enabled GLX_ARB_fbconfig_float [ 91.260] (II) AIGLX: enabled GLX_EXT_fbconfig_packed_float [ 91.260] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects [ 91.260] (II) AIGLX: enabled GLX_ARB_create_context_robustness [ 91.260] (II) AIGLX: Loaded and initialized i965 [ 91.260] (II) GLX: Initialized DRI2 GL provider for screen 0 [ 91.263] (II) modeset(0): Damage tracking initialized [ 91.263] (II) modeset(0): Setting screen physical size to 508 x 285 [ 91.367] (II) config/wscons: checking input device /dev/wskbd [ 91.367] (II) wskbd: ignoring "user" layout [ 91.367] (II) LoadModule: "kbd" [ 91.368] (II) Loading /usr/X11R6/lib/modules/input/kbd_drv.so [ 91.368] (II) Module kbd: vendor="X.Org Foundation" [ 91.368] compiled for 1.18.4, module version = 1.9.0 [ 91.368] Module class: X.Org XInput Driver [ 91.368] ABI class: X.Org XInput driver, version 22.1 [ 91.368] (II) Using input driver 'kbd' for '/dev/wskbd' [ 91.368] (**) /dev/wskbd: always reports core events [ 91.369] (**) /dev/wskbd: always reports core events [ 91.369] (**) Option "Protocol" "standard" [ 91.369] (**) Option "XkbRules" "base" [ 91.369] (**) Option "XkbModel" "pc105" [ 91.369] (**) Option "XkbLayout" "us" [ 91.369] (II) XINPUT: Adding extended input device "/dev/wskbd" (type: KEYBOARD, id 6) [ 91.796] (II) config/wscons: checking input device /dev/wsmouse0 [ 91.797] (**) /dev/wsmouse0: Applying InputClass "touchpad catchall" [ 91.797] (**) /dev/wsmouse0: Applying InputClass "Default clickpad buttons" [ 91.797] (II) LoadModule: "synaptics" [ 91.799] (II) Loading /usr/X11R6/lib/modules/input/synaptics_drv.so [ 91.801] (II) Module synaptics: vendor="X.Org Foundation" [ 91.801] compiled for 1.18.4, module version = 1.9.0 [ 91.801] Module class: X.Org XInput Driver [ 91.801] ABI class: X.Org XInput driver, version 22.1 [ 91.801] (II) Using input driver 'synaptics' for '/dev/wsmouse0' [ 91.801] (**) /dev/wsmouse0: always reports core events [ 91.801] (**) Option "Device" "/dev/wsmouse0" [ 92.659] (--) synaptics: /dev/wsmouse0: x-axis range 1472 - 5676 resolution 45 [ 92.659] (--) synaptics: /dev/wsmouse0: y-axis range 1408 - 4758 resolution 68 [ 92.659] (**) /dev/wsmouse0: always reports core events [ 92.662] (II) XINPUT: Adding extended input device "/dev/wsmouse0" (type: TOUCHPAD, id 7) [ 92.663] (**) synaptics: /dev/wsmouse0: (accel) MinSpeed is now constant deceleration 2.5 [ 92.663] (**) synaptics: /dev/wsmouse0: (accel) MaxSpeed is now 1.75 [ 92.663] (**) synaptics: /dev/wsmouse0: (accel) AccelFactor is now 0.037 [ 92.663] (**) /dev/wsmouse0: (accel) keeping acceleration scheme 1 [ 92.663] (**) /dev/wsmouse0: (accel) acceleration profile 1 [ 92.663] (**) /dev/wsmouse0: (accel) acceleration factor: 2.000 [ 92.663] (**) /dev/wsmouse0: (accel) acceleration threshold: 4 [ 93.093] (II) config/wscons: checking input device /dev/wsmouse [ 93.093] (II) LoadModule: "ws" [ 93.095] (II) Loading /usr/X11R6/lib/modules/input/ws_drv.so [ 93.099] (II) Module ws: vendor="X.Org Foundation" [ 93.099] compiled for 1.18.4, module version = 1.3.0 [ 93.099] Module class: X.Org XInput Driver [ 93.099] ABI class: X.Org XInput driver, version 22.1 [ 93.099] (II) Using input driver 'ws' for '/dev/wsmouse' [ 93.099] (**) /dev/wsmouse: always reports core events [ 93.099] (II) ws: /dev/wsmouse: debuglevel 0 [ 93.099] (**) Option "Device" "/dev/wsmouse" [ 93.100] (**) ws: /dev/wsmouse: ZAxisMapping: buttons 4 and 5 [ 93.100] (**) ws: /dev/wsmouse: WAxisMapping: buttons 6 and 7 [ 93.100] (**) ws: /dev/wsmouse: associated screen: 0 [ 93.100] (II) ws: /dev/wsmouse: minimum x position: 0 [ 93.100] (II) ws: /dev/wsmouse: maximum x position: 1919 [ 93.100] (II) ws: /dev/wsmouse: minimum y position: 0 [ 93.100] (II) ws: /dev/wsmouse: maximum y position: 1079 [ 93.100] (==) ws: /dev/wsmouse: Buttons: 7 [ 93.101] (**) ws: /dev/wsmouse: YAxisMapping: buttons 4 and 5 [ 93.101] (II) XINPUT: Adding extended input device "/dev/wsmouse" (type: MOUSE, id 8) [ 93.102] (**) /dev/wsmouse: (accel) keeping acceleration scheme 1 [ 93.102] (**) /dev/wsmouse: (accel) acceleration profile 0 [ 93.102] (**) /dev/wsmouse: (accel) acceleration factor: 2.000 [ 93.102] (**) /dev/wsmouse: (accel) acceleration threshold: 4 [ 93.514] (II) modeset(0): EDID vendor "AUO", prod id 4925 [ 93.515] (II) modeset(0): Printing DDC gathered Modelines: [ 93.515] (II) modeset(0): Modeline "1920x1080"x0.0 141.00 1920 1936 1952 2104 1080 1083 1097 1116 -hsync -vsync (67.0 kHz eP) [ 74564.404] (II) modeset(0): EDID vendor "AUO", prod id 4925 [ 74564.404] (II) modeset(0): Printing DDC gathered Modelines: [ 74564.404] (II) modeset(0): Modeline "1920x1080"x0.0 141.00 1920 1936 1952 2104 1080 1083 1097 1116 -hsync -vsync (67.0 kHz eP) [ 74742.204] (II) modeset(0): EDID vendor "AUO", prod id 4925 [ 74742.204] (II) modeset(0): Printing DDC gathered Modelines: [ 74742.204] (II) modeset(0): Modeline "1920x1080"x0.0 141.00 1920 1936 1952 2104 1080 1083 1097 1116 -hsync -vsync (67.0 kHz eP) [ 80696.329] (II) modeset(0): EDID vendor "AUO", prod id 4925 [ 80696.329] (II) modeset(0): Printing DDC gathered Modelines: [ 80696.329] (II) modeset(0): Modeline "1920x1080"x0.0 141.00 1920 1936 1952 2104 1080 1083 1097 1116 -hsync -vsync (67.0 kHz eP) [109400.273] (II) modeset(0): EDID vendor "AUO", prod id 4925 [109400.273] (II) modeset(0): Printing DDC gathered Modelines: [109400.273] (II) modeset(0): Modeline "1920x1080"x0.0 141.00 1920 1936 1952 2104 1080 1083 1097 1116 -hsync -vsync (67.0 kHz eP) [110172.388] (II) modeset(0): EDID vendor "AUO", prod id 4925 [110172.388] (II) modeset(0): Printing DDC gathered Modelines: [110172.388] (II) modeset(0): Modeline "1920x1080"x0.0 141.00 1920 1936 1952 2104 1080 1083 1097 1116 -hsync -vsync (67.0 kHz eP) [110172.643] (II) modeset(0): EDID vendor "AUO", prod id 4925 [110172.643] (II) modeset(0): Printing DDC gathered Modelines: [110172.643] (II) modeset(0): Modeline "1920x1080"x0.0 141.00 1920 1936 1952 2104 1080 1083 1097 1116 -hsync -vsync (67.0 kHz eP) [110215.892] (II) modeset(0): EDID vendor "AUO", prod id 4925 [110215.892] (II) modeset(0): Printing DDC gathered Modelines: [110215.892] (II) modeset(0): Modeline "1920x1080"x0.0 141.00 1920 1936 1952 2104 1080 1083 1097 1116 -hsync -vsync (67.0 kHz eP) [110216.148] (II) modeset(0): EDID vendor "AUO", prod id 4925 [110216.148] (II) modeset(0): Printing DDC gathered Modelines: [110216.148] (II) modeset(0): Modeline "1920x1080"x0.0 141.00 1920 1936 1952 2104 1080 1083 1097 1116 -hsync -vsync (67.0 kHz eP) Please let me know if I can provide any additional information. Thank you. -- Bryan NB: I am aware I am using custom kernel. However, as the name suggests, the only difference between mine and GENERIC is the addition of the PPPOE_TERM_UNKNOWN_SESSIONS option, to cope with how my ISP has their PPPoE connections configured. >How-To-Repeat: Plug in mouse. Press forward or back buttons. >Fix: Unknown. dmesg: OpenBSD 6.1-current (GENERIC.MP-PPPOE_TERM_UNKNOWN_SESSIONS) #17: Thu Jul 20 20:49:09 JST 2017 shoshon...@shoshoni-m.shoshoni.info:/usr/src/sys/arch/amd64/compile/GENERIC.MP-PPPOE_TERM_UNKNOWN_SESSIONS real mem = 12539871232 (11958MB) avail mem = 12154036224 (11590MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xbcc0d000 (67 entries) bios0: vendor LENOVO version "GLET85WW (2.39 )" date 09/29/2016 bios0: LENOVO 20AWS27D00 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SLIC DBGP ECDT HPET APIC MCFG SSDT SSDT SSDT SSDT SSDT SSDT SSDT PCCT SSDT TCPA UEFI MSDM ASF! BATB FPDT UEFI DMAR acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP2(S4) EXP3(S4) XHCI(S3) EHC1(S3) EHC2(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiec0 at acpi0 acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i5-4300M CPU @ 2.60GHz, 2594.33 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT cpu0: 256KB 64b/line 8-way L2 cache cpu0: TSC frequency 2594327880 Hz cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 99MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) i5-4300M CPU @ 2.60GHz, 2594.00 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 1, core 0, package 0 cpu2 at mainbus0: apid 2 (application processor) cpu2: Intel(R) Core(TM) i5-4300M CPU @ 2.60GHz, 2594.00 MHz cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 0, core 1, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Core(TM) i5-4300M CPU @ 2.60GHz, 2594.00 MHz cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 1, core 1, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEG0) acpiprt2 at acpi0: bus -1 (PEG_) acpiprt3 at acpi0: bus 2 (EXP1) acpiprt4 at acpi0: bus 3 (EXP2) acpiprt5 at acpi0: bus -1 (EXP3) acpiprt6 at acpi0: bus -1 (EXP6) acpicpu0 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu2 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu3 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpipwrres0 at acpi0: PUBS, resource for XHCI, EHC1, EHC2 acpipwrres1 at acpi0: NVP3, resource for PEG_ acpipwrres2 at acpi0: NVP2, resource for PEG_ acpitz0 at acpi0: critical temperature is 200 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB "LEN0071" at acpi0 not configured "LEN0036" at acpi0 not configured "SMO1200" at acpi0 not configured acpibat0 at acpi0: BAT0 model "45N1161" serial 3584 type LION oem "LGC" acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 "PNP0C14" at acpi0 not configured "PNP0C14" at acpi0 not configured "PNP0C14" at acpi0 not configured "INT340F" at acpi0 not configured acpivideo0 at acpi0: VID_ acpivout at acpivideo0 not configured acpivideo1 at acpi0: VID_ cpu0: Enhanced SpeedStep 2594 MHz: speeds: 2601, 2600, 2500, 2300, 2200, 2100, 2000, 1800, 1700, 1600, 1400, 1300, 1200, 1100, 900, 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Core 4G Host" rev 0x06 inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 4600" rev 0x06 drm0 at inteldrm0 inteldrm0: msi inteldrm0: 1920x1080, 32bpp wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) azalia0 at pci0 dev 3 function 0 "Intel Core 4G HD Audio" rev 0x06: msi xhci0 at pci0 dev 20 function 0 "Intel 8 Series xHCI" rev 0x04: msi usb0 at xhci0: USB revision 3.0 uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 addr 1 "Intel 8 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured em0 at pci0 dev 25 function 0 "Intel I217-LM" rev 0x04: msi, address xx:xx:xx:xx:xx:xx ehci0 at pci0 dev 26 function 0 "Intel 8 Series USB" rev 0x04: apic 2 int 16 usb1 at ehci0: USB revision 2.0 uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 azalia1 at pci0 dev 27 function 0 "Intel 8 Series HD Audio" rev 0x04: msi azalia1: codecs: Realtek ALC292 audio0 at azalia1 ppb0 at pci0 dev 28 function 0 "Intel 8 Series PCIE" rev 0xd4: msi pci1 at ppb0 bus 2 rtsx0 at pci1 dev 0 function 0 "Realtek RTS5227 Card Reader" rev 0x01: msi sdmmc0 at rtsx0: 4-bit ppb1 at pci0 dev 28 function 1 "Intel 8 Series PCIE" rev 0xd4: msi pci2 at ppb1 bus 3 iwm0 at pci2 dev 0 function 0 "Intel Dual Band Wireless AC 7260" rev 0x83, msi ehci1 at pci0 dev 29 function 0 "Intel 8 Series USB" rev 0x04: apic 2 int 23 usb2 at ehci1: USB revision 2.0 uhub2 at usb2 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 pcib0 at pci0 dev 31 function 0 "Intel QM87 LPC" rev 0x04 ahci0 at pci0 dev 31 function 2 "Intel 8 Series AHCI" rev 0x04: msi, AHCI 1.3 ahci0: port 0: 6.0Gb/s ahci0: port 5: 1.5Gb/s scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0: <ATA, Samsung SSD 850, EMT0> SCSI3 0/direct fixed naa.5002538d41895ee0 sd0: 476940MB, 512 bytes/sector, 976773168 sectors, thin cd0 at scsibus1 targ 5 lun 0: <PLDS, DVD-RW DU8A5SH, BU51> ATAPI 5/cdrom removable ichiic0 at pci0 dev 31 function 3 "Intel 8 Series SMBus" rev 0x04: apic 2 int 18 iic0 at ichiic0 isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 irq 1 irq 12 pckbd0 at pckbc0 (kbd slot) wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) wsmouse0 at pms0 mux 0 wsmouse1 at pms0 mux 0 pms0: Synaptics clickpad, firmware 8.2 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 vmm0 at mainbus0: VMX/EPT error: [drm:pid0:intel_uncore_check_errors] *ERROR* Unclaimed register before interrupt umass0 at uhub0 port 2 configuration 1 interface 0 "SHARP Corporation 305SH" rev 2.00/2.28 addr 2 umass0: using SCSI over Bulk-Only scsibus2 at umass0: 2 targets, initiator 0 sd1 at scsibus2 targ 1 lun 0: <SHARP, 305SH microSD, 3.14> SCSI3 0/direct removable serial.04dd97d5598055430410 uhidev0 at uhub0 port 3 configuration 1 interface 0 "WiseGroup.,Ltd JC-PS101U" rev 1.00/2.88 addr 3 uhidev0: iclass 3/0 uhid0 at uhidev0: input=7, output=3, feature=0 uhidev1 at uhub0 port 6 configuration 1 interface 0 "Logitech USB Laser Mouse" rev 2.00/56.01 addr 4 uhidev1: iclass 3/1 ums0 at uhidev1: 8 buttons, Z and W dir wsmouse2 at ums0 mux 0 ugen0 at uhub0 port 7 "Validity Sensors VFS5011 Fingerprint Reader" rev 1.10/0.78 addr 5 ugen1 at uhub0 port 11 "Intel product 0x07dc" rev 2.00/0.01 addr 6 uvideo0 at uhub0 port 12 configuration 1 interface 0 "SunplusIT INC. Integrated Camera" rev 2.00/0.03 addr 7 sdmmc0: can't enable card video0 at uvideo0 umass1 at uhub0 port 16 configuration 1 interface 0 "Seagate Backup+ Desk" rev 3.00/3.42 addr 8 umass1: using SCSI over Bulk-Only scsibus3 at umass1: 2 targets, initiator 0 sd2 at scsibus3 targ 1 lun 0: <Seagate, Backup+ Desk, 0342> SCSI4 0/direct fixed sd2: 4769307MB, 4096 bytes/sector, 1220942645 sectors uhub3 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" rev 2.00/0.04 addr 2 uhub4 at uhub2 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" rev 2.00/0.04 addr 2 vscsi0 at root scsibus4 at vscsi0: 256 targets softraid0 at root scsibus5 at softraid0: 256 targets iwm0: hw rev 0x140, fw ver 16.242414.0, address xx:xx:xx:xx:xx:xx usbdevs: Controller /dev/usb0: addr 1: super speed, self powered, config 1, xHCI root hub(0x0000), Intel(0x8086), rev 1.00 port 1 disabled port 2 disabled port 3 addr 3: low speed, power 100 mA, config 1, JC-PS101U(0x8888), WiseGroup.,Ltd(0x0925), rev 2.88 port 4 disabled port 5 disabled port 6 addr 4: low speed, power 98 mA, config 1, USB Laser Mouse(0xc069), Logitech(0x046d), rev 56.01 port 7 addr 5: full speed, power 100 mA, config 1, VFS5011 Fingerprint Reader(0x0017), Validity Sensors(0x138a), rev 0.78, iSerialNumber 7f178585b00e port 8 disabled port 9 disabled port 10 disabled port 11 addr 6: full speed, self powered, config 1, product 0x07dc(0x07dc), Intel(0x8087), rev 0.01 port 12 addr 7: high speed, power 500 mA, config 1, Integrated Camera(0x0268), SunplusIT INC.(0x5986), rev 0.03 port 13 disabled port 14 disabled port 15 disabled port 16 disabled Controller /dev/usb1: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x8086), rev 1.00 port 1 addr 2: high speed, self powered, config 1, Rate Matching Hub(0x8008), Intel(0x8087), rev 0.04 port 1 powered port 2 powered port 3 powered port 4 powered port 5 powered port 6 powered port 2 powered port 3 powered Controller /dev/usb2: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x8086), rev 1.00 port 1 addr 2: high speed, self powered, config 1, Rate Matching Hub(0x8000), Intel(0x8087), rev 0.04 port 1 powered port 2 powered port 3 powered port 4 powered port 5 powered port 6 powered port 7 powered port 8 powered port 2 powered port 3 powered