From owner-freebsd-hackers Sat Jun 22 14: 8: 5 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mta02.fuse.net (mx2.fuse.net [216.68.1.120]) by hub.freebsd.org (Postfix) with ESMTP id 23DD237B419 for ; Sat, 22 Jun 2002 14:07:40 -0700 (PDT) Received: from rusty.am-productions.yi.org ([216.196.152.219]) by mta02.fuse.net (InterMail vM.5.01.03.01 201-253-122-118-101-20010319) with ESMTP id <20020622210740.NLTT25582.mta02.fuse.net@rusty.am-productions.yi.org> for ; Sat, 22 Jun 2002 17:07:40 -0400 Content-Type: text/plain; charset="us-ascii" From: Anish Mistry To: freebsd-hackers@freebsd.org Subject: Visor USB Problems Date: Sat, 22 Jun 2002 17:08:24 -0400 X-Mailer: KMail [version 1.4] MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200206221708.24069.mistry.7@osu.edu> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am having some trouble reading data from a Handspring Visor Platinum. = What=20 I am trying to do is make the necessary modifications to pilot-link so th= at=20 it will work with the usb on FreeBSD. My problem is that I can open a=20 connection to the /dev/ugen0.2 endpoint, but whenever I try to call a rea= d()=20 it returns with error 5 (Input/Output Error). I used the coldsync code a= s a=20 base, but the read keeps failing. I can post the code, I just wanted to = see=20 if there were anyone with a similar problem. I have checked the permissi= ons=20 on the device nodes and they are fine, the same problem occurs when runni= ng=20 as root. What I do: 1) Press the HotSync Button on my crade 2) Run ./pilot-xfer -p usb:/dev/ugen0 --sync /home/amistry/bk 3) Watch it fail Thanks, --=20 Anish Mistry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message