Exporting iInterface (and associated string) in debugfs?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux