Re: GTX 1050Ti can't plugin-play usb devices

KIRIYAMA Kazuhiko <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]>
On Mon, 21 Sep 2020 20:07:18 +0900,
Niclas Zeising wrote:
> 
> On 2020-09-21 12:54, KIRIYAMA Kazuhiko wrote:
> > On Mon, 21 Sep 2020 16:54:09 +0900,
> > Niclas Zeising wrote:
> >>
> >> On 2020-09-21 08:42, KIRIYAMA Kazuhiko wrote:
> >>> Hi, folks
> >>>
> >>> I've implemented NVIDIA GTX 1050Ti in Supermicro X11SPM-F
> >>> machine and built up X environment on 13.0-CURRENT
> >>> (r363381). All went right and `startx' successfully done.
> >>> But usb tools could not plugin-played. After pull out usb
> >>> and pull in, keyboard, mouse and usbaudio all were not
> >>> responded. I killed X at remote machine, then all worked
> >>> again. Is there any keybord or mouse device fixed by xorg ?
> >>>
> >>
> >> You need to remove the configuration for keyboard and mouse, and have it
> >> use libinput instead, to get auto configuration of input devices in X on
> >> FreeBSD 12.1 and later.
> >>
> >>> /etc/X11/xorg.conf:
> >>> # nvidia-xconfig: X configuration file generated by nvidia-xconfig
> >>> # nvidia-xconfig:  version 440.100
> >>>
> >>>
> >>> Section "ServerLayout"
> >>>       Identifier     "X.org Configured"
> >>>       Screen      0  "Screen0" 0 0
> >>>       Screen      1  "Screen1" RightOf "Screen0"
> >>>       InputDevice    "Mouse0" "CorePointer"
> >>>       InputDevice    "Keyboard0" "CoreKeyboard"
> >>
> >> Remove the two lines above.
> > 
> > I've done above:
> > 
> > admin@smtp:~[51]% diff -u /etc/X11/xorg.conf.bak  /etc/X11/xorg.conf
> > --- /etc/X11/xorg.conf.bak      2020-09-21 17:04:29.389641000 +0900
> > +++ /etc/X11/xorg.conf  2020-09-21 19:43:45.328892000 +0900
> > @@ -6,8 +6,6 @@
> >       Identifier     "X.org Configured"
> >       Screen      0  "Screen0" 0 0
> >       Screen      1  "Screen1" RightOf "Screen0"
> > -    InputDevice    "Mouse0" "CorePointer"
> > -    InputDevice    "Keyboard0" "CoreKeyboard"
> >   EndSection
> >   
> >   Section "Files"
> > @@ -24,19 +22,6 @@
> >   Section "Module"
> >       Load           "glxserver_nvidia"
> >       Load           "glx"
> > -EndSection
> > -
> > -Section "InputDevice"
> > -    Identifier     "Keyboard0"
> > -    Driver         "kbd"
> > -EndSection
> > -
> > -Section "InputDevice"
> > -    Identifier     "Mouse0"
> > -    Driver         "mouse"
> > -    Option         "Protocol" "auto"
> > -    Option         "Device" "/dev/sysmouse"
> > -    Option         "ZAxisMapping" "4 5 6 7"
> >   EndSection
> >   
> >   Section "Monitor"
> > admin@smtp:~[52]%
> > 
> > And reboot desktop, but nothing changed. In this case, dmesg
> > as follows:
> 
> Can you provide Xorg.log with the new settings?

/var/log/Xorg.0.log:

[ 42717.520] 
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[ 42717.520] Build Operating System: FreeBSD 13.0-CURRENT amd64 
[ 42717.520] Current Operating System: FreeBSD smtp 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r363381M: Thu Jul 30 16:46:49 JST 2020     root@msrvkxb:/usr/obj/usr/src/amd64.amd64/sys/XIJ amd64
[ 42717.520] Build Date: 24 July 2020  05:37:17PM
[ 42717.520]  
[ 42717.520] Current version of pixman: 0.40.0
[ 42717.520] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[ 42717.520] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 42717.521] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Sep 21 19:45:21 2020
[ 42717.521] (==) Using config file: "/etc/X11/xorg.conf"
[ 42717.521] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[ 42717.521] (==) ServerLayout "X.org Configured"
[ 42717.521] (**) |-->Screen "Screen0" (0)
[ 42717.521] (**) |   |-->Monitor "Monitor0"
[ 42717.522] (**) |   |-->Device "Card0"
[ 42717.522] (**) |-->Screen "Screen1" (1)
[ 42717.522] (**) |   |-->Monitor "Monitor1"
[ 42717.522] (**) |   |-->Device "Card1"
[ 42717.522] (==) Automatically adding devices
[ 42717.522] (==) Automatically enabling devices
[ 42717.522] (==) Not automatically adding GPU devices
[ 42717.522] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 42717.522] (**) FontPath set to:
	/usr/local/share/fonts/misc/,
	/usr/local/share/fonts/TTF/,
	/usr/local/share/fonts/OTF/,
	/usr/local/share/fonts/Type1/,
	/usr/local/share/fonts/100dpi/,
	/usr/local/share/fonts/75dpi/,
	catalogue:/usr/local/etc/X11/fontpath.d,
	/usr/local/share/fonts/misc/,
	/usr/local/share/fonts/TTF/,
	/usr/local/share/fonts/OTF/,
	/usr/local/share/fonts/Type1/,
	/usr/local/share/fonts/100dpi/,
	/usr/local/share/fonts/75dpi/,
	catalogue:/usr/local/etc/X11/fontpath.d
[ 42717.523] (**) ModulePath set to "/usr/local/lib/xorg/modules"
[ 42717.523] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 42717.523] (II) Loader magic: 0x4341b0
[ 42717.523] (II) Module ABI versions:
[ 42717.523] 	X.Org ANSI C Emulation: 0.4
[ 42717.523] 	X.Org Video Driver: 24.1
[ 42717.523] 	X.Org XInput driver : 24.1
[ 42717.523] 	X.Org Server Extension : 10.0
[ 42717.523] (!!) More than one possible primary device found
[ 42717.523] (--) PCI: (3@0:0:0) 1a03:2000:15d9:095d rev 65, Mem @ 0xa3000000/16777216, 0xa4000000/131072, I/O @ 0x00003000/128, BIOS @ 0x????????/65536
[ 42717.523] (--) PCI: (101@0:0:0) 10de:1c82:1462:8c96 rev 161, Mem @ 0xdf000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000b000/128, BIOS @ 0x????????/65536
[ 42717.523] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[ 42717.523] (II) LoadModule: "glxservernvidia"
[ 42717.524] (WW) Warning, couldn't open module glxservernvidia
[ 42717.524] (EE) Failed to load module "glxservernvidia" (module does not exist, 0)
[ 42717.524] (II) LoadModule: "glx"
[ 42717.524] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[ 42717.526] (II) Module glx: vendor="X.Org Foundation"
[ 42717.526] 	compiled for 1.20.8, module version = 1.0.0
[ 42717.526] 	ABI class: X.Org Server Extension, version 10.0
[ 42717.526] (II) LoadModule: "nvidia"
[ 42717.526] (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
[ 42717.526] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 42717.526] 	compiled for 1.6.99.901, module version = 1.0.0
[ 42717.527] 	Module class: X.Org Video Driver
[ 42717.527] (II) NVIDIA dlloader X Driver  440.100  Fri May 29 08:13:34 UTC 2020
[ 42717.527] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 42717.527] (--) Using syscons driver with X support (version 2.0)
[ 42717.527] (--) using VT number 9

[ 42717.740] (II) Loading sub module "fb"
[ 42717.740] (II) LoadModule: "fb"
[ 42717.740] (II) Loading /usr/local/lib/xorg/modules/libfb.so
[ 42717.741] (II) Module fb: vendor="X.Org Foundation"
[ 42717.741] 	compiled for 1.20.8, module version = 1.0.0
[ 42717.741] 	ABI class: X.Org ANSI C Emulation, version 0.4
[ 42717.741] (II) Loading sub module "wfb"
[ 42717.741] (II) LoadModule: "wfb"
[ 42717.741] (II) Loading /usr/local/lib/xorg/modules/libwfb.so
[ 42717.741] (II) Module wfb: vendor="X.Org Foundation"
[ 42717.741] 	compiled for 1.20.8, module version = 1.0.0
[ 42717.741] 	ABI class: X.Org ANSI C Emulation, version 0.4
[ 42717.741] (II) Loading sub module "ramdac"
[ 42717.741] (II) LoadModule: "ramdac"
[ 42717.742] (II) Module "ramdac" already built-in
[ 42717.742] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 42717.742] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[ 42717.742] (==) NVIDIA(0): RGB weight 888
[ 42717.742] (==) NVIDIA(0): Default visual is TrueColor
[ 42717.742] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 42717.742] (**) NVIDIA(0): Enabling 2D acceleration
[ 42717.742] (II) Loading sub module "glxserver_nvidia"
[ 42717.742] (II) LoadModule: "glxserver_nvidia"
[ 42717.742] (II) Loading /usr/local/lib/xorg/modules/extensions/libglxserver_nvidia.so
[ 42717.748] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[ 42717.748] 	compiled for 1.6.99.901, module version = 1.0.0
[ 42717.748] 	Module class: X.Org Server Extension
[ 42717.748] (II) NVIDIA GLX Module  440.100  Fri May 29 08:12:16 UTC 2020
[ 42717.748] (II) NVIDIA: The X server supports PRIME Render Offload.
[ 42718.367] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:101:0:0
[ 42718.368] (--) NVIDIA(0):     DFP-0
[ 42718.368] (--) NVIDIA(0):     DFP-1 (boot)
[ 42718.368] (--) NVIDIA(0):     DFP-2
[ 42718.368] (--) NVIDIA(0):     DFP-3
[ 42718.368] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 1050 Ti (GP107-A) at PCI:101:0:0
[ 42718.368] (II) NVIDIA(0):     (GPU-0)
[ 42718.369] (--) NVIDIA(0): Memory: 4194304 kBytes
[ 42718.369] (--) NVIDIA(0): VideoBIOS: 86.07.42.00.88
[ 42718.369] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 42718.370] (--) NVIDIA(GPU-0): DFP-0: disconnected
[ 42718.370] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[ 42718.370] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[ 42718.370] (--) NVIDIA(GPU-0): 
[ 42718.400] (--) NVIDIA(GPU-0): BenQ GC2870 (DFP-1): connected
[ 42718.400] (--) NVIDIA(GPU-0): BenQ GC2870 (DFP-1): Internal TMDS
[ 42718.401] (--) NVIDIA(GPU-0): BenQ GC2870 (DFP-1): 600.0 MHz maximum pixel clock
[ 42718.401] (--) NVIDIA(GPU-0): 
[ 42718.401] (--) NVIDIA(GPU-0): DFP-2: disconnected
[ 42718.401] (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
[ 42718.401] (--) NVIDIA(GPU-0): DFP-2: 1440.0 MHz maximum pixel clock
[ 42718.401] (--) NVIDIA(GPU-0): 
[ 42718.402] (--) NVIDIA(GPU-0): DFP-3: disconnected
[ 42718.402] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[ 42718.402] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[ 42718.402] (--) NVIDIA(GPU-0): 
[ 42718.408] (II) NVIDIA(0): Validated MetaModes:
[ 42718.408] (II) NVIDIA(0):     "DFP-1:1920x1080"
[ 42718.408] (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080
[ 42718.414] (--) NVIDIA(0): DPI set to (78, 80); computed from "UseEdidDpi" X config
[ 42718.414] (--) NVIDIA(0):     option
[ 42718.414] (II) NVIDIA: Reserving 24576.00 MB of virtual memory for indirect memory
[ 42718.414] (II) NVIDIA:     access.
[ 42718.421] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[ 42718.421] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[ 42718.421] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[ 42718.421] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[ 42718.421] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[ 42718.421] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[ 42718.421] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[ 42718.421] (II) NVIDIA(0):     Config Options in the README.
[ 42718.458] (II) NVIDIA(0): Setting mode "DFP-1:1920x1080"
[ 42718.509] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 42718.509] (==) NVIDIA(0): Backing store enabled
[ 42718.509] (==) NVIDIA(0): Silken mouse enabled
[ 42718.510] (**) NVIDIA(0): DPMS enabled
[ 42718.510] (II) Loading sub module "dri2"
[ 42718.510] (II) LoadModule: "dri2"
[ 42718.510] (II) Module "dri2" already built-in
[ 42718.510] (II) NVIDIA(0): [DRI2] Setup complete
[ 42718.510] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[ 42718.510] (II) Initializing extension Generic Event Extension
[ 42718.511] (II) Initializing extension SHAPE
[ 42718.511] (II) Initializing extension MIT-SHM
[ 42718.512] (II) Initializing extension XInputExtension
[ 42718.512] (II) Initializing extension XTEST
[ 42718.513] (II) Initializing extension BIG-REQUESTS
[ 42718.513] (II) Initializing extension SYNC
[ 42718.513] (II) Initializing extension XKEYBOARD
[ 42718.514] (II) Initializing extension XC-MISC
[ 42718.514] (II) Initializing extension SECURITY
[ 42718.515] (II) Initializing extension XFIXES
[ 42718.515] (II) Initializing extension RENDER
[ 42718.516] (II) Initializing extension RANDR
[ 42718.517] (II) Initializing extension COMPOSITE
[ 42718.517] (II) Initializing extension DAMAGE
[ 42718.517] (II) Initializing extension MIT-SCREEN-SAVER
[ 42718.518] (II) Initializing extension DOUBLE-BUFFER
[ 42718.518] (II) Initializing extension RECORD
[ 42718.519] (II) Initializing extension DPMS
[ 42718.519] (II) Initializing extension Present
[ 42718.520] (II) Initializing extension DRI3
[ 42718.520] (II) Initializing extension X-Resource
[ 42718.520] (II) Initializing extension XVideo
[ 42718.521] (II) Initializing extension XVideo-MotionCompensation
[ 42718.521] (II) Initializing extension GLX
[ 42718.521] (II) Initializing extension GLX
[ 42718.521] (II) Indirect GLX disabled.
[ 42718.521] (II) GLX: Another vendor is already registered for screen 0
[ 42718.521] (II) Initializing extension XFree86-VidModeExtension
[ 42718.522] (II) Initializing extension XFree86-DGA
[ 42718.522] (II) Initializing extension XFree86-DRI
[ 42718.522] (II) Initializing extension DRI2
[ 42718.523] (II) Initializing extension NV-GLX
[ 42718.523] (II) Initializing extension NV-CONTROL
[ 42718.524] (II) Initializing extension XINERAMA
[ 42718.693] (II) config/udev: Adding input device System mouse (/dev/input/event0)
[ 42718.693] (**) System mouse: Applying InputClass "libinput pointer catchall"
[ 42718.693] (II) LoadModule: "libinput"
[ 42718.693] (II) Loading /usr/local/lib/xorg/modules/input/libinput_drv.so
[ 42718.696] (II) Module libinput: vendor="X.Org Foundation"
[ 42718.696] 	compiled for 1.20.8, module version = 0.30.0
[ 42718.696] 	Module class: X.Org XInput Driver
[ 42718.696] 	ABI class: X.Org XInput driver, version 24.1
[ 42718.696] (II) Using input driver 'libinput' for 'System mouse'
[ 42718.696] (**) System mouse: always reports core events
[ 42718.696] (**) Option "Device" "/dev/input/event0"
[ 42718.696] (**) Option "_source" "server/udev"
[ 42718.699] (II) event0  - System mouse: is tagged by udev as: Mouse
[ 42718.699] (II) event0  - System mouse: device is a pointer
[ 42718.700] (II) event0  - System mouse: device removed
[ 42718.700] (**) Option "config_info" "udev:/dev/input/event0"
[ 42718.700] (II) XINPUT: Adding extended input device "System mouse" (type: MOUSE, id 6)
[ 42718.700] (**) Option "AccelerationScheme" "none"
[ 42718.700] (**) System mouse: (accel) selected scheme none/0
[ 42718.700] (**) System mouse: (accel) acceleration factor: 2.000
[ 42718.700] (**) System mouse: (accel) acceleration threshold: 4
[ 42718.701] (II) event0  - System mouse: is tagged by udev as: Mouse
[ 42718.701] (II) event0  - System mouse: device is a pointer
[ 42718.702] (II) config/udev: Adding input device System keyboard multiplexer (/dev/input/event1)
[ 42718.702] (**) System keyboard multiplexer: Applying InputClass "Evdev keyboard"
[ 42718.702] (**) System keyboard multiplexer: Applying InputClass "libinput keyboard catchall"
[ 42718.702] (II) Using input driver 'libinput' for 'System keyboard multiplexer'
[ 42718.702] (**) System keyboard multiplexer: always reports core events
[ 42718.702] (**) Option "Device" "/dev/input/event1"
[ 42718.702] (**) Option "_source" "server/udev"
[ 42718.703] (II) event1  - System keyboard multiplexer: is tagged by udev as: Keyboard
[ 42718.703] (II) event1  - System keyboard multiplexer: device is a keyboard
[ 42718.703] (II) event1  - System keyboard multiplexer: device removed
[ 42718.703] (**) Option "config_info" "udev:/dev/input/event1"
[ 42718.704] (II) XINPUT: Adding extended input device "System keyboard multiplexer" (type: KEYBOARD, id 7)
[ 42718.704] (**) Option "xkb_rules" "evdev"
[ 42718.743] (II) event1  - System keyboard multiplexer: is tagged by udev as: Keyboard
[ 42718.743] (II) event1  - System keyboard multiplexer: device is a keyboard
[ 42718.744] (II) config/udev: Adding input device vendor 0x0557 product 0x2419 (/dev/input/event2)
[ 42718.744] (**) vendor 0x0557 product 0x2419: Applying InputClass "Evdev keyboard"
[ 42718.744] (**) vendor 0x0557 product 0x2419: Applying InputClass "libinput keyboard catchall"
[ 42718.744] (II) Using input driver 'libinput' for 'vendor 0x0557 product 0x2419'
[ 42718.744] (**) vendor 0x0557 product 0x2419: always reports core events
[ 42718.744] (**) Option "Device" "/dev/input/event2"
[ 42718.744] (**) Option "_source" "server/udev"
[ 42718.745] (II) event2  - vendor 0x0557 product 0x2419, class 0/0, rev 1.10/1.00, addr 2: is tagged by udev as: Keyboard
[ 42718.745] (II) event2  - vendor 0x0557 product 0x2419, class 0/0, rev 1.10/1.00, addr 2: device is a keyboard
[ 42718.746] (II) event2  - vendor 0x0557 product 0x2419, class 0/0, rev 1.10/1.00, addr 2: device removed
[ 42718.746] (**) Option "config_info" "udev:/dev/input/event2"
[ 42718.746] (II) XINPUT: Adding extended input device "vendor 0x0557 product 0x2419" (type: KEYBOARD, id 8)
[ 42718.746] (**) Option "xkb_rules" "evdev"
[ 42718.747] (II) event2  - vendor 0x0557 product 0x2419, class 0/0, rev 1.10/1.00, addr 2: is tagged by udev as: Keyboard
[ 42718.747] (II) event2  - vendor 0x0557 product 0x2419, class 0/0, rev 1.10/1.00, addr 2: device is a keyboard
[ 42718.748] (II) config/udev: Adding input device vendor 0x0557 product 0x2419 (/dev/input/event3)
[ 42718.748] (**) vendor 0x0557 product 0x2419: Applying InputClass "libinput pointer catchall"
[ 42718.748] (II) Using input driver 'libinput' for 'vendor 0x0557 product 0x2419'
[ 42718.748] (**) vendor 0x0557 product 0x2419: always reports core events
[ 42718.748] (**) Option "Device" "/dev/input/event3"
[ 42718.748] (**) Option "_source" "server/udev"
[ 42718.749] (II) event3  - vendor 0x0557 product 0x2419, class 0/0, rev 1.10/1.00, addr 2: is tagged by udev as: Mouse
[ 42718.749] (II) event3  - vendor 0x0557 product 0x2419, class 0/0, rev 1.10/1.00, addr 2: device is a pointer
[ 42718.750] (II) event3  - vendor 0x0557 product 0x2419, class 0/0, rev 1.10/1.00, addr 2: device removed
[ 42718.750] (**) Option "config_info" "udev:/dev/input/event3"
[ 42718.750] (II) XINPUT: Adding extended input device "vendor 0x0557 product 0x2419" (type: MOUSE, id 9)
[ 42718.750] (**) Option "AccelerationScheme" "none"
[ 42718.750] (**) vendor 0x0557 product 0x2419: (accel) selected scheme none/0
[ 42718.750] (**) vendor 0x0557 product 0x2419: (accel) acceleration factor: 2.000
[ 42718.750] (**) vendor 0x0557 product 0x2419: (accel) acceleration threshold: 4
[ 42718.751] (II) event3  - vendor 0x0557 product 0x2419, class 0/0, rev 1.10/1.00, addr 2: is tagged by udev as: Mouse
[ 42718.751] (II) event3  - vendor 0x0557 product 0x2419, class 0/0, rev 1.10/1.00, addr 2: device is a pointer
[ 42718.752] (II) config/udev: Adding input device SIGMACHIP USB Keyboard (/dev/input/event4)
[ 42718.752] (**) SIGMACHIP USB Keyboard: Applying InputClass "Evdev keyboard"
[ 42718.752] (**) SIGMACHIP USB Keyboard: Applying InputClass "libinput keyboard catchall"
[ 42718.752] (II) Using input driver 'libinput' for 'SIGMACHIP USB Keyboard'
[ 42718.752] (**) SIGMACHIP USB Keyboard: always reports core events
[ 42718.752] (**) Option "Device" "/dev/input/event4"
[ 42718.752] (**) Option "_source" "server/udev"
[ 42718.753] (II) event4  - SIGMACHIP USB Keyboard, class 0/0, rev 1.10/1.11, addr 30: is tagged by udev as: Keyboard
[ 42718.753] (II) event4  - SIGMACHIP USB Keyboard, class 0/0, rev 1.10/1.11, addr 30: device is a keyboard
[ 42718.753] (II) event4  - SIGMACHIP USB Keyboard, class 0/0, rev 1.10/1.11, addr 30: device removed
[ 42718.753] (**) Option "config_info" "udev:/dev/input/event4"
[ 42718.754] (II) XINPUT: Adding extended input device "SIGMACHIP USB Keyboard" (type: KEYBOARD, id 10)
[ 42718.754] (**) Option "xkb_rules" "evdev"
[ 42718.755] (II) event4  - SIGMACHIP USB Keyboard, class 0/0, rev 1.10/1.11, addr 30: is tagged by udev as: Keyboard
[ 42718.755] (II) event4  - SIGMACHIP USB Keyboard, class 0/0, rev 1.10/1.11, addr 30: device is a keyboard
[ 42718.755] (II) config/udev: Adding input device Logitech USB Optical Mouse (/dev/input/event5)
[ 42718.755] (**) Logitech USB Optical Mouse: Applying InputClass "libinput pointer catchall"
[ 42718.755] (II) Using input driver 'libinput' for 'Logitech USB Optical Mouse'
[ 42718.755] (**) Logitech USB Optical Mouse: always reports core events
[ 42718.755] (**) Option "Device" "/dev/input/event5"
[ 42718.756] (**) Option "_source" "server/udev"
[ 42718.757] (II) event5  - Logitech USB Optical Mouse, class 0/0, rev 2.00/72.00, addr 31: is tagged by udev as: Mouse
[ 42718.757] (II) event5  - Logitech USB Optical Mouse, class 0/0, rev 2.00/72.00, addr 31: device is a pointer
[ 42718.757] (II) event5  - Logitech USB Optical Mouse, class 0/0, rev 2.00/72.00, addr 31: device removed
[ 42718.757] (**) Option "config_info" "udev:/dev/input/event5"
[ 42718.757] (II) XINPUT: Adding extended input device "Logitech USB Optical Mouse" (type: MOUSE, id 11)
[ 42718.757] (**) Option "AccelerationScheme" "none"
[ 42718.758] (**) Logitech USB Optical Mouse: (accel) selected scheme none/0
[ 42718.758] (**) Logitech USB Optical Mouse: (accel) acceleration factor: 2.000
[ 42718.758] (**) Logitech USB Optical Mouse: (accel) acceleration threshold: 4
[ 42718.759] (II) event5  - Logitech USB Optical Mouse, class 0/0, rev 2.00/72.00, addr 31: is tagged by udev as: Mouse
[ 42718.759] (II) event5  - Logitech USB Optical Mouse, class 0/0, rev 2.00/72.00, addr 31: device is a pointer
[ 42718.790] (--) NVIDIA(GPU-0): BenQ GC2870 (DFP-1): connected
[ 42718.790] (--) NVIDIA(GPU-0): BenQ GC2870 (DFP-1): Internal TMDS
[ 42718.790] (--) NVIDIA(GPU-0): BenQ GC2870 (DFP-1): 600.0 MHz maximum pixel clock
[ 42718.790] (--) NVIDIA(GPU-0): 
[ 42718.820] (--) NVIDIA(GPU-0): BenQ GC2870 (DFP-1): connected
[ 42718.820] (--) NVIDIA(GPU-0): BenQ GC2870 (DFP-1): Internal TMDS
[ 42718.820] (--) NVIDIA(GPU-0): BenQ GC2870 (DFP-1): 600.0 MHz maximum pixel clock
[ 42718.820] (--) NVIDIA(GPU-0): 
[ 42771.771] (--) NVIDIA(GPU-0): BenQ GC2870 (DFP-1): connected
[ 42771.771] (--) NVIDIA(GPU-0): BenQ GC2870 (DFP-1): Internal TMDS
[ 42771.771] (--) NVIDIA(GPU-0): BenQ GC2870 (DFP-1): 600.0 MHz maximum pixel clock
[ 42771.771] (--) NVIDIA(GPU-0): 
[ 42771.802] (--) NVIDIA(GPU-0): BenQ GC2870 (DFP-1): connected
[ 42771.803] (--) NVIDIA(GPU-0): BenQ GC2870 (DFP-1): Internal TMDS
[ 42771.803] (--) NVIDIA(GPU-0): BenQ GC2870 (DFP-1): 600.0 MHz maximum pixel clock
[ 42771.803] (--) NVIDIA(GPU-0): 
[ 42773.486] (--) NVIDIA(GPU-0): BenQ GC2870 (DFP-1): connected
[ 42773.486] (--) NVIDIA(GPU-0): BenQ GC2870 (DFP-1): Internal TMDS
[ 42773.487] (--) NVIDIA(GPU-0): BenQ GC2870 (DFP-1): 600.0 MHz maximum pixel clock
[ 42773.487] (--) NVIDIA(GPU-0): 
[ 42773.518] (--) NVIDIA(GPU-0): BenQ GC2870 (DFP-1): connected
[ 42773.518] (--) NVIDIA(GPU-0): BenQ GC2870 (DFP-1): Internal TMDS
[ 42773.518] (--) NVIDIA(GPU-0): BenQ GC2870 (DFP-1): 600.0 MHz maximum pixel clock
[ 42773.518] (--) NVIDIA(GPU-0): 

> What are you expecting should happen?

After pull out usb, put into usb again, then both keyboard
and mouse work again.

> what does xinput say?  libinput list-devices?

I can't work in X because of keyinput freezed, so work in
remote terminal:

root@smtp:~ # xinput 
Unable to connect to X server
root@smtp:~ # libinput list-devices
Device:           System mouse
Kernel:           /dev/input/event0
Group:            1
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   button
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   flat *adaptive
Rotation:         n/a

Device:           System keyboard multiplexer
Kernel:           /dev/input/event1
Group:            2
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           vendor 0x0557 product 0x2419, class 0/0, rev 1.10/1.00, addr 2
Kernel:           /dev/input/event2
Group:            3
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           vendor 0x0557 product 0x2419, class 0/0, rev 1.10/1.00, addr 2
Kernel:           /dev/input/event3
Group:            4
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

root@smtp:~ # 

> Regards
> -- 
> Niclas
> 

Regards
---
Kazuhiko Kiriyama <[email protected]>
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.