From owner-freebsd-current@FreeBSD.ORG Wed Jun 11 17:21:54 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 944FD37B401; Wed, 11 Jun 2003 17:21:54 -0700 (PDT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5129543FAF; Wed, 11 Jun 2003 17:21:53 -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]) by srv1.cosmo-project.de (8.12.9/8.12.9) with ESMTP id h5C0LhHq086313 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Thu, 12 Jun 2003 02:21:48 +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.9/8.12.9) with ESMTP id h5C0LfIf070305 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 12 Jun 2003 02:21:41 +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 h5C0Le9F036090; Thu, 12 Jun 2003 02:21:40 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.9/8.12.9/Submit) id h5C0LeH8036089; Thu, 12 Jun 2003 02:21:40 +0200 (CEST) Date: Thu, 12 Jun 2003 02:21:39 +0200 From: Bernd Walter To: Josef Karthauser , ticso@cicely.de, Craig Boston , current@FreeBSD.org Message-ID: <20030612002139.GT26807@cicely12.cicely.de> References: <1055260269.91337.127.camel@owen1492.uf.corelab.com> <20030611193734.GO26807@cicely12.cicely.de> <20030611224538.GB10822@genius.tao.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030611224538.GB10822@genius.tao.org.uk> X-Operating-System: FreeBSD cicely12.cicely.de 5.1-RELEASE alpha User-Agent: Mutt/1.5.4i Subject: Re: CardBus USB 2.0 Controller (NEC uPD) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2003 00:21:54 -0000 On Wed, Jun 11, 2003 at 11:45:38PM +0100, Josef Karthauser wrote: > On Wed, Jun 11, 2003 at 09:37:35PM +0200, Bernd Walter wrote: > > On Tue, Jun 10, 2003 at 10:51:10AM -0500, Craig Boston wrote: > > > I recently purchased a generic CompUSA branded CardBus USB 2.0 > > > controller for a challenge to try to get it to work under FreeBSD ;) It > > > appears to use an NEC chip -- one that I've seen reports of the PCI > > > version working -- so at least some of the support for it is already > > > there. I'm willing to take a stab at it and would be grateful if > > > someone can point me in the general direction of where to start. > > > > There are known problems with USB2.0 cardbus cards. > > We have some kind of resource problem - Warner already wrote something > > about it some time ago. > > > > > If I pop out the card I get: > > > > Neither OHCI nor EHCI controllers have working detach code right now. > > The detach code could be made to work fairly easily. It's mostly there > I believe, but disabled. Nick couldn't convince himself that all the > used memory was being returned if the device is suddently unloaded. You > could suck it and see. I'm not shure if the code would work, but it was also ported into ehci and therefor ehci should be in a similar state. Well loosing memory is better than panic. I have no cardbus - can this be tested with a module? -- B.Walter BWCT http://www.bwct.de ticso@bwct.de info@bwct.de