Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Feb 2018 08:32:19 -0500
From:      Ian FREISLICH <ian.freislich@capeaugusta.com>
To:        Hans Petter Selasky <hps@selasky.org>, Warner Losh <imp@bsdimp.com>
Cc:        FreeBSD Current <current@freebsd.org>, Warner Losh <imp@freebsd.org>
Subject:   Re: r329501 devd doesn't find USB devices
Message-ID:  <514d3c3f-996d-6299-396a-ae161e6f730b@capeaugusta.com>
In-Reply-To: <d69f4565-768d-c08b-286b-987e16507516@selasky.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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"
>>> <ian.freislich@capeaugusta.com <mailto:ian.freislich@capeaugusta.com>>
>>> 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: <AzureWave USB2.0 VGA UVC WebCam> at usbus0, cfg=3D0 md=3DHOST
spd=3DHIGH (480Mbps) pwr=3DON (500mA)
ugen0.3: <vendor 0x8087 product 0x0a2b> at usbus0, cfg=3D0 md=3DHOST
spd=3DFULL (12Mbps) pwr=3DON (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=3D0 md=3DHOST spd=3DFULL
(12Mbps) pwr=3DON (100mA)
ugen0.5: <RAPOO RAPOO 2.4G Wireless Device> at usbus0, cfg=3D0 md=3DHOST
spd=3DFULL (12Mbps) pwr=3DON (100mA)
ugen0.6: <CMI USB 101001000 LAN> at usbus0, cfg=3D0 md=3DHOST spd=3DSUPER
(5.0Gbps) pwr=3DON (72mA)

After loading ums and ukbd:

ugen0.5: <RAPOO RAPOO 2.4G Wireless Device> at usbus0, cfg=3D0 md=3DHOST
spd=3DFULL (12Mbps) pwr=3DON (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>

> 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
MC4yOiA8QXp1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YmNkRGV2aWNlID0gMHgzMDAwIAogIGlNYW51ZmFjdHVyZXIgPSAweDAwMDEg
IDxDTUk+CiAgaVByb2R1Y3QgPSAweDAwMDIgIDxVU0IgMTAvMTAwLzEwMDAgTEFOPgogIGlT
ZXJpYWxOdW1iZXIgPSAweDAwMDYgIDwwMDAwMDE+CiAgYk51bUNvbmZpZ3VyYXRpb25zID0g
MHgwMDAyIAoK
--------------DA3165BA7EAD78A8833A9647--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?514d3c3f-996d-6299-396a-ae161e6f730b>