Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Feb 2018 12:59:58 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Ian FREISLICH <ian.freislich@capeaugusta.com>
Cc:        Hans Petter Selasky <hps@selasky.org>, FreeBSD Current <current@freebsd.org>, Warner Losh <imp@freebsd.org>
Subject:   Re: r329501 devd doesn't find USB devices
Message-ID:  <CANCZdfruMPwc5zRYPey2qhnZNYb69wPCs_1G_70uvWV1fqfbaQ@mail.gmail.com>
In-Reply-To: <514d3c3f-996d-6299-396a-ae161e6f730b@capeaugusta.com>
References:  <2c5d435c-54b1-fbd8-f695-de3dcc6259f1@capeaugusta.com> <CANCZdfqb82FhpRKB1934_a01mCtSCro4qXcKTAuGgfKyz_7BjA@mail.gmail.com> <edbd5ae4-89c6-74ca-9a8b-3c6ce9c467dd@capeaugusta.com> <d69f4565-768d-c08b-286b-987e16507516@selasky.org> <514d3c3f-996d-6299-396a-ae161e6f730b@capeaugusta.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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"
> >>> <ian.freislich@capeaugusta.com <mailto:ian.freislich@capeaugusta.com>>
> >>> 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: <AzureWave USB2.0 VGA UVC WebCam> at usbus0, cfg=0 md=HOST
> spd=HIGH (480Mbps) pwr=ON (500mA)
> ugen0.3: <vendor 0x8087 product 0x0a2b> at usbus0, cfg=0 md=HOST
> spd=FULL (12Mbps) pwr=ON (100mA)
> ugen0.3.0: ubt0: <vendor 0x8087 product 0x0a2b, class 224/1, rev
> 2.00/0.10, addr 2>
> ugen0.4: <ELAN ELANFingerprint> at usbus0, cfg=0 md=HOST spd=FULL
> (12Mbps) pwr=ON (100mA)
> ugen0.5: <RAPOO RAPOO 2.4G Wireless Device> at usbus0, cfg=0 md=HOST
> spd=FULL (12Mbps) pwr=ON (100mA)
> ugen0.6: <CMI USB 101001000 LAN> at usbus0, cfg=0 md=HOST spd=SUPER
> (5.0Gbps) pwr=ON (72mA)
>
> After loading ums and ukbd:
>
> ugen0.5: <RAPOO RAPOO 2.4G Wireless Device> at usbus0, cfg=0 md=HOST
> spd=FULL (12Mbps) pwr=ON (100mA)
> ugen0.5.0: ukbd0: <RAPOO RAPOO 2.4G Wireless Device, class 0/0, rev
> 1.10/10.01, addr 5>
> ugen0.5.1: ums0: <RAPOO RAPOO 2.4G Wireless Device, class 0/0, rev
> 1.10/10.01, addr 5>
>

So what happens if you build these drivers into the kernel vs loading them?

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfruMPwc5zRYPey2qhnZNYb69wPCs_1G_70uvWV1fqfbaQ>