From owner-freebsd-current@freebsd.org Sun Feb 18 13:32:23 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3AA59F07F9E for ; Sun, 18 Feb 2018 13:32:23 +0000 (UTC) (envelope-from ian.freislich@capeaugusta.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E199876CCE for ; Sun, 18 Feb 2018 13:32:22 +0000 (UTC) (envelope-from ian.freislich@capeaugusta.com) Received: by mailman.ysv.freebsd.org (Postfix) id 9AED1F07F8A; Sun, 18 Feb 2018 13:32:22 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5D90CF07F80 for ; Sun, 18 Feb 2018 13:32:22 +0000 (UTC) (envelope-from ian.freislich@capeaugusta.com) Received: from mail-ua0-x235.google.com (mail-ua0-x235.google.com [IPv6:2607:f8b0:400c:c08::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1216B76CBE for ; Sun, 18 Feb 2018 13:32:22 +0000 (UTC) (envelope-from ian.freislich@capeaugusta.com) Received: by mail-ua0-x235.google.com with SMTP id u99so3356617uau.8 for ; Sun, 18 Feb 2018 05:32:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=capeaugusta-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=1EAK5kJfqzZypSRbw46zoCQU8IPuWd1cVsUgul7HGuk=; b=BB5+oSr5GM7boRQ8lN80A/kz8P/wygy4dEaDTdeGlyofGxjNVZMsIpq3MGMJ4ApbKb 1HWjGiJJ9WYhbX5s5R4JuRhXQel4t/1HL57SIGugzOeFMZ4z7iL8uNfaltL5lwXob4+k LuIo0VPWowUn3cWG+q/x5HSzU3mUKgatnMqpJHaXna9WMZ+Cr4Jzo8z53GUmJFPu26SX 74jTdETObtmMAtH8ki+bVr7FCta5mZuvt9AuI70Kwxgtd6EiM9ktR+tKpQOtCQgqLlt8 yHFgGWu9b/l8z/oifh/JIqlsFNPHZsoUSTwKgqYdAy/Jyx8jIC6zbI8fT2Sk/IpT79oP Refw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=1EAK5kJfqzZypSRbw46zoCQU8IPuWd1cVsUgul7HGuk=; b=ConBIszkzw5tn/Gk1rtQFfzHyAwUZDc7Dz9rtMruPIPfmbbcA8qRr61LbA7MjdkDnE KH+nBl8Ee9C8ZhdlmjIa2t6m6/CDOS0vonmUVkB6TWhxqYdpJbpBx1lZFS3wyzGbW1Sv AiNZAy/oR4uuoCYyd5CjcqIKRE9Cl63kt2zNjvQSZ7Jx8s2BOuU/zLcVG6+aMI/oOeQt fsTtkgb3/SU5I6wLWsX+QR/GXnLKlxYkfr5bmnWp3Eu+8OWQq975tbddu8jbXtBSoWCC ZkgNZJavjdC/noJ8dksU+t93Kd4PXBzLiQt7N5ZNS4BE4ynuq29UzBZ0+WGqTqelXNnj 6s3A== X-Gm-Message-State: APf1xPAOwUSO62KB5ST0sibdriYlBoF67SOX4C0dp9iloQlY/9DOQctZ 1sVh2AE6jEZraLWu0znJFtXMO4/XInCoMvefZq9ZI8UhlWMTX0ADuY8iCm34kp+x344kvsNCX3f gKA9L9A== X-Google-Smtp-Source: AH8x227M/m/7rUtx4o783fd96ckxbMo3Xp7seHvYmtjDH1i/sqg71HIxuANbGQVjbV5v5kxfFFS1NA== X-Received: by 10.159.61.88 with SMTP id m24mr9125231uai.139.1518960741073; Sun, 18 Feb 2018 05:32:21 -0800 (PST) Received: from zen.clue.co.za (c-69-254-3-228.hsd1.ga.comcast.net. [69.254.3.228]) by smtp.gmail.com with ESMTPSA id k123sm3315282vkb.34.2018.02.18.05.32.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Feb 2018 05:32:20 -0800 (PST) Subject: Re: r329501 devd doesn't find USB devices To: Hans Petter Selasky , Warner Losh Cc: FreeBSD Current , Warner Losh References: <2c5d435c-54b1-fbd8-f695-de3dcc6259f1@capeaugusta.com> From: Ian FREISLICH Message-ID: <514d3c3f-996d-6299-396a-ae161e6f730b@capeaugusta.com> Date: Sun, 18 Feb 2018 08:32:19 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="------------DA3165BA7EAD78A8833A9647" Content-Language: en-US X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Feb 2018 13:32:23 -0000 This is a multi-part message in MIME format. --------------DA3165BA7EAD78A8833A9647 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On 02/18/18 02:23, Hans Petter Selasky wrote: > On 02/18/18 05:14, Ian FREISLICH wrote: >> On 02/17/18 22:48, Warner Losh wrote: >>> On Feb 17, 2018 8:24 PM, "Ian FREISLICH" >>> > >>> wrote: >>> >>> =C2=A0=C2=A0=C2=A0=C2=A0 Hi >>> >>> =C2=A0=C2=A0=C2=A0=C2=A0 Since devmatch some of my USB devices no longe= r get their drivers >>> =C2=A0=C2=A0=C2=A0=C2=A0 loaded.=C2=A0 It's not clear from UPDATING whe= ther I needed to do >>> anything >>> =C2=A0=C2=A0=C2=A0=C2=A0 beyond building and installing kernel and worl= d as well as >>> updating >>> =C2=A0=C2=A0=C2=A0=C2=A0 /etc.=C2=A0 There was reference to removing /e= tc/devd/usb.conf in >>> another >>> =C2=A0=C2=A0=C2=A0=C2=A0 thread but its presence or lack thereof makes = no difference. >>> >>> >>> I assume you've fully updated including /etc. >> >> In as much as 'mergemaster -Ui' fully updates /etc >> >>> If you can uncomment the devd lines in syslog.conf, touch >>> /var/log/devd.log and reboot. Once you are up again, please send me >>> /var/log/devd.conf. >> >> Assuming you mean these lines: >> >> !devd >> *.>=3Dnotice=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 /var/log/devd.log >> >> devd produced zero logs on reboot and restart. > > Can you run: > > usbconfig show_ifdrv > > Maybe the wrong driver captured your device? ugen0.1: <0x8086 XHCI root HUB> at usbus0, cfg=3D0 md=3DHOST spd=3DSUPER (5.0Gbps) pwr=3DSAVE (0mA) ugen0.1.0: uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> ugen0.2: at usbus0, cfg=3D0 md=3DHOST spd=3DHIGH (480Mbps) pwr=3DON (500mA) ugen0.3: at usbus0, cfg=3D0 md=3DHOST spd=3DFULL (12Mbps) pwr=3DON (100mA) ugen0.3.0: ubt0: ugen0.4: at usbus0, cfg=3D0 md=3DHOST spd=3DFULL (12Mbps) pwr=3DON (100mA) ugen0.5: at usbus0, cfg=3D0 md=3DHOST spd=3DFULL (12Mbps) pwr=3DON (100mA) ugen0.6: at usbus0, cfg=3D0 md=3DHOST spd=3DSUPER (5.0Gbps) pwr=3DON (72mA) After loading ums and ukbd: ugen0.5: at usbus0, cfg=3D0 md=3DHOST spd=3DFULL (12Mbps) pwr=3DON (100mA) ugen0.5.0: ukbd0: ugen0.5.1: ums0: > Try running: > > usbconfig -d X.Y reset This produces no kernel messages, no difference to drivers. --=20 --------------DA3165BA7EAD78A8833A9647 Content-Type: text/plain; charset=UTF-8; name="device_desc.txt" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="device_desc.txt" dWdlbjAuMTogPDB4ODA4NiBYSENJIHJvb3QgSFVCPiBhdCB1c2J1czAsIGNmZz0wIG1kPUhP U1Qgc3BkPVNVUEVSICg1LjBHYnBzKSBwd3I9U0FWRSAoMG1BKQoKICBiTGVuZ3RoID0gMHgw MDEyIAogIGJEZXNjcmlwdG9yVHlwZSA9IDB4MDAwMSAKICBiY2RVU0IgPSAweDAzMDAgCiAg YkRldmljZUNsYXNzID0gMHgwMDA5ICA8SFVCPgogIGJEZXZpY2VTdWJDbGFzcyA9IDB4MDAw MCAKICBiRGV2aWNlUHJvdG9jb2wgPSAweDAwMDMgCiAgYk1heFBhY2tldFNpemUwID0gMHgw MDA5IAogIGlkVmVuZG9yID0gMHgwMDAwIAogIGlkUHJvZHVjdCA9IDB4MDAwMCAKICBiY2RE ZXZpY2UgPSAweDAxMDAgCiAgaU1hbnVmYWN0dXJlciA9IDB4MDAwMSAgPDB4ODA4Nj4KICBp UHJvZHVjdCA9IDB4MDAwMiAgPFhIQ0kgcm9vdCBIVUI+CiAgaVNlcmlhbE51bWJlciA9IDB4 MDAwMCAgPG5vIHN0cmluZz4KICBiTnVtQ29uZmlndXJhdGlvbnMgPSAweDAwMDEgCgp1Z2Vu MC4yOiA8QXp1cmVXYXZlIFVTQjIuMCBWR0EgVVZDIFdlYkNhbT4gYXQgdXNidXMwLCBjZmc9 MCBtZD1IT1NUIHNwZD1ISUdIICg0ODBNYnBzKSBwd3I9T04gKDUwMG1BKQoKICBiTGVuZ3Ro ID0gMHg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