From owner-freebsd-usb@FreeBSD.ORG Sat May 5 17:31:34 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9E83416A402; Sat, 5 May 2007 17:31:34 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.swip.net [212.247.154.129]) by mx1.freebsd.org (Postfix) with ESMTP id D5E4F13C468; Sat, 5 May 2007 17:31:33 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [81.191.58.152] (account mc467741@c2i.net HELO [192.168.1.123]) by mailfe05.swip.net (CommuniGate Pro SMTP 5.1.7) with ESMTPA id 381785588; Sat, 05 May 2007 19:31:31 +0200 From: Hans Petter Selasky To: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Date: Sat, 5 May 2007 19:31:12 +0200 User-Agent: KMail/1.9.5 References: <20070505165443.GA20239@ceid.upatras.gr> In-Reply-To: <20070505165443.GA20239@ceid.upatras.gr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705051931.13033.hselasky@c2i.net> Cc: Marinos Ilias Subject: Re: ural && HPS usb stack X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 17:31:34 -0000 On Saturday 05 May 2007 18:54, Marinos Ilias wrote: > Hello people, > I have a Dell XPS m1210 and because it has intel wireless 3945ABG, which > doesn't work for me using the wpi driver, I decided to buy a Gigabyte > GN-WBKG wireless usb adapter.It is recognized normally with ural driver. > The last 3 weeks I had some weird problems using this usb adapter.While I > was surfing or listening to radio (from internet) the laptop many times > suddenly rebooted(a reboot like a hardware reset , which didn't give me the > chance to catch the errors).Also I am not sure how can I reproduce the > error in a way that I can understand what crashes. So I decided , to test > the HPS usb stack .Now I don't have these "reboots" any more but sometimes > after a lot of use it seems the device does not respond.Something has to do > with the ural driver.At such a moment I get the interface down and detach > and re-attach the stick but kernel does not see it anymore and I have to > reboot the whole system.I paste to you some messages : > > > marinosi@lucifer:~$ dmesg | grep ural > ural0: 126> ural0: at uhub4 port 2 (addr 126) disconnected > ural0: MAC/BBP RT2570 (rev 0x05), RF RT2526 > ural0: Ethernet address: 00:16:e6:3e:b3:f8 > ural0: detached > ural0: 126> ural0: MAC/BBP RT2570 (rev 0x05), RF RT2526 > ural0: Ethernet address: 00:16:e6:3e:b3:f8 > ural0: link state changed to UP > ural0: at uhub4 port 2 (addr 126) disconnected > ural0: link state changed to DOWN > ural0: detached > ural0: 126> ural0: MAC/BBP RT2570 (rev 0x05), RF RT2526 > ural0: Ethernet address: 00:16:e6:3e:b3:f8 > ural0: at uhub4 port 2 (addr 126) disconnected > ural0: detached > ural0: 126> ural0: MAC/BBP RT2570 (rev 0x05), RF RT2526 > ural0: Ethernet address: 00:16:e6:3e:b3:f8 > ural0: at uhub4 port 2 (addr 126) disconnected > ural0: detached > ural0: 126> ural0: could not set configuration number, err=USBD_TIMEOUT! > device_attach: ural0 attach returned 6 > > > > marinosi@lucifer:~$ sudo wpa_supplicant -i ural0 -c > /etc/wpa_supplicant.conf Failed to initialize driver interface > > IIRC , after this incident the usb port is fully disabled.I want to note , > that this happens without moving the usb adapter at all. > It might be that your adapter is drawing too much power, and that some fuse goes off. What rates are you using? Is the behaviour the same no matter what USB port you use? It is possible to turn on USB debugging using various "sysctl" commands, but it might flood your computer with messages. How time is it between the re-attach events ? --HPS