Добрый день!
Подскажите плз, как научить ноут засыпать по закрытию крышки.

Power Button отрабатывается корректно :
acpid: received event "button/power PWRF 00000080 00000007"
acpid: rule from 3105[0:0] matched
acpid: notifying client 3105[0:0]
acpid: rule from 3005[106:110] matched
acpid: notifying client 3005[106:110]
acpid: rule from /etc/acpi/events/powerbtn matched
acpid: executing action "/etc/acpi/powerbtn.sh"
BEGIN HANDLER MESSAGES
END HANDLER MESSAGES
acpid: action exited with status 0
acpid: rule from /etc/acpi/events/powerbtn-acpi-support matched
acpid: executing action "/etc/acpi/powerbtn-acpi-support.sh"
BEGIN HANDLER MESSAGES
Acpi-support not handling power button, acpid handler /etc/acpi/events/powerbtn exists.
END HANDLER MESSAGES
acpid: action exited with status 0
acpid: 4 total rules matched
acpid: completed event "button/power PWRF 00000080 00000007"

Sleep и lid - никакой реакции

Разницы между описанием кнопок не вижу:
# /etc/acpi/events/lidbtn
# Called when the user closes or opens the lid
event=button[/ ]lid
action=/etc/acpi/lid.sh

# /etc/acpi/events/powerbtn
event=button[ /]power
action=/etc/acpi/powerbtn.sh

Поддержка lid в ядре вроде как есть:
# cat /proc/acpi/button/lid/LID0/info
type:                    Lid Switch
# cat /proc/acpi/button/lid/LID0/state
state:      open

Ноут Samsung Q35, Debian lenny

--
Head office
Igor Chumak
System Administrator

OJSC “UIC "Generali Garant” 15/2 Chervonoarmiyska str.,
01004, Kyiv, Ukraine
Phone: +38(044)206 8820 E-Mail: i.chu...@generali.garant.ua www.generali.garant.ua


--
To UNSUBSCRIBE, email to debian-russian-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Ответить