From owner-freebsd-current@freebsd.org Sun Feb 18 23:19:14 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 3F7EDF0F728 for ; Sun, 18 Feb 2018 23:19:14 +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 C4B54725C9 for ; Sun, 18 Feb 2018 23:19:13 +0000 (UTC) (envelope-from ian.freislich@capeaugusta.com) Received: by mailman.ysv.freebsd.org (Postfix) id 88DD7F0F71C; Sun, 18 Feb 2018 23:19:13 +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 5E775F0F71B for ; Sun, 18 Feb 2018 23:19:13 +0000 (UTC) (envelope-from ian.freislich@capeaugusta.com) Received: from mail-yb0-x232.google.com (mail-yb0-x232.google.com [IPv6:2607:f8b0:4002:c09::232]) (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 DF6CD725C5 for ; Sun, 18 Feb 2018 23:19:12 +0000 (UTC) (envelope-from ian.freislich@capeaugusta.com) Received: by mail-yb0-x232.google.com with SMTP id e3-v6so69257ybk.1 for ; Sun, 18 Feb 2018 15:19:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=capeaugusta-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=Lz1q5NBFAaT57pAE9Z19zkIHm5jipvsj0KRnob/C31o=; b=dpSSie5wixLdRWtNa6cMVkpVtuWrneO8bNAP2+bX+oKHrCUo81gaK9cAdbx/Li9N+N wGktThfFFI+v9HIU3CExSjwU0qsZcHOn+CkzIwc7H8IusldQA17GRTFYka6h6ZZqq86D rfSUR9upR+DGoMS4tRnag+VsCs9b/WTj2g3KGHDrA1dsQxUqAfoiT0I9gyYMWFU2B0Xr KjCIkzFlgK6C2ikMh3qCW0RXRqXzl2Pe+UWvvyUy9fE5ObUZlJMC1B4189itGnD9eL+f 3MR66q9PdXAbdubJbWNRrQ2P+em7ExPBNDoNR0Ou4u5vVrmDb8UqoXgjPL7qoctZxS7A o0vA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=Lz1q5NBFAaT57pAE9Z19zkIHm5jipvsj0KRnob/C31o=; b=JnlxW20/zLcXZMTh9885bsNoL0Gse0uV8JaNxbPbKQNF2NYZMlFR6X6L7Nrozob937 qL0WmqW9rnEvCIplF1qDtAC1LT0r/LESxwjEvHmqXO2CEWmrWdwp28pyKL4p6u0yaxAF +x0YZS50B2zwe28MVfs7+71CwBRAk//KSBcxlbq/mt8s2H1uHbdsUNGxQx00/jpieZ1J 7+Rl2sxE/me151dBG/XkpL35LV38XWUW5j/E/BQzQh5QYCQeHzX0XODOIumV6cY1lyQd 3aFf0ujoSGmKnO+RErYKCcqxWflb8Npiup5cHrI85ed/Y7K6745HOmx9npTTPmgZVyqn AW7g== X-Gm-Message-State: APf1xPAGJlxJhegdrWzROxeOVcUkIroHJRYgQJDlhlv4dcAT1KsVe3J1 4UK3khMh8aIx4SBc9Ul6LxJ9XTRCCUgnpf4t9tyPipdSRjdIfjUuGGzzIFtToyY//nFpGbRG8vO u5Uqc2w== X-Google-Smtp-Source: AH8x227hElYoBRaM0yJ9t9Ky/PVDRXkBgldAnh2JlEMq2IhC2w2mcdg8c87+KgXdw5H5acUqvSNPlg== X-Received: by 10.37.65.212 with SMTP id o203mr9062497yba.141.1518995952335; Sun, 18 Feb 2018 15:19:12 -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 n9sm4223243ywb.61.2018.02.18.15.19.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Feb 2018 15:19:11 -0800 (PST) From: Ian FREISLICH Subject: Re: r329501 devd doesn't find USB devices To: Warner Losh Cc: Hans Petter Selasky , FreeBSD Current , Warner Losh References: <2c5d435c-54b1-fbd8-f695-de3dcc6259f1@capeaugusta.com> <514d3c3f-996d-6299-396a-ae161e6f730b@capeaugusta.com> Message-ID: <8580b120-6a35-5ffb-a98f-0f78dc0b6a9b@capeaugusta.com> Date: Sun, 18 Feb 2018 18:19:11 -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-Language: en-US Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 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 23:19:14 -0000 On 02/18/18 14:59, Warner Losh wrote: > On Sun, Feb 18, 2018 at 6:32 AM, Ian FREISLICH > > > wrote: > > 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= longer get their > drivers > >>> =C2=A0=C2=A0=C2=A0=C2=A0 loaded.=C2=A0 It's not clear from UPDATI= NG whether I needed to do > >>> anything > >>> =C2=A0=C2=A0=C2=A0=C2=A0 beyond building and installing kernel an= d world as well as > >>> updating > >>> =C2=A0=C2=A0=C2=A0=C2=A0 /etc.=C2=A0 There was reference to remov= ing /etc/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=3DSU= PER > (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=3DHO= ST > spd=3DHIGH (480Mbps) pwr=3DON (500mA) > ugen0.3: at usbus0, cfg=3D0 md=3DHOST > spd=3DFULL (12Mbps) pwr=3DON (100mA) > ugen0.3.0: ubt0: 2.00/0.10, addr 2> > ugen0.4: at usbus0, cfg=3D0 md=3DHOST spd=3DFU= LL > (12Mbps) pwr=3DON (100mA) > ugen0.5: at usbus0, cfg=3D0 md=3DH= OST > spd=3DFULL (12Mbps) pwr=3DON (100mA) > ugen0.6: at usbus0, cfg=3D0 md=3DHOST spd=3DS= UPER > (5.0Gbps) pwr=3DON (72mA) > > After loading ums and ukbd: > > ugen0.5: at usbus0, cfg=3D0 md=3DH= OST > spd=3DFULL (12Mbps) pwr=3DON (100mA) > ugen0.5.0: ukbd0: 1.10/10.01, addr 5> > ugen0.5.1: ums0: 1.10/10.01, addr 5> > > > So what happens if you build these drivers into the kernel vs loading > them? > > Warner=C2=A0 --=20