Hi guys!
First of all thanks for trying to help me out. Yes, it is a weird
design (to say the least) and yes, there are definitely things that
are broken... (The company I'm working with had this subcontracted to
another vendor and they did a very "sub-optimal" job. My job is to fix
that... :-|...).
In any case, I found a staggeringly simply solution for the problem. I
simply increased the number of device address assignment retries in
the kernel hub driver from 2 to 10. After the 3rd or 4th try the
device software is ready and accepts the address and everything works
as planned. No messy modifications of the boot process, reboots or
other funky stuff.

Thanks again for all your help,
Patrick

On 9/23/05, Alan Stern <[EMAIL PROTECTED]> wrote:
> On Thu, 22 Sep 2005, Patrick Hilt wrote:
>
> > > >  So I am looking for a way to periodically
> > > > re-enumerate the USB bus under software control from the Linux side.
> > >
> > > One way to do it, although a pretty drastic way, is to rmmod the host
> > > controller driver module and then modprobe it.
> >
> > I thought about that. However, the kernel I am using 2.4.22 (uclinux)
> > does not like that. So I am looking for some function to call or ioctl
> > to send that would trigger re-enumeration.
>
> There shouldn't be any problem with rmmod and modprobe.  If there is, it
> means that something else is wrong.  Is it possible for you to use a
> kernel later than 2.4.22?  That's quite old by now.
>
> There is no function or ioctl to trigger re-enumeration.  Maybe you can
> find a solution on the other side, though.  Set up the peripheral board so
> that when it is ready for use, it drops its connection to the USB bus for
> a few hundred millseconds or more.  You don't even need to drop the power
> connection; just remove the pull-up resistor from the data line.
>
> Alan Stern
>
>


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to