From owner-freebsd-hardware@FreeBSD.ORG Tue Jul 5 23:11:23 2005 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B909116A41C for ; Tue, 5 Jul 2005 23:11:23 +0000 (GMT) (envelope-from darylXYZ@ci.com.au) Received: from mippet.ci.com.au (mippet.ci.com.au [192.65.182.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A54A43D49 for ; Tue, 5 Jul 2005 23:11:22 +0000 (GMT) (envelope-from darylXYZ@ci.com.au) Received: from mippet.ci.com.au (daryl@localhost [127.0.0.1]) by mippet.ci.com.au (8.13.1/8.13.1/CE041021/c+m+l) with ESMTP id j65NBJDD099436 for ; Wed, 6 Jul 2005 09:11:20 +1000 (EST) Received: (from daryl@localhost) by mippet.ci.com.au (8.13.1/8.13.1/Submit) id j65NBJ9Z099433; Wed, 6 Jul 2005 09:11:19 +1000 (EST) X-Authentication-Warning: mippet.ci.com.au: daryl set sender to darylXYZ@ci.com.AU using -f Sender: daryl@ci.com.AU To: freebsd-hardware@freebsd.org From: Daryl Sayers Date: 06 Jul 2005 09:11:19 +1000 Message-ID: Lines: 42 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.45 Subject: Usb to serial problems X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jul 2005 23:11:23 -0000 I had an Aten USB to Serial device attached to an old laptop running FreeBSD 4.7. I am now upgrading to much newer IBM thinkpad (A21m) :-) I have installed FreeBSD 4.10 onto this machine and am now trying to get the Aten to work. I have rebuilt the kernel with the extra devices: device ucom device uplcom and I can see the device in dmesg: usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ucom0: Prolific Technology Inc. USB-Serial Controller, rev 1.10/3.00, addr 2 Also the following command shows: # usbdevs -vd Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 uhub0 port 1 addr 2: full speed, power 100 mA, config 1, USB-Serial Controller(0x2008), Prolific Technology Inc.(0x0557), rev 3.00 ucom0 I am able to connect to /dev/ucom using minicom and I can send data via the Aten to a remote computer. I am however unable to receive data at all. This same laptop has Windoze installed on a second partition and using hyperterm I am able to communicate in both directions. This means there is no problems with the usb port,cabling or the Aten device. This brings it down to a software issue. In the old days, this would have been an IRQ problem or similar but with USB I am at a loss. I did also try running the usbd by adding the 'usbd_enable="YES"' in /etc/rc.conf but this does not seem to have any effect on result. Any ideas would be appreciated.. -- Daryl Sayers To reply please remove the XYZ from the email address.