From owner-freebsd-stable@FreeBSD.ORG Mon Jul 13 23:43:27 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DA93106564A for ; Mon, 13 Jul 2009 23:43:27 +0000 (UTC) (envelope-from pprocacci@datapipe.net) Received: from que31.charter.net (que31.charter.net [209.225.8.23]) by mx1.freebsd.org (Postfix) with ESMTP id C49D28FC0A for ; Mon, 13 Jul 2009 23:43:26 +0000 (UTC) (envelope-from pprocacci@datapipe.net) Received: from imp10 ([10.20.200.10]) by mta11.charter.net (InterMail vM.7.09.01.00 201-2219-108-20080618) with ESMTP id <20090713232938.WWCW22327.mta11.charter.net@imp10>; Mon, 13 Jul 2009 19:29:38 -0400 Received: from beast.myhome ([75.138.242.5]) by imp10 with smtp.charter.net id FbVd1c00T07hwzv05bVeBn; Mon, 13 Jul 2009 19:29:38 -0400 Message-ID: <4A5BC379.7040004@datapipe.net> Date: Mon, 13 Jul 2009 18:30:01 -0500 From: "Paul A. Procacci" User-Agent: Thunderbird 2.0.0.22 (X11/20090711) MIME-Version: 1.0 To: Graham Menhennitt References: <4A5BBD50.2020408@menhennitt.com.au> In-Reply-To: <4A5BBD50.2020408@menhennitt.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-stable@FreeBSD.ORG" Subject: Re: problem with Soekris net5501 and USB hub X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jul 2009 23:43:27 -0000 Hello, I recently (just yesterday) had a similar problem with 7-STABLE not being able to detect devices attached to a hub. I immediately upgraded to 8-BETA1 and the problem is gone, though I've run into a number of other issues unrelated to usb devices. The sokeris will more than likely fair better on FBSD 8 than my multipurpose machine, but it may be worth a try. ~Paul Graham Menhennitt wrote: > I originally sent this to the Soekris list thinking it was platform > specific. I got a couple of replies suggesting that it's a FreeBSD > problem instead. So, if anybody can offer any insights, I would most > appreciate it. > > I have a Soekris net5501 running FreeBSD 7-Stable. I want to connect a > number of USB devices to it: > - a HP Laserjet 1020 printer > - an APC Back UPS 350 UPS > - a 6-in-one card reader (not so fussed about this one). > The Soekris box has only one USB port brought out to a connector on the > case, so rather than mod the box to add another port, I thought I would > just use an external hub. > > If I plug any of the devcies directly into the Soekris's USB port it > works fine. However, if I use a USB hub then it doesn't work at all. > I've tried it with two different hubs and two different cables. I've > tried the hubs both with a plug pack, and being powered from the USB > bus. The only thing common to the failures is the Soefkis and freeBSD. > The hubs are both USB 2.0 according to their advertising. > > The hub itself is recognised (although I don't have the output from > usbdevs available at the moment). The UPS doesn't ever seem to be > recognised when connected via the hub - there's nothing in dmesg and > nothing in usbdevs. Ditto for the 6-in-one card reader - the LED on the > front of it doesn't even light up. > > The printer sometimes gets partially recognised. The output from > "usbdevs -v" when the printer is connected directly and working properly > looks like: > > Controller /dev/usb0: > addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), > AMD(0x0000), rev 1.00 > port 1 powered > port 2 powered > port 3 powered > port 4 powered > Controller /dev/usb1: > addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), > AMD(0x0000), rev 1.00 > port 1 addr 2: high speed, self powered, config 1, HP LaserJet > 1020(0x2b17), Hewlett-Packard(0x03f0), rev 1.00 > port 2 powered > port 3 powered > port 4 powered > > However, if I connect it via the hub, it sometimes doesn't show it at > all, while other times it says something like (doing this from memory): > > port 1 addr 2: high speed, self powered, config 1, 0x2b17(0x2b17), > vendor 0x03f0(0x03f0), rev 1.00 > > So, it can see it but it doesn't resolve the vendor or device ids. It > looks like the Soekris can see whatever is directly connected to it, but > can't (reliably) see things that more than one step away. > > My (custom) kernel has: > > device usb # USB Bus (required) > device umass # Disks/Mass storage - Requires > scbus and da > device scbus # SCSI bus (required for SCSI) > device da # Direct Access (disks) > device uhci # UHCI PCI->USB interface > device ohci # OHCI PCI->USB interface > device ehci # EHCI PCI->USB interface (USB 2.0) > device ugen # Generic > > So, does anybody have any ideas about how to fix this. > > Thanks for any help, > Graham > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >