Réveil ACPI sur clic de souris

Hello,

I’m looking for a way to wakeup from suspend (pm-suspend) using a mouse click (USB mouse).

My configuration:
Debian squeeze

cat /proc/acpi/wakeup
Device S-state Status Sysfs node
LID S3 *enabled
PBTN S4 *enabled
PCI0 S5 disabled no-busci0000:00
USB0 S3 disabled pci:0000:00:1d.0
USB1 S3 enabled pci:0000:00:1d.1
USB2 S3 disabled pci:0000:00:1d.2
USB3 S3 disabled pci:0000:00:1d.3
EHCI S3 disabled pci:0000:00:1d.7
AZAL S3 disabled pci:0000:00:1b.0
PCIE S4 disabled pci:0000:00:1e.0
RP01 S3 disabled pci:0000:00:1c.0
RP02 S4 disabled pci:0000:00:1c.1
NIC S5 disabled pci:0000:09:00.0
RP04 S3 disabled
RP05 S3 disabled
RP06 S3 disabled

dmesg:
input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/input/input12
[ 434.926898] generic-usb 0003:046D:C047.0002: input,hidraw0: USB HID v1.10 Mouse [Logitech USB Optical Mouse] on usb-0000:00:1d.1-2/input0

My problem is that the system doesn’t wake up on a mouse motion or click. The system wake up only if I plug or unplug my USB mouse in the USB port.

Any ideas?

Tx

Edit de Lol: Traduction du titre “ACPI wakeup on mouse click” en Français

Hello,
You’re on a french forum, you will not have many answers …
At worst, if you do not speak any language of Molière, use google translate!

Solved…

echo “USB1” > /proc/acpi/wakeup
echo enabled > /sys/bus/usb/devices/usb3/3-2/power/wakeup

Need to activate wakeup on USB controller AND on device itself…

Pardon pour l’anglais, c’est un reflex :wink: ma langue maternelle est bien le francais.

Salut,
Merci pour le retour! :wink:

Edit: Tu pourrais mettre le titre de ton post en Français ? Et cliquer sur résolu (coche verte). merci
Edit2: Je l’ai fait pour toi.

desole pour le retard :wink: