From owner-freebsd-hardware Tue Jan 21 18:44:39 2003 Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A2FB37B401 for ; Tue, 21 Jan 2003 18:44:37 -0800 (PST) Received: from apnic.net (cumin.apnic.net [202.12.29.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id D097E43F1E for ; Tue, 21 Jan 2003 18:44:35 -0800 (PST) (envelope-from ggm@durian.apnic.net) Received: from durian.apnic.net (durian.apnic.net [202.12.29.252]) by apnic.net (8.12.1/8.12.1) with ESMTP id h0M2iWu3026538; Wed, 22 Jan 2003 12:44:33 +1000 Received: (from ggm@localhost) by durian.apnic.net (8.11.6/8.11.6) id h0M2iW520352; Wed, 22 Jan 2003 12:44:32 +1000 Date: Wed, 22 Jan 2003 12:44:32 +1000 From: George Michaelson Message-Id: <200301220244.h0M2iW520352@durian.apnic.net> To: netbsd-help@netbsd.org Subject: how to enable a new cardbus/pccard device? (ATEN USB 2.0 card) Cc: freebsd-hardware@freebsd.org X-AP-Spam-Status: No, hits=-98.9 required=5 X-AP-Spam-Score: -98.9 (notspam) CARRIAGE_RETURNS,SPAM_PHRASE_00_01,USER_IN_WHITELIST X-Scanned-By: MIMEDefang 2.15 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I bought an ATEN USB2.0 32bit cardbus card, model PU-212. when inserted into my NetBSD-current host with cardbus enabled in the kernel, it hangs, both for cold-boot inserted, and a hot insert into a running system. no messages. In FreeBSD 5.0, the device is safe, but not recognized. the probe details in dmesg are: cardbus0: Resource not specified in CIS: id=10, size=1000 cardbus0: (vendor=0x1033, dev=0x0035) at 0.0 irq 10 cardbus0: Resource not specified in CIS: id=10, size=1000 cardbus0: (vendor=0x1033, dev=0x0035) at 0.1 irq 10 cardbus0: Resource not specified in CIS: id=10, size=100 cardbus0: (vendor=0x1033, dev=0x00e0) at 0.2 irq 10 cbb0: CardBus card activation failed so I know its vendor:device 0x1033:0035 with a second sub-device instance at 0x00e0 (two USB ports, so two sub devices I guess) In RedHat 8.0, the device is fully recognized and functional. I am able to use a USB devs checker to see its an NEC chipset (unknown details) driving the USB component. the dmesg probe in this case is: cs: cb_alloc(bus 2): vendor 0x1033, device 0x0035 PCI: Enabling device 02:00.0 (0000 -> 0002) PCI: Enabling device 02:00.1 (0000 -> 0002) PCI: Enabling device 02:00.2 (0000 -> 0002) PCI: Setting latency timer of device 02:00.0 to 64 usb-ohci.c: USB OHCI at membase 0xd09ab000, IRQ 10 usb-ohci.c: usb-02:00.0, PCI device 1033:0035 usb.c: new USB bus registered, assigned bus number 2 hub.c: USB hub found hub.c: 3 ports detected PCI: Setting latency timer of device 02:00.1 to 64 usb-ohci.c: USB OHCI at membase 0xd09b3000, IRQ 10 usb-ohci.c: usb-02:00.1, PCI device 1033:0035 usb.c: new USB bus registered, assigned bus number 3 hub.c: USB hub found hub.c: 2 ports detected hcd.c: ehci-hcd @ 02:00.2, PCI device 1033:00e0 hcd.c: irq 10, pci mem d09c6000 usb.c: new USB bus registered, assigned bus number 4 ehci-hcd.c: USB 2.0 support enabled, EHCI rev 0.95 hub.c: USB hub found hub.c: 5 ports detected (actually, removal can hang Linux, but insertion and cold boot is safe) Can somebody explain to me how I can go about constructing a valid cardbus/pccard entry for this device? cheers -George To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message