[Slackbuilds-users] TLP resume suspended issue on Slackware 14.1 x86_64

Perseo icaro.perseo at gmail.com
Wed Jun 3 21:14:00 UTC 2015


Good day!

I recently to upgrade TLP to the latest version available (0.7) on SBo
and to my surprise I discovered that this did not run after resume
suspended.

Some research I found that the script responsible for this purpose was
located in /usr/lib/pm-utils/sleep.d/49tlp and NOT where one would
expect /usr/lib64/pm-utils/sleep.d/49tlp.

This is the content of my /var/log/pm-suspend.log file:

Initial commandline parameters:
Wed Jun  3 02:13:47 CDT 2015: Running hooks for suspend.
Running hook /usr/lib64/pm-utils/sleep.d/00logging suspend suspend:
Linux dhoko 3.14.33 #2 SMP Thu Feb 12 15:17:04 CST 2015 x86_64
Intel(R) Core(TM) i7-3610QM CPU @ 2.30GHz GenuineIntel GNU/Linux
Module                  Size  Used by
ppp_deflate             3954  0
bsd_comp                5306  0
ppp_async               7210  0
crc_ccitt               1323  1 ppp_async
ppp_generic            23474  3 bsd_comp,ppp_async,ppp_deflate
slhc                    4899  1 ppp_generic
ip6t_REJECT             2884  1
xt_hl                   1329  6
ip6t_rt                 2104  3
nf_conntrack_ipv6       7925  10
nf_defrag_ipv6         22926  1 nf_conntrack_ipv6
ipt_REJECT              2465  1
xt_LOG                 12467  20
xt_limit                1905  21
xt_tcpudp               2463  26
xt_addrtype             2877  4
nf_conntrack_ipv4       7738  10
nf_defrag_ipv4          1459  1 nf_conntrack_ipv4
xt_conntrack            3225  20
ip6table_filter         1420  1
pci_stub                1373  1
ip6_tables             17216  1 ip6table_filter
nf_conntrack_netbios_ns     1069  0
nf_conntrack_broadcast     1213  1 nf_conntrack_netbios_ns
vboxpci                14517  0
nf_nat_ftp              1788  0
nf_nat                 12207  1 nf_nat_ftp
vboxnetadp             18419  0
nf_conntrack_ftp        6863  1 nf_nat_ftp
nf_conntrack           55301  8
nf_nat_ftp,nf_conntrack_netbios_ns,nf_nat,xt_conntrack,nf_conntrack_broadcast,nf_conntrack_ftp,nf_conntrack_ipv4,nf_conntrack_ipv6
vboxnetflt             17484  0
iptable_filter          1480  1
ip_tables              16611  1 iptable_filter
x_tables               16448  13
ip6table_filter,xt_hl,ip_tables,xt_tcpudp,xt_limit,xt_conntrack,xt_LOG,iptable_filter,ip6t_rt,ipt_REJECT,ip6_tables,xt_addrtype,ip6t_REJECT
vboxdrv               332443  3 vboxnetadp,vboxnetflt,vboxpci
ipv6                  303694  27
nf_defrag_ipv6,ip6t_REJECT,nf_conntrack_ipv6
bnep                   10492  2
bluetooth             251437  7 bnep
6lowpan_iphc            6524  1 bluetooth
cpufreq_ondemand        8749  0
lp                      9787  0
ppdev                   5766  0
parport_pc             19236  0
parport                30101  3 lp,ppdev,parport_pc
fuse                   76511  5
hid_generic             1145  0
usbhid                 36440  0
hid                    90082  2 hid_generic,usbhid
qmi_wwan               14043  0
cdc_wdm                 9803  1 qmi_wwan
rts5139               314426  0
cdc_ether               4836  0
usbnet                 20436  2 qmi_wwan,cdc_ether
usb_storage            47332  0
uvcvideo               71753  0
option                 36344  0
videobuf2_vmalloc       2944  1 uvcvideo
videobuf2_memops        1879  1 videobuf2_vmalloc
videobuf2_core         29119  1 uvcvideo
videodev              118875  2 uvcvideo,videobuf2_core
usb_wwan                6176  1 option
usbserial              23465  2 option,usb_wwan
mii                     3955  1 usbnet
x86_pkg_temp_thermal     4775  0
intel_powerclamp        8779  0
nvram                   5780  0
intel_rapl              9188  0
msr                     2557  0
kvm_intel             130454  0
coretemp                6254  0
i915                  735288  3
drm_kms_helper         35188  1 i915
drm                   235385  4 i915,drm_kms_helper
snd_hda_codec_hdmi     36819  1
snd_hda_codec_realtek    46973  1
snd_hda_codec_generic    53034  1 snd_hda_codec_realtek
joydev                  9591  0
snd_hda_intel          37384  4
kvm                   395368  1 kvm_intel
rtl8192ce              49231  0
rtl_pci                15482  1 rtl8192ce
rtlwifi                47434  2 rtl_pci,rtl8192ce
toshiba_acpi           13510  0
rtl8192c_common        37274  1 rtl8192ce
mac80211              471627  3 rtl_pci,rtlwifi,rtl8192ce
snd_hda_codec          95987  4
snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel
snd_hwdep               6292  1 snd_hda_codec
snd_pcm                79167  4
snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_timer              18422  2 snd_pcm
snd                    59110  14
snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
intel_gtt              12504  1 i915
agpgart                27171  2 drm,intel_gtt
video                  11724  1 i915
alx                    29375  0
processor              23907  0
crct10dif_pclmul        4475  0
crc32_pclmul            2883  0
cfg80211              412363  2 mac80211,rtlwifi
i2c_i801               13859  0
i2c_algo_bit            5351  1 i915
i2c_core               22008  6
drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,videodev
thermal                 8516  0
crc32c_intel           14113  0
evdev                  11005  20
button                  4536  1 i915
psmouse                86540  0
lpc_ich                13360  0
mei_me                  7976  0
soundcore               5258  1 snd
sparse_keymap           3074  1 toshiba_acpi
fan                     2617  0
thermal_sys            21578  6
fan,video,intel_powerclamp,thermal,processor,x86_pkg_temp_thermal
xhci_hcd              108822  0
ehci_pci                3592  0
ehci_hcd               43166  1 ehci_pci
rfkill                 15411  4 cfg80211,toshiba_acpi,bluetooth
hwmon                   2833  2 coretemp,thermal_sys
mdio                    3143  1 alx
mei                    45847  1 mei_me
ghash_clmulni_intel     4258  0
wmi                     8211  1 toshiba_acpi
battery                12219  0
ac                      4318  0
serio_raw               4585  0
microcode              14693  0
toshiba_bluetooth       2193  0
loop                   18763  0
             total       used       free     shared    buffers     cached
Mem:       8084852    4226940    3857912          0     970404    1602452
-/+ buffers/cache:    1654084    6430768
Swap:     16777212          0   16777212
/usr/lib64/pm-utils/sleep.d/00logging suspend suspend: success.

Running hook /usr/lib64/pm-utils/sleep.d/00powersave suspend suspend:
/usr/lib64/pm-utils/sleep.d/00powersave suspend suspend: success.

Running hook /usr/lib64/pm-utils/sleep.d/01grub suspend suspend:
/usr/lib64/pm-utils/sleep.d/01grub suspend suspend: not applicable.

Running hook /usr/lib64/pm-utils/sleep.d/49bluetooth-generic suspend
suspend:
/usr/lib64/pm-utils/sleep.d/49bluetooth-generic suspend suspend: success.

Running hook /usr/lib64/pm-utils/sleep.d/49bluetooth-ibm suspend suspend:
/usr/lib64/pm-utils/sleep.d/49bluetooth-ibm suspend suspend: not
applicable.

Running hook /usr/lib64/pm-utils/sleep.d/55wicd suspend suspend:
/usr/lib64/pm-utils/sleep.d/55wicd suspend suspend: success.

Running hook /usr/lib64/pm-utils/sleep.d/75modules suspend suspend:
/usr/lib64/pm-utils/sleep.d/75modules suspend suspend: not applicable.

Running hook /usr/lib64/pm-utils/sleep.d/90clock suspend suspend:
/usr/lib64/pm-utils/sleep.d/90clock suspend suspend: not applicable.

Running hook /usr/lib64/pm-utils/sleep.d/94cpufreq suspend suspend:
/usr/lib64/pm-utils/sleep.d/94cpufreq suspend suspend: success.

Running hook /usr/lib64/pm-utils/sleep.d/95led suspend suspend:
/usr/lib64/pm-utils/sleep.d/95led suspend suspend: not applicable.

Running hook /usr/lib64/pm-utils/sleep.d/98video-quirk-db-handler
suspend suspend:
Kernel modesetting video driver detected, not using quirks.
/usr/lib64/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
success.

Running hook /usr/lib64/pm-utils/sleep.d/99video suspend suspend:
kernel.acpi_video_flags = 0
/usr/lib64/pm-utils/sleep.d/99video suspend suspend: success.

Wed Jun  3 02:13:48 CDT 2015: performing suspend
Wed Jun  3 07:18:43 CDT 2015: Awake.
Wed Jun  3 07:18:43 CDT 2015: Running hooks for resume
Running hook /usr/lib64/pm-utils/sleep.d/99video resume suspend:
/usr/lib64/pm-utils/sleep.d/99video resume suspend: success.

Running hook /usr/lib64/pm-utils/sleep.d/98video-quirk-db-handler
resume suspend:
/usr/lib64/pm-utils/sleep.d/98video-quirk-db-handler resume suspend:
success.

Running hook /usr/lib64/pm-utils/sleep.d/95led resume suspend:
/usr/lib64/pm-utils/sleep.d/95led resume suspend: not applicable.

Running hook /usr/lib64/pm-utils/sleep.d/94cpufreq resume suspend:
/usr/lib64/pm-utils/sleep.d/94cpufreq resume suspend: success.

Running hook /usr/lib64/pm-utils/sleep.d/90clock resume suspend:
/usr/lib64/pm-utils/sleep.d/90clock resume suspend: not applicable.

Running hook /usr/lib64/pm-utils/sleep.d/75modules resume suspend:
Reloaded unloaded modules.
/usr/lib64/pm-utils/sleep.d/75modules resume suspend: success.

Running hook /usr/lib64/pm-utils/sleep.d/55wicd resume suspend:
/usr/lib64/pm-utils/sleep.d/55wicd resume suspend: success.

Running hook /usr/lib64/pm-utils/sleep.d/49bluetooth-ibm resume suspend:
/usr/lib64/pm-utils/sleep.d/49bluetooth-ibm resume suspend: not
applicable.

Running hook /usr/lib64/pm-utils/sleep.d/49bluetooth-generic resume
suspend:
/usr/lib64/pm-utils/sleep.d/49bluetooth-generic resume suspend: success.

Running hook /usr/lib64/pm-utils/sleep.d/01grub resume suspend:
/usr/lib64/pm-utils/sleep.d/01grub resume suspend: not applicable.

Running hook /usr/lib64/pm-utils/sleep.d/00powersave resume suspend:
/usr/lib64/pm-utils/sleep.d/00powersave resume suspend: success.

Running hook /usr/lib64/pm-utils/sleep.d/00logging resume suspend:
/usr/lib64/pm-utils/sleep.d/00logging resume suspend: success.

Wed Jun  3 07:18:45 CDT 2015: Finished.


As you can be seen there is no reference to it. On the other hand, the
TLP.SlackBuild is established as "noarch", so I do't know if there is
a specific reason for that purpose.

Regards.


More information about the SlackBuilds-users mailing list