GTX 1050Ti can't plugin-play usb devices
Niclas Zeising
zeising+freebsd at daemonic.se
Mon Sep 21 07:55:36 UTC 2020
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.
> EndSection
>
> Section "Files"
> ModulePath "/usr/local/lib/xorg/modules"
> FontPath "/usr/local/share/fonts/misc/"
> FontPath "/usr/local/share/fonts/TTF/"
> FontPath "/usr/local/share/fonts/OTF/"
> FontPath "/usr/local/share/fonts/Type1/"
> FontPath "/usr/local/share/fonts/100dpi/"
> FontPath "/usr/local/share/fonts/75dpi/"
> FontPath "catalogue:/usr/local/etc/X11/fontpath.d"
> EndSection
>
> 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
Remove the two sections above.
>
> Section "Monitor"
> Identifier "Monitor0"
> VendorName "Monitor Vendor"
> ModelName "Monitor Model"
> HorizSync 28.0 - 33.0
> VertRefresh 43.0 - 72.0
> Option "DPMS"
> EndSection
>
> Section "Monitor"
> Identifier "Monitor1"
> VendorName "Monitor Vendor"
> ModelName "Monitor Model"
> HorizSync 28.0 - 33.0
> VertRefresh 43.0 - 72.0
> Option "DPMS"
> EndSection
>
> Section "Device"
> Identifier "Card0"
> Driver "nvidia"
> BusID "PCI:101:0:0"
> EndSection
>
> Section "Device"
>
> ### Available Driver options are:-
> ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
> ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
> ### <percent>: "<f>%"
> ### [arg]: arg optional
> #Option "SWcursor" # [<bool>]
> #Option "kmsdev" # <str>
> #Option "ShadowFB" # [<bool>]
> #Option "AccelMethod" # <str>
> #Option "PageFlip" # [<bool>]
> #Option "ZaphodHeads" # <str>
> #Option "DoubleShadow" # [<bool>]
> #Option "Atomic" # [<bool>]
> Identifier "Card1"
> Driver "nvidia"
> BusID "PCI:3:0:0"
> EndSection
>
> Section "Screen"
> Identifier "Screen0"
> Device "Card0"
> Monitor "Monitor0"
> DefaultDepth 24
> SubSection "Display"
> Viewport 0 0
> Depth 1
> EndSubSection
> SubSection "Display"
> Viewport 0 0
> Depth 4
> EndSubSection
> SubSection "Display"
> Viewport 0 0
> Depth 8
> EndSubSection
> SubSection "Display"
> Viewport 0 0
> Depth 15
> EndSubSection
> SubSection "Display"
> Viewport 0 0
> Depth 16
> EndSubSection
> SubSection "Display"
> Viewport 0 0
> Depth 24
> Modes "1920x1080"
> EndSubSection
> EndSection
>
> Section "Screen"
> Identifier "Screen1"
> Device "Card1"
> Monitor "Monitor1"
> DefaultDepth 24
> SubSection "Display"
> Viewport 0 0
> Depth 1
> EndSubSection
> SubSection "Display"
> Viewport 0 0
> Depth 4
> EndSubSection
> SubSection "Display"
> Viewport 0 0
> Depth 8
> EndSubSection
> SubSection "Display"
> Viewport 0 0
> Depth 15
> EndSubSection
> SubSection "Display"
> Viewport 0 0
> Depth 16
> EndSubSection
> SubSection "Display"
> Viewport 0 0
> Depth 24
> Modes "1920x1080"
> EndSubSection
> EndSection
>
Regards
--
Niclas
More information about the freebsd-x11
mailing list