From owner-freebsd-hackers@FreeBSD.ORG Sun May 11 05:30:51 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA2AC37B401 for ; Sun, 11 May 2003 05:30:50 -0700 (PDT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CAEE43FE3 for ; Sun, 11 May 2003 05:30:49 -0700 (PDT) (envelope-from ticso@cicely9.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) by srv1.cosmo-project.de (8.12.9/8.12.9) with ESMTP id h4BCUVrN094414 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Sun, 11 May 2003 14:30:44 +0200 (CEST) (envelope-from ticso@cicely9.cicely.de) Received: from cicely9.cicely.de (cicely9.cicely.de [IPv6:3ffe:400:8d0:301:210:5aff:fe30:1c1a]) by cicely5.cicely.de (8.12.9/8.12.9) with ESMTP id h4BCUPms000714 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 11 May 2003 14:30:26 +0200 (CEST) (envelope-from ticso@cicely9.cicely.de) Received: from cicely9.cicely.de (localhost [127.0.0.1]) by cicely9.cicely.de (8.12.9/8.12.9) with ESMTP id h4BCULRw003681; Sun, 11 May 2003 14:30:23 +0200 (CEST) (envelope-from ticso@cicely9.cicely.de) Received: (from ticso@localhost) by cicely9.cicely.de (8.12.9/8.12.9/Submit) id h4BCUIE0003680; Sun, 11 May 2003 14:30:19 +0200 (CEST) (envelope-from ticso) Date: Sun, 11 May 2003 14:30:17 +0200 From: Bernd Walter To: Marcin Dalecki Message-ID: <20030511123016.GG1922@cicely9.cicely.de> References: <2E7E8A35375D1449A6F28D5E022E67310AC4D2@USSC8MS04.Global.Cwintra.Com> <3EBD2F95.9090807@gmx.net> <20030511005127.GD1922@cicely9.cicely.de> <3EBE3CB4.1000401@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3EBE3CB4.1000401@gmx.net> X-Operating-System: FreeBSD cicely9.cicely.de 5.0-CURRENT alpha User-Agent: Mutt/1.5.3i cc: freebsd-hackers@freebsd.org cc: ticso@cicely.de cc: "Yevmenkin, Maksim" Subject: Re: USB link cable? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 May 2003 12:30:51 -0000 On Sun, May 11, 2003 at 02:06:12PM +0200, Marcin Dalecki wrote: > Bernd Walter wrote: > >I really doubt that the udbp driver is guilty of this. > >An USB driver has no chance to break a device permanently by accident > >unless it has a very broken design. > > > >What does FreeBSD tell you now on probing the device? > > > > The working end results in: > > ugen0: Prolific Technology Inc. PL2301 Host-Host interface, rev 1.00/0.00, > addr 2 > > The kaputt end results in: > > ugen0: at uhub0 port 1 (addr 2) disconnected > ugen0: detached > uhub0: device problem, disabling port 1 > > Linux is a bit more elaborative on error reporting: FreeBSD requires USB_DEBUG for this kind of message. > hub.c: new USB device 00:02.3-1.1, assigned address 5 > usb.c: USB device not accepting new address=5 (error=-32) > hub.c: new USB device 00:02.3-1.1, assigned address 6 > usb.c: USB device not accepting new address=6 (error=-32) > > It looks really as if the IO drivers on this end are burned. You may want to check with FreeBSD and USB_DEBUG again, as setting a new adress is not the first communication with the device (at least with FreeBSD). > Unfortunately the device is one of those melded in soft PVC kind of, so > I can't open it for further investigation. Hmm I may try anyway with a knife > out of couriosity... It certainly started during the experimentation > on the BSD side. But I did feed all data through udbp0: and never used > ugen0 devices. > > It's really just a bit curious now. Basicly the device is powered from the USB bus - of which there are two. It's quite possible that the vendor of your device failed to handle that situation correctly. Basicly it's possible to get an enourmous overvoltage if the +5V line gets connected before GND and your devices have different GND bases. Unless the vendor put the required overvoltage protection circuits into that device and they tried to take power from both sides it's strictly not hot-plug-able. -- B.Walter BWCT http://www.bwct.de ticso@bwct.de info@bwct.de