>On 07/02/12 02:29, 乔楚/HonestQiao wrote:
>> Follow by step in 
>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/acpi-debug.html
>> #sysctl debug.bootverbose=1
>> #sysctl debug.acpi.suspend_bounce=1
>> #acpiconf -s 3    (or push Fn+F3)
>>
>> After a moment, the display is light and black, LED Sleep is light.
>> But it cant be resume. No button can do resume.
>>
>> Some useful info:
>> hw.acpi : http://pastebin.com/zknEPdVS
>> acpidump : http://pastebin.com/uH4hXywR
>> dmesg : http://pastebin.com/wdqi7mfW
>>
>> In /var/log/message: http://pastebin.com/fcWKMUd7
>> Jul  2 16:43:22 x201i acpi: suspend at 20120702 16:43:22
>> [It Can't resume, so I push power force to close my x201. ]
>> Jul  2 16:52:11 x201i syslogd: kernel boot file is /boot/kernel/kernel
>>
>> #uname -a
>> FreeBSD x201i.honestqiao 9.0-STABLE FreeBSD 9.0-STABLE #0: Wed Jun 13 
>> 22:36:36 CST 2012     root@x201i.honestqiao:/usr/obj/usr/src/sys/GENERIC  
>> amd64
>> #vmstat -i
>> interrupt                          total       rate
>> irq1: atkbd0                          16          0
>> irq9: acpi0                          727          4
>> irq19: ehci1                         338          2
>> irq23: ehci0                         255          1
>> cpu0:timer                          7607         50
>> irq264: em0                          135          0
>> irq265: hdac0                         66          0
>> irq266: iwn0                       15781        105
>> irq267: ahci0                       5732         38
>> cpu1:timer                          1578         10
>> cpu3:timer                          1819         12
>> cpu2:timer                          1510         10
>> irq268: vgapci0                        3          0
>> Total                              35567        237
>>
>> #kldstat
>> Id Refs Address            Size     Name
>>   1   85 0xffffffff80200000 1301fa8  kernel
>>   2    1 0xffffffff81502000 2087f0   zfs.ko
>>   3    2 0xffffffff8170b000 5c68     opensolaris.ko
>>   4    2 0xffffffff81711000 484e0    linux.ko
>>   5    1 0xffffffff8175a000 f4d8     aio.ko
>>   6    1 0xffffffff8176a000 29e0     coretemp.ko
>>   7    1 0xffffffff8176d000 3028     amdtemp.ko
>>   8    1 0xffffffff81771000 27398    drm.ko
>>   9    1 0xffffffff81799000 ba40     mmc.ko
>> 10    1 0xffffffff817a5000 4218     mmcsd.ko
>> 12    1 0xffffffff817b0000 6568     cuse4bsd.ko
>> 13    1 0xffffffff817b7000 de08     tmpfs.ko
>> 14    3 0xffffffff817c5000 8ab0     libiconv.ko
>> 15    1 0xffffffff817ce000 24c8     libmchain.ko
>> 16    1 0xffffffff817d1000 11c8     cd9660_iconv.ko
>> 17    1 0xffffffff817d3000 11e0     msdosfs_iconv.ko
>> 18    1 0xffffffff817d5000 10768    cpufreq.ko
>> 19    1 0xffffffff817e6000 59b8     acpi_ibm.ko
>> 20    1 0xffffffff817ec000 6668     sem.ko
>> 21    1 0xffffffff81a12000 15c2     fdescfs.ko
>> 22    1 0xffffffff81a14000 3dfd     linprocfs.ko
>> 23    1 0xffffffff81a18000 a9bb     fuse.ko
>> 24    1 0xffffffff81a23000 5f7b7    i915kms.ko
>> 25    1 0xffffffff81a83000 123d     iicbb.ko
>> 26    4 0xffffffff81a85000 12ff     iicbus.ko
>> 27    1 0xffffffff81a87000 dc9      iic.ko
>> 28    1 0xffffffff81a88000 2be29    drm2.ko
>>
>> #sysctl dev.acpi_ibm
>> dev.acpi_ibm.0.%desc: IBM ThinkPad ACPI Extras
>> dev.acpi_ibm.0.%driver: acpi_ibm
>> dev.acpi_ibm.0.%location: handle=\_SB_.PCI0.LPC_.EC__.HKEY
>> dev.acpi_ibm.0.%pnpinfo: _HID=IBM0068 _UID=0
>> dev.acpi_ibm.0.%parent: acpi0
>> dev.acpi_ibm.0.initialmask: 2060
>> dev.acpi_ibm.0.availmask: 134217727
>> dev.acpi_ibm.0.events: 1
>> dev.acpi_ibm.0.eventmask: 134217727
>> dev.acpi_ibm.0.hotkey: 388
>> dev.acpi_ibm.0.lcd_brightness: 0
>> dev.acpi_ibm.0.volume: 7
>> dev.acpi_ibm.0.mute: 0
>> dev.acpi_ibm.0.thinklight: 0
>> dev.acpi_ibm.0.bluetooth: 0
>> dev.acpi_ibm.0.wlan: 1
>> dev.acpi_ibm.0.fan_speed: 3265
>> dev.acpi_ibm.0.fan_level: 2
>> dev.acpi_ibm.0.fan: 0
>>
>> --------------
>>
>>
>> _______________________________________________
>> freebsd-acpi@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
>> To unsubscribe, send any mail to "freebsd-acpi-unsubscr...@freebsd.org"
>Try setting hw.pci.do_power_resume and hw.pci.do_power_suspend to 0, 
>then try each at 1, then try both at 1.
>
>Many times Thinkpads fail to resume because of something import getting 
>turned off that needs to be on during suspend, or by trying to turn on 
>things that don't like that during resume. Almost all my thinkpads have 
>required some combo of the above settings.
>
>Also, try these tests in single user, to rule out some 3rd party kernel 
>modules you have there.
>
>Matt
>
>

#kldstat
kernel zfs.ko opensolaris.ko acpi_ibm.ko
#cat /root/set.sh
#!/bin/csh
sysclt -w sysctl debug.bootverbose=1
sysclt -w sysctl debug.acpi.suspend_bounce=1


sysclt -w hw.acpi.reset_video="$argv[1]"
sysclt -w hw.pci.do_power_resume="$argv[2]"
sysclt -w hw.pci.do_power_suspend="$argv[3]"

Test:(8 times)
/root/set.sh 0 0 0; acpiconf -s 3
/root/set.sh 0 0 1; acpiconf -s 3
/root/set.sh 0 1 0; acpiconf -s 3
/root/set.sh 0 1 1; acpiconf -s 3

/root/set.sh 1 0 0; acpiconf -s 3
/root/set.sh 1 0 1; acpiconf -s 3
/root/set.sh 1 1 0; acpiconf -s 3
/root/set.sh 1 1 1; acpiconf -s 3

In All the test, the screen is light and black, system is hangup, nothing can 
be done.
The only thing can be done, is push power button, to force it shutdown.

In single user mode, the problem remains the same.
Load or UnLoad acpi_ibm.ko, no effect on.

Maybe Suspend isn't success.
_______________________________________________
freebsd-acpi@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscr...@freebsd.org"

Reply via email to