On Mon, 14 Aug 2006 11:33:25 -0400 (EDT) Alan Stern <[EMAIL PROTECTED]> wrote:
> On Mon, 14 Aug 2006 [EMAIL PROTECTED] wrote: > > > I see. It sounds like a bad design. If all the altsettings from > config 1 are also present in config 2, why does config 1 exist at all? > > > > Assuming you > > > really want to do that, it wouldn't be too hard to add support for > > > allowing a driver to change device configurations. > > > > How would I do that? > > Try the patch below. (Note: I haven't tested it.) > I tried to change the configuration in the probe entry point of the module. Obviously it was a bad idea. :-( I got either an immediate deadlock or some hanging modules later on. I can not thing of an other place in the module where the configuration switchin would be in the right place. More and more I come to the conclusion that your first statement was the best. It has to be done by udev or hotplug. I think I can not expect the usb core module to be adapted for the needs of a single device. Peter Oehry ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel