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
F110659737: D8259.id21620.diff
Fri, Feb 21, 2:07 PM
Unknown Object (File)
Thu, Feb 13, 8:57 PM
Unknown Object (File)
Sat, Feb 1, 4:23 AM
Unknown Object (File)
Fri, Jan 24, 3:16 AM
Unknown Object (File)
Jan 14 2025, 11:23 AM
Unknown Object (File)
Dec 30 2024, 4:39 AM
Unknown Object (File)
Dec 20 2024, 10:53 PM
Unknown Object (File)
Dec 20 2024, 9:58 PM
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.