PCMCIA success on vaio r505te
Andy Isaacson <[email protected]> Tue, 18 Mar 2003 16:32:32 -0600
| Newsgroups | gmane.os.openbsd.misc,gmane.os.openbsd.mobile |
|---|---|
| Message-ID | <[email protected]> |
Thanks to help from "Jordi" and Todd Miller, I have finally gotten
PCMCIA wi0 (Linksys WPC11) working on my Vaio R505TE. The exact
behavior is slightly shrouded in mystery.
It appears that the BIOS/chipset/pcic on this thing actually hold a
certain amount of state (in NVRAM?) across system boots. So, the last
OS you booted might influence how a reboot behaves, even if power is
completely removed betwixt.
The apparent recipe for success is this:
- boot using the PCMCIA CD-ROM with a El Torito boot floppy image
- the CD is not available to OpenBSD, so just do a network install
- after the install, power the laptop off
- insert wi0
- power on
- boot -c
- change pcic0 to 0xcc000 size 0xc000
- quit
After this, things appear to work OK. Hot-plugging PCMCIA cards still
does not function; wi0 is recognized but fails to initialize. APM
suspend is totally broken (the laptop appears to suspend, and the screen
blanks, but the fan never stops spinning and the power switch is
inoperative; the only way to recover is to remove the battery).
"halt -p" works fine. external USB devices work (I've tried a CF
adapter, a USB flash disk, and a Griffin iMic) but the one time I tried
a Memory Stick it failed. As I don't have any Memory Stick media, I
cannot do much testing. The onboard fxp0 works great. The i815 video
works fine. The VGA connector works *if* the monitor is hooked up at
power-on (the BIOS appears to turn it on); I haven't found a method to
turn it on on the fly. The onboard audio functions, but the quality is
so horrible that I never use it (thus the iMic).
Here's dmesg from GENERIC from the latest snapshot with pcic0 changed as
above using config(8).
OpenBSD 3.3-beta (GENERIC) #3: Sun Feb 23 09:43:30 MST 2003
[email protected]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III (Coppermine) ("GenuineIntel" 686-class) 596 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SYS,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SIMD
real mem = 132161536 (129064K)
avail mem = 116850688 (114112K)
using 1638 buffers containing 6709248 bytes (6552K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(d8) BIOS, date 03/12/01, BIOS32 rev. 0 @ 0xfd878
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev. 2.1 @ 0xfd860/0x7a0
pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xfdf30/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB PCI-ISA" rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc0000/0xc000 0xd8000/0x4000! 0xdc000/0x4000!
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82815 Hub" rev 0x11: rng active, 8Kb/sec
vga1 at pci0 dev 2 function 0 "Intel 82815 Graphics" rev 0x11: aperture at 0xf8000000, size 0x4000000
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb0 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x03
pci1 at ppb0 bus 1
vendor "Texas Instruments", unknown product 0x8021 (class serial bus, subclass Firewire, rev 0x02) at pci1 dev 0 function 0 not configured
cbb0 at pci1 dev 2 function 0 "Ricoh 5C475 PCI-CardBus" rev 0x80pci_intr_map: no mapping for pin A
: couldn't map interrupt
fxp0 at pci1 dev 8 function 0 "Intel 82562" rev 0x03: irq 9, address 08:00:46:17:7f:5d
inphy0 at fxp0 phy 1: i82562ET 10/100 media interface, rev. 0
pcib0 at pci0 dev 31 function 0 "Intel 82801BAM LPC" rev 0x03
pciide0 at pci0 dev 31 function 1 "Intel 82801BAM IDE" rev 0x03: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <IBM-DJSA-220>
wd0: 16-sector PIO, LBA, 14307MB, 16383 cyl, 16 head, 63 sec, 29302560 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
pciide0: channel 1 ignored (disabled)
uhci0 at pci0 dev 31 function 2 "Intel 82801BA USB" rev 0x03: irq 9
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x0000 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
"Intel 82801BA SMBus" rev 0x03 at pci0 dev 31 function 3 not configured
uhci1 at pci0 dev 31 function 4 "Intel 82801BA USB2" rev 0x03: irq 10
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: vendor 0x0000 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
auich0 at pci0 dev 31 function 5 "Intel 82801BA AC97 Audio" rev 0x03: irq 5, ICH2 AC97
ac97: codec id 0x41445348 (Analog Devices AD1881A)
ac97: codec features headphone, Analog Devices Phat Stereo
audio0 at auich0
"Intel 82801BA AC97 Modem" rev 0x03 at pci0 dev 31 function 6 not configured
isa0 at pcib0
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>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pcic0 at isa0 port 0x3e0/2 iomem 0xcc000/49152
pcic0 controller 0: <Intel 82365SL rev 1> has socket A only
pcmcia0 at pcic0 controller 0 socket 0
wi0 at pcmcia0 function 0 "Instant Wireless , Network PC CARD, Version 01.02" port 0x400/64: irq 11
wi0: PRISM2 HWB3163 rev.A, Firmware 0.3.0 (primary), 0.8.3 (station), address 00:04:5a:cc:c3:59
pcic0: irq 15, polling enabled
biomask 4600 netmask 4e00 ttymask de82
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
WARNING: / was not properly unmounted
umass0 at uhub1 port 1 configuration 1 interface 0
umass0: Sony USB Memory Stick Slot, rev 1.10/1.80, addr 2
umass0: using SFF8070i over CBI-I
scsibus0 at umass0: 2 targets
sd0 at scsibus0 targ 1 lun 0: <Sony, MSC-U02, 1.00> SCSI0 0/direct removable
sd0: drive offline
-andy