Comment 7 for bug 226197

Revision history for this message
sordna (sordna) wrote :

Tom, you are right, the visor kernel module can by bypassed if you use the libusb library instead.
I got this to work after I downloaded the pilot-link sources and reading the README.libusb doc.
First I installed "apt-get install libusb-dev" although I don't think it was absolutely necessary.
The pilot-link sources also come with a 60-libpisock.rules file that needs to be placed into
/etc/udev/rules.d/ followed by a reboot so it's read by the system.
After that, the command "pilot-xfer -p usb: -l"
prints a message:
  Listening for incoming connection on usb:...
instead of saying "Unable to bind to port".
This "Listening" is an indicator that libusb is being used and hitting the hotsync button
allowed my Garmin iQue 3600 to by synced using ubuntu's 8.04 stock kernel !!!
I'm using pilot-link directly (the pilot-xfer conduit) but I believe the 60-libpisock.rules file should help
users of other software like gnome-pilot since most of them use pilot-link under the hood.

This nice workaround doesn't mean that the bug I filed does not hold. The visor module is indeed broken
for kernel 2.6.24 and ubuntu should fix it, or update to the 2.6.25 kernel for 8.04.