[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [coldsync-hackers] [patch] Linux/BSD USB support via libusb



On Fri, Aug 31, 2001, Greg KH <greg@kroah.com> wrote:
> On Fri, Aug 31, 2001 at 11:49:44PM -0400, Johannes Erdfelt wrote:
> > On Fri, Aug 31, 2001, Greg KH <greg@kroah.com> wrote:
> > > 
> > > And on Linux shouldn't the Visor driver not be loaded?
> > 
> > Yes, good point. With hotplug, it will try to load the kernel driver
> > automatically as well, which will cause some problems with the Visor's
> > just in time enumeration style.
> 
> This might solve some problems people were having with the Palm m50x
> devices.  If the driver doesn't bind to the device, then coldsync can
> driver the device all by itself.
> 
> That should lay to rest the "the visor driver is eating the data" rumors
> that people have on this list :)
> 
> But the throughput shouldn't be as fast as the kernel driver.  Or so I'm
> guessing.  Time to go run some speed tests.

Speed is very good. I haven't looked at the code yet, but it looks like
the kernel visor driver is using a single URB of endpoint sized length.
This was causing a sync via pilot-xfer to go relatively slow.

I did a full backup on my brand new Visor in just a couple of seconds
with this patch, whereas it took about twice as long with the kernel
driver. Obviously, the kernel driver should be and can be faster.

I think the kernel driver would be good for the generic function, but
unfortunately they are on the same interface.

JE

This message was sent through the coldsync-hackers mailing list.  To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body.  For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.