Discussion:
USB device with multiple non-sequential interfaces
Kevin Lloyd
2007-11-28 22:03:56 UTC
Permalink
Hi all,

When I plugged in a USB device that has two interfaces that are not
sequential, say interface#1 and interface#99 I get the following error
message:
usb 2-2: config 1 has an invalid interface number: 99 but max is
1
usb 2-2: config 1 has no interface number 1

I was wondering what the reason for this is, why would it not be okay to
have multiple interfaces that are not sequentially numbered?

Also I that it still loaded the driver for the second interface, is this
maybe just a warning?

Thanks,
-Kevin

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
linux-usb-***@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
Alan Stern
2007-11-28 22:15:57 UTC
Permalink
Post by Kevin Lloyd
Hi all,
When I plugged in a USB device that has two interfaces that are not
sequential, say interface#1 and interface#99 I get the following error
usb 2-2: config 1 has an invalid interface number: 99 but max is
1
usb 2-2: config 1 has no interface number 1
I was wondering what the reason for this is, why would it not be okay to
have multiple interfaces that are not sequentially numbered?
Because the USB spec says interfaces must be numbered sequentially
starting from 0.
Post by Kevin Lloyd
Also I that it still loaded the driver for the second interface, is this
maybe just a warning?
Yes.

Alan Stern


-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
linux-usb-***@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
Kevin Lloyd
2007-12-05 17:59:00 UTC
Permalink
Given this is a violation of the USB spec do you foresee removing
support in the future (i.e. erroring-out as opposed to just warning the
user)?

Thanks,
-Kevin
Post by Alan Stern
Post by Kevin Lloyd
Hi all,
When I plugged in a USB device that has two interfaces that are not
sequential, say interface#1 and interface#99 I get the following error
usb 2-2: config 1 has an invalid interface number: 99 but max is
1
usb 2-2: config 1 has no interface number 1
I was wondering what the reason for this is, why would it not be okay to
have multiple interfaces that are not sequentially numbered?
Because the USB spec says interfaces must be numbered sequentially
starting from 0.
Post by Kevin Lloyd
Also I that it still loaded the driver for the second interface, is this
maybe just a warning?
Yes.
Alan Stern
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
linux-usb-***@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
Alan Stern
2007-12-05 18:05:24 UTC
Permalink
Post by Kevin Lloyd
Given this is a violation of the USB spec do you foresee removing
support in the future (i.e. erroring-out as opposed to just warning the
user)?
No, that's not going to change.

Alan Stern


-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
linux-usb-***@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Loading...