On Sat, 5 Nov 2005, Charles Shannon Hendrix wrote:

> Sat, 05 Nov 2005 @ 18:06 -0500, Alan Stern said:
> 
> > It's bad because there's no way to tell the relative order of lines
> > between the different files. If each log file has a line timestamped
> > 16:34:41, which one came first?
> 
> That's not normally a concern for everyday use, which is what the
> default syslog.conf file is set up for.
> 
> Besides, a unified syslog is a good example of removing a problem by
> beating it to death.
> 
> Wouldn't "kern.* /var/log/kernel" be a better solution than cramming
> everything into one file?

I'm not sure what you mean.  "kern.* /var/log/kernel" _does_ cram all the 
kernel's messages into one file.  That's exactly what I wanted you to do.


> > This means the iPod is failing to reply to a packet.  Possibly it needs a
> > longer delay after plugging in before it's ready to operate.  You could
> > try an experiment to see if that's the problem.  Edit the kernel source
> > file drivers/usb/core/hub.c.  In the hub_port_init routine, following each
> > of the calls to hub_port_reset, add a call to
> > 
> >     msleep(500);
> > 
> > (substitute however many milliseconds you think the iPod may require in 
> > place of the 500).
> 
> I assume you mean the delay in the retry look for setting the address,
> since the other one is never executed in my current situation.

No, I mean the call to hub_port_reset near the start of hub_port_init.  
There isn't a delay following that call in the original source; you should 
add one.

If that doesn't fix it...  Have you tried running with ehci-hcd unloaded, 
so that everything operates at full speed instead of high speed?

Also, have you tried going back to 2.6.9 recently, just to verify that it 
still handles your devices reliably?

Alan Stern



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to