Hi,

I discovered that the optional strings and their indices of interface
descriptors are not exported in debugfs when I was looking at usbview's
source (https://github.com/gregkh/usbview/issues/5).

I am not sure yet if they are cached (e.g. in rawdescriptors in struct
usb_device or even more conveniently) or if one would have to fetch
them with usb_get_descriptor(). More importantly though I wonder if you
think it is useful to export them at all? I haven't apprehended the
debugfs/sysfs differences regarding USB yet apparently. Maybe a better
question would have been "Why does usbview not use sysfs (or even
libusb)?".

-- 
Kind regards/Mit freundlichen Grüßen, Stefan Tauner
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to