Skip to content

Name interfaces after iInterface descriptor string #5

stefanct opened this Issue Apr 4, 2013 · 1 comment

2 participants

stefanct commented Apr 4, 2013

Hello Greg!

I am building a custom device with multiple interfaces and I noticed that usbview does display "Name: (none)" on them although I have set a valid descriptor string for one of them and lsusb does show it too. So I looked into the usbview source, saw that the interfaces are named after the driver if available but could not find any reference to the interface string index... I wondered why and discovered that this is not exported by the (3.8) kernel debugfs at all :)

I have not looked at the kernel source, but I need to hack on the USB subsystem anyway... so do you think it would be useful to export that information via the debugfs at all? Then I could try to do that. Maybe it would make more sense to rewrite usbview to use libusb for such fancy stuff eventually (not that anyone would do that just because of this :)

(I can also repost on usb-linux if you think it needs some more discussion)

gregkh commented Apr 4, 2013
@gregkh gregkh closed this Apr 25, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.