From owner-freebsd-usb@FreeBSD.ORG Sat Nov 19 17:12:04 2005 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 778B216A41F for ; Sat, 19 Nov 2005 17:12:04 +0000 (GMT) (envelope-from gary.e.rafe@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0503943D45 for ; Sat, 19 Nov 2005 17:12:03 +0000 (GMT) (envelope-from gary.e.rafe@gmail.com) Received: by zproxy.gmail.com with SMTP id 8so387160nzo for ; Sat, 19 Nov 2005 09:12:03 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:organization:reply-to:to:subject:message-id:user-agent:mime-version:content-type:content-transfer-encoding; b=P433ojUShGpNSqtR+oh53RBAn4FL7NDQBlOEz6A0kupJSdr1XHgoYG5Ko6DVm6SidFEmNnnf+hH6nP9/uveFedMFhf0pWbxT8sgGkdX0pWnsHluy659cyqmBMHWcUElWMmCtU6GjAU2VKlbtTItGwQdI8WusPtkay7LDFJKpxEA= Received: by 10.37.2.53 with SMTP id e53mr1103919nzi; Sat, 19 Nov 2005 09:12:03 -0800 (PST) Received: from lmrmac.uhw.utoledo.edu ( [131.183.85.137]) by mx.gmail.com with ESMTP id 15sm9506nzn.2005.11.19.09.12.00; Sat, 19 Nov 2005 09:12:02 -0800 (PST) Date: Sat, 19 Nov 2005 12:11:59 -0500 From: gary.e.rafe@gmail.com (Gary E. RAFE) Organization: Rafe & Rouillard Group, LLC To: freebsd-usb@freebsd.org Message-ID: <437f5cdf.rRJhccHLbIwaqa5of5k9nMMF@lmrmac.uhw.utoledo.edu> User-Agent: nail 11.25 7/29/05 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Palm m515 USB HotSync with FreeBSD 5.4-R via /dev/ucom0 ? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.e.rafe@gmail.com List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Nov 2005 17:12:04 -0000 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. Plain-text messages (non-HTML encoded), without unsolicited proprietary attachments, are preferred.