From owner-freebsd-usb@FreeBSD.ORG Wed Jan 25 16:32:35 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D93016A41F for ; Wed, 25 Jan 2006 16:32:35 +0000 (GMT) (envelope-from hselasky@c2i.net) Received: from mail.turbocat.net (mail.turbocat.net [213.133.116.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id D32D043D6D for ; Wed, 25 Jan 2006 16:32:29 +0000 (GMT) (envelope-from hselasky@c2i.net) Received: by mail.turbocat.net (Postfix, from userid 1002) id 8B841422EC4C; Wed, 25 Jan 2006 17:32:26 +0100 (CET) Received: from [10.175.254.92] (unknown [212.20.206.12]) by mail.turbocat.net (Postfix) with ESMTP id 3DD37422EC49; Wed, 25 Jan 2006 17:32:25 +0100 (CET) From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Wed, 25 Jan 2006 14:09:21 +0100 User-Agent: KMail/1.7 References: <43D4B4A9.40908@gmx.de> In-Reply-To: <43D4B4A9.40908@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200601251409.22020.hselasky@c2i.net> Cc: "\[LoN\]Kamikaze" Subject: Re: PCMCIA USB card problems 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: Wed, 25 Jan 2006 16:32:35 -0000 On Monday 23 January 2006 11:49, [LoN]Kamikaze wrote: > I've got an 4 Port PCMCIA connector with a VIA chipset. > The manual claims it's an OHCI/EHCI device, but FreeBSD identifies it as > an VIA 83C572 UHCI device. After the identification there is a > nonesaying errormessage and the system crashs. > > Compiling the kernel without UHCI I get the following output when I put > the card into the slot: > > cardbus0: Expecting link target, got 0xff > cardbus0: Resource not specified in CIS: id=14, size=100 > cardbus0: Resource not specified in CIS: id=20, size=20 > cardbus0: at device 0.0 (no driver attached) > cardbus0: Expecting link target, got 0xff > cardbus0: Resource not specified in CIS: id=14, size=100 > cardbus0: Resource not specified in CIS: id=20, size=20 > cardbus0: at device 0.1 (no driver attached) > cardbus0: Expecting link target, got 0xff > cardbus0: Resource not specified in CIS: id=10, size=100 > cardbus0: Resource not specified in CIS: id=14, size=100 > ehci1: mem > 0xc0208000-0xc02080ff,0xc0209000-0xc02090ff irq 11 at device 0.2 on > cardbus0 ehci1: [GIANT-LOCKED] > usb1: EHCI version 1.0 > usb1: wrong number of companions (2 != 0) ^^ this check should just be dropped from the code You can lookup the code in "/sys/dev/usb/ehci.c" and make it not return an error when the number of companions mismatch. > usb1: unrecoverable error, controller halted > usb1: blocking intrs 0x10 > usb1: run timeout > ehci1: USB init failed err=13 > device_attach: ehci1 attach returned 5 > > The system doesn't crash, but obviously it doesn't work either. Anyway > that output looks more useful, maybe someone here can give me a hint, or > is the chipset simply not supportet (the VIA 83C572 is in the supportet > hardware list, but I don't know weather that realy is the chipset or > just what FreeBSD thinks it is). You might want to try my USB driver: http://www.turbocat.net/~hselasky/usb4bsd --HPS