From owner-freebsd-usb@FreeBSD.ORG Tue Jul 5 07:10:13 2011 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 063F3106564A for ; Tue, 5 Jul 2011 07:10:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D09F98FC08 for ; Tue, 5 Jul 2011 07:10:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p657ACEa052488 for ; Tue, 5 Jul 2011 07:10:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p657ACxT052487; Tue, 5 Jul 2011 07:10:12 GMT (envelope-from gnats) Date: Tue, 5 Jul 2011 07:10:12 GMT Message-Id: <201107050710.p657ACxT052487@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Hans Petter Selasky Cc: Subject: Re: usb/158650: uplcom USB To COM Device doesn't transmit data, only receive X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hans Petter Selasky List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jul 2011 07:10:13 -0000 The following reply was made to PR usb/158650; it has been noted by GNATS. From: Hans Petter Selasky To: freebsd-usb@freebsd.org Cc: Renato Tambellini , freebsd-gnats-submit@freebsd.org Subject: Re: usb/158650: uplcom USB To COM Device doesn't transmit data, only receive Date: Tue, 5 Jul 2011 09:06:17 +0200 On Tuesday 05 July 2011 02:37:49 Renato Tambellini wrote: > >Number: 158650 > >Category: usb > >Synopsis: uplcom USB To COM Device doesn't transmit data, only > >receive Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-usb > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Tue Jul 05 00:40:09 UTC 2011 > >Closed-Date: > >Last-Modified: > >Originator: Renato Tambellini > >Release: 8.2-STABLE > >Organization: > > >Environment: > FreeBSD devilbox.homeunix.net 8.2-STABLE FreeBSD 8.2-STABLE #0: Wed Jun 1 > 05:48:46 BRT 2011 > root@devilbox.homeunix.net:/usr/obj/usr/src/sys/GENERIC amd64 > > >Description: > The USB To COM Device Prolific PL-2303 doesn't transmit data, only receive. > > # dmesg | grep Prolific > ugen1.4: at usbus1 > uplcom0: rev 1.10/3.00, addr 4> on usbus1 > > # usbconfig -d 1.4 dump_device_desc > ugen1.4: at usbus1, > cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0110 > bDeviceClass = 0x0000 > bDeviceSubClass = 0x0000 > bDeviceProtocol = 0x0000 > bMaxPacketSize0 = 0x0040 > idVendor = 0x067b > idProduct = 0x2303 > bcdDevice = 0x0300 > iManufacturer = 0x0001 > iProduct = 0x0002 > iSerialNumber = 0x0000 > bNumConfigurations = 0x0001 > > >How-To-Repeat: > 1) Plug the DB9 to serial console on another box using a null-modem cable. > 2) Plug the device to USB port. > 3) Try to access the console: > > cu -l /dev/cuaU0 -s 9600 > > 4) The terminal only receive data, not transmit. > Hi, Can you run usbdump and show what happens when you try to transmit data? Are you sure the baudrate is correct? usbdump -i usbus1 -vvvv -s 4096 ugen1.4 -> usbus1 ugen2.4 -> usbus2 ... --HPS