Page MenuHomeFreeBSD

Make the USB attach strings in dmesg include product name.
ClosedPublic

Authored by trasz on Oct 15 2016, 11:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 27 2024, 6:36 PM
Unknown Object (File)
Mar 26 2024, 11:08 PM
Unknown Object (File)
Mar 7 2024, 11:42 PM
Unknown Object (File)
Mar 7 2024, 10:00 PM
Unknown Object (File)
Jan 10 2024, 1:38 AM
Unknown Object (File)
Dec 27 2023, 5:34 PM
Unknown Object (File)
Dec 27 2023, 5:09 PM
Unknown Object (File)
Dec 17 2023, 7:54 AM
Subscribers

Details

Summary

Make the USB attach strings in dmesg include product name.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

trasz retitled this revision from to Make the USB attach strings in dmesg include product name..
trasz updated this object.
trasz edited the test plan for this revision. (Show Details)

Looks good to my eye (I thought I'd done something similar to the USB stack before Hans took it over).

sys/dev/usb/usb_util.c
98 ↗(On Diff #21423)

Are you checking iManufacturer for 0 ?

Don't mess with device_set_usb_desc() for now.

sys/dev/usb/usb_util.c
98 ↗(On Diff #21423)

Well, usbd_req_get_string_any() already handles this, but I'll try to do this in a cleaner way. For now let's forget about this chunk.

hselasky edited edge metadata.

Looks good. Approved.

This revision is now accepted and ready to land.Oct 22 2016, 8:15 PM

Don't forget to MFC all the way back to 8-stable.

This revision was automatically updated to reflect the committed changes.