Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Nov 2005 12:11:59 -0500
From:      gary.e.rafe@gmail.com (Gary E. RAFE)
To:        freebsd-usb@freebsd.org
Subject:   Palm m515 USB HotSync with FreeBSD 5.4-R via /dev/ucom0 ?
Message-ID:  <437f5cdf.rRJhccHLbIwaqa5of5k9nMMF@lmrmac.uhw.utoledo.edu>

next in thread | raw e-mail | index | archive | help
Can anyone on this list comment on whether
pilot-link-0.12.0-pre4 can talk to
a Palm m515 over (native) USB on FreeBSD 5.4-R ?

After HotSync-ing successfully with this version of pilot-link
using a serial-cable cradle (/dev/cuaa0) on this system
(Toshiba Satellite Pro 6100),
I dug out my USB cradle to see what might come of it.

I built a custom kernel with both ucom(4) & uvisor(4)
compiled in, and the Palm appears to be recognized
when the HotSync button is activated on the
USB cradle
(i.e., the device /dev/ucom0 is created).

The command

	pilot-xfer --port usb:/dev/ucom0 --list

however, fails, with the kernel issuing the USB debug
messages:

## Hit HotSync button ##
	ucom0: Palm, Inc. Palm Handheld, rev 1.00/1.00, addr 4
	ucom0: Palm, Inc. Palm Handheld, rev 1.00/1.00, addr 4
	uvisor_init: getting connection info
	ucom0: Number of ports: 2
	ucom0: port 1, is for Generic
	ucom0: port 2, is for HotSync
	uvisor_init: getting available bytes
	uvisor_init: avail=1  
	uvisor_init: done
	uvisor: in=0x82 out=0x2
	ucom_attach: tty_attach tp = 0xc1a6d400
	ucom_attach: make_dev: ucom0

## Issued pilot-xfer command ##
	ucom0: ucomopen: tp = 0xc1a6d400
	ucomparam: sc = 0xc1b08680
	ucomctl: bits = 0x6, how = 1
	ucom_dtr: onoff = 1
	ucom_rts: onoff = 1
	ucomopen: open pipes in = 130 out = 2
	ucomstartread: start
	ucom0: ucomopen: success
	ucomioctl: cmd = 0x41745570
	ucomioctl: our cmd = 0x41745570
	ucomioctl: error: our cmd = 0x41745570
	ucom0: ucomclose: unit = 0
	ucomstop: 1
	ucomstop: read
	ucomstopread: enter
	uhci_device_bulk_abort:
	uhci_check_intr: aborted xfer=0xc192c800
	ucomreadcb: status = 6
	ucomstopread: leave
	ucomstartread: start
	ucomstart: sc = 0xc1b08680
	ucomstop: done
	ucomstop: 3
	ucomstop: read
	ucomstopread: enter
	uhci_device_bulk_abort:
	uhci_check_intr: aborted xfer=0xc192c800
	ucomreadcb: status = 6
	ucomstopread: leave
	ucomstartread: start
	ucomstop: write
	ucomstart: sc = 0xc1b08680
	ucomstop: done
	ucom_cleanup: closing pipes
	ucom_shutdown
	ucomctl: bits = 0x2, how = 2
	ucom_dtr: onoff = 0
	ucom_rts: onoff = 1
	uhci_device_bulk_abort: 
	uhci_check_intr: aborted xfer=0xc192c800
	ucomreadcb: status = 6
	ucom0: at uhub3 port 3 (addr 4) disconnected
	uvisor_detach: sc=0xc1b08680
	ucom_detach: sc = 0xc1b08680, tp = 0xc1a6d400
	ucom0: detached

Note that the command

	pilot-xfer --port /dev/cuaa0 --list

works as advertised when the serial-cable cradle
is used.

Pointers/suggestions to debugging this
are appreciated.
--
Gary E. RAFE, Ph.D. <mailto:gary.e.rafe@gmail.com>
Plain-text messages (non-HTML encoded),
without unsolicited proprietary attachments,
are preferred.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?437f5cdf.rRJhccHLbIwaqa5of5k9nMMF>