Who successfully suspend its laptop?
David DEMELIER
demelier.david at gmail.com
Wed Jul 14 11:25:25 UTC 2010
2010/7/14 Ian Smith <smithi at nimnet.asn.au>:
> On Wed, 14 Jul 2010, David DEMELIER wrote:
> > 2010/7/13 Paul B Mahol <onemda at gmail.com>:
> > > On 7/13/10, David DEMELIER <demelier.david at gmail.com> wrote:
> > >> Hi,
> > >>
> > >> Every feedback I have, and every mails I see there is still a lot of
> > >> problems with suspend/resume on laptops with FreeBSD. Of course it's
>
> _Some_ laptops.
>
> > >> not only FreeBSD the problem it's also the bad manufacturers (HP :-))
>
> HP make a lot of different models .. which one, exactly, is yours?
>
It is a HP Probook 4510s.
> > >> that provides buggy ACPI/BIOS.
>
> Do you have the latest BIOS upgrade installed?
>
Yes sure.
> > >> Who have a laptop that fully works with suspend/resume ?
>
> My Thinkpad T23 (i386) works fine. Well, there was an ATA 60 second
> stall issue on resuming on 8.0-R that I've yet to check on 8-STABLE
> (ie 8.1-PRERELEASE), but it doesn't prevent resuming properly.
>
> > >> Personally, suspend works, but resume does not wake up the screen and
> > >> there is nothing I can do, the system seems to be freezed (maybe
> > >> panic?).
>
> i386 or amd64? (show uname -a). How many CPUs? (post dmesg.boot)
>
amd64 with probably two CPUs, hw.model: Intel(R) Core(TM)2 Duo CPU
T6570 @ 2.10GHz
I attached the dmesg.boot
> > >> I will check, and try to make a kernel dump if possible.
> > >
> > > Last time I checked i386 UP resumes fine, SMP is problematic.
> > >
> > > amd64 should work in both cases.
>
> Still may depend on the individual model, esp. regarding ACPI code.
>
> > To be sure that it dumps where there is enough space I added in my rc.conf :
> >
> > dumpdev="/dev/ad0s1b"
> > dumpdir="/usr/crash"
> >
> > I also enabled VESA in the kernel config file :
> >
> > device dpms
> > options VESA
> > options X86BIOS
> > options SC_HISTORY_SIZE=1024
> > options SC_PIXEL_MODE
> >
> > But even if it panics, I have no dump/reboot. And nothing works
> > (pressing power button) so I'm only able to hard shutdown sadly.
>
> Perhaps more like a hang than a panic if it's not dumping. Setting
> sysctl hw.acpi.verbose=1 will print more information re suspend/resume
> steps to /var/log/messages. Are you using 'acpiconf -s3' to suspend?
>
Yes I uset acpiconf -s3, this is the last messages that appears when
suspending/resuming :
Jul 14 13:18:00 Melon acpi: suspend at 20100714 13:18:00
Jul 14 13:18:04 Melon kernel: ugen0.2: <Broadcom Corp> at usbus0 (disconnected)
Jul 14 13:18:04 Melon kernel: ubt0: at uhub0, port 1, addr 2 (disconnected)
Jul 14 13:18:04 Melon kernel: wlan0: link state changed to DOWN
Jul 14 13:18:04 Melon wpa_supplicant[369]: CTRL-EVENT-DISCONNECTED -
Disconnect event - remove keys
Jul 14 13:18:04 Melon dhclient[1309]: send_packet: Network is down
Jul 14 13:19:17 Melon syslogd: kernel boot file is /boot/kernel/kernel
> But first please let's see some detail on your particular machine, as
> requested above, and the output of:
>
> # sysctl hw.acpi debug.acpi
>
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: NONE
hw.acpi.suspend_state: S3
hw.acpi.sleep_delay: 1
hw.acpi.s4bios: 0
hw.acpi.verbose: 1
hw.acpi.disable_on_reboot: 0
hw.acpi.handle_reboot: 0
hw.acpi.reset_video: 0
hw.acpi.cpu.cx_lowest: C1
hw.acpi.video.lcd0.active: 0
hw.acpi.video.lcd0.brightness: 30
hw.acpi.video.lcd0.fullpower: 90
hw.acpi.video.lcd0.economy: 30
hw.acpi.video.lcd0.levels: 100 50 0 5 10 15 20 25 30 33 36 40 43 46 50
55 60 65 70 75 80 83 86 90 93 96 100
hw.acpi.video.crt0.active: 0
hw.acpi.video.tv0.active: 0
hw.acpi.video.tv1.active: 0
hw.acpi.video.tv2.active: 0
hw.acpi.battery.life: 93
hw.acpi.battery.time: 122
hw.acpi.battery.state: 1
hw.acpi.battery.units: 1
hw.acpi.battery.info_expire: 5
hw.acpi.acline: 0
hw.acpi.thermal.min_runtime: 0
hw.acpi.thermal.polling_rate: 10
hw.acpi.thermal.user_override: 0
hw.acpi.thermal.tz0.temperature: 81.0C
hw.acpi.thermal.tz0.active: 3
hw.acpi.thermal.tz0.passive_cooling: 0
hw.acpi.thermal.tz0.thermal_flags: 0
hw.acpi.thermal.tz0._PSV: -1
hw.acpi.thermal.tz0._HOT: -1
hw.acpi.thermal.tz0._CRT: 108.0C
hw.acpi.thermal.tz0._ACx: 105.0C 96.0C 87.0C 72.0C 64.0C 57.0C 30.0C -1 -1 -1
hw.acpi.thermal.tz0._TC1: -1
hw.acpi.thermal.tz0._TC2: -1
hw.acpi.thermal.tz0._TSP: -1
hw.acpi.thermal.tz1.temperature: 55.0C
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: -1
hw.acpi.thermal.tz1._HOT: -1
hw.acpi.thermal.tz1._CRT: 105.0C
hw.acpi.thermal.tz1._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
hw.acpi.thermal.tz1._TC1: -1
hw.acpi.thermal.tz1._TC2: -1
hw.acpi.thermal.tz1._TSP: -1
hw.acpi.thermal.tz2.temperature: 54.0C
hw.acpi.thermal.tz2.active: 2
hw.acpi.thermal.tz2.passive_cooling: 1
hw.acpi.thermal.tz2.thermal_flags: 0
hw.acpi.thermal.tz2._PSV: 105.0C
hw.acpi.thermal.tz2._HOT: -1
hw.acpi.thermal.tz2._CRT: 108.0C
hw.acpi.thermal.tz2._ACx: 84.0C 74.0C 53.0C 45.0C 38.0C 30.0C -1 -1 -1 -1
hw.acpi.thermal.tz2._TC1: 1
hw.acpi.thermal.tz2._TC2: 2
hw.acpi.thermal.tz2._TSP: 300
hw.acpi.thermal.tz3.temperature: 50.0C
hw.acpi.thermal.tz3.active: -1
hw.acpi.thermal.tz3.passive_cooling: 0
hw.acpi.thermal.tz3.thermal_flags: 0
hw.acpi.thermal.tz3._PSV: 95.0C
hw.acpi.thermal.tz3._HOT: -1
hw.acpi.thermal.tz3._CRT: 105.0C
hw.acpi.thermal.tz3._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
hw.acpi.thermal.tz3._TC1: 1
hw.acpi.thermal.tz3._TC2: 2
hw.acpi.thermal.tz3._TSP: 300
hw.acpi.thermal.tz4.temperature: 32.2C
hw.acpi.thermal.tz4.active: -1
hw.acpi.thermal.tz4.passive_cooling: 0
hw.acpi.thermal.tz4.thermal_flags: 0
hw.acpi.thermal.tz4._PSV: 60.0C
hw.acpi.thermal.tz4._HOT: -1
hw.acpi.thermal.tz4._CRT: 108.0C
hw.acpi.thermal.tz4._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
hw.acpi.thermal.tz4._TC1: 1
hw.acpi.thermal.tz4._TC2: 2
hw.acpi.thermal.tz4._TSP: 300
hw.acpi.thermal.tz5.temperature: 55.0C
hw.acpi.thermal.tz5.active: -1
hw.acpi.thermal.tz5.passive_cooling: 0
hw.acpi.thermal.tz5.thermal_flags: 0
hw.acpi.thermal.tz5._PSV: -1
hw.acpi.thermal.tz5._HOT: -1
hw.acpi.thermal.tz5._CRT: 110.0C
hw.acpi.thermal.tz5._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
hw.acpi.thermal.tz5._TC1: -1
hw.acpi.thermal.tz5._TC2: -1
hw.acpi.thermal.tz5._TSP: -1
debug.acpi.level: NONE
debug.acpi.layer: NONE
debug.acpi.suspend_bounce: 0
debug.acpi.reset_clock: 1
debug.acpi.do_powerstate: 1
debug.acpi.interpreter_slack: 1
debug.acpi.enable_debug_objects: 0
debug.acpi.acpi_ca_version: 20100331
debug.acpi.ec.timeout: 750
debug.acpi.ec.polled: 0
debug.acpi.ec.burst: 0
debug.acpi.batt.batt_sleep_ms: 0
debug.acpi.resume_beep: 0
Cheers
--
Demelier David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmesg.boot
Type: application/octet-stream
Size: 10926 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-mobile/attachments/20100714/b393a341/dmesg.obj
More information about the freebsd-mobile
mailing list