Reinício da energia do laptop com o teclado sem fio (logitech)

0

Eu tenho um laptop Dell 9650 executando o Kunbuntu 17.10 com o kernel 4.13.0-17-generic. Gostaria de poder retomar a energia quando o laptop estiver dormindo, pressionando uma tecla do teclado ou clicando no mouse. Preciso precisar que tenho mouse sem fio (M325) e teclado (K800) da Logitech.

Eu pesquisei esse recurso e encontrei instruções sobre como fazer isso, mas atualmente não está funcionando. Aqui estão os detalhes:

$ lsusb
Bus 002 Device 003: ID 0bda:8153 Realtek Semiconductor Corp. 
Bus 002 Device 002: ID 2109:0812 VIA Labs, Inc. VL812 Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 0cf3:e300 Atheros Communications, Inc. 
Bus 001 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 006: ID 1bcf:2b95 Sunplus Innovation Technology Inc. 
Bus 001 Device 004: ID 0dc4:0207 Macpower Peripherals, Ltd 
Bus 001 Device 002: ID 2109:2812 VIA Labs, Inc. VL812 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

$ lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/8p, 5000M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M
        |__ Port 4: Dev 3, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 1: Dev 4, If 0, Class=Mass Storage, Driver=usb-storage, 480M
    |__ Port 2: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 2: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 2: Dev 3, If 2, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 4: Dev 5, If 1, Class=Wireless, Driver=btusb, 12M
    |__ Port 4: Dev 5, If 0, Class=Wireless, Driver=btusb, 12M
    |__ Port 12: Dev 6, If 0, Class=Video, Driver=uvcvideo, 480M
    |__ Port 12: Dev 6, If 1, Class=Video, Driver=uvcvideo, 480M

Eu também adicionei o seguinte arquivo em /etc/udev/rules.d/10-wakeup.rules:

SUBSYSTEM=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c52b" RUN+="/bin/sh -c 'echo enabled > /sys$env{DEVPATH}/../power/wakeup'"

Infelizmente, com esta configuração, o sistema não sobe ao pressionar uma tecla do teclado.

Ajuda apreciada, obrigado.

    
por Nicolas 25.11.2017 / 10:57

0 respostas