Public bug reported: Binary package hint: powernowd
After adding "CPU frequency scaling monitor" applet to my GNOMe environment I noticed that powernowd doesn't do its job as it should. It's enabled by default and I have OPTIONS="-q -m 1 -p 100 -u 70 -l 10" in /etc/default/powernowd. Moreover, I couldn't even find powernowd process running. After investigating /etc/init.d/powernowd I noteced that start function has some weird issues. I commented some lines as shown below and it started working after that start() { log_begin_msg "Starting $DESC... " $DAEMON $OPTIONS >/dev/null 2>&1 # if use_ondemand # then # log_end_msg 0 # return 0 # fi # if check_kernel # then # echo "Starting $DESC: " # start-stop-daemon --start --quiet --oknodo --exec $DAEMON -- $OPTIONS >/dev/null 2>&1 || { # status=$? # log_end_msg $status # return $status # } # else # log_success_msg "CPU frequency scaling not supported" # # echo "required sysfs objects not found!" # # echo -e "\tRead /usr/share/doc/powernowd/README.Debian for more information." # fi log_end_msg 0 return 0 } In additional I am showing some info about my laptop [EMAIL PROTECTED]:~$ lspci -v 00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 04) Subsystem: ASUSTeK Computer Inc. Unknown device 1882 Flags: bus master, fast devsel, latency 0 Capabilities: <access denied> 00:01.0 PCI bridge: Intel Corporation Mobile 915GM/PM Express PCI Express Root Port (rev 04) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: 0000a000-0000cfff Memory behind bridge: fe900000-fe9fffff Prefetchable memory behind bridge: cff00000-dfefffff Capabilities: <access denied> 00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04) Subsystem: ASUSTeK Computer Inc. Unknown device 10c3 Flags: bus master, fast devsel, latency 0, IRQ 169 Memory at febfc000 (64-bit, non-prefetchable) [size=16K] Capabilities: <access denied> 00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04) (prog-if 00 [UHCI]) Subsystem: ASUSTeK Computer Inc. Unknown device 1967 Flags: bus master, medium devsel, latency 0, IRQ 209 I/O ports at e480 [size=32] 00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04) (prog-if 00 [UHCI]) Subsystem: ASUSTeK Computer Inc. Unknown device 1967 Flags: bus master, medium devsel, latency 0, IRQ 217 I/O ports at e800 [size=32] 00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04) (prog-if 00 [UHCI]) Subsystem: ASUSTeK Computer Inc. Unknown device 1967 Flags: bus master, medium devsel, latency 0, IRQ 201 I/O ports at e880 [size=32] 00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04) (prog-if 00 [UHCI]) Subsystem: ASUSTeK Computer Inc. Unknown device 1967 Flags: bus master, medium devsel, latency 0, IRQ 169 I/O ports at ec00 [size=32] 00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04) (prog-if 20 [EHCI]) Subsystem: ASUSTeK Computer Inc. Unknown device 1967 Flags: bus master, medium devsel, latency 0, IRQ 209 Memory at febfbc00 (32-bit, non-prefetchable) [size=1K] Capabilities: <access denied> 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4) (prog-if 01 [Subtractive decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=02, subordinate=06, sec-latency=32 I/O behind bridge: 0000d000-0000dfff Memory behind bridge: fea00000-feafffff Prefetchable memory behind bridge: 0000000050000000-0000000052f00000 Capabilities: <access denied> 00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04) Flags: bus master, medium devsel, latency 0 00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 04) (prog-if 8a [Master SecP PriP]) Subsystem: ASUSTeK Computer Inc. Unknown device 1967 Flags: bus master, medium devsel, latency 0, IRQ 201 I/O ports at <unassigned> I/O ports at <unassigned> I/O ports at <unassigned> I/O ports at <unassigned> I/O ports at ffa0 [size=16] 01:00.0 VGA compatible controller: ATI Technologies Inc M26 [Radeon Mobility X700] (prog-if 00 [VGA]) Subsystem: ASUSTeK Computer Inc. Unknown device 1962 Flags: bus master, fast devsel, latency 0, IRQ 169 Memory at d0000000 (32-bit, prefetchable) [size=128M] I/O ports at c000 [size=256] Memory at fe9f0000 (32-bit, non-prefetchable) [size=64K] Expansion ROM at fe9c0000 [disabled] [size=128K] Capabilities: <access denied> 02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 13) Subsystem: ASUSTeK Computer Inc. Marvell 88E8001 Gigabit Ethernet Controller (Asus) Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 201 Memory at feafc000 (32-bit, non-prefetchable) [size=16K] I/O ports at d800 [size=256] Expansion ROM at 52000000 [disabled] [size=128K] Capabilities: <access denied> 02:01.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b3) Subsystem: ASUSTeK Computer Inc. V6800V Flags: bus master, medium devsel, latency 168, IRQ 177 Memory at fea00000 (32-bit, non-prefetchable) [size=4K] Bus: primary=02, secondary=03, subordinate=06, sec-latency=176 Memory window 0: 50000000-51fff000 (prefetchable) Memory window 1: 54000000-55fff000 I/O window 0: 0000d000-0000d0ff I/O window 1: 0000d400-0000d4ff 16-bit legacy interface ports at 0001 02:01.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 08) (prog-if 10 [OHCI]) Subsystem: ASUSTeK Computer Inc. Unknown device 1967 Flags: bus master, medium devsel, latency 64, IRQ 169 Memory at feafa800 (32-bit, non-prefetchable) [size=2K] Capabilities: <access denied> 02:01.2 Class 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 17) Subsystem: ASUSTeK Computer Inc. ASUS V6800V Flags: bus master, medium devsel, latency 64, IRQ 201 Memory at feafb400 (32-bit, non-prefetchable) [size=256] Capabilities: <access denied> 02:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 08) Subsystem: ASUSTeK Computer Inc. V6800V Flags: medium devsel, IRQ 4 Memory at feafb800 (32-bit, non-prefetchable) [size=256] Capabilities: <access denied> 02:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 03) Subsystem: ASUSTeK Computer Inc. V6800V Flags: medium devsel, IRQ 4 Memory at feafbc00 (32-bit, non-prefetchable) [size=256] Capabilities: <access denied> 02:02.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05) Subsystem: Intel Corporation Unknown device 2701 Flags: bus master, medium devsel, latency 64, IRQ 177 Memory at feaf9000 (32-bit, non-prefetchable) [size=4K] Capabilities: <access denied> [EMAIL PROTECTED]:~$ lsmod Module Size Used by nls_cp437 6912 1 vfat 14720 1 fat 56348 1 vfat binfmt_misc 13448 1 rfcomm 42260 0 l2cap 27136 5 rfcomm bluetooth 53476 4 rfcomm,l2cap fglrx 406988 8 speedstep_centrino 9760 1 cpufreq_powersave 2944 0 cpufreq_stats 7744 0 cpufreq_userspace 5408 1 cpufreq_ondemand 8876 0 cpufreq_conservative 8712 0 freq_table 6048 2 speedstep_centrino,cpufreq_stats tc1100_wmi 8324 0 video 17540 0 battery 11652 0 container 5632 0 sbs 16804 0 button 7952 0 pcc_acpi 14080 0 ipv6 272288 12 sony_acpi 6412 0 i2c_ec 6272 1 sbs i2c_core 23424 1 i2c_ec ac 6788 0 dev_acpi 12292 0 asus_acpi 17688 0 hotkey 11556 0 nls_utf8 3200 3 ntfs 112116 2 sbp2 24584 0 parport_pc 37796 0 lp 12964 0 parport 39496 2 parport_pc,lp sg 37404 0 sd_mod 22656 2 af_packet 24584 4 ipw2200 115652 0 tsdev 9152 0 pcmcia 40380 0 ieee80211 35272 1 ipw2200 ieee80211_crypt 7552 1 ieee80211 snd_hda_intel 20116 4 snd_hda_codec 164608 1 snd_hda_intel joydev 11200 0 sdhci 20108 0 mmc_core 32392 1 sdhci usbhid 45152 0 snd_pcm_oss 47360 0 snd_mixer_oss 19584 1 snd_pcm_oss snd_pcm 84612 4 snd_hda_intel,snd_hda_codec,snd_pcm_oss snd_timer 25348 2 snd_pcm usb_storage 75072 1 scsi_mod 144648 4 sbp2,sg,sd_mod,usb_storage libusual 17040 1 usb_storage yenta_socket 28812 1 rsrc_nonstatic 15360 1 yenta_socket pcmcia_core 43924 3 pcmcia,yenta_socket,rsrc_nonstatic snd 58372 12 snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer soundcore 11232 1 snd skge 40336 0 shpchp 42144 0 pci_hotplug 32828 1 shpchp snd_page_alloc 11400 2 snd_hda_intel,snd_pcm evdev 11392 4 intel_agp 26012 1 agpgart 34888 2 fglrx,intel_agp psmouse 41352 0 serio_raw 8452 0 pcspkr 4352 0 reiserfs 263936 1 ehci_hcd 34696 0 ohci1394 37040 0 ieee1394 306104 2 sbp2,ohci1394 uhci_hcd 24968 0 usbcore 134912 6 usbhid,usb_storage,libusual,ehci_hcd,uhci_hcd ide_generic 2432 0 ide_cd 33696 0 cdrom 38944 1 ide_cd ide_disk 18560 5 piix 11780 1 generic 5764 0 thermal 15624 0 processor 31560 2 speedstep_centrino,thermal fan 6020 0 fbcon 41504 0 tileblit 3840 1 fbcon font 9344 1 fbcon bitblit 7168 1 fbcon softcursor 3328 1 bitblit vesafb 9244 0 capability 5896 0 commoncap 8704 1 capability and bash info of standard init.d script. [EMAIL PROTECTED]:~# bash -x /etc/init.d/powernowd restart + PATH=/sbin:/bin:/usr/sbin:/usr/bin + DAEMON=/usr/sbin/powernowd + NAME=powernowd + DESC=powernowd + test -x /usr/sbin/powernowd + OPTIONS='-q -m 1 -p 100 -u 70 -l 10' + '[' -f /etc/default/powernowd ']' + . /etc/default/powernowd ++ OPTIONS='-q -m 1 -p 100 -u 70 -l 10' + . /lib/lsb/init-functions ++ '[' -e /etc/lsb-base-logging.sh ']' ++ . /etc/lsb-base-logging.sh + . /etc/default/rcS ++ TMPTIME=0 ++ SULOGIN=no ++ DELAYLOGIN=no ++ UTC=no ++ VERBOSE=no ++ FSCKFIX=no + '[' xno = xno ']' + MODPROBE_OPTIONS=' -Q' + export MODPROBE_OPTIONS + set -e + case "$1" in + /etc/init.d/powernowd stop * Stopping powernowd: [ ok ] + sleep 1 + /etc/init.d/powernowd start * Starting powernowd... [ ok ] + exit 0 Hope this helps. ** Affects: powernowd (Ubuntu) Importance: Undecided Status: Unconfirmed -- The issues powernowd init script. https://launchpad.net/bugs/74980 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs