Hello,

I'm sorry to write you directly, but I sent an eMail to the mailing list
last tuesday and I can't even see it in the mailing list's archives,
so I guess it was discarded as spam or something like this...

Below is the message I sent to the mailing list last tuesday
(plus some additional information about my system and software versions)


I have a few questions / issues:
(I'm running an up-to-date version of powertop from the subversion repository
and AFAICT all relevant kernel options are enabled.)

1. I have a SATA-CD/DVD drive and a CardReader with 4 slots which is connected 
via USB.
   hal tries to poll every one of these five drives, so powertop's hard coded
   suggestion to run "hal-disable-polling --device /dev/scd0" is no longer 
correct.

2. The newest version of hal no longer kills the hald-addon-storage process.
   Instead it runs as
   "hald-addon-storage: no polling on /dev/sr0 because it is explicitly 
disabled".
   I have now five of these processes running and they apparently wake up often
   enough to trigger powertop's suggestion to disable polling... but as it's
   already disabled, that suggestion is misleading.

3. powertop suggests to enable SATA ALPM link power management, but it doesn't 
work:
 > # echo min_power > /sys/class/scsi_host/host0/link_power_management_policy
 > # cat /sys/class/scsi_host/host0/link_power_management_policy
 > max_performance

4. powertop -d reports that the CardReader is active 100.0% of the time even 
though
   every one of it's slots is empty.
   I told powertop to enable USB autosuspend, but that doesn't seem to make a 
difference.

Any ideas why SATA ALPM link power management doesn't work and why the 
CardReader is
always active?

Please CC me, as I'm not subscribed to the mailing list.

I'm running Fedora 9 with all current updates:
kernel-2.6.25.3-18.fc9.x86_64
hal-0.5.11-1.fc9.x86_64


Regards,
Thomas

PowerTOP 1.10    (C) 2007, 2008 Intel Corporation 

Collecting data for 15 seconds 


< Detailed C-state information is not available.>
P-states (frequencies)
  3.00 Ghz     0.4%
  2.67 Ghz     0.0%
  2.34 Ghz     0.0%
  2.00 Ghz    99.6%
Wakeups-from-idle per second : 32.8     interval: 15.0s
no ACPI power usage estimate available
Top causes for wakeups:
  16.2% (  4.0)            iscsid : schedule_timeout (process_timeout) 
  16.2% (  4.0)   <kernel module> : usb_hcd_poll_rh_status (rh_timer_func) 
  10.8% (  2.7)   hald-addon-stor : schedule_timeout (process_timeout) 
   8.1% (  2.0)           xfsbufd : schedule_timeout (process_timeout) 
   8.1% (  2.0)           xfsaild : schedule_timeout (process_timeout) 
   8.1% (  2.0)     <kernel core> : clocksource_register (clocksource_watchdog) 
   4.0% (  1.0)            iscsid : do_nanosleep (hrtimer_wakeup) 
   4.0% (  1.0)              ntpd : do_adjtimex (sync_cmos_clock) 
   3.8% (  0.9)       <interrupt> : uhci_hcd:usb4, ahci 
   2.4% (  0.6)       <interrupt> : eth0 
   2.2% (  0.5)     <kernel core> : neigh_table_init_no_netlink 
(neigh_periodic_timer) 
   1.9% (  0.5)       gnome-panel : schedule_timeout (process_timeout) 
   1.9% (  0.5)        pulseaudio : schedule_timeout (process_timeout) 
   1.9% (  0.5)          libvirtd : br_stp_enable_bridge 
(br_hello_timer_expired) 
   1.9% (  0.5)     <kernel core> : e1000_intr (e1000_watchdog) 
   1.1% (  0.3)      <kernel IPI> : Rescheduling interrupts 
   0.8% (  0.2)   pam_timestamp_c : schedule_timeout (process_timeout) 
   0.8% (  0.2)          nautilus : schedule_timeout (process_timeout) 
   0.8% (  0.2)          sendmail : schedule_timeout (process_timeout) 
   0.8% (  0.2)          events/1 : __netdev_watchdog_up (dev_watchdog) 
   0.8% (  0.2)      clock-applet : schedule_timeout (process_timeout) 
   0.5% (  0.1)         ssh-agent : schedule_timeout (process_timeout) 
   0.5% (  0.1)        kerneloops : schedule_timeout (process_timeout) 
   0.5% (  0.1)   gnome-power-man : schedule_timeout (process_timeout) 
   0.3% (  0.1)          gconfd-2 : schedule_timeout (process_timeout) 
   0.3% (  0.1)          libvirtd : br_stp_enable_bridge (br_fdb_cleanup) 
   0.3% (  0.1)          xfssyncd : schedule_timeout (process_timeout) 
   0.3% (  0.1)          rsyslogd : schedule_timeout (process_timeout) 
   0.3% (  0.1)     <kernel core> : page_writeback_init (wb_timer_fn) 
   0.3% (  0.1)              ntpd : schedule_timeout (process_timeout) 
   0.3% (  0.1)       dbus-daemon : schedule_timeout (process_timeout) 

A USB device is active 100.0% of the time:
USB device  2-5 : Winter Ver1.3    (        Ltd)

Suggestion: Enable SATA ALPM link power management via: 
  echo min_power > /sys/class/scsi_host/host0/link_power_management_policy
or press the S key.

Suggestion: Disable 'hal' from polling your cdrom with:  
hal-disable-polling --device /dev/scd0 'hal' is the component that auto-opens a
window if you plug in a CD but disables SATA power saving from kicking in.

Recent USB suspend statistics
Active  Device name
100.0%  USB device  5-2 : USB Receiver (Logitech)
  0.0%  USB device usb8 : UHCI Host Controller (Linux 2.6.25.3-18.fc9.x86_64 
uhci_hcd)
  0.0%  USB device usb7 : UHCI Host Controller (Linux 2.6.25.3-18.fc9.x86_64 
uhci_hcd)
  0.0%  USB device usb6 : UHCI Host Controller (Linux 2.6.25.3-18.fc9.x86_64 
uhci_hcd)
100.0%  USB device  2-5 : Winter Ver1.3    (        Ltd)
100.0%  USB device usb5 : UHCI Host Controller (Linux 2.6.25.3-18.fc9.x86_64 
uhci_hcd)
  0.0%  USB device usb4 : UHCI Host Controller (Linux 2.6.25.3-18.fc9.x86_64 
uhci_hcd)
  0.0%  USB device usb3 : UHCI Host Controller (Linux 2.6.25.3-18.fc9.x86_64 
uhci_hcd)
100.0%  USB device usb2 : EHCI Host Controller (Linux 2.6.25.3-18.fc9.x86_64 
ehci_hcd)
  0.0%  USB device usb1 : EHCI Host Controller (Linux 2.6.25.3-18.fc9.x86_64 
ehci_hcd)

68        2255     1  0 10:45 ?        00:00:00 hald
root      2259  2255  0 10:45 ?        00:00:00  \_ hald-runner
root      2340  2259  0 10:46 ?        00:00:00      \_ hald-addon-input: 
Listening on /dev/input/event2 /dev/input/event1 /dev/input/event4 
/dev/input/event3
root      2353  2259  0 10:46 ?        00:00:00      \_ 
/usr/libexec/hald-addon-cpufreq
68        2354  2259  0 10:46 ?        00:00:00      \_ hald-addon-acpi: 
listening on acpid socket /var/run/acpid.socket
root      2355  2259  0 10:46 ?        00:00:00      \_ hald-addon-storage: no 
polling on /dev/sdc because it is explicitly disabled
root      2357  2259  0 10:46 ?        00:00:00      \_ hald-addon-storage: no 
polling on /dev/sdd because it is explicitly disabled
root      2359  2259  0 10:46 ?        00:00:00      \_ hald-addon-storage: no 
polling on /dev/sde because it is explicitly disabled
root      2361  2259  0 10:46 ?        00:00:00      \_ hald-addon-storage: no 
polling on /dev/sdf because it is explicitly disabled
root      2387  2259  0 10:46 ?        00:00:00      \_ hald-addon-storage: no 
polling on /dev/sr0 because it is explicitly disabled


_______________________________________________
Power mailing list
[email protected]
http://www.bughost.org/mailman/listinfo/power

Reply via email to