sony vaio srx51p

David Haworth <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
good evening folks

I've just got my hands on a sony vaio srx51p. I think it goes by the
names srx7 in japan and srx77 in the states. this is a picture of it on
the sony website anyways
http://www.vaio.sony-europe.com/eng/products/notebooks/models/srx51p/content.html

anyways, I'm getting it all setup with freebsd on it but I can't seem to
find the wireless card.

the machine is a little subnotebook with onboard ethernet (found, works)
and then wireless (orinoco) and bluetooth. but with wi compiled into the
kernel, nothing shows up.

I have a feeling that the system can't cope with stuff in the pcmcia
slot (and I think the wireless and bluetooth stuff is considered a
pcmcia card, even though it's onboard. whats the situation with cardbus?
my old vaio (an sr11k) claims to have a cardbus controller (Ricoh
RL5C475 PCI-CardBus Bridge), in fact, the same one as on this new vaio
(although the new one seems to have 2 controllers, the second being a
"TI PCI-1410 PCI-CardBus Bridge". I've plugged my dlink dwl-650 into the
new vaio (which works fine with the old one) and also a 3com card. I get
informed of the insertion of both cards, but nothing else happens. they
aren't recognised and no drivers appear to be loaded.

is there anything I can do to get pcmcia or wireless working for this
laptop wihtout going to current? I was hoping to try DP2 but it seems to
be nowhere in sight (and dp1 crashes on boot of the cd).

for anyone else with one of these lappies. I seem to have most of the
rest of it working fine. I booted a 4.6.2 cd in the firewire dvd drive.
of course that couldn't install off the cd but it did get to sysinstall
where I could do a network install. I did need to set these at the boot
menu (and later in loader.conf, I thought that sysinstall might have
done that for me already but it didn't, without it things act very
strangely, the screen stops updating during boot for example)

set hw.pcic.irq=0
set hw.pcic.intr_path=1

however, X supports the intel 815 graphics. the onboard ethernet is
fxp0, works fine. sound seems to work fine. got the jogdial working as a
mouse scroll wheel (although the little "back" button doesn't seem to do
anything, also it doesn't generate any data from /dev/jogdial). no
firewire or bluetooth obvious as I've got no drivers for them so the
firewire dvd/cdrw ain't likely to work in freebsd for a while, but all
in good time I imagine. 

don't think apm works either. doesn't give me any readout's or turn off
the machine for me, but afaik it's all acpi. roll on freebsd 5. vaiobat
from usr/ports/graphics/picturebook does appear to report battery status
correctly though and the setbrightness tool works (well, I can only seem
to make it either full bright, or miniumal brightness <shrug>)

anyways, here's as much info as I can cram into a post :)

root@alice:~# pccardc dumpcis
Read return -1 bytes (expected 2)
pccardc: CIS code read: Cannot allocate memory
Read return -1 bytes (expected 10)
Configuration data for card in slot 1
2 slots found

root@alice:~# cat /boot/loader.conf
# -- sysinstall generated deltas -- #
userconfig_script_load="YES"
hw.pcic.irq=0
hw.pcic.intr_path=1
agp_load="YES"

root@alice:~# dmesg
Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 4.7-PRERELEASE #0: Thu Sep  5 22:43:45 BST 2002
    [email protected]:/usr/obj/usr/src/sys/ALICE
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (496.83-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6b1  Stepping = 1
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 266862592 (260608K bytes)
avail memory = 255787008 (249792K bytes)
Preloaded elf kernel "kernel" at 0xc03c0000.
Preloaded elf module "agp.ko" at 0xc03c009c.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 9 entries at 0xc00fdf30
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel 82815 (i815 GMCH) SVGA controller> mem 0xf4000000-0xf407ffff,0xf8000000-0xfbffffff irq 9 at device 2.0 on pci0
pcib1: <PCI to PCI bridge (vendor=8086 device=2448)> at device 30.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <unknown card> (vendor=0x104c, dev=0x8023) at 0.0 irq 9
pcic0: <Ricoh RL5C475 PCI-CardBus Bridge> irq 0 at device 2.0 on pci1
pcic0: PCI Memory allocated: 0x88000000
pcic0: Polling mode
pccard0: <PC Card bus (classic)> on pcic0
pcic1: <TI PCI-1410 PCI-CardBus Bridge> mem 0x44001000-0x44001fff at device 5.0 on pci1
pcic1: Polling mode
pcic1: TI12XX PCI Config Reg: [pwr save][pci only]
pccard1: <PC Card bus (classic)> on pcic1
fxp0: <Intel Pro/100 Ethernet> port 0x3000-0x303f mem 0xf4104000-0xf4104fff irq 9 at device 8.0 on pci1
fxp0: Ethernet address 08:00:46:54:72:7e
inphy0: <i82562ET 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <PCI to ISA bridge (vendor=8086 device=244c)> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH2 ATA100 controller> port 0x1800-0x180f at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0x1820-0x183f irq 9 at device 31.2 on pci0
usb0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ichsmb0: <Intel 82801BA (ICH2) SMBus controller> port 0x1810-0x181f irq 9 at device 31.3 on pci0
smbus0: <System Management Bus> on ichsmb0
smb0: <SMBus general purpose I/O> on smbus0
uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port 0x1840-0x185f irq 9 at device 31.4 on pci0
usb1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ugen0: Sony USB Memory Stick Slot, rev 1.10/1.09, addr 2
pcm0: <Intel 82801BA (ICH2)> port 0x1880-0x18bf,0x1c00-0x1cff irq 9 at device 31.5 on pci0
pci0: <unknown card> (vendor=0x8086, dev=0x2446) at 31.6 irq 9
orm0: <Option ROMs> at iomem 0xc0000-0xcbfff,0xd8000-0xdbfff,0xdc000-0xdffff on isa0
spic0: device model type = 2
spic0: <Sony Programmable I/O Controller> at port 0x10a0-0x10a4 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model GlidePoint, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250
sio1: configured irq 3 not in bitmap of probed irqs 0
IP Filter: v3.4.29 initialized.  Default = pass all, Logging = enabled
ad0: 28615MB <HITACHI_DK23DA-30> [58140/16/63] at ata0-master UDMA100
Mounting root from ufs:/dev/ad0s2a
pccard: card inserted, slot 1

(notice that last line, thats in the dmesg from boot, I didn't put anything in the pcmcia slot for that. btw, anyone know what the sio devices are? the machine doesn't have any obvious serial ports and afaik the machine has a soft modem. is one that?)

root@alice:~# pciconf -lv
chip0@pci0:0:0: class=0x060000 card=0x80f2104d chip=0x11308086 rev=0x11 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82815/EM/EP/P 815/EM/EP/P (Solano) Host to I/O Hub Bridge'
    class    = bridge
    subclass = HOST-PCI
agp0@pci0:2:0:  class=0x030000 card=0x80f2104d chip=0x11328086 rev=0x11 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82815/EM/EP/P 815/EM/EP/P (Solano) Interal GUI Accelerator'
    class    = display
    subclass = VGA
pcib1@pci0:30:0:        class=0x060400 card=0x00000000 chip=0x24488086 rev=0x03 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = '82801BAM/CAM Hub Interface to PCI Bridge (Camino 2)'
    class    = bridge
    subclass = PCI-PCI
isab0@pci0:31:0:        class=0x060100 card=0x00000000 chip=0x244c8086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801BAM (ICH2-M) LPC Interface Controller'
    class    = bridge
    subclass = PCI-ISA
atapci0@pci0:31:1:      class=0x010180 card=0x80f2104d chip=0x244a8086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801BAM (ICH2-M) UltraATA/100 IDE Controller'
    class    = mass storage
    subclass = ATA
uhci0@pci0:31:2:        class=0x0c0300 card=0x80f2104d chip=0x24428086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801BA/BAM (ICH2/ICH2-M) USB Universal Host Controller'
    class    = serial bus
    subclass = USB
ichsmb0@pci0:31:3:      class=0x0c0500 card=0x80f2104d chip=0x24438086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801BA/BAM (ICH2/ICH2-M) SMBus Controller'
    class    = serial bus
    subclass = SMBus
uhci1@pci0:31:4:        class=0x0c0300 card=0x80f2104d chip=0x24448086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801BA/BAM (ICH2/ICH2-M) USB Universal Host Controller'
    class    = serial bus
    subclass = USB
pcm0@pci0:31:5: class=0x040100 card=0x80f2104d chip=0x24458086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801BA/BAM (ICH2/ICH2-M) AC'97 Audio Controller'
    class    = multimedia
    subclass = audio
none0@pci0:31:6:        class=0x070300 card=0x80f2104d chip=0x24468086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801BA/BAM (ICH2/ICH2-M) AC'97 Modem Controller'
    class    = simple comms
none1@pci1:0:0: class=0x0c0010 card=0x80f2104d chip=0x8023104c rev=0x00 hdr=0x00
    vendor   = 'Texas Instruments (TI)'
    device   = 'TSB43AB22/A IEEE1394a-2000 OHCI PHY/Link-Layer Ctrlr'
    class    = serial bus
    subclass = FireWire
pcic0@pci1:2:0: class=0x060700 card=0x80f2104d chip=0x04751180 rev=0x80 hdr=0x02
    vendor   = 'Communication Automation Corporation'
    device   = 'RL5C475 CardBus controller'
    class    = bridge
    subclass = PCI-CardBus
pcic1@pci1:5:0: class=0x060700 card=0xab0112a3 chip=0xac50104c rev=0x01 hdr=0x02
    vendor   = 'Texas Instruments (TI)'
    device   = 'PCI1410 PC card cardBus Controller'
    class    = bridge
    subclass = PCI-CardBus
fxp0@pci1:8:0:  class=0x020000 card=0x8111104d chip=0x24498086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801BA/CAM (ICH2/3) LAN Controller'
    class    = network
    subclass = ethernet

root@alice:~# cat /sys/i386/conf/ALICE
machine         i386
cpu             I686_CPU
ident           ALICE
maxusers        0

options         MATH_EMULATE            #Support for x87 emulation
options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         FFS_ROOT                #FFS usable as root device [keep this!]
options         SOFTUPDATES             #Enable FFS soft updates support
options         UFS_DIRHASH             #Improve performance on big directories
options         MFS                     #Memory Filesystem
options         NFS                     #Network Filesystem
options         MSDOSFS                 #MSDOS Filesystem
options         CD9660                  #ISO 9660 Filesystem
options         PROCFS                  #Process filesystem
options         COMPAT_43               #Compatible with BSD 4.3 [KEEP THIS!]
options         UCONSOLE                #Allow users to grab the console
options         USERCONFIG              #boot -c editor
options         VISUAL_USERCONFIG       #visual boot -c editor
options         KTRACE                  #ktrace(1) support
options         SYSVSHM                 #SYSV-style shared memory
options         SYSVMSG                 #SYSV-style message queues
options         SYSVSEM                 #SYSV-style semaphores
options         P1003_1B                #Posix P1003_1B real-time extensions
options         _KPOSIX_PRIORITY_SCHEDULING
options         ICMP_BANDLIM            #Rate limit bad replies
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev

device          smbus           # Bus support, required for smb below.
device          ichsmb
device          smb
device          pcm

options         IPFILTER                #ipfilter support
options         IPFILTER_LOG            #ipfilter logging
options         RANDOM_IP_ID
options         USER_LDT

device          isa
device          pci

device          spic0   at isa? irq 0 port 0x10a0


# ATA and ATAPI devices
device          ata0    at isa? port IO_WD1 irq 14
device          ata1    at isa? port IO_WD2 irq 15
device          ata
device          atadisk                 # ATA disk drives
device          atapicd                 # ATAPI CDROM drives
options         ATA_STATIC_ID           #Static device numbering

# SCSI peripherals
device          scbus           # SCSI bus (required)
device          da              # Direct Access (disks)

# atkbdc0 controls both the keyboard and the PS/2 mouse
device          atkbdc0 at isa? port IO_KBD
device          atkbd0  at atkbdc? irq 1 flags 0x1
device          psm0    at atkbdc? irq 12

device          vga0    at isa?

# syscons is the default console driver, resembling an SCO console
device          sc0     at isa? flags 0x100

# Floating point support - do not disable.
device          npx0    at nexus? port IO_NPX irq 13

# Power management support (see LINT for more options)
device          apm0    at nexus? 

# PCCARD (PCMCIA) support
device          card
device          pcic0   at isa? irq 0 port 0x3e0 iomem 0xd0000
device          pcic1   at isa? irq 0 port 0x3e2 iomem 0xd4000

# Serial (COM) ports
device          sio0    at isa? port IO_COM1 flags 0x10 irq 4
device          sio1    at isa? port IO_COM2 irq 3
device          sio2    at isa? disable port IO_COM3 irq 5
device          sio3    at isa? disable port IO_COM4 irq 9


# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device          miibus          # MII bus support
device          fxp             # Intel EtherExpress PRO/100B (82557, 82558)

# WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
# exists only as a PCMCIA device, so there is no ISA attachment needed
# and resources will always be dynamically assigned by the pccard code.
device          wi

# Pseudo devices - the number indicates how many units to allocate.
pseudo-device   loop            # Network loopback
pseudo-device   ether           # Ethernet support
pseudo-device   sl      1       # Kernel SLIP
pseudo-device   ppp     1       # Kernel PPP
pseudo-device   tun             # Packet tunnel.
pseudo-device   pty             # Pseudo-ttys (telnet etc)
pseudo-device   md              # Memory "disks"
pseudo-device   gif             # IPv6 and IPv4 tunneling
pseudo-device   snp


# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device   bpf             #Berkeley packet filter

# USB support
device          uhci            # UHCI PCI->USB interface
#device         ohci            # OHCI PCI->USB interface
device          usb             # USB Bus (required)
device          ugen            # Generic
device          uhid            # "Human Interface Devices"
device          ukbd            # Keyboard
device          ulpt            # Printer
device          umass           # Disks/Mass storage - Requires scbus and da
device          ums             # Mouse
device          uscanner        # Scanners
device          urio            # Diamond Rio MP3 Player
# USB Ethernet, requires mii
device          aue             # ADMtek USB ethernet
device          cue             # CATC USB ethernet
device          kue             # Kawasaki LSI USB ethernet

hmm.. I can't think of any other info to attach offhand. if anyone can
help I'd appreciate it.

many thanks

dave

To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-mobile" in the body of the message
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.