[Vaio SZ5MN] Unable to Power-off
Alexey Tarasov
glorgster at gmail.com
Wed Jun 4 16:00:44 UTC 2008
Hello,
I've VGN-SZ4MRN, FreeBSD 8.0-CURRENT. There is also same problem, i've
solved it by switching off lan power before power off.
For this purpose I'm using modified acpi_sony (sources are here:
dodologics.ru/20080425_acpi_sony.tar.bz2)
before switching off i'm making: sysctl hw.vaio.power_lan=0; shutdown -p now
And it powers off correctly. As far as I know SZ5 is much similar to SZ4, so
it may help you also.
---
Best regards,
Alexey
PS:
If you don't want to use these sources (it also adds some events
notifications, partial SPIC support and thus may be unstable), you may add
line
{ "lanp", "GLNP", "LNPW", "Lan power"},
before last line in acpi_sony_name_list struct in acpi_sony.c:
{NULL, NULL, NULL}
It'll add handling of "get lan power" and "set lan power" ACPI methods for
SNC. Sysctl oid will be named as other usual acpi_sony oids (something like:
dev.acpi_sony.0.lanp). I'm sure it also must work (cause in modified sources
it makes exactly the same).
Hello,
>
> I am runing a FreeBSD 7-STABLE i386 box on a Sony Vaio VGN-SZ5MN and I
> cannot totally power-off my laptop.
>
> When I switch to the acpi state 5 (halt, shutdown) everything
> *seems* to work well. The OS shutdown correctly but after displaying :
>
> "Powering system off using ACPI" (/sys/dev/acpica/acpi.c:1678)
>
> the laptop remains powered (CPU cooler running, LCD display on), but
> does not respond to any key. So I must unplug the battery and the
> power cable to shut it down.
>
> I have already sent a message explaining my problem on this ml:
> http://freebsd.monkey.org/freebsd-acpi/200804/msg00025.html
>
> But actually I am looking for some help to solve it. The fact is that
> every other OS that I use, OpenBSD 4.3, NetBSD 4.0 and Linux 2.6,
> manage well the ACPI (at least power-off and reboot).
>
> I have look at the Freebsd ACPI implementation and code. But I have a
> actually no idea from where the problem could come.
>
> Regarding that all those OS are using almost the same ACPICA code I
> guess that the problem should not be very complicated.
>
> Finally, should I post a PR?
>
> Thanks in advance,
>
> Martin
>
More information about the freebsd-acpi
mailing list