BTW, I think this TI multifunction (incl cardbus/PCMCIA) PCIXX12 (insert
remaining chip model number for XX) chip is becoming popular in laptops (at
least Sony) so I'm surprised its not supported. I once looked it up on the
TI web site and it appears to be a space saving chip consolidating cardbus,
multimedia card, and Firewire, which of course would be good for laptops.
Rob
ps. I was going to cross post this to OpenBSD-mobile but it doesn't look
like from the MARC archives that it exists any more. Is that correct?
On Sat, Jun 28, 2008 at 5:08 PM, Rob Lytle <[EMAIL PROTECTED]> wrote:
> Hi,
>
> It appears that the slot applies no power to any card. I included as much
> debug code as I could in /usr/src/sys/dev/pci/pccbb.c I had to
> re-comment-out the lines:
>
> #define PCCBB_PCMCIA_POLL
>
> #define CB_PCMCIA_POLL
>
> or the kernel build would crash. In the dmesg, it just looks like voltages
> are 0. I need my Atheros PCMCIA card to run WAP as my internal WiFi is the
> Intel PRO Wireless 3945ABG which requires a firmware blob and only works
> with WEP (unless Intel updated it). If I can get it to work, at least I
> will have "security theater," lol- but better than WEP.
>
> Below is DMESG:
>
> Thanks, Rob.
>
>
> -------------------------------
> OpenBSD 4.3-current (GENERIC-DEBUG) #1: Sat Jun 28 09:33:15 PDT 2008
> [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC-DEBUG
> cpu0: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz ("GenuineIntel" 686-class)
> 2.01 GHz
> cpu0:
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
> real mem = 2137026560 (2038MB)
> avail mem = 2058194944 (1962MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 04/12/07, BIOS32 rev. 0 @ 0xfdbd0,
> SMBIOS rev. 2.4 @ 0xdc010 (19 entries)
> bios0: vendor Phoenix Technologies LTD version "R0112N0" date 04/12/2007
> bios0: Sony Corporation VGN-SZ460N
> acpi0 at bios0: rev 2
> acpi0: tables DSDT FACP APIC HPET MCFG TCPA SLIC APIC BOOT SSDT SSDT SSDT
> SSDT SSDT
> acpi0: wakeup devices PWRB(S4) S1F0(S4) S1F1(S4) S1F2(S4) S1F3(S4) S1F4(S4)
> S1F5(S4) S1F6(S4) S1F7(S4) TLAN(S3) DLAN(S3) USB1(S3) USB2(S3) USB3(S3)
> USB4(S3) USB7(S3) SLT0(S4) EC0_(S5)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpihpet0 at acpi0: 14318179 Hz
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus -1 (PEGP)
> acpiprt2 at acpi0: bus 2 (RP01)
> acpiprt3 at acpi0: bus 6 (RP02)
> acpiprt4 at acpi0: bus 7 (RP03)
> acpiprt5 at acpi0: bus 8 (RP04)
> acpiprt6 at acpi0: bus 9 (PCIB)
> acpiec0 at acpi0
> acpicpu0 at acpi0: C2
> acpitz0 at acpi0: critical temperature 99 degC
> acpitz1 at acpi0: critical temperature 100 degC
> acpitz2 at acpi0: critical temperature 100 degC
> acpibtn0 at acpi0: LID0
> acpibtn1 at acpi0: PWRB
> acpibat0 at acpi0: BAT1 type LION oem "Sony Corp."
> acpiac0 at acpi0: AC unit online
> acpidock at acpi0 not configured
> bios0: ROM list: 0xc0000/0x10000! 0xdc000/0x4000! 0xe0000/0x1c00!
> cpu0 at mainbus0
> cpu0: unknown Enhanced SpeedStep CPU, msr 0x060b0c2206000c22
> cpu0: using only highest and lowest power states
> cpu0: Enhanced SpeedStep 2000 MHz (1244 mV): speeds: 2000, 1000 MHz
> pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03
> vga1 at pci0 dev 2 function 0 "Intel 82945GM Video" rev 0x03
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> agp0 at vga1: aperture at 0xd0000000, size 0x10000000
> "Intel 82945GM Video" rev 0x03 at pci0 dev 2 function 1 not configured
> azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: irq 10
> azalia0: host: High Definition Audio rev. 1.0
> azalia0: host: 4 output, 4 input, and 0 bidi streams
> azalia_attach: resetting
> azalia_attach: reset counter = 5000
> azalia_attach: reset counter = 4986
> azalia0: found a codec at #0
> azalia0: found a codec at #1
> azalia_init_corb: CORB allocation succeeded.
> azalia_init_corb: CORBWP=0; size=256
> azalia_init_rirb: RIRB allocation succeeded.
> azalia_init_rirb: RIRBRP=0, size=256
> azalia0: codec[0] vid 0x83847662, subid 0x81e6104d, rev. 2.1, HDA version
> 1.0
> azalia_codec_init: nidstart=1 #functions=1
> azalia_codec_init: FTYPE result = 0x00000101
> azalia_codec_init: There are 23 widgets in the audio function.
> encodings=1<PCM>
> PCM
> formats=e07e0<24bit,20bit,16bit,192kHz,176.4kHz,96kHz,88.2kHz,48kHz,44.1kHz>
> inamp: mute=1 size=5 steps=15 offset=0
> outamp: mute=1 size=2 steps=127 offset=127
> gpio: wake=1 unsol=1 gpis=0 gpos=0 gpios=5
> azalia0: dac02 wcap=d0c05<LRSWAP,POWER,OUTAMP,STEREO>
> azalia0: dac03 wcap=d0c05<LRSWAP,POWER,OUTAMP,STEREO>
> azalia0: dac04 wcap=d0c05<LRSWAP,POWER,OUTAMP,STEREO>
> azalia0: dac05 wcap=d0c05<LRSWAP,POWER,OUTAMP,STEREO>
> azalia0: adc06 wcap=1d0541<POWER,CONNLIST,PROC,STEREO>
> connections=0x7; selected=0x7
> azalia0: sel07 wcap=300903<LRSWAP,CONNLIST,INAMP,STEREO>
> connections=0xe; selected=0xe
> azalia0: adc08 wcap=1d0541<POWER,CONNLIST,PROC,STEREO>
> connections=0x9; selected=0x9
> azalia0: sel09 wcap=300903<LRSWAP,CONNLIST,INAMP,STEREO>
> connections=0x15; selected=0x15
> azalia0: black0a wcap=400181<CONNLIST,UNSOL,STEREO>
> cap=173c<VREF80,VREFGND,VREF50,VREFHIZ,INPUT,OUTPUT,HEADPHONE,PRESENCE>
> [02/00] color=black device=headphones conn=jack conntype=1/8
> location=left chassis=external special=none
> connections=0x2; selected=0x2
> azalia0: black0b wcap=400181<CONNLIST,UNSOL,STEREO>
> cap=14<OUTPUT,PRESENCE>
> [15/00] color=black device=speaker conn=none conntype=1/8
> location=rear chassis=external special=none
> connections=0x4; selected=0x4
> azalia0: black0c wcap=400181<CONNLIST,UNSOL,STEREO>
> cap=14<OUTPUT,PRESENCE>
> [15/00] color=black device=speaker conn=none conntype=1/8
> location=rear chassis=external special=none
> connections=0x3; selected=0x3
> azalia0: red0d wcap=400181<CONNLIST,UNSOL,STEREO>
> cap=173c<VREF80,VREFGND,VREF50,VREFHIZ,INPUT,OUTPUT,HEADPHONE,PRESENCE>
> [03/00] color=red device=mic conn=jack conntype=1/8
> location=left chassis=external special=none
> connections=0x2; selected=0x2
> azalia0: black0e wcap=400081<UNSOL,STEREO>
> cap=24<INPUT,PRESENCE>
> [15/00] color=black device=speaker conn=none conntype=1/8
> location=rear chassis=external special=none
> azalia0: unknown0f wcap=400181<CONNLIST,UNSOL,STEREO>
> cap=14<OUTPUT,PRESENCE>
> [01/00] color=unknown device=speaker conn=fixed conntype=analog
> location=n/a chassis=internal special=none
> connections=0x5; selected=0x5
> azalia0: dac10 wcap=40211<DIGITAL,FORMATOV,STEREO>
> encodings=5<AC3,PCM>
> PCM
> formats=e03e0<24bit,20bit,16bit,176.4kHz,96kHz,88.2kHz,48kHz,44.1kHz>
> azalia0: black11 wcap=400301<DIGITAL,CONNLIST,STEREO>
> cap=10<OUTPUT>
> [15/00] color=black device=speaker conn=none conntype=1/8
> location=rear chassis=external special=none
> connections=0x10,0x9; selected=0x10
> azalia0: adc12 wcap=140311<DIGITAL,CONNLIST,FORMATOV,STEREO>
> encodings=5<AC3,PCM>
> PCM formats=e0160<24bit,20bit,16bit,96kHz,48kHz,44.1kHz>
> connections=0x13; selected=0x13
> azalia0: black13 wcap=440381<DIGITAL,CONNLIST,UNSOL,STEREO>
> cap=34<INPUT,OUTPUT,PRESENCE>
> [15/00] color=black device=speaker conn=none conntype=1/8
> location=rear chassis=external special=none
> connections=0x18; selected=0x18
> azalia0: unknown14 wcap=400001<STEREO>
> cap=20<INPUT>
> [03/14] color=unknown device=mic conn=fixed conntype=analog
> location=n/a chassis=internal special=none
> azalia0: sel15 wcap=30010d<CONNLIST,AMPOV,OUTAMP,STEREO>
> outamp: mute=1 size=39 steps=4 offset=0
> connections=0xa,0xd,0x14,0x2; selected=0xa
> azalia0: beep16 wcap=70000c<AMPOV,OUTAMP>
> outamp: mute=0 size=23 steps=3 offset=3
> azalia0: volume17 wcap=600000
> delta=1 steps=127
> azalia0: dac18 wcap=40201<DIGITAL,STEREO>
> azalia_codec_init: dacgroup[0]: 02 05
> azalia0: codec[1] vid 0x14f12bfa, subid 0x81e6104d, rev. 0.0, HDA version
> 0.9
> azalia_codec_init: nidstart=2 #functions=1
> azalia_codec_init: FTYPE result = 0x00000102
> azalia0: codec[1]: No audio function groups
> azalia0: codec[s]: Sigmatel 83847661, Conexant/0x2bfa, using Sigmatel
> 83847661
> audio0 at azalia0
> azalia_round_blocksize: resultant block size = 9600
> azalia_round_blocksize: resultant block size = 9600
> ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: irq 5
> pci1 at ppb0 bus 2
> ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: irq 10
> pci2 at ppb1 bus 6
> wpi0 at pci2 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: irq
> 10, MoW1, address 00:19:d2:31:93:15
> ppb2 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02: irq 10
> pci3 at ppb2 bus 7
> mskc0 at pci3 dev 0 function 0 "Marvell Yukon 88E8036" rev 0x16, Yukon-2 FE
> (0x1): irq 10
> msk0 at mskc0 port A: address 00:13:a9:90:7c:69
> eephy0 at msk0 phy 0: Marvell 88E3082 10/100 PHY, rev. 3
> ppb3 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02: irq 10
> pci4 at ppb3 bus 8
> uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: irq 10
> uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: irq 10
> uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: irq 10
> uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: irq 10
> ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: irq 10
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> ppb4 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
> pci5 at ppb4 bus 9
> cbb0 at pci5 dev 4 function 0 "TI PCIXX12 CardBus" rev 0x00 (chipflags 2):
> intrpin A, line 10
> : irq 10
> "TI PCIXX12 FireWire" rev 0x00 at pci5 dev 4 function 1 not configured
> "TI PCIXX12 Multimedia Card Reader" rev 0x00 at pci5 dev 4 function 2 not
> configured
> cbb0: CardBus register address 0x7f670000 -> 0x7f670000
> CardBus latency timer 0x40 (400a0a09)
> PCI latency timer 0x40 (824010)
> pccbb_power: CARDBUS_VCC_0V and CARDBUS_VPP_0V [44]
> cbb0: cacheline 0x10 lattimer 0x40
> cbb0: bhlc 0x824010 lscp 0x400a0a09
> PCI config regs:
> 0x00: 8039104c 02100007 06070000 00824010
> 0x10: 7f670000 020000a0 400a0a09 fffff000
> 0x20: 00000000 fffff000 00000000 fffffffc
> 0x30: 00000000 fffffffc 00000000 07c0010a
> 0x40: 81e6104d 00000001 00000000 00000000
> 0x80: 0844d060 84d30019 000d0000 01a21b22
> 0x90: 606401c0 00000000 00000000 00000000
> 0xa0: fe120001 00c00000 00000000 00000000
> socket regs: 00000000 00000000 00000000 00000000 00000000
> ExCA regs: 00 00 00 00 00 00 00 00
> cardslot0 at cbb0 slot 0 flags 0
> cardbus0 at cardslot0: bus 10 device 0 cacheline 0x10, lattimer 0x40
> pcmcia0 at cardslot0
> pccbb_pcmcia_card_detect
> pccbbattach: found cardslot
> ichpcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02: PM
> disabled
> pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x02: DMA,
> channel 0 configured to compatibility, channel 1 configured to compatibility
> atapiscsi0 at pciide0 channel 0 drive 0
> scsibus0 at atapiscsi0: 2 targets, initiator 7
> cd0 at scsibus0 targ 0 lun 0: <MATSHITA, DVD-RAM UJ-852S, 1.50> ATAPI
> 5/cdrom removable
> cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
> pciide0: channel 1 ignored (disabled)
> pciide1 at pci0 dev 31 function 2 "Intel 82801GBM SATA" rev 0x02: DMA,
> channel 0 configured to native-PCI, channel 1 configured to native-PCI
> pciide1: using irq 10 for native-PCI interrupt
> wd0 at pciide1 channel 0 drive 0: <ST9160821AS>
> wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
> wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
> ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02: polling
> iic0 at ichiic0
> spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
> spdmem1 at iic0 addr 0x52: 1GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
> usb1 at uhci0: USB revision 1.0
> uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb2 at uhci1: USB revision 1.0
> uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb3 at uhci2: USB revision 1.0
> uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb4 at uhci3: USB revision 1.0
> uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> isa0 at ichpcib0
> isadma0 at isa0
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pms0 at pckbc0 (aux slot)
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pms0 mux 0
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: <PC speaker>
> spkr0 at pcppi0
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> biomask eddd netmask eddd ttymask ffff
> mtrr: Pentium Pro MTRR support
> uvideo0 at uhub0 port 6 configuration 1 interface 0 "Ricoh product 0x1835"
> rev 2.00/1.00 addr 2
> uvideo0: ehci(4) does not support isochronous transfers yet, disable it.
> ugen0 at uhub3 port 1 "STMicroelectronics Biometric Coprocessor" rev
> 1.00/0.01 addr 2
> ugen1 at uhub4 port 2 "ALPS UGX" rev 2.00/19.15 addr 2
> softraid0 at root
> root on wd0a swap on wd0b dump on wd0b