diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-04-18 16:08:47 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-04-18 16:08:47 -0500 |
commit | 3ed6d08a915a01928a1c5d9b89ca4c8b5ffad346 (patch) | |
tree | 10c716417daa388f4b6085f28e877ee0f808ceca /tdecore/tdehardwaredevices.cpp | |
parent | 45426ff16cf5c43680ecf2305d55b8900e51de8a (diff) | |
download | tdelibs-3ed6d08a915a01928a1c5d9b89ca4c8b5ffad346.tar.gz tdelibs-3ed6d08a915a01928a1c5d9b89ca4c8b5ffad346.zip |
Fix sleep button
Diffstat (limited to 'tdecore/tdehardwaredevices.cpp')
-rw-r--r-- | tdecore/tdehardwaredevices.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tdecore/tdehardwaredevices.cpp b/tdecore/tdehardwaredevices.cpp index f44272b31..1a24f26f6 100644 --- a/tdecore/tdehardwaredevices.cpp +++ b/tdecore/tdehardwaredevices.cpp @@ -4026,7 +4026,7 @@ TDEGenericDevice* TDEHardwareDevices::classifyUnknownDevice(udev_device* dev, TD if (edevice->systemPath().contains("PNP0C0D")) { edevice->internalSetEventType(TDEEventDeviceType::ACPILidSwitch); } - else if (edevice->systemPath().contains("PNP0C0E")) { + else if (edevice->systemPath().contains("PNP0C0E") || edevice->systemPath().contains("/LNXSLPBN")) { edevice->internalSetEventType(TDEEventDeviceType::ACPISleepButton); } else if (edevice->systemPath().contains("PNP0C0C") || edevice->systemPath().contains("/LNXPWRBN")) { |