From owner-freebsd-x11@freebsd.org Mon Sep 21 07:55:36 2020 Return-Path: Delivered-To: freebsd-x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B1A173E9ABF for ; Mon, 21 Sep 2020 07:55:36 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BvxZJ3gx9z3dSq for ; Mon, 21 Sep 2020 07:55:36 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: by mailman.nyi.freebsd.org (Postfix) id 7E2513E9ABE; Mon, 21 Sep 2020 07:55:36 +0000 (UTC) Delivered-To: x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7DEC13E97B3 for ; Mon, 21 Sep 2020 07:55:36 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from mail.daemonic.se (mail.daemonic.se [176.58.89.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BvxZH3w9Cz3dMn for ; Mon, 21 Sep 2020 07:55:35 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 4BvxZF34Wwz3mRL; Mon, 21 Sep 2020 07:55:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=daemonic.se; h= content-transfer-encoding:content-language:content-type :content-type:in-reply-to:mime-version:user-agent:date:date :message-id:from:from:references:subject:subject:received :received; s=20151023; t=1600674932; bh=+MEAAn6IRw8RMMos50Pxn6Ro DPtCKxcFddS1KnhF8LE=; b=wzDpZwZf0a6QLaDojB9X/5GnhyGJx74MUNiiQxNa ph6r/+O1NxhC4DDYKxTA2m8uCy4GNNDDvdWG0EcUa2+ufXj1oE5/GjkVhZrgOMNM LUWezDQda6FiWT1QONakls5p5IteV2/BZDKeEleBYmVLkGcapF14gaSzcuFUnz/d 1wo= X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([127.0.0.1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [127.0.0.1]) (amavisd-new, port 10587) with ESMTPS id sjfEfW7vHt9J; Mon, 21 Sep 2020 07:55:32 +0000 (UTC) Received: from garnet.daemonic.se (host-95-194-52-135.mobileonline.telia.com [95.194.52.135]) by mail.daemonic.se (Postfix) with ESMTPSA id 4BvxZC5kNKz3mQw; Mon, 21 Sep 2020 07:55:31 +0000 (UTC) Subject: Re: GTX 1050Ti can't plugin-play usb devices To: KIRIYAMA Kazuhiko , x11@FreeBSD.org References: <202009210642.08L6gdmb037247@kx.truefc.org> From: Niclas Zeising Message-ID: <9eb6fce2-61d3-9938-6d3c-73440399b8d4@daemonic.se> Date: Mon, 21 Sep 2020 09:54:09 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <202009210642.08L6gdmb037247@kx.truefc.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4BvxZH3w9Cz3dMn X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=daemonic.se header.s=20151023 header.b=wzDpZwZf; dmarc=pass (policy=none) header.from=daemonic.se; spf=pass (mx1.freebsd.org: domain of zeising@daemonic.se designates 176.58.89.161 as permitted sender) smtp.mailfrom=zeising@daemonic.se X-Spamd-Result: default: False [-3.96 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[daemonic.se:s=20151023]; FREEFALL_USER(0.00)[zeising]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.03)[-1.032]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[daemonic.se:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[daemonic.se,none]; NEURAL_HAM_SHORT(-0.93)[-0.932]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:36236, ipnet:176.58.89.0/24, country:US]; TAGGED_FROM(0.00)[freebsd]; MAILMAN_DEST(0.00)[x11]; RECEIVED_SPAMHAUS_PBL(0.00)[95.194.52.135:received] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Sep 2020 07:55:36 -0000 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: : integer, : float, : "True"/"False", > ### : "String", : " Hz/kHz/MHz", > ### : "%" > ### [arg]: arg optional > #Option "SWcursor" # [] > #Option "kmsdev" # > #Option "ShadowFB" # [] > #Option "AccelMethod" # > #Option "PageFlip" # [] > #Option "ZaphodHeads" # > #Option "DoubleShadow" # [] > #Option "Atomic" # [] > 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