From owner-freebsd-mobile@FreeBSD.ORG Sat Sep 6 20:22:24 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9BAA416A4BF for ; Sat, 6 Sep 2003 20:22:24 -0700 (PDT) Received: from mtaw6.prodigy.net (mtaw6.prodigy.net [64.164.98.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA54943F93 for ; Sat, 6 Sep 2003 20:22:23 -0700 (PDT) (envelope-from jwlundy@swbell.net) Received: from swbell.net (adsl-65-70-180-253.dsl.rcsntx.swbell.net [65.70.180.253]) by mtaw6.prodigy.net (8.12.9/8.12.3) with ESMTP id h873MDZi010863 for ; Sat, 6 Sep 2003 20:22:14 -0700 (PDT) Message-ID: <3F5AA46F.5050901@swbell.net> Date: Sat, 06 Sep 2003 22:22:23 -0500 From: Jerry Lundy User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030902 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: O2Micro insertion / removal undetected X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Sep 2003 03:22:24 -0000 Greetings. I recently started using an HP Pavilion ze42xx laptop with the O2Micro OZ6912 PCI-CardBus bridge. The system has a single card slot. Under 4.X-STABLE, the system appears to work: cards are detected and powered on and can be swapped out. Under 5.X-CURRENT with NEWCARD, card insertion and removal is not detected. A card which is in the slot at boot is detected during the boot sequence and powered up and appears usable. Subsequent removal or reinsertion are not detected. Previous experimentation using 5.X-CURRENT with OLDCARD had similar results, except that I could manually enable an inserted card using pccardc. (I don't know how to manually query and poke cards under NEWCARD.) From reading the list I get the impression that O2Micro devices have been difficult to support. I'm just about googled out. Am I missing something basic? Any help getting card detection to work would be appreciated. I'm running debug on acpi, cbb, and pccard. Relevant dmesg output is included below. Thanks, Jerry "SoBig? SoWhat! SoFreeBSD." dmesg output (Lucent card installed at boot): --------------------------------------------- FreeBSD 5.1-CURRENT #1: Wed Aug 27 06:55:10 CDT 2003 cbb0: mem 0xd4003000-0xd4003fff at device 10.0 on pci0 cbb0: Found memory at d4003000 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pcib0: slot 10 INTA is routed to irq 11 cbb0: card inserted: event=0x00000000, state=30000411 pccard0: chip_socket_enable cbb_pcic_socket_enable: cbb0: cbb_power: 5V pccard0: read_cis cis mem map 0xd6dc7000 (resource: 0x88000000) pccard0: CIS tuple chain: [Snip CISTPL_*] pccard0: check_cis_quirks pccard0: CIS version PC Card Standard 5.0 pccard0: CIS info: Lucent Technologies, WaveLAN/IEEE, Version 01.01, pccard0: Manufacturer code 0x156, product 0x2 pccard0: function 0: network adapter, ccr addr 3e0 mask 1 pccard0: function 0, config table entry 1: I/O card; irq mask ffff; iomask 6, io space 0-3f; io16 irqpulse irqlevel pccard0: functions scanning pccard0: Card has 1 functions. pccard_mfc is 0 pccard0: I/O rid 0 start 0 end ffffffff cbb_pcic_socket_enable: cbb0: cbb_power: 0V cbb0: cbb_power: 5V pccard0: ccr_res == 88000000-880003ff, base=3e0 pccard0: function 0 CCR at 0 offset 3e0: 41 80 22 ff, ff ff ff ff, ff wi0: at port 0x100-0x13f irq 11 function 0 co nfig 1 on pccard0 wi0: 802.11 address: 00:60:1d:f1:6c:24 wi0: using Lucent Technologies, WaveLAN/IEEE wi0: Lucent Firmware: Station (4.52.1) wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps pccard0: function 0 CCR at 0 offset 3e0: 41 80 22 ff, ff ff ff ff, ff