ACPI on Sony VAIO SZ2M

Thomas Hummel hummel at pasteur.fr
Mon Nov 20 16:21:29 UTC 2006


Hello,

I installed FreeBSD 6.2-RC1 on a Sony Vaio SZ2M/B i386 machine.

I can set up the LCD brightness through the acpi_sony.ko kernel module.

However, I cannot get the system to resume (through the acpi.ko
module) after any suspend state supported (I have to remove the
battery or the laptop won't boot again after power button is pressed).

I read the ACPI section of the handbook and tried the following :

  . upgrading my bios to the latest version Sony provided

  . shutting down all network interfaces before systl to suspend

  . adding hw.acpi.disable_on_poweroff="0" in loader.conf
  . adding hw.acpi.disable_on_poweroff="1" in loader.conf

  . adding hw.acpi.osname="Windows 2001" in loader.conf
  . adding hw.acpi.osname="Windows 2001 SP2" in loader.conf
  . adding hw.acpi.osname="Microsoft Windows" in loader.conf
  . adding hw.acpi.osname="Linux" in loader.conf

  . dumping my DSDT table, disassembling AML to ASL and recompiling it :
      it compiled perfectly with 0 error and 0 warnings

-> None of these worked.


Below is the output of

      sysctl hw.acpi
      dmesg after a boot -v
      kldstat

      [Unfortunately, I have no URL for now to store my ASL.]

I noted the 

  "acpi_bus_number: can't get _ADR"

error message.

Note : ACPI on this laptop worked perfectly
       (suspend/hibernate...etc...) on Ubuntu 6.10.


Thanks in advance for any help or clue...

--
  Thomas Hummel
	
hw.acpi.supported_sleep_state: S3 S4 S5
hw.acpi.power_button_state: S5
hw.acpi.sleep_button_state: S3
hw.acpi.lid_switch_state: NONE
hw.acpi.standby_state: S1
hw.acpi.suspend_state: S3
hw.acpi.sleep_delay: 1
hw.acpi.s4bios: 0
hw.acpi.verbose: 0
hw.acpi.disable_on_reboot: 0
hw.acpi.handle_reboot: 0
hw.acpi.reset_video: 0
hw.acpi.cpu.cx_supported: C1/1
hw.acpi.cpu.cx_lowest: C1
hw.acpi.cpu.cx_usage: 100.00%
hw.acpi.thermal.min_runtime: 0
hw.acpi.thermal.polling_rate: 10
hw.acpi.thermal.user_override: 0
hw.acpi.thermal.tz0.temperature: 47.9C
hw.acpi.thermal.tz0.active: -1
hw.acpi.thermal.tz0.passive_cooling: 1
hw.acpi.thermal.tz0.thermal_flags: 0
hw.acpi.thermal.tz0._PSV: 94.9C
hw.acpi.thermal.tz0._HOT: -1
hw.acpi.thermal.tz0._CRT: 99.9C
hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
hw.acpi.thermal.tz1.temperature: 49.9C
hw.acpi.thermal.tz1.active: -1
hw.acpi.thermal.tz1.passive_cooling: 0
hw.acpi.thermal.tz1.thermal_flags: 0
hw.acpi.thermal.tz1._PSV: 99.8C
hw.acpi.thermal.tz1._HOT: -1
hw.acpi.thermal.tz1._CRT: 100.8C
hw.acpi.thermal.tz1._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
hw.acpi.thermal.tz2.temperature: 44.9C
hw.acpi.thermal.tz2.active: -1
hw.acpi.thermal.tz2.passive_cooling: 0
hw.acpi.thermal.tz2.thermal_flags: 0
hw.acpi.thermal.tz2._PSV: 99.8C
hw.acpi.thermal.tz2._HOT: -1
hw.acpi.thermal.tz2._CRT: 100.8C
hw.acpi.thermal.tz2._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
hw.acpi.battery.life: 83
hw.acpi.battery.time: -1
hw.acpi.battery.state: 2
hw.acpi.battery.units: 1
hw.acpi.battery.info_expire: 5
hw.acpi.acline: 1

Copyright (c) 1992-2006 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RC1 #0: Thu Nov 16 05:12:08 UTC 2006
    root at opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP
ACPI APIC Table: <Sony N0>
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Genuine Intel(R) CPU           T2300  @ 1.66GHz (1666.80-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6e8  Stepping = 8
  Features=0xbfe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0xc189<SSE3,MON,EST,TM2,<b14>,<b15>>
  AMD Features=0x100000<NX>
  Cores per package: 2
real memory  = 1063780352 (1014 MB)
avail memory = 1031761920 (983 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 1
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: <Sony> on motherboard
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
acpi_ec0: <Embedded Controller: GPE 0x17> port 0x62,0x66 on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
cpu1: <ACPI CPU> on acpi0
acpi_throttle1: <ACPI CPU Throttling> on cpu1
acpi_throttle1: failed to attach P_CNT
device_attach: acpi_throttle1 attach returned 6
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <display, VGA> at device 2.0 (no driver attached)
pci0: <display> at device 2.1 (no driver attached)
pci0: <multimedia> at device 27.0 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
pci2: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> irq 17 at device 28.1 on pci0
pci6: <ACPI PCI bus> on pcib2
wpi0: <Intel(R) PRO/Wireless 3945ABG> mem 0xdc100000-0xdc100fff irq 17 at device 0.0 on pci6
bus_dmamem_alloc failed to align memory properly.
bus_dmamem_alloc failed to align memory properly.
bus_dmamem_alloc failed to align memory properly.
bus_dmamem_alloc failed to align memory properly.
bus_dmamem_alloc failed to align memory properly.
bus_dmamem_alloc failed to align memory properly.
bus_dmamem_alloc failed to align memory properly.
channel 1 pwr1 0x0084 pwr2 0x0084
channel 2 pwr1 0x0081 pwr2 0x0082
channel 3 pwr1 0x008b pwr2 0x008b
channel 4 pwr1 0x0089 pwr2 0x008b
channel 5 pwr1 0x0000 pwr2 0x0000
channel 6 pwr1 0x0085 pwr2 0x0085
channel 7 pwr1 0x0083 pwr2 0x0083
channel 8 pwr1 0x0084 pwr2 0x0085
channel 9 pwr1 0x0085 pwr2 0x0085
channel 10 pwr1 0x0000 pwr2 0x0000
channel 11 pwr1 0xffff pwr2 0xffff
channel 12 pwr1 0xfffe pwr2 0xfffe
channel 13 pwr1 0xffff pwr2 0xffff
channel 14 pwr1 0xfffe pwr2 0xfffe
wpi0: Ethernet address: 00:13:02:3f:9b:56
pcib3: <ACPI PCI-PCI bridge> irq 18 at device 28.2 on pci0
pci7: <ACPI PCI bus> on pcib3
myk0: <Marvell 88E8036 Fast Ethernet Controller, Ver. 8.12.2.3> port 0x3000-0x30ff mem 0xd8000000-0xd8003fff irq 18 at device 0.0 on pci7
myk0: Ethernet address: 00:13:a9:2b:35:8e
pcib4: <ACPI PCI-PCI bridge> irq 19 at device 28.3 on pci0
pci8: <ACPI PCI bus> on pcib4
uhci0: <UHCI (generic) USB controller> port 0x1820-0x183f irq 19 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <UHCI (generic) USB controller> 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
uhci1: <UHCI (generic) USB controller> port 0x1840-0x185f irq 19 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <UHCI (generic) USB controller> 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
uhci2: <UHCI (generic) USB controller> port 0x1860-0x187f irq 19 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <UHCI (generic) USB controller> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: <UHCI (generic) USB controller> port 0x1880-0x189f irq 19 at device 29.3 on pci0
uhci3: [GIANT-LOCKED]
usb3: <UHCI (generic) USB controller> on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0: <Intel 82801GB/R (ICH7) USB 2.0 controller> mem 0xdc544000-0xdc5443ff irq 23 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: <Intel 82801GB/R (ICH7) USB 2.0 controller> on ehci0
usb4: USB revision 2.0
uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
pcib5: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci9: <ACPI PCI bus> on pcib5
cbb0: <PCI-CardBus Bridge> at device 4.0 on pci9
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
fwohci0: <1394 Open Host Controller Interface> mem 0xdc005000-0xdc0057ff,0xdc000000-0xdc003fff irq 21 at device 4.1 on pci9
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 08:00:46:03:02:1e:46:09
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 0a:00:46:1e:46:09
fwe0: Ethernet address: 0a:00:46:1e:46:09
fwe0: if_start running deferred for Giant
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc000ffc0, gen=2, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
pci9: <mass storage> at device 4.2 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH7 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1810-0x181f at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
atapci1: <Intel ICH7M SATA300 controller> port 0x18d0-0x18d7,0x18c4-0x18c7,0x18c8-0x18cf,0x18c0-0x18c3,0x18b0-0x18bf mem 0xdc544400-0xdc5447ff irq 22 at device 31.2 on pci0
ata2: <ATA channel 0> on atapci1
ata3: <ATA channel 1> on atapci1
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_tz0: <Thermal Zone> on acpi0
acpi_tz1: <Thermal Zone> on acpi0
acpi_tz2: <Thermal Zone> on acpi0
acpi_sony0: <Sony notebook controller> on acpi0
acpi_sony0: PID 0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model GlidePoint, device ID 0
battery0: <ACPI Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xcffff,0xdc000-0xdffff on isa0
ppc0: parallel port not found.
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: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 1.000 msec
acd0: DVDR <MATSHITAUJ-842D/1.00> at ata0-master UDMA33
ad4: 76319MB <Seagate ST98823AS 3.14> at ata2-master SATA150
SMP: AP CPU #1 Launched!
Trying to mount root from ufs:/dev/ad4s1a

Id Refs Address    Size     Name
 1   14 0xc0400000 7053dc   kernel
 2    1 0xc0b06000 6424     snd_ich.ko
 3    2 0xc0b0d000 3bf54    sound.ko
 4    1 0xc0b49000 3219c    if_myk.ko
 5    2 0xc0b7c000 24d8     libmbpool.ko
 6    1 0xc0b7f000 b538     if_wpi.ko
 7    2 0xc0b8b000 2d60     firmware.ko
 8    1 0xc0b8e000 2620     acpi_sony.ko
 9    2 0xc0b91000 59f20    acpi.ko


More information about the freebsd-acpi mailing list