Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Sep 2020 13:07:18 +0200
From:      Niclas Zeising <zeising+freebsd@daemonic.se>
To:        KIRIYAMA Kazuhiko <kiri@truefc.org>
Cc:        x11@FreeBSD.org
Subject:   Re: GTX 1050Ti can't plugin-play usb devices
Message-ID:  <03a320b7-3230-7c10-3f79-b44c442ec92b@daemonic.se>
In-Reply-To: <202009211054.08LAseE4070179@kx.truefc.org>
References:  <202009210642.08L6gdmb037247@kx.truefc.org> <9eb6fce2-61d3-9938-6d3c-73440399b8d4@daemonic.se> <202009211054.08LAseE4070179@kx.truefc.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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?
What are you expecting should happen?
what does xinput say?  libinput list-devices?
Regards
-- 
Niclas



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?03a320b7-3230-7c10-3f79-b44c442ec92b>