Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Sep 2003 22:22:23 -0500
From:      Jerry Lundy <jwlundy@swbell.net>
To:        freebsd-mobile@freebsd.org
Subject:   O2Micro insertion / removal undetected
Message-ID:  <3F5AA46F.5050901@swbell.net>

next in thread | raw e-mail | index | archive | help
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: <O2Micro OZ6912/6972 PCI-CardBus Bridge> mem 0xd4003000-0xd4003fff
at device 10.0 on pci0
cbb0: Found memory at d4003000
cardbus0: <CardBus bus> 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: <Lucent Technologies WaveLAN/IEEE> 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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F5AA46F.5050901>