From owner-freebsd-x11@freebsd.org Mon Sep 21 11:07:23 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 DF7653EDDE5 for ; Mon, 21 Sep 2020 11:07:23 +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 4Bw1qb4zL7z45g6 for ; Mon, 21 Sep 2020 11:07:23 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: by mailman.nyi.freebsd.org (Postfix) id A91033EDDE1; Mon, 21 Sep 2020 11:07:23 +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 A8D433EDDE0 for ; Mon, 21 Sep 2020 11:07:23 +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 4Bw1qZ4VSFz464Q for ; Mon, 21 Sep 2020 11:07:22 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 4Bw1qX3mbCz3mRL; Mon, 21 Sep 2020 11:07:20 +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=1600686440; bh=XWGFIbVLuR2SnKut0AoNWpUO HyJGXCkZwQuBBfaXW1Q=; b=Ly0f56qMA29Xs5KyFnAYZ7NqpWMtcBXWdf+CKzVv A4CT9T3mIMsL+JOO+39kQbZkiIGQ9XK015PDL0jozK4ADCV6sy41albbqFmCslQA 1s41KH2frslG9b2L7dmGgCzsdbwET3ahYx1g4/om3sT0W7YP+tb79kLmJf3wPCX4 fkw= X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([IPv6:::1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [IPv6:::1]) (amavisd-new, port 10587) with ESMTPS id S7LfygJKLfss; Mon, 21 Sep 2020 11:07:20 +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 4Bw1qW59Kfz3mQw; Mon, 21 Sep 2020 11:07:19 +0000 (UTC) Subject: Re: GTX 1050Ti can't plugin-play usb devices To: KIRIYAMA Kazuhiko Cc: x11@FreeBSD.org References: <202009210642.08L6gdmb037247@kx.truefc.org> <9eb6fce2-61d3-9938-6d3c-73440399b8d4@daemonic.se> <202009211054.08LAseE4070179@kx.truefc.org> From: Niclas Zeising Message-ID: <03a320b7-3230-7c10-3f79-b44c442ec92b@daemonic.se> Date: Mon, 21 Sep 2020 13:07:18 +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: <202009211054.08LAseE4070179@kx.truefc.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Bw1qZ4VSFz464Q X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=daemonic.se header.s=20151023 header.b=Ly0f56qM; 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.43 / 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.030]; 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.39)[-0.394]; NEURAL_HAM_MEDIUM(-1.00)[-1.002]; 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 11:07:23 -0000 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