On Mon, 10 Jun 2013, Greg KH wrote:
> > >> [lsusb output]
The lsusb output in the original email message showed two
configurations. Config 1 exposes a single port, whereas config 2
exposes two ports (although it is vendor-specific, not CDC-ACM).
> > >>Even though I don't really understand the interfaces and endpoints,
> > >>I get the impression there's multiple CDC-Data interfaces.
> > >
> > >Yes, there are, but the cdc-acm driver binds to them all (you can see
> > >this by running 'usbdevices' from the usbutils package.
> >
> > T: Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
> > D: Ver= 1.10 Cls=02(commc) Sub=00 Prot=00 MxPS= 8 #Cfgs= 2
> > P: Vendor=152a ProdID=8230 Rev=01.10
> > S: Manufacturer=Septentrio
> > S: Product=Septentrio USB Device
> > C: #Ifs= 2 Cfg#= 1 Atr=c0 MxPwr=2mA
> > I: If#= 0 Alt= 0 #EPs= 1 Cls=02(commc) Sub=02 Prot=01 Driver=cdc_acm
> > I: If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm
This output confirms that there are two configurations, although only
one of them is shown. By default, config 1 is installed.
> > I can confirm :) How can this be changed?
It is possible to switch to config 2 manually or by a pre-programmed
script. The necessary command is very simple:
echo 2 >/sys/bus/usb/devices/3-2/bConfigurationValue
Alan Stern
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html