[CLUE-Tech] more usb palm m505 sync problems
Chuck Downing
chuckdowning at earthlink.net
Wed Apr 7 06:54:15 MDT 2004
James, see a hint in the middle of this message.
James LaRue wrote:
> I'm stumped. I can't get the M505 to sync via USB, using JPilot.
>
> First, I'm running JPilot 0.99.7 on Knoppix (on a Dell Precision 450,
> 256 megs of RAM, 80 gigs hd). Before moving to Knoppix, I was running
> Red Hat Linux Enterprise 3 WS, and did synch successfully with usb. I
> have just completed both an apt-get update and apt-get upgrade. At the
> end of that, I got this message:
>
> "/proc/bus/usb must be mounted to use libusb
>
> libusb uses a pseudo-filesystem known as 'usbdevfs` or 'usbfs` to access
> the USB devices connected to your machine. This filesystem must be
> mounted under /proc/bus/usb for libusb to work.
>
> Currently, it is not mounted, hence this note.
>
> Adding the line
> none /proc/bus/usb usbfs defaults 0 0
> to your /etc/fstab file will mount the usbfs for you automatically at
> boot time ; only root will be able to access the USB devices with this
> setup."
>
> I finished the upgrade, and rebooted. But that line was NOT in my
> /etc/fstab file. So I added it manually, and rebooted. Then the line
> did appear.
>
> I created a link from /dev/ttyUSB1 to /dev/pilot
> I created a link from /dev/ttyUSB1 to /dev/visor
>
> In JPilot, I made sure the setting was for /dev/pilot.
>
> The lsmod command told me that usbserial and visor modules were not
> loaded. I used modprobe to do so, successfully.
>
> I checked to see if there was a /proc/bus/usb directory.
>
> root at cadmus:/home/jlarue# ls /proc/bus/usb
> 001 002 003 devices drivers
>
> Nothing appears in /proc/devices. This makes me believe the modules
> are not loading.
>
> So the test: I check the USB port of the cradle, into which I am
> snugly plugged. (I have power to the cradle.) I hit the hotsync on the
> Palm M505, then hit sync in JPilot.
I have found that I must click on Sync in Jpilot, then tap Hotsync on my
Palm device. My setup is completely different from yours, though, so YMMV.
> JPilot quit with "pi_bind Invalid argument
> Check your serial port and settings
> Exiting with status SYNC_ERROR_BIND
> Finished"
>
> The Palm timed out with "the connection between your handheld computer
> and the desktop could not be established."
>
> The only other thing I can think of is the results of lspci -v:
>
> 00:1d.1 USB Controller: Intel Corp. 82801DB USB (Hub #2) (rev 01)
> (prog-if 00 [UHCI])
> Subsystem: Dell Computer Corporation: Unknown device 012d
> Flags: bus master, medium devsel, latency 0, IRQ 19
> I/O ports at ff60 [size=32]
>
> 00:1d.2 USB Controller: Intel Corp. 82801DB USB (Hub #3) (rev 01)
> (prog-if 00 [UHCI])
> Subsystem: Dell Computer Corporation: Unknown device 012d
> Flags: bus master, medium devsel, latency 0, IRQ 18
> I/O ports at ff40 [size=32]
>
> 00:1d.7 USB Controller: Intel Corp. 82801DB USB2 (rev 01) (prog-if 20
> [EHCI])
> Subsystem: Dell Computer Corporation: Unknown device 012d
> Flags: bus master, medium devsel, latency 0, IRQ 23
> Memory at fe500800 (32-bit, non-prefetchable) [size=1K]
> Capabilities: [50] Power Management version 2
> Capabilities: [58] #0a [2080]
>
> I even tried the sync on another USB port (in front of the machine,
> instead of in back), which I had successfully used to read a usbkey
> drive.
>
> Possibly relevant messages is /var/log/messages
>
> Apr 5 10:28:18 cadmus kernel: usb.c: registered new driver usbdevfs
> Apr 5 10:28:18 cadmus kernel: usb.c: registered new driver hub
> Apr 5 10:28:18 cadmus kernel: usb-uhci.c: $Revision: 1.275 $ time
> 20:50:29 Oct
> 3 2003
> Apr 5 10:28:18 cadmus kernel: usb-uhci.c: High bandwidth mode enabled
> Apr 5 10:28:18 cadmus kernel: usb-uhci.c: USB UHCI at I/O 0xff80, IRQ 16
> Apr 5 10:28:18 cadmus kernel: usb-uhci.c: Detected 2 ports
> Apr 5 10:28:18 cadmus kernel: usb.c: new USB bus registered, assigned
> bus number 1
> Apr 5 10:28:18 cadmus kernel: hub.c: USB hub found
> Apr 5 10:28:18 cadmus kernel: hub.c: 2 ports detected
> Apr 5 10:28:18 cadmus kernel: usb-uhci.c: USB UHCI at I/O 0xff60, IRQ 19
> Apr 5 10:28:18 cadmus kernel: usb-uhci.c: Detected 2 ports
> Apr 5 10:28:18 cadmus kernel: usb.c: new USB bus registered, assigned
> bus number 2
> Apr 5 10:28:18 cadmus kernel: hub.c: USB hub found
> Apr 5 10:28:18 cadmus kernel: hub.c: 2 ports detected
> Apr 5 10:28:18 cadmus kernel: usb-uhci.c: USB UHCI at I/O 0xff40, IRQ 18
> Apr 5 10:28:18 cadmus kernel: usb-uhci.c: Detected 2 ports
> Apr 5 10:28:18 cadmus kernel: usb.c: new USB bus registered, assigned
> bus number 3
> Apr 5 10:28:18 cadmus kernel: hub.c: USB hub found
> Apr 5 10:28:18 cadmus kernel: hub.c: 2 ports detected
> Apr 5 10:28:18 cadmus kernel: usb-uhci.c: v1.275:USB Universal Host
> Controller
> Interface driver
> Apr 5 10:28:18 cadmus kernel: usb.c: registered new driver usblp
> Apr 5 10:28:18 cadmus kernel: printer.c: v0.11: USB Printer Device
> Class driverApr 5 10:28:18 cadmus kernel: Initializing USB Mass
> Storage driver...
> Apr 5 10:28:18 cadmus kernel: usb.c: registered new driver usb-storage
> Apr 5 10:28:18 cadmus kernel: USB Mass Storage support registered.
> Apr 5 10:28:18 cadmus kernel: Serial driver version 5.05c
> (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled
> Apr 5 10:28:18 cadmus kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A
> Apr 5 10:28:18 cadmus kernel: ttyS01 at 0x02f8 (irq = 3) is a 16550A
> Apr 5 10:28:18 cadmus kernel: hub.c: new USB device 00:1d.1-1,
> assigned address 2
> Apr 5 10:28:18 cadmus kernel: printer.c: usblp0: USB Bidirectional
> printer dev
> 2 if 0 alt 1 proto 2 vid 0x03F0 pid 0x0317
>
> Apr 5 10:30:22 cadmus kernel: usb.c: registered new driver serial
> Apr 5 10:30:22 cadmus kernel: usbserial.c: USB Serial support
> registered for Generic
> Apr 5 10:30:22 cadmus kernel: usbserial.c: USB Serial Driver core v1.4
> Apr 5 10:30:25 cadmus kernel: usbserial.c: USB Serial support
> registered for Handspring Visor / Treo / Palm 4.0 / Cli? 4.x
> Apr 5 10:30:25 cadmus kernel: usbserial.c: USB Serial support
> registered for Sony Cli? 3.5
> Apr 5 10:30:25 cadmus kernel: visor.c: USB HandSpring Visor, Palm
> m50x, Treo, Sony Cli? driver v1.7
> Apr 5 10:48:04 cadmus kernel: hub.c: new USB device 00:1d.2-1,
> assigned address
> Apr 5 10:48:04 cadmus kernel: scsi1 : SCSI emulation for USB Mass
> Storage devices
> Apr 5 10:48:07 cadmus usb.agent[807]: kernel driver usb-storage
> already loaded
> Apr 5 10:48:20 cadmus kernel: usb.c: USB disconnect on device
> 00:1d.2-1 address 2
>
> Help, oh great ones!
>
--
Chuck Downing
Leadville, Colorado
More information about the clue-tech
mailing list