[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-usb-devel
Subject:    [linux-usb-devel] Re: USB Visor pilot-xfer problem
From:       Greg KH <greg () kroah ! com>
Date:       2000-06-29 6:37:40
[Download RAW message or body]

Thanks to everyone who responded.

Here's a quick summary of solutions I have found so far:

 - try using ColdSync instead of pilot-xfer
   (http://www.ooblick.com/software/coldsync/)
   This worked great for me. No problems on UHCI, occasional problems on
   OHCI. I think this is what I'm going to use from now on for my
   personal data.

 - attached is a quick patch to the 0.9.3 pilot-link package. This was
   suggested by Juergen Mengeling on the usbvisor-devel list and with it
   UHCI worked with no errors. However OHCI still did not work.

So between these two solutions, all UHCI users should be back up and
working. OHCI still has issues for the pilot-xfer package.

These solutions still kinda point to a potential problem in the driver
(doing a delay after a write, shouldn't be necessary...) so I'll keep
digging.

thanks again,

greg k-h

-- 
greg@(kroah|wirex).com                     don't trust programmers?
                                        complete StackGuard distro at
                                               immunix.org

["pilot-link.0.9.3-visor_slowdown.diff" (text/plain)]

diff -Naur -x /home/greg/linux/dontdiff pilot-link.0.9.3/libsock/unixserial.c \
                pilot-link.0.9.3-greg/libsock/unixserial.c
--- pilot-link.0.9.3/libsock/unixserial.c	Sun Apr 25 23:08:11 1999
+++ pilot-link.0.9.3-greg/libsock/unixserial.c	Wed Jun 28 23:35:15 2000
@@ -333,6 +333,9 @@
     free(skb);
 
     ps->busy--;
+
+    /* hack to slow things down so that the Visor will work */
+    usleep (10 + skb->len);
     
     return 1;
   }


_______________________________________________
linux-usb-devel mailing list
linux-usb-devel@lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/linux-usb-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic