armbian suspend nur über power button

Debian auf Notebooks und speziellen Geräten wie eingebetteten Systemen, Routern, Set-Top-Boxen, ...
Antworten
kultex
Beiträge: 1
Registriert: 22.11.2019 10:05:12

armbian suspend nur über power button

Beitrag von kultex » 22.11.2019 14:06:32

Ich hätte mein Problem schon mal hier gepostet, aber bekomme keine Antwort.

https://forum.armbian.com/topic/12203-r ... m-suspend/

Auf dem Pine Rock64 läuft Armbian - im Prinzip alles bestens - nur kann ich das kleine Ding nur durch dem Power Button wieder aus dem Bereitschaftsmodus (suspend to ram) aufwecken.

Jetzt ist das aber ein mini Button versteckt hinter einem Mini Loch und sehr unpraktisch - ich verwende im Moment ein chinesisches Essstäbchen. Eigentlich hat bei mir bei allen Computern die Tastatur ausgereicht, um die wieder aufzuwecken. Vielleicht hat ja hier jemand eine Ahnung, wie ich das schaffen könnte.

https://wiki.archlinux.org/index.php/Po ... tem-sleep

hier die Ausgabe von logind.conf

Code: Alles auswählen

#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
#HandlePowerKey=poweroff
#HandleSuspendKey=suspend
#HandleHibernateKey=hibernate
#HandleLidSwitch=suspend
#HandleLidSwitchExternalPower=suspend
#HandleLidSwitchDocked=ignore
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes
#HoldoffTimeoutSec=30s
#IdleAction=ignore
#IdleActionSec=30min
#RuntimeDirectorySize=10%
#RemoveIPC=yes
#InhibitorsMax=8192
#SessionsMax=8192
user@rock64:~$ journalctl --grep="Watching system buttons"

Code: Alles auswählen

Compiled without pattern matching support 
und hier noch der output von: user@rock64:~$ udevadm info -a /dev/input/by-path/*-kbd

Code: Alles auswählen

Udevadm info starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.

  looking at device '/devices/platform/ff5d0000.usb/usb3/3-1/3-1:1.0/0003:1A2C:0C21.0002/input/input3/event3':
    KERNEL=="event3"
    SUBSYSTEM=="input"
    DRIVER==""

  looking at parent device '/devices/platform/ff5d0000.usb/usb3/3-1/3-1:1.0/0003:1A2C:0C21.0002/input/input3':
    KERNELS=="input3"
    SUBSYSTEMS=="input"
    DRIVERS==""
    ATTRS{properties}=="0"
    ATTRS{phys}=="usb-ff5d0000.usb-1/input0"
    ATTRS{name}=="USB USB Keyboard"
    ATTRS{uniq}==""

  looking at parent device '/devices/platform/ff5d0000.usb/usb3/3-1/3-1:1.0/0003:1A2C:0C21.0002':
    KERNELS=="0003:1A2C:0C21.0002"
    SUBSYSTEMS=="hid"
    DRIVERS=="hid-generic"
    ATTRS{country}=="00"

  looking at parent device '/devices/platform/ff5d0000.usb/usb3/3-1/3-1:1.0':
    KERNELS=="3-1:1.0"
    SUBSYSTEMS=="usb"
    DRIVERS=="usbhid"
    ATTRS{bInterfaceProtocol}=="01"
    ATTRS{bAlternateSetting}==" 0"
    ATTRS{supports_autosuspend}=="1"
    ATTRS{bInterfaceNumber}=="00"
    ATTRS{bInterfaceSubClass}=="01"
    ATTRS{authorized}=="1"
    ATTRS{bInterfaceClass}=="03"
    ATTRS{bNumEndpoints}=="01"

  looking at parent device '/devices/platform/ff5d0000.usb/usb3/3-1':
    KERNELS=="3-1"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb"
    ATTRS{bDeviceClass}=="00"
    ATTRS{devpath}=="1"
    ATTRS{bmAttributes}=="a0"
    ATTRS{authorized}=="1"
    ATTRS{idVendor}=="1a2c"
    ATTRS{busnum}=="3"
    ATTRS{maxchild}=="0"
    ATTRS{bMaxPower}=="100mA"
    ATTRS{avoid_reset_quirk}=="0"
    ATTRS{bcdDevice}=="0110"
    ATTRS{manufacturer}=="USB"
    ATTRS{bNumInterfaces}==" 2"
    ATTRS{bMaxPacketSize0}=="8"
    ATTRS{urbnum}=="426"
    ATTRS{speed}=="1.5"
    ATTRS{bDeviceProtocol}=="00"
    ATTRS{version}==" 1.10"
    ATTRS{bDeviceSubClass}=="00"
    ATTRS{removable}=="unknown"
    ATTRS{bNumConfigurations}=="1"
    ATTRS{devnum}=="2"
    ATTRS{ltm_capable}=="no"
    ATTRS{product}=="USB Keyboard"
    ATTRS{idProduct}=="0c21"
    ATTRS{configuration}==""
    ATTRS{bConfigurationValue}=="1"
    ATTRS{quirks}=="0x0"

 looking at parent device '/devices/platform/ff5d0000.usb/usb3':
    KERNELS=="usb3"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb"
    ATTRS{bMaxPower}=="0mA"
    ATTRS{idVendor}=="1d6b"
    ATTRS{bNumConfigurations}=="1"
    ATTRS{version}==" 1.10"
    ATTRS{devnum}=="1"
    ATTRS{bMaxPacketSize0}=="64"
    ATTRS{ltm_capable}=="no"
    ATTRS{devpath}=="0"
    ATTRS{configuration}==""
    ATTRS{bConfigurationValue}=="1"
    ATTRS{bDeviceSubClass}=="00"
    ATTRS{urbnum}=="30"
    ATTRS{speed}=="12"
    ATTRS{bDeviceProtocol}=="00"
    ATTRS{idProduct}=="0001"
    ATTRS{bNumInterfaces}==" 1"
    ATTRS{quirks}=="0x0"
    ATTRS{bmAttributes}=="e0"
    ATTRS{product}=="Generic Platform OHCI controller"
    ATTRS{interface_authorized_default}=="1"
    ATTRS{serial}=="ff5d0000.usb"
    ATTRS{busnum}=="3"
    ATTRS{maxchild}=="1"
    ATTRS{authorized_default}=="1"
    ATTRS{bcdDevice}=="0404"
    ATTRS{authorized}=="1"
    ATTRS{removable}=="unknown"
    ATTRS{manufacturer}=="Linux 4.4.192-rockchip64 ohci_hcd"
    ATTRS{avoid_reset_quirk}=="0"
    ATTRS{bDeviceClass}=="09"

  looking at parent device '/devices/platform/ff5d0000.usb':
    KERNELS=="ff5d0000.usb"
    SUBSYSTEMS=="platform"
    DRIVERS=="ohci-platform"
    ATTRS{driver_override}=="(null)"

  looking at parent device '/devices/platform':
    KERNELS=="platform"
    SUBSYSTEMS==""
    DRIVERS==""

Antworten