From owner-freebsd-questions@FreeBSD.ORG Mon Sep 29 05:04:32 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4987F16A4B3; Mon, 29 Sep 2003 05:04:32 -0700 (PDT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F91F43FDF; Mon, 29 Sep 2003 05:04:30 -0700 (PDT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) (authenticated bits=0) h8TC4KFs088226 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 29 Sep 2003 14:04:26 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id h8TC4FWZ084000 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 29 Sep 2003 14:04:16 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.9/8.12.9) with ESMTP id h8TC4FrY017105; Mon, 29 Sep 2003 14:04:15 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.9/8.12.9/Submit) id h8TC497H017104; Mon, 29 Sep 2003 14:04:09 +0200 (CEST) Date: Mon, 29 Sep 2003 14:04:09 +0200 From: Bernd Walter To: Andrew Thomas Message-ID: <20030929120408.GO90598@cicely12.cicely.de> References: <200309250042.aa09623@salmon.maths.tcd.ie> <20030927173404.71538.qmail@web20706.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030927173404.71538.qmail@web20706.mail.yahoo.com> X-Operating-System: FreeBSD cicely12.cicely.de 5.1-CURRENT alpha User-Agent: Mutt/1.5.4i cc: wpaul@freebsd.org cc: Ian Dowse cc: freebsd-questions@freebsd.org Subject: Re: Multiple USB ethernet devices on one usb port (with hub)? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2003 12:04:32 -0000 On Sat, Sep 27, 2003 at 10:34:04AM -0700, Andrew Thomas wrote: > --- Ian Dowse wrote: > > There is definitely one problem that stops you from using two > > identical USB ethernet devices, but I don't know if it's the only > > one: the "axe" driver uses a static (global) stucture for some > > per-interface data, so it clobbers this state with two interfaces. > > > > I had said to Bill Paul (cc'd) that I would suggest a patch to fix > > this, but I never managed to get my two USB ethernet interfaces in > > the same place at the same time to test them! Would you be able to > > try out the following patch to see if it helps? Just apply it in > > /usr/src and rebuild the kernel. > > To follow up on this... > > I tried Ian's changes to no avail. I applied the patches and rebuilt > the kernel. Upon rebooting with both netgear fa120 ethernet devices > attached (with the new axe driver), both devices are recognized, one > is configured and nothing works (i.e., in spite of the one device > being configured, it is dead). You might take power consumption into acount. If your hub is not powered it can't supply more then 100mA per port. check the required consumption of your ethernet devices with usbdevs -v. In case they require more then 100mA you *must* use a self powered hub. Many cheap hub lie about their power state, but that doesn't change the requirements at all. -- B.Walter BWCT http://www.bwct.de ticso@bwct.de info@bwct.de