From owner-freebsd-current@freebsd.org Sun Feb 18 20:00:01 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 5E33AF25A92 for ; Sun, 18 Feb 2018 20:00:01 +0000 (UTC) (envelope-from wlosh@bsdimp.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 E62726805C for ; Sun, 18 Feb 2018 20:00:00 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mailman.ysv.freebsd.org (Postfix) id A469DF25A89; Sun, 18 Feb 2018 20:00:00 +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 6A046F25A81 for ; Sun, 18 Feb 2018 20:00:00 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x234.google.com (mail-io0-x234.google.com [IPv6:2607:f8b0:4001:c06::234]) (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 EB6FF68057 for ; Sun, 18 Feb 2018 19:59:59 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x234.google.com with SMTP id l12so3510445ioc.10 for ; Sun, 18 Feb 2018 11:59:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=PGEBOXC68Vnrvflz3x6CZ0dQc/frRyyIuHE2Y7DTngg=; b=LyjpkVii3WpNS9iq4koDx5bcpV8Pm/88eTmbw2TBVNAkUoFj+7jv/gKD5tt0OCek0Z 6yAuHaD6fdeQ9QQmjZM/wd0/e+6M7ODML3BypBXK7PdCX6c1cgaqUBhYsanM9oNf4WsQ TjYRGGg9086m+M3si9h8dl7Hv7n2NTP39YuNnvfkRclXer0PcBH3F9W5JIgCJwHHR2aF Ed3GK04PGn9y8DB093kaYSMM7DRisYf5xpSWp77r6QaZhZP6Kv1OL7FHZVmAzVqwOsCS uNpdniNHJbP/yf1zxVy1WruVoShqF53dG7jty60ml7JtVXmUVeecbkdzBXsyPfOaI09X STbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=PGEBOXC68Vnrvflz3x6CZ0dQc/frRyyIuHE2Y7DTngg=; b=N62fezktrJ1HnPFaQgwM9YEB9sWlLHNGWJsG7zk6olhyWztA82y4Pn1vO2ETtH92Uo V7FYV7AQ4E8IAWO7/0F7CXfUhhicYOQgTY5NkmnZjvAo8UAswarwVo8F+5ZN87yFKNah mcI2WCRRzeXmJLoUDCwoZjrzJ/cFmR5sc55UJag5K+ZyP6ebaj/mzCXMdH6p4WcE2oO/ c9sEWYCcbSUIRKpDEcWqVW5jA9t8CBoDaL+4I5Mb0RLhlPGydCyf6G8zocainlTyp7Ht leH1LFe4YpgJW3IbZ1WjtumZItMH6sX5AxAk2YA9ztoh2/+lR1m7tijKT+RKaGQYZVYI Ddrw== X-Gm-Message-State: APf1xPCo7NszCC5Ynie4PDlW8q5gD1lSpUH0eNwprh5TR5eVjZgIjxIl 77m3+tMhQj7YzMCg19bN3p/pWI+Nm9U8/wqw/iy1BA== X-Google-Smtp-Source: AH8x227eVUBrVruayVKDVuLzCOr0JMN+ODTIRO7lS2oqykiKQX683sb4GgiCr215GSSoB1NQQ8N8bpxW7/fDO7jMQfE= X-Received: by 10.107.2.6 with SMTP id 6mr16786227ioc.117.1518983999084; Sun, 18 Feb 2018 11:59:59 -0800 (PST) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.201.67 with HTTP; Sun, 18 Feb 2018 11:59:58 -0800 (PST) X-Originating-IP: [2603:300b:6:5100:18a2:a4f7:170:8dd9] In-Reply-To: <514d3c3f-996d-6299-396a-ae161e6f730b@capeaugusta.com> References: <2c5d435c-54b1-fbd8-f695-de3dcc6259f1@capeaugusta.com> <514d3c3f-996d-6299-396a-ae161e6f730b@capeaugusta.com> From: Warner Losh Date: Sun, 18 Feb 2018 12:59:58 -0700 X-Google-Sender-Auth: JxLLzaUaUWi3L5aZdb4FqfDWIZI Message-ID: Subject: Re: r329501 devd doesn't find USB devices To: Ian FREISLICH Cc: Hans Petter Selasky , FreeBSD Current , Warner Losh Content-Type: text/plain; charset="UTF-8" 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 20:00:01 -0000 On Sun, Feb 18, 2018 at 6:32 AM, Ian FREISLICH < ian.freislich@capeaugusta.com> 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: > >>> > >>> Hi > >>> > >>> Since devmatch some of my USB devices no longer get their drivers > >>> loaded. It's not clear from UPDATING whether I needed to do > >>> anything > >>> beyond building and installing kernel and world as well as > >>> updating > >>> /etc. There was reference to removing /etc/devd/usb.conf in > >>> another > >>> 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 > >> *.>=notice /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=0 md=HOST spd=SUPER > (5.0Gbps) pwr=SAVE (0mA) > ugen0.1.0: uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> > ugen0.2: at usbus0, cfg=0 md=HOST > spd=HIGH (480Mbps) pwr=ON (500mA) > ugen0.3: at usbus0, cfg=0 md=HOST > spd=FULL (12Mbps) pwr=ON (100mA) > ugen0.3.0: ubt0: 2.00/0.10, addr 2> > ugen0.4: at usbus0, cfg=0 md=HOST spd=FULL > (12Mbps) pwr=ON (100mA) > ugen0.5: at usbus0, cfg=0 md=HOST > spd=FULL (12Mbps) pwr=ON (100mA) > ugen0.6: at usbus0, cfg=0 md=HOST spd=SUPER > (5.0Gbps) pwr=ON (72mA) > > After loading ums and ukbd: > > ugen0.5: at usbus0, cfg=0 md=HOST > spd=FULL (12Mbps) pwr=ON (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