From owner-freebsd-usb@FreeBSD.ORG Wed Jul 6 07:10:12 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 13E94106564A for ; Wed, 6 Jul 2011 07:10:12 +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 033D28FC0C for ; Wed, 6 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 p667ABOW012702 for ; Wed, 6 Jul 2011 07:10:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p667ABXn012701; Wed, 6 Jul 2011 07:10:11 GMT (envelope-from gnats) Date: Wed, 6 Jul 2011 07:10:11 GMT Message-Id: <201107060710.p667ABXn012701@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: Wed, 06 Jul 2011 07:10:12 -0000 The following reply was made to PR usb/158650; it has been noted by GNATS. From: Hans Petter Selasky To: Renato Tambellini Cc: freebsd-usb@freebsd.org, freebsd-gnats-submit@freebsd.org Subject: Re: usb/158650: uplcom USB To COM Device doesn't transmit data, only receive Date: Wed, 6 Jul 2011 08:59:58 +0200 On Tuesday 05 July 2011 17:31:36 Renato Tambellini wrote: > Hi Hans, > > I'm trying to transmit data to an serial console on another machine > and nothing happens > when I send data, the same occur when I use fldigi to control my > amateur radio transceiver and use a serial mouse attached to the USB > to COM serial port. > > In my old machine that was a FreeBSD 6, the device worked normally via > ucom driver. After sent this PR, I update my kernel to the latest > source with csup and the problem has worsened. Now when the program > wait a response of the radio, the device is disconnected by kernel. > > Lots of messages generated by kernel: > > uplcom0: at uhub3, port 2, addr 5 (disconnected) > uplcom0: rev 1.10/3.00, addr 5> on usbus1 > > This usbdump.txt was recorded when I use fldigi to get the radio > transceiver frequency. Hi, It looks like your application is only opening and closing the comport. Try also to enable ucom debugging: sysctl hw.usb.ucom.debug=15 --HPS