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)
Sun, Dec 15, 8:04 AM
Unknown Object (File)
Sun, Dec 1, 8:02 PM
Unknown Object (File)
Oct 19 2024, 7:27 PM
Unknown Object (File)
Oct 3 2024, 9:37 PM
Unknown Object (File)
Oct 2 2024, 7:05 AM
Unknown Object (File)
Oct 1 2024, 12:29 PM
Unknown Object (File)
Sep 27 2024, 12:53 PM
Unknown Object (File)
Sep 15 2024, 3:10 AM
Subscribers

Details

Summary

Make the USB attach strings in dmesg include product name.

Diff Detail

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.