Created
January 15, 2024 15:02
-
-
Save GamePlayer-8/30b79c982779c4bd858d860742770fb4 to your computer and use it in GitHub Desktop.
Logs udevadm power.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ac_charging.txt: | |
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/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:17/PNP0C09:00/ACPI0003:00/power_supply/AC': | |
KERNEL=="AC" | |
SUBSYSTEM=="power_supply" | |
DRIVER=="" | |
ATTR{online}=="1" | |
ATTR{power/control}=="auto" | |
ATTR{power/runtime_active_time}=="0" | |
ATTR{power/runtime_status}=="unsupported" | |
ATTR{power/runtime_suspended_time}=="0" | |
ATTR{power/wakeup}=="enabled" | |
ATTR{power/wakeup_abort_count}=="0" | |
ATTR{power/wakeup_active}=="0" | |
ATTR{power/wakeup_active_count}=="1" | |
ATTR{power/wakeup_count}=="0" | |
ATTR{power/wakeup_expire_count}=="0" | |
ATTR{power/wakeup_last_time_ms}=="453" | |
ATTR{power/wakeup_max_time_ms}=="0" | |
ATTR{power/wakeup_total_time_ms}=="0" | |
ATTR{type}=="Mains" | |
looking at parent device '/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:17/PNP0C09:00/ACPI0003:00': | |
KERNELS=="ACPI0003:00" | |
SUBSYSTEMS=="acpi" | |
DRIVERS=="ac" | |
ATTRS{hid}=="ACPI0003" | |
ATTRS{path}=="\_SB_.PCI0.LPCB.EC0_.AC__" | |
ATTRS{power/control}=="auto" | |
ATTRS{power/runtime_active_time}=="0" | |
ATTRS{power/runtime_status}=="unsupported" | |
ATTRS{power/runtime_suspended_time}=="0" | |
ATTRS{status}=="15" | |
looking at parent device '/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:17/PNP0C09:00': | |
KERNELS=="PNP0C09:00" | |
SUBSYSTEMS=="acpi" | |
DRIVERS=="ec" | |
ATTRS{hid}=="PNP0C09" | |
ATTRS{path}=="\_SB_.PCI0.LPCB.EC0_" | |
ATTRS{power/control}=="auto" | |
ATTRS{power/runtime_active_time}=="0" | |
ATTRS{power/runtime_status}=="unsupported" | |
ATTRS{power/runtime_suspended_time}=="0" | |
ATTRS{uid}=="1" | |
looking at parent device '/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:17': | |
KERNELS=="device:17" | |
SUBSYSTEMS=="acpi" | |
DRIVERS=="" | |
ATTRS{adr}=="0x00140003" | |
ATTRS{path}=="\_SB_.PCI0.LPCB" | |
ATTRS{power/control}=="auto" | |
ATTRS{power/runtime_active_time}=="0" | |
ATTRS{power/runtime_status}=="unsupported" | |
ATTRS{power/runtime_suspended_time}=="0" | |
looking at parent device '/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00': | |
KERNELS=="PNP0A08:00" | |
SUBSYSTEMS=="acpi" | |
DRIVERS=="" | |
ATTRS{hid}=="PNP0A08" | |
ATTRS{path}=="\_SB_.PCI0" | |
ATTRS{power/control}=="auto" | |
ATTRS{power/runtime_active_time}=="0" | |
ATTRS{power/runtime_status}=="unsupported" | |
ATTRS{power/runtime_suspended_time}=="0" | |
looking at parent device '/devices/LNXSYSTM:00/LNXSYBUS:00': | |
KERNELS=="LNXSYBUS:00" | |
SUBSYSTEMS=="acpi" | |
DRIVERS=="" | |
ATTRS{hid}=="LNXSYBUS" | |
ATTRS{path}=="\_SB_" | |
ATTRS{power/control}=="auto" | |
ATTRS{power/runtime_active_time}=="0" | |
ATTRS{power/runtime_status}=="unsupported" | |
ATTRS{power/runtime_suspended_time}=="0" | |
looking at parent device '/devices/LNXSYSTM:00': | |
KERNELS=="LNXSYSTM:00" | |
SUBSYSTEMS=="acpi" | |
DRIVERS=="" | |
ATTRS{hid}=="LNXSYSTM" | |
ATTRS{path}=="\" | |
ATTRS{power/control}=="auto" | |
ATTRS{power/runtime_active_time}=="0" | |
ATTRS{power/runtime_status}=="unsupported" | |
ATTRS{power/runtime_suspended_time}=="0" | |
ac_disconnected_after_lid.txt: | |
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/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:17/PNP0C09:00/ACPI0003:00/power_supply/AC': | |
KERNEL=="AC" | |
SUBSYSTEM=="power_supply" | |
DRIVER=="" | |
ATTR{online}=="0" | |
ATTR{power/control}=="auto" | |
ATTR{power/runtime_active_time}=="0" | |
ATTR{power/runtime_status}=="unsupported" | |
ATTR{power/runtime_suspended_time}=="0" | |
ATTR{power/wakeup}=="enabled" | |
ATTR{power/wakeup_abort_count}=="0" | |
ATTR{power/wakeup_active}=="0" | |
ATTR{power/wakeup_active_count}=="1" | |
ATTR{power/wakeup_count}=="0" | |
ATTR{power/wakeup_expire_count}=="0" | |
ATTR{power/wakeup_last_time_ms}=="453" | |
ATTR{power/wakeup_max_time_ms}=="0" | |
ATTR{power/wakeup_total_time_ms}=="0" | |
ATTR{type}=="Mains" | |
looking at parent device '/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:17/PNP0C09:00/ACPI0003:00': | |
KERNELS=="ACPI0003:00" | |
SUBSYSTEMS=="acpi" | |
DRIVERS=="ac" | |
ATTRS{hid}=="ACPI0003" | |
ATTRS{path}=="\_SB_.PCI0.LPCB.EC0_.AC__" | |
ATTRS{power/control}=="auto" | |
ATTRS{power/runtime_active_time}=="0" | |
ATTRS{power/runtime_status}=="unsupported" | |
ATTRS{power/runtime_suspended_time}=="0" | |
ATTRS{status}=="15" | |
looking at parent device '/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:17/PNP0C09:00': | |
KERNELS=="PNP0C09:00" | |
SUBSYSTEMS=="acpi" | |
DRIVERS=="ec" | |
ATTRS{hid}=="PNP0C09" | |
ATTRS{path}=="\_SB_.PCI0.LPCB.EC0_" | |
ATTRS{power/control}=="auto" | |
ATTRS{power/runtime_active_time}=="0" | |
ATTRS{power/runtime_status}=="unsupported" | |
ATTRS{power/runtime_suspended_time}=="0" | |
ATTRS{uid}=="1" | |
looking at parent device '/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:17': | |
KERNELS=="device:17" | |
SUBSYSTEMS=="acpi" | |
DRIVERS=="" | |
ATTRS{adr}=="0x00140003" | |
ATTRS{path}=="\_SB_.PCI0.LPCB" | |
ATTRS{power/control}=="auto" | |
ATTRS{power/runtime_active_time}=="0" | |
ATTRS{power/runtime_status}=="unsupported" | |
ATTRS{power/runtime_suspended_time}=="0" | |
looking at parent device '/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00': | |
KERNELS=="PNP0A08:00" | |
SUBSYSTEMS=="acpi" | |
DRIVERS=="" | |
ATTRS{hid}=="PNP0A08" | |
ATTRS{path}=="\_SB_.PCI0" | |
ATTRS{power/control}=="auto" | |
ATTRS{power/runtime_active_time}=="0" | |
ATTRS{power/runtime_status}=="unsupported" | |
ATTRS{power/runtime_suspended_time}=="0" | |
looking at parent device '/devices/LNXSYSTM:00/LNXSYBUS:00': | |
KERNELS=="LNXSYBUS:00" | |
SUBSYSTEMS=="acpi" | |
DRIVERS=="" | |
ATTRS{hid}=="LNXSYBUS" | |
ATTRS{path}=="\_SB_" | |
ATTRS{power/control}=="auto" | |
ATTRS{power/runtime_active_time}=="0" | |
ATTRS{power/runtime_status}=="unsupported" | |
ATTRS{power/runtime_suspended_time}=="0" | |
looking at parent device '/devices/LNXSYSTM:00': | |
KERNELS=="LNXSYSTM:00" | |
SUBSYSTEMS=="acpi" | |
DRIVERS=="" | |
ATTRS{hid}=="LNXSYSTM" | |
ATTRS{path}=="\" | |
ATTRS{power/control}=="auto" | |
ATTRS{power/runtime_active_time}=="0" | |
ATTRS{power/runtime_status}=="unsupported" | |
ATTRS{power/runtime_suspended_time}=="0" | |
ac_disconnected.txt: | |
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/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:17/PNP0C09:00/ACPI0003:00/power_supply/AC': | |
KERNEL=="AC" | |
SUBSYSTEM=="power_supply" | |
DRIVER=="" | |
ATTR{online}=="0" | |
ATTR{power/control}=="auto" | |
ATTR{power/runtime_active_time}=="0" | |
ATTR{power/runtime_status}=="unsupported" | |
ATTR{power/runtime_suspended_time}=="0" | |
ATTR{power/wakeup}=="enabled" | |
ATTR{power/wakeup_abort_count}=="0" | |
ATTR{power/wakeup_active}=="0" | |
ATTR{power/wakeup_active_count}=="1" | |
ATTR{power/wakeup_count}=="0" | |
ATTR{power/wakeup_expire_count}=="0" | |
ATTR{power/wakeup_last_time_ms}=="453" | |
ATTR{power/wakeup_max_time_ms}=="0" | |
ATTR{power/wakeup_total_time_ms}=="0" | |
ATTR{type}=="Mains" | |
looking at parent device '/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:17/PNP0C09:00/ACPI0003:00': | |
KERNELS=="ACPI0003:00" | |
SUBSYSTEMS=="acpi" | |
DRIVERS=="ac" | |
ATTRS{hid}=="ACPI0003" | |
ATTRS{path}=="\_SB_.PCI0.LPCB.EC0_.AC__" | |
ATTRS{power/control}=="auto" | |
ATTRS{power/runtime_active_time}=="0" | |
ATTRS{power/runtime_status}=="unsupported" | |
ATTRS{power/runtime_suspended_time}=="0" | |
ATTRS{status}=="15" | |
looking at parent device '/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:17/PNP0C09:00': | |
KERNELS=="PNP0C09:00" | |
SUBSYSTEMS=="acpi" | |
DRIVERS=="ec" | |
ATTRS{hid}=="PNP0C09" | |
ATTRS{path}=="\_SB_.PCI0.LPCB.EC0_" | |
ATTRS{power/control}=="auto" | |
ATTRS{power/runtime_active_time}=="0" | |
ATTRS{power/runtime_status}=="unsupported" | |
ATTRS{power/runtime_suspended_time}=="0" | |
ATTRS{uid}=="1" | |
looking at parent device '/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:17': | |
KERNELS=="device:17" | |
SUBSYSTEMS=="acpi" | |
DRIVERS=="" | |
ATTRS{adr}=="0x00140003" | |
ATTRS{path}=="\_SB_.PCI0.LPCB" | |
ATTRS{power/control}=="auto" | |
ATTRS{power/runtime_active_time}=="0" | |
ATTRS{power/runtime_status}=="unsupported" | |
ATTRS{power/runtime_suspended_time}=="0" | |
looking at parent device '/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00': | |
KERNELS=="PNP0A08:00" | |
SUBSYSTEMS=="acpi" | |
DRIVERS=="" | |
ATTRS{hid}=="PNP0A08" | |
ATTRS{path}=="\_SB_.PCI0" | |
ATTRS{power/control}=="auto" | |
ATTRS{power/runtime_active_time}=="0" | |
ATTRS{power/runtime_status}=="unsupported" | |
ATTRS{power/runtime_suspended_time}=="0" | |
looking at parent device '/devices/LNXSYSTM:00/LNXSYBUS:00': | |
KERNELS=="LNXSYBUS:00" | |
SUBSYSTEMS=="acpi" | |
DRIVERS=="" | |
ATTRS{hid}=="LNXSYBUS" | |
ATTRS{path}=="\_SB_" | |
ATTRS{power/control}=="auto" | |
ATTRS{power/runtime_active_time}=="0" | |
ATTRS{power/runtime_status}=="unsupported" | |
ATTRS{power/runtime_suspended_time}=="0" | |
looking at parent device '/devices/LNXSYSTM:00': | |
KERNELS=="LNXSYSTM:00" | |
SUBSYSTEMS=="acpi" | |
DRIVERS=="" | |
ATTRS{hid}=="LNXSYSTM" | |
ATTRS{path}=="\" | |
ATTRS{power/control}=="auto" | |
ATTRS{power/runtime_active_time}=="0" | |
ATTRS{power/runtime_status}=="unsupported" | |
ATTRS{power/runtime_suspended_time}=="0" | |
bat_charging.txt: | |
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/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:17/PNP0C09:00/PNP0C0A:00/power_supply/BAT0': | |
KERNEL=="BAT0" | |
SUBSYSTEM=="power_supply" | |
DRIVER=="" | |
ATTR{alarm}=="0" | |
ATTR{capacity}=="73" | |
ATTR{capacity_level}=="Normal" | |
ATTR{charge_full}=="5290000" | |
ATTR{charge_full_design}=="6150000" | |
ATTR{charge_now}=="3891000" | |
ATTR{current_now}=="2457000" | |
ATTR{cycle_count}=="363" | |
ATTR{manufacturer}=="333-2C-" | |
ATTR{model_name}=="GB02047" | |
ATTR{power/control}=="auto" | |
ATTR{power/runtime_active_time}=="0" | |
ATTR{power/runtime_status}=="unsupported" | |
ATTR{power/runtime_suspended_time}=="0" | |
ATTR{present}=="1" | |
ATTR{serial_number}=="0A09" | |
ATTR{status}=="Charging" | |
ATTR{technology}=="Li-ion" | |
ATTR{type}=="Battery" | |
ATTR{voltage_min_design}=="7700000" | |
ATTR{voltage_now}=="8680000" | |
looking at parent device '/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:17/PNP0C09:00/PNP0C0A:00': | |
KERNELS=="PNP0C0A:00" | |
SUBSYSTEMS=="acpi" | |
DRIVERS=="battery" | |
ATTRS{hid}=="PNP0C0A" | |
ATTRS{path}=="\_SB_.PCI0.LPCB.EC0_.BAT0" | |
ATTRS{power/control}=="auto" | |
ATTRS{power/runtime_active_time}=="0" | |
ATTRS{power/runtime_status}=="unsupported" | |
ATTRS{power/runtime_suspended_time}=="0" | |
ATTRS{power/wakeup}=="enabled" | |
ATTRS{power/wakeup_abort_count}=="0" | |
ATTRS{power/wakeup_active}=="0" | |
ATTRS{power/wakeup_active_count}=="0" | |
ATTRS{power/wakeup_count}=="0" | |
ATTRS{power/wakeup_expire_count}=="0" | |
ATTRS{power/wakeup_last_time_ms}=="0" | |
ATTRS{power/wakeup_max_time_ms}=="0" | |
ATTRS{power/wakeup_total_time_ms}=="0" | |
ATTRS{status}=="31" | |
ATTRS{uid}=="1" | |
looking at parent device '/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:17/PNP0C09:00': | |
KERNELS=="PNP0C09:00" | |
SUBSYSTEMS=="acpi" | |
DRIVERS=="ec" | |
ATTRS{hid}=="PNP0C09" | |
ATTRS{path}=="\_SB_.PCI0.LPCB.EC0_" | |
ATTRS{power/control}=="auto" | |
ATTRS{power/runtime_active_time}=="0" | |
ATTRS{power/runtime_status}=="unsupported" | |
ATTRS{power/runtime_suspended_time}=="0" | |
ATTRS{uid}=="1" | |
looking at parent device '/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:17': | |
KERNELS=="device:17" | |
SUBSYSTEMS=="acpi" | |
DRIVERS=="" | |
ATTRS{adr}=="0x00140003" | |
ATTRS{path}=="\_SB_.PCI0.LPCB" | |
ATTRS{power/control}=="auto" | |
ATTRS{power/runtime_active_time}=="0" | |
ATTRS{power/runtime_status}=="unsupported" | |
ATTRS{power/runtime_suspended_time}=="0" | |
looking at parent device '/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00': | |
KERNELS=="PNP0A08:00" | |
SUBSYSTEMS=="acpi" | |
DRIVERS=="" | |
ATTRS{hid}=="PNP0A08" | |
ATTRS{path}=="\_SB_.PCI0" | |
ATTRS{power/control}=="auto" | |
ATTRS{power/runtime_active_time}=="0" | |
ATTRS{power/runtime_status}=="unsupported" | |
ATTRS{power/runtime_suspended_time}=="0" | |
looking at parent device '/devices/LNXSYSTM:00/LNXSYBUS:00': | |
KERNELS=="LNXSYBUS:00" | |
SUBSYSTEMS=="acpi" | |
DRIVERS=="" | |
ATTRS{hid}=="LNXSYBUS" | |
ATTRS{path}=="\_SB_" | |
ATTRS{power/control}=="auto" | |
ATTRS{power/runtime_active_time}=="0" | |
ATTRS{power/runtime_status}=="unsupported" | |
ATTRS{power/runtime_suspended_time}=="0" | |
looking at parent device '/devices/LNXSYSTM:00': | |
KERNELS=="LNXSYSTM:00" | |
SUBSYSTEMS=="acpi" | |
DRIVERS=="" | |
ATTRS{hid}=="LNXSYSTM" | |
ATTRS{path}=="\" | |
ATTRS{power/control}=="auto" | |
ATTRS{power/runtime_active_time}=="0" | |
ATTRS{power/runtime_status}=="unsupported" | |
ATTRS{power/runtime_suspended_time}=="0" | |
bat_disconnected_after_lid.txt: | |
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/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:17/PNP0C09:00/PNP0C0A:00/power_supply/BAT0': | |
KERNEL=="BAT0" | |
SUBSYSTEM=="power_supply" | |
DRIVER=="" | |
ATTR{alarm}=="0" | |
ATTR{capacity}=="73" | |
ATTR{capacity_level}=="Normal" | |
ATTR{charge_full}=="5290000" | |
ATTR{charge_full_design}=="6150000" | |
ATTR{charge_now}=="3897000" | |
ATTR{current_now}=="680000" | |
ATTR{cycle_count}=="363" | |
ATTR{manufacturer}=="333-2C-" | |
ATTR{model_name}=="GB02047" | |
ATTR{power/control}=="auto" | |
ATTR{power/runtime_active_time}=="0" | |
ATTR{power/runtime_status}=="unsupported" | |
ATTR{power/runtime_suspended_time}=="0" | |
ATTR{present}=="1" | |
ATTR{serial_number}=="0A09" | |
ATTR{status}=="Discharging" | |
ATTR{technology}=="Li-ion" | |
ATTR{type}=="Battery" | |
ATTR{voltage_min_design}=="7700000" | |
ATTR{voltage_now}=="8159000" | |
looking at parent device '/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:17/PNP0C09:00/PNP0C0A:00': | |
KERNELS=="PNP0C0A:00" | |
SUBSYSTEMS=="acpi" | |
DRIVERS=="battery" | |
ATTRS{hid}=="PNP0C0A" | |
ATTRS{path}=="\_SB_.PCI0.LPCB.EC0_.BAT0" | |
ATTRS{power/control}=="auto" | |
ATTRS{power/runtime_active_time}=="0" | |
ATTRS{power/runtime_status}=="unsupported" | |
ATTRS{power/runtime_suspended_time}=="0" | |
ATTRS{power/wakeup}=="enabled" | |
ATTRS{power/wakeup_abort_count}=="0" | |
ATTRS{power/wakeup_active}=="0" | |
ATTRS{power/wakeup_active_count}=="0" | |
ATTRS{power/wakeup_count}=="0" | |
ATTRS{power/wakeup_expire_count}=="0" | |
ATTRS{power/wakeup_last_time_ms}=="0" | |
ATTRS{power/wakeup_max_time_ms}=="0" | |
ATTRS{power/wakeup_total_time_ms}=="0" | |
ATTRS{status}=="31" | |
ATTRS{uid}=="1" | |
looking at parent device '/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:17/PNP0C09:00': | |
KERNELS=="PNP0C09:00" | |
SUBSYSTEMS=="acpi" | |
DRIVERS=="ec" | |
ATTRS{hid}=="PNP0C09" | |
ATTRS{path}=="\_SB_.PCI0.LPCB.EC0_" | |
ATTRS{power/control}=="auto" | |
ATTRS{power/runtime_active_time}=="0" | |
ATTRS{power/runtime_status}=="unsupported" | |
ATTRS{power/runtime_suspended_time}=="0" | |
ATTRS{uid}=="1" | |
looking at parent device '/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:17': | |
KERNELS=="device:17" | |
SUBSYSTEMS=="acpi" | |
DRIVERS=="" | |
ATTRS{adr}=="0x00140003" | |
ATTRS{path}=="\_SB_.PCI0.LPCB" | |
ATTRS{power/control}=="auto" | |
ATTRS{power/runtime_active_time}=="0" | |
ATTRS{power/runtime_status}=="unsupported" | |
ATTRS{power/runtime_suspended_time}=="0" | |
looking at parent device '/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00': | |
KERNELS=="PNP0A08:00" | |
SUBSYSTEMS=="acpi" | |
DRIVERS=="" | |
ATTRS{hid}=="PNP0A08" | |
ATTRS{path}=="\_SB_.PCI0" | |
ATTRS{power/control}=="auto" | |
ATTRS{power/runtime_active_time}=="0" | |
ATTRS{power/runtime_status}=="unsupported" | |
ATTRS{power/runtime_suspended_time}=="0" | |
looking at parent device '/devices/LNXSYSTM:00/LNXSYBUS:00': | |
KERNELS=="LNXSYBUS:00" | |
SUBSYSTEMS=="acpi" | |
DRIVERS=="" | |
ATTRS{hid}=="LNXSYBUS" | |
ATTRS{path}=="\_SB_" | |
ATTRS{power/control}=="auto" | |
ATTRS{power/runtime_active_time}=="0" | |
ATTRS{power/runtime_status}=="unsupported" | |
ATTRS{power/runtime_suspended_time}=="0" | |
looking at parent device '/devices/LNXSYSTM:00': | |
KERNELS=="LNXSYSTM:00" | |
SUBSYSTEMS=="acpi" | |
DRIVERS=="" | |
ATTRS{hid}=="LNXSYSTM" | |
ATTRS{path}=="\" | |
ATTRS{power/control}=="auto" | |
ATTRS{power/runtime_active_time}=="0" | |
ATTRS{power/runtime_status}=="unsupported" | |
ATTRS{power/runtime_suspended_time}=="0" | |
bat_disconnected.txt: | |
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/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:17/PNP0C09:00/PNP0C0A:00/power_supply/BAT0': | |
KERNEL=="BAT0" | |
SUBSYSTEM=="power_supply" | |
DRIVER=="" | |
ATTR{alarm}=="0" | |
ATTR{capacity}=="73" | |
ATTR{capacity_level}=="Normal" | |
ATTR{charge_full}=="5290000" | |
ATTR{charge_full_design}=="6150000" | |
ATTR{charge_now}=="3905000" | |
ATTR{current_now}=="572000" | |
ATTR{cycle_count}=="363" | |
ATTR{manufacturer}=="333-2C-" | |
ATTR{model_name}=="GB02047" | |
ATTR{power/control}=="auto" | |
ATTR{power/runtime_active_time}=="0" | |
ATTR{power/runtime_status}=="unsupported" | |
ATTR{power/runtime_suspended_time}=="0" | |
ATTR{present}=="1" | |
ATTR{serial_number}=="0A09" | |
ATTR{status}=="Discharging" | |
ATTR{technology}=="Li-ion" | |
ATTR{type}=="Battery" | |
ATTR{voltage_min_design}=="7700000" | |
ATTR{voltage_now}=="8230000" | |
looking at parent device '/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:17/PNP0C09:00/PNP0C0A:00': | |
KERNELS=="PNP0C0A:00" | |
SUBSYSTEMS=="acpi" | |
DRIVERS=="battery" | |
ATTRS{hid}=="PNP0C0A" | |
ATTRS{path}=="\_SB_.PCI0.LPCB.EC0_.BAT0" | |
ATTRS{power/control}=="auto" | |
ATTRS{power/runtime_active_time}=="0" | |
ATTRS{power/runtime_status}=="unsupported" | |
ATTRS{power/runtime_suspended_time}=="0" | |
ATTRS{power/wakeup}=="enabled" | |
ATTRS{power/wakeup_abort_count}=="0" | |
ATTRS{power/wakeup_active}=="0" | |
ATTRS{power/wakeup_active_count}=="0" | |
ATTRS{power/wakeup_count}=="0" | |
ATTRS{power/wakeup_expire_count}=="0" | |
ATTRS{power/wakeup_last_time_ms}=="0" | |
ATTRS{power/wakeup_max_time_ms}=="0" | |
ATTRS{power/wakeup_total_time_ms}=="0" | |
ATTRS{status}=="31" | |
ATTRS{uid}=="1" | |
looking at parent device '/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:17/PNP0C09:00': | |
KERNELS=="PNP0C09:00" | |
SUBSYSTEMS=="acpi" | |
DRIVERS=="ec" | |
ATTRS{hid}=="PNP0C09" | |
ATTRS{path}=="\_SB_.PCI0.LPCB.EC0_" | |
ATTRS{power/control}=="auto" | |
ATTRS{power/runtime_active_time}=="0" | |
ATTRS{power/runtime_status}=="unsupported" | |
ATTRS{power/runtime_suspended_time}=="0" | |
ATTRS{uid}=="1" | |
looking at parent device '/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:17': | |
KERNELS=="device:17" | |
SUBSYSTEMS=="acpi" | |
DRIVERS=="" | |
ATTRS{adr}=="0x00140003" | |
ATTRS{path}=="\_SB_.PCI0.LPCB" | |
ATTRS{power/control}=="auto" | |
ATTRS{power/runtime_active_time}=="0" | |
ATTRS{power/runtime_status}=="unsupported" | |
ATTRS{power/runtime_suspended_time}=="0" | |
looking at parent device '/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00': | |
KERNELS=="PNP0A08:00" | |
SUBSYSTEMS=="acpi" | |
DRIVERS=="" | |
ATTRS{hid}=="PNP0A08" | |
ATTRS{path}=="\_SB_.PCI0" | |
ATTRS{power/control}=="auto" | |
ATTRS{power/runtime_active_time}=="0" | |
ATTRS{power/runtime_status}=="unsupported" | |
ATTRS{power/runtime_suspended_time}=="0" | |
looking at parent device '/devices/LNXSYSTM:00/LNXSYBUS:00': | |
KERNELS=="LNXSYBUS:00" | |
SUBSYSTEMS=="acpi" | |
DRIVERS=="" | |
ATTRS{hid}=="LNXSYBUS" | |
ATTRS{path}=="\_SB_" | |
ATTRS{power/control}=="auto" | |
ATTRS{power/runtime_active_time}=="0" | |
ATTRS{power/runtime_status}=="unsupported" | |
ATTRS{power/runtime_suspended_time}=="0" | |
looking at parent device '/devices/LNXSYSTM:00': | |
KERNELS=="LNXSYSTM:00" | |
SUBSYSTEMS=="acpi" | |
DRIVERS=="" | |
ATTRS{hid}=="LNXSYSTM" | |
ATTRS{path}=="\" | |
ATTRS{power/control}=="auto" | |
ATTRS{power/runtime_active_time}=="0" | |
ATTRS{power/runtime_status}=="unsupported" | |
ATTRS{power/runtime_suspended_time}=="0" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment