Skip site navigation (1)Skip section navigation (2)
Date:      17 Jul 2004 04:22:45 -0000
From:      vladimir@math.uic.edu
To:        freebsd-mobile@freebsd.org
Subject:   acpi on thinkpad t23
Message-ID:  <20040717042245.2001.qmail@math.uic.edu>

next in thread | raw e-mail | index | archive | help
I've tried acpi on a BSD-current built today
after running under apm for some time, and 
was pleasantly surprised to discover that most
things (e.g. suspend S3 state with the lid closed) work.
The machine is IBM Thinkpad T23.

There are still a couple of problems though, if anyone
knows how to solve them, a reply would be much appreciated.

1. I can't find the way to turn off the LCD.
The corresponding Fn hardware key doesn't work.  I've found
recommendation on the list to use sysctl, but this gives:

# sysctl -w hw.acpi.video.lcd0.active=0
hw.acpi.video.lcd0.active: 1 -> 1

and nothing happens.

2.  The bios supports suspend to disk (STD), which works
under apm with acpi disabled.   I've set 
sysctl -w hw.acpi.s4bios=1
and tried to activate STD using the Fn hardware key with
acpi enabled.
The system beeps, the video turns off, the "half-moon" 
suspend light starts blinking, and the system locks
hard.  I have to powercycle it.

3. Mouse cursor doesn't move after resume.  A -HUP signal
to moused fixes this problem.  I've tried using rc.resume
to send the signal, but no success.

I have the acpi_video kernel module loaded, and 
applied acpi_video_dpms.patch.

The acpidump output (acpidump -t -d -o foo.dsdt)
is located at http://www.math.uic.edu/~vladimir/foo.asl.
It's too large to post to the list.

Here is the relevant sysctl output:
# sysctl -a | grep acpi
     acpitask     0     0K      1K     1588  16,32
       acpica  3106   160K    163K    37885  16,32,64,128,256,512,1024,2048
      acpipwr     2     1K      1K        2  32
    acpivideo     3     1K      1K        3  64
    acpicmbat     1     1K      1K        1  16
     acpibatt     1     1K      1K        1  16
      acpidev    71     3K      3K       71  32
      acpisem    21     2K      2K       21  64
debug.acpi.acpi_ca_version: 0x20040527
debug.acpi.semaphore_debug: 0
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: S3
hw.acpi.standby_state: S1
hw.acpi.suspend_state: S3
hw.acpi.sleep_delay: 1
hw.acpi.s4bios: 1
hw.acpi.verbose: 0
hw.acpi.reset_video: 0
hw.acpi.cpu.cx_supported: C1/0 C2/84 C3/120
hw.acpi.cpu.cx_lowest: C3
hw.acpi.cpu.cx_usage: 4.18% 95.81% 0.00%
hw.acpi.thermal.min_runtime: 0
hw.acpi.thermal.polling_rate: 10
hw.acpi.thermal.tz0.temperature: 3192
hw.acpi.thermal.tz0.active: -1
hw.acpi.thermal.tz0.thermal_flags: 0
hw.acpi.thermal.tz0._PSV: 3637
hw.acpi.thermal.tz0._HOT: -1
hw.acpi.thermal.tz0._CRT: 3692
hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
hw.acpi.video.lcd0.active: 1
hw.acpi.video.crt0.active: 0
hw.acpi.video.tv0.active: 0
hw.acpi.battery.life: 100
hw.acpi.battery.time: -1
hw.acpi.battery.state: 0
hw.acpi.battery.units: 1
hw.acpi.battery.info_expire: 5
hw.acpi.acline: 1
machdep.acpi_timer_freq: 3579545
machdep.acpi_root: 1012816
dev.acpi.0.%desc: IBM TP-1A
dev.acpi.0.%driver: acpi
dev.acpi.0.%parent: nexus0
dev.acpi_ec.0.%desc: Embedded Controller: GPE 0x1c, ECDT
dev.acpi_ec.0.%driver: acpi_ec
dev.acpi_ec.0.%location: handle=\_SB_.PCI0.LPC_.EC__
dev.acpi_ec.0.%pnpinfo: _HID=PNP0C09 _UID=0
dev.acpi_ec.0.%parent: acpi0
dev.acpi_sysresource.0.%desc: System Resource
dev.acpi_sysresource.0.%driver: acpi_sysresource
dev.acpi_sysresource.0.%location: handle=\_SB_.MEM_
dev.acpi_sysresource.0.%pnpinfo: _HID=PNP0C01 _UID=0
dev.acpi_sysresource.0.%parent: acpi0
dev.acpi_sysresource.1.%desc: System Resource
dev.acpi_sysresource.1.%driver: acpi_sysresource
dev.acpi_sysresource.1.%location: handle=\_SB_.PCI0.LPC_.SIO_
dev.acpi_sysresource.1.%pnpinfo: _HID=PNP0C02 _UID=0
dev.acpi_sysresource.1.%parent: acpi0
dev.acpi_timer.0.%desc: 24-bit timer at 3.579545MHz
dev.acpi_timer.0.%driver: acpi_timer
dev.acpi_timer.0.%location: unknown
dev.acpi_timer.0.%pnpinfo: unknown
dev.acpi_timer.0.%parent: acpi0
dev.cpu.0.%parent: acpi0
dev.acpi_tz.0.%desc: Thermal Zone
dev.acpi_tz.0.%driver: acpi_tz
dev.acpi_tz.0.%location: handle=\_TZ_.THM0
dev.acpi_tz.0.%pnpinfo: _HID=none _UID=0
dev.acpi_tz.0.%parent: acpi0
dev.acpi_lid.0.%desc: Control Method Lid Switch
dev.acpi_lid.0.%driver: acpi_lid
dev.acpi_lid.0.%location: handle=\_SB_.LID_
dev.acpi_lid.0.%pnpinfo: _HID=PNP0C0D _UID=0
dev.acpi_lid.0.%parent: acpi0
dev.acpi_lid.0.wake: 1
dev.acpi_button.0.%desc: Sleep Button
dev.acpi_button.0.%driver: acpi_button
dev.acpi_button.0.%location: handle=\_SB_.SLPB
dev.acpi_button.0.%pnpinfo: _HID=PNP0C0E _UID=0
dev.acpi_button.0.%parent: acpi0
dev.acpi_button.0.wake: 1
dev.pcib.0.%parent: acpi0
dev.acpi_video.0.%desc: ACPI video extension
dev.acpi_video.0.%driver: acpi_video
dev.acpi_video.0.%location: slot=0 function=0 handle=\_SB_.PCI0.AGP_.VID_
dev.acpi_video.0.%pnpinfo: vendor=0x5333 device=0x8c2e subvendor=0x1014 subdevice=0x01fc class=0x030000
dev.acpi_video.0.%parent: pci1
dev.atpic.0.%parent: acpi0
dev.attimer.0.%parent: acpi0
dev.attimer.1.%parent: acpi0
dev.atdma.0.%parent: acpi0
dev.npxisa.0.%parent: acpi0
dev.atkbdc.0.%parent: acpi0
dev.psmcpnp.0.%parent: acpi0
dev.fdc.0.%parent: acpi0
dev.sio.0.%parent: acpi0
dev.sio.1.%parent: acpi0
dev.ppc.0.%parent: acpi0
dev.acpi_cmbat.0.%desc: Control Method Battery
dev.acpi_cmbat.0.%driver: acpi_cmbat
dev.acpi_cmbat.0.%location: handle=\_SB_.PCI0.LPC_.EC__.BAT0
dev.acpi_cmbat.0.%pnpinfo: _HID=PNP0C0A _UID=0
dev.acpi_cmbat.0.%parent: acpi0
dev.acpi_acad.0.%desc: AC Adapter
dev.acpi_acad.0.%driver: acpi_acad
dev.acpi_acad.0.%location: handle=\_SB_.PCI0.LPC_.EC__.AC__
dev.acpi_acad.0.%pnpinfo: _HID=ACPI0003 _UID=0
dev.acpi_acad.0.%parent: acpi0




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