On Tue, Aug 10, 2010 at 12:37:23AM +0200, Josua Dietze wrote: > Hi everyone, > > I am in need of a friendly hint regarding a delicate matter ... > > I maintain a Linux tool to put USB devices from one mode (or state) > to the other. What program, usb-modeswitch? > Usually there is more than one interface exposed after the mode > switch, but only one is suitable for a wireless connection; binding > the GSM driver ("option") or the generic serial driver will add > multiple ports though (ttyUSB). Let the modem-manager program handle knowing which tty device to use, that type of logic can usually only be detected after talking to the device. And what happens with your tool when in the near future, we want to talk to those other device nodes because modem-manager knows what thoes ports do and how to get the data out of them? In short, you shouldn't have to do any of this. thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html