Goracy laptop

Wszystko związane z jądrem systemowym, sterownikami, sprzętem itp.
imghostman
Posty: 8
Rejestracja: 18 sierpnia 2008, 11:18

Goracy laptop

Post autor: imghostman »

Witam,

Mam taki dziwny problem ze swoim laptopem - jest to model xps m1530. Problem polega na tym ze robi sie on dziwnie goracy pod lewa reka kolo touchpada takie zachowanie zaobserwowalem tylko na debianie bo na windowsie nic takie nie ma. Bardzo mozliwe ze to dysk bo niby on sie tam znajduje ale temperatura pokazuje tylko 40 stopni wiec nic by nie wynikalo ze cos jest nie tak.

Ktos spotkal sie z podobnym problemem?

Pozdrawam GM
Utumno
Beginner
Posty: 432
Rejestracja: 09 listopada 2008, 13:04
Lokalizacja: Gdansk

Post autor: Utumno »

Kod: Zaznacz cały

apt-get install powertop
i wklej wyniki polecenia powertop -d.
imghostman
Posty: 8
Rejestracja: 18 sierpnia 2008, 11:18

Post autor: imghostman »

Tak to wyglada:

Kod: Zaznacz cały

PowerTOP 1.10    (C) 2007, 2008 Intel Corporation 

Zbieranie danych przez 15 sekund 


Your CPU supports the following C-states : C1 C2 C3 C4 
Your BIOS reports the following C-states : C1 C2 C4 
Cn	          Avg residency
C0 (CPU aktywny)        (19,2%)
polling		  0,0ms ( 0,0%)
C1		  0,1ms ( 0,0%)
C2		  0,3ms ( 0,8%)
C4		  1,8ms (80,0%)
P-states (frequencies)
  2,00 GHz    27,4%
  1,67 GHz     0,5%
  1333 MHz     1,3%
  1000 MHz    70,8%
Wakeups-from-idle per second : 478,3	interval: 15,0s
szacowanie użycia energii ACPI jest niedostępne
Top causes for wakeups:
  26,6% (133,4)      <kernel IPI> : Rescheduling interrupts 
  18,4% ( 92,4)       <interrupt> : ahci, b43 
  10,9% ( 54,4)   USB device  5-1 : USB-PS/2 Optical Mouse (Logitech) 
  10,8% ( 54,3)       <interrupt> : ehci_hcd:usb2, uhci_hcd:usb3, uhci_hcd:usb5 
  10,8% ( 54,1)   operapluginwrap : schedule_timeout (process_timeout) 
   7,9% ( 39,6)             opera : schedule_timeout (process_timeout) 
   4,3% ( 21,7)       <interrupt> : ohci1394, eth0, nvidia 
   2,4% ( 12,0)     <kernel core> : usb_hcd_poll_rh_status (rh_timer_func) 
   1,5% (  7,5)       <interrupt> : ide0 
   0,5% (  2,7)   gnome-screensav : schedule_timeout (process_timeout) 
   0,4% (  2,0)   multiload-apple : schedule_timeout (process_timeout) 
   0,4% (  2,0)    cpufreq-applet : schedule_timeout (process_timeout) 
   0,3% (  1,6)               b43 : queue_delayed_work (delayed_work_timer_fn) 
   0,3% (  1,3)      <kernel IPI> : TLB shootdowns 
   0,3% (  1,3)       gnome-panel : schedule_timeout (process_timeout) 
   0,2% (  1,0)         nm-applet : schedule_timeout (process_timeout) 
   0,2% (  1,0)   <kernel module> : HostIF_InitUptime (HostIFUptimeResyncMono) 
   0,2% (  1,0)     <kernel core> : sky2_link_up (sky2_watchdog) 
   0,2% (  1,0)     <kernel core> : schedule_delayed_work_on (delayed_work_timer_fn) 
   0,2% (  1,0)              Xorg : nv_start_rc_timer (nv_kern_rc_timer) 
   0,2% (  1,0)            dhcdbd : schedule_timeout (process_timeout) 
   0,2% (  1,0)     <kernel core> : enqueue_task_rt (sched_rt_period_timer) 
   0,2% (  1,0)          nautilus : schedule_timeout (process_timeout) 
   0,2% (  0,9)              http : __nf_conntrack_confirm (death_by_timeout) 
   0,2% (  0,8)    gnome-terminal : schedule_timeout (process_timeout) 
   0,1% (  0,7)    NetworkManager : schedule_timeout (process_timeout) 
   0,1% (  0,7)             opera : sk_reset_timer (tcp_write_timer) 
   0,1% (  0,7)               b43 : schedule_timeout (process_timeout) 
   0,1% (  0,5)          cpufreqd : do_setitimer (it_real_fn) 
   0,1% (  0,5)      <kernel IPI> : function call interrupts 
   0,1% (  0,5)     <kernel core> : __nf_conntrack_confirm (death_by_timeout) 
   0,1% (  0,5)              Xorg : schedule_timeout (process_timeout) 
   0,1% (  0,5)     <kernel core> : neigh_table_init_no_netlink (neigh_periodic_timer) 
   0,1% (  0,5)        uml_switch : do_setitimer (it_real_fn) 
   0,1% (  0,5)    sensors-applet : schedule_timeout (process_timeout) 
   0,1% (  0,5)   hald-addon-stor : schedule_timeout (process_timeout) 
   0,1% (  0,5)       gnome-panel : do_nanosleep (hrtimer_wakeup) 
   0,1% (  0,5)             opera : __make_request (blk_unplug_timeout) 
   0,1% (  0,4)              Xorg : do_setitimer (it_real_fn) 
   0,1% (  0,3)   gnome-power-man : schedule_timeout (process_timeout) 
   0,1% (  0,3)          metacity : schedule_timeout (process_timeout) 
   0,0% (  0,2)     <kernel core> : __netdev_watchdog_up (dev_watchdog) 
   0,0% (  0,2)    mapping-daemon : schedule_timeout (process_timeout) 
   0,0% (  0,2)              init : schedule_timeout (process_timeout) 
   0,0% (  0,2)   update-notifier : schedule_timeout (process_timeout) 
   0,0% (  0,2)      avahi-daemon : __nf_ct_refresh_acct (death_by_timeout) 
   0,0% (  0,2)      avahi-daemon : schedule_timeout (process_timeout) 
   0,0% (  0,1)   <kernel module> : sta_info_start (sta_info_cleanup) 
   0,0% (  0,1)    sensors-applet : inet_twsk_schedule (inet_twdr_hangman) 
   0,0% (  0,1)     <kernel core> : cfq_completed_request (cfq_idle_slice_timer) 

A USB device is active 100,0% of the time:
USB device  1-1 : Laptop Integrated Webcam (OmniVision Technologies, Inc. -2640-07.07.20.3)

Suggestion: Enable USB autosuspend by pressing the U key or adding 
usbcore.autosuspend=1 to the kernel command line in the grub config

Podpowiedź: włącz zarządzanie zasilaniem łącza SATA ALPM przez: 
  echo min_power > /sys/class/scsi_host/host0/link_power_management_policy
lub naciśnij klawisz S.

Podpowiedź: włącz opcję noatime systemu plików wykonując poniższe polecenie:
   mount -o remount,noatime /          lub przez naciśnięcie klawisza T 
noatime wyłącza stały czas dostępu do plików, który powoduje dużo operacji wejścia/wyjścia dysku.

Suggestion: Disable 'hal' from polling your cdrom with:  
hal-disable-polling --device /dev/cdrom '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  6-1 : USB Keyboard (NOVATEK)
100,0%	USB device  5-1 : USB-PS/2 Optical Mouse (Logitech)
  0,0%	USB device usb7 : UHCI Host Controller (Linux 2.6.27.7 uhci_hcd)
100,0%	USB device usb6 : UHCI Host Controller (Linux 2.6.27.7 uhci_hcd)
100,0%	USB device  3-2 : Biometric Coprocessor (STMicroelectronics)
100,0%	USB device usb5 : UHCI Host Controller (Linux 2.6.27.7 uhci_hcd)
  0,0%	USB device usb4 : UHCI Host Controller (Linux 2.6.27.7 uhci_hcd)
100,0%	USB device usb3 : UHCI Host Controller (Linux 2.6.27.7 uhci_hcd)
100,0%	USB device  1-1 : Laptop Integrated Webcam (OmniVision Technologies, Inc. -2640-07.07.20.3)
  0,0%	USB device usb2 : EHCI Host Controller (Linux 2.6.27.7 ehci_hcd)
100,0%	USB device usb1 : EHCI Host Controller (Linux 2.6.27.7 ehci_hcd)
Utumno
Beginner
Posty: 432
Rejestracja: 09 listopada 2008, 13:04
Lokalizacja: Gdansk

Post autor: Utumno »

Hmm, lepiej by bylo jakbys uruchomil

Kod: Zaznacz cały

powertop -d
i przez te 15 sekund gdy zbiera dane absolutnie nic na komputerze nie robil (tutaj zakladam, ze cos robiles, bo widac ze CPU spedzilo 19.2% czasu w stanie C0, z tego 27% w czestotliwosci 2Ghz). Widac tez, ze ruszales mysza i pisales cos na klawiaturze... Ponadto, widac ze w czasie powertop -d laptop pracowal podlaczony do sieci!

Ale dobrze jest i juz widac pare problemow z zarzadzaniem energia:
  1. twoja kamera jest aktywna 100% czasu ( nawet jesli ja w tym czasie uzywales powinna wchodzic w stan autosuspend od czasu do czasu ) Dodaj parametr 'usbcore.autosuspend=1' do parametrow kernela i reboot,
  2. napisz maly skrypt startowy w /etc/init.d/ i dodaj do niego:

    Kod: Zaznacz cały

    echo min_power > /sys/class/scsi_host/host0/link_power_management_policy 
    hal-disable-polling --device /dev/cdrom
  3. dopisz do opcji w fstabie 'noatime' dla kazdej partycji (znaczaco zmniejszy zuzycie baterii i przyspieszy filesystem!),
  4. zainstaluj 'laptop-mode-tools' i skonfiguruj laptop-mode.conf
********************

Po zrobieniu powyzszego, znowu wklej wyniki polecenia 'powertop -d' , tym razem nic nie robiac na laptopie i w czasie, gdy dziala on na bateriach.

Przed powyzszymi trickami i po uruchom tez 'powertop' bez zadnych parametrow. Zobacz, ile watow ci ten laptop pobiera i czy tricki zdolaly poprawic sytuacje. Oczywiscie za kazdym razem wykonaj test w dokladnie ten sam sposob (na baterii, nie robiac niczego, zadne Opery nie maja chodzic, lista modulow ma byc ta sama, jasnosc ekranu ta sama, itp.).
imghostman
Posty: 8
Rejestracja: 18 sierpnia 2008, 11:18

Post autor: imghostman »

Witam,
Przed rekonfiguracją:
midgard:~# powertop -d
PowerTOP 1.10 (C) 2007, 2008 Intel Corporation

Zbieranie danych przez 15 sekund


Your CPU supports the following C-states : C1 C2 C3 C4
Your BIOS reports the following C-states : C1 C2 C4
Cn Avg residency
C0 (CPU aktywny) ( 1,2%)
polling 0,0ms ( 0,0%)
C1 0,0ms ( 0,0%)
C2 0,3ms ( 0,1%)
C4 9,1ms (98,8%)
P-states (frequencies)
2,00 GHz 100,0%
1,67 GHz 0,0%
1333 MHz 0,0%
1000 MHz 0,0%
Wakeups-from-idle per second : 110,2 interval: 15,0s
szacowanie użycia energii ACPI jest niedostępne
Top causes for wakeups:
39,8% ( 39,7) <interrupt> : ohci1394, eth0, nvidia
13,0% ( 13,0) <kernel IPI> : Rescheduling interrupts
12,0% ( 12,0) <kernel core> : usb_hcd_poll_rh_status (rh_timer_func)
8,4% ( 8,4) <interrupt> : ide0
4,7% ( 4,7) <kernel core> : __nf_conntrack_confirm (death_by_timeout)
3,7% ( 3,7) <interrupt> : ahci, b43
2,0% ( 2,0) multiload-apple : schedule_timeout (process_timeout)
1,9% ( 1,9) gnome-terminal : schedule_timeout (process_timeout)
1,0% ( 1,0) dhcdbd : schedule_timeout (process_timeout)
1,0% ( 1,0) <kernel core> : sky2_link_up (sky2_watchdog)
1,0% ( 1,0) cpufreq-applet : schedule_timeout (process_timeout)
1,0% ( 1,0) nm-applet : schedule_timeout (process_timeout)
1,0% ( 1,0) <kernel module> : HostIF_InitUptime (HostIFUptimeResyncMono)
1,0% ( 1,0) Xorg : nv_start_rc_timer (nv_kern_rc_timer)
0,9% ( 0,9) <kernel core> : schedule_delayed_work_on (delayed_work_timer_fn)
0,7% ( 0,7) NetworkManager : schedule_timeout (process_timeout)
0,5% ( 0,5) <kernel IPI> : function call interrupts
0,5% ( 0,5) uml_switch : do_setitimer (it_real_fn)
0,5% ( 0,5) sensors-applet : schedule_timeout (process_timeout)
0,5% ( 0,5) <kernel core> : neigh_table_init_no_netlink (neigh_periodic_timer)
0,5% ( 0,5) hald-addon-stor : schedule_timeout (process_timeout)
0,5% ( 0,5) cpufreqd : do_setitimer (it_real_fn)
0,4% ( 0,4) gnome-panel : schedule_timeout (process_timeout)
0,3% ( 0,3) nautilus : schedule_timeout (process_timeout)
0,3% ( 0,3) gnome-power-man : schedule_timeout (process_timeout)
0,3% ( 0,3) gconfd-2 : schedule_timeout (process_timeout)
0,2% ( 0,2) <kernel core> : __netdev_watchdog_up (dev_watchdog)
0,2% ( 0,2) update-notifier : schedule_timeout (process_timeout)
0,2% ( 0,2) b43 : schedule_timeout (process_timeout)
0,2% ( 0,2) init : schedule_timeout (process_timeout)
0,2% ( 0,2) mapping-daemon : schedule_timeout (process_timeout)
0,1% ( 0,1) <kernel module> : sta_info_start (sta_info_cleanup)
0,1% ( 0,1) sensors-applet : inet_twsk_schedule (inet_twdr_hangman)
0,1% ( 0,1) <interrupt> : uhci_hcd:usb4, uhci_hcd:usb6, HDA Intel
0,1% ( 0,1) rsyslogd : schedule_timeout (process_timeout)
0,1% ( 0,1) <kernel core> : input_handle_event (input_repeat_key)
0,1% ( 0,1) Xorg : schedule_timeout (process_timeout)
0,1% ( 0,1) gnome-volume-ma : schedule_timeout (process_timeout)
0,1% ( 0,1) <kernel core> : end_that_request_last (laptop_timer_fn)
0,1% ( 0,1) b43 : queue_delayed_work (delayed_work_timer_fn)
0,1% ( 0,1) <kernel core> : neigh_add_timer (neigh_timer_handler)
0,1% ( 0,1) rsyslogd : futex_wait (hrtimer_wakeup)
0,1% ( 0,1) cpufreqd : __nf_conntrack_confirm (death_by_timeout)
0,1% ( 0,1) cifsoplockd : schedule_timeout (process_timeout)
0,1% ( 0,1) <kernel core> : __nf_ct_refresh_acct (death_by_timeout)
0,1% ( 0,1) kerneloops : schedule_timeout (process_timeout)
0,1% ( 0,1) <kernel core> : enqueue_task_rt (sched_rt_period_timer)
0,1% ( 0,1) dbus-daemon : schedule_timeout (process_timeout)
0,1% ( 0,1) opera : __nf_conntrack_confirm (death_by_timeout)
0,1% ( 0,1) cifsdnotifyd : schedule_timeout (process_timeout)

A USB device is active 100,0% of the time:
USB device 1-1 : Laptop Integrated Webcam (OmniVision Technologies, Inc. -2640-07.07.20.3)

Suggestion: Enable USB autosuspend by pressing the U key or adding
usbcore.autosuspend=1 to the kernel command line in the grub config

Podpowiedź: włącz zarządzanie zasilaniem łącza SATA ALPM przez:
echo min_power > /sys/class/scsi_host/host0/link_power_management_policy
lub naciśnij klawisz S.

Podpowiedź: włącz opcję noatime systemu plików wykonując poniższe polecenie:
mount -o remount,noatime / lub przez naciśnięcie klawisza T
noatime wyłącza stały czas dostępu do plików, który powoduje dużo operacji wejścia/wyjścia dysku.

Suggestion: Disable 'hal' from polling your cdrom with:
hal-disable-polling --device /dev/cdrom '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 6-1 : USB Keyboard (NOVATEK)
100,0% USB device 5-1 : USB-PS/2 Optical Mouse (Logitech)
0,0% USB device usb7 : UHCI Host Controller (Linux 2.6.27.7 uhci_hcd)
100,0% USB device usb6 : UHCI Host Controller (Linux 2.6.27.7 uhci_hcd)
100,0% USB device 3-2 : Biometric Coprocessor (STMicroelectronics)
100,0% USB device usb5 : UHCI Host Controller (Linux 2.6.27.7 uhci_hcd)
0,0% USB device usb4 : UHCI Host Controller (Linux 2.6.27.7 uhci_hcd)
100,0% USB device usb3 : UHCI Host Controller (Linux 2.6.27.7 uhci_hcd)
100,0% USB device 1-1 : Laptop Integrated Webcam (OmniVision Technologies, Inc. -2640-07.07.20.3)
0,0% USB device usb2 : EHCI Host Controller (Linux 2.6.27.7 ehci_hcd)
100,0% USB device usb1 : EHCI Host Controller (Linux 2.6.27.7 ehci_hcd)
Po rekonfiguracji kernela przy włączonym zasilaniu:
midgard:~# powertop -d
PowerTOP 1.10 (C) 2007, 2008 Intel Corporation

Zbieranie danych przez 15 sekund


Your CPU supports the following C-states : C1 C2 C3 C4
Your BIOS reports the following C-states : C1 C2 C4
Cn Avg residency
C0 (CPU aktywny) ( 1,3%)
polling 0,0ms ( 0,0%)
C1 0,0ms ( 0,0%)
C2 0,7ms ( 0,0%)
C4 11,9ms (98,7%)
P-states (frequencies)
2,00 GHz 4,0%
1,67 GHz 0,0%
1333 MHz 0,0%
1000 MHz 96,0%
Wakeups-from-idle per second : 83,7 interval: 15,0s
szacowanie użycia energii ACPI jest niedostępne
Top causes for wakeups:
18,1% ( 14,6) <interrupt> : ohci1394, eth0, nvidia
14,9% ( 12,0) <kernel core> : usb_hcd_poll_rh_status (rh_timer_func)
13,7% ( 11,0) <kernel IPI> : Rescheduling interrupts
12,4% ( 10,0) <kernel core> : ehci_irq (ehci_watchdog)
10,0% ( 8,1) <interrupt> : ide0
4,4% ( 3,5) <interrupt> : ahci, b43
2,5% ( 2,0) gnome-terminal : schedule_timeout (process_timeout)
2,5% ( 2,0) multiload-apple : schedule_timeout (process_timeout)
1,4% ( 1,1) <kernel core> : __nf_conntrack_confirm (death_by_timeout)
1,2% ( 1,0) <kernel core> : sky2_link_up (sky2_watchdog)
1,2% ( 1,0) cpufreq-applet : schedule_timeout (process_timeout)
1,2% ( 1,0) <kernel module> : HostIF_InitUptime (HostIFUptimeResyncMono)
1,2% ( 1,0) Xorg : nv_start_rc_timer (nv_kern_rc_timer)
1,2% ( 1,0) dhcdbd : schedule_timeout (process_timeout)
1,2% ( 1,0) powernowd : do_nanosleep (hrtimer_wakeup)
1,2% ( 1,0) nm-applet : schedule_timeout (process_timeout)
1,2% ( 0,9) <kernel core> : schedule_delayed_work_on (delayed_work_timer_fn)
0,9% ( 0,7) <kernel core> : enqueue_task_rt (sched_rt_period_timer)
0,7% ( 0,6) NetworkManager : schedule_timeout (process_timeout)
0,7% ( 0,5) <kernel IPI> : function call interrupts
0,7% ( 0,5) hald-addon-stor : schedule_timeout (process_timeout)
0,7% ( 0,5) sensors-applet : schedule_timeout (process_timeout)
0,7% ( 0,5) uml_switch : do_setitimer (it_real_fn)
0,6% ( 0,5) nautilus : schedule_timeout (process_timeout)
0,6% ( 0,5) <kernel core> : neigh_table_init_no_netlink (neigh_periodic_timer)
0,5% ( 0,4) <interrupt> : ehci_hcd:usb2, uhci_hcd:usb3, uhci_hcd:usb5
0,5% ( 0,4) gnome-panel : schedule_timeout (process_timeout)
0,5% ( 0,4) USB device 5-1 : USB-PS/2 Optical Mouse (Logitech)
0,3% ( 0,3) gnome-power-man : schedule_timeout (process_timeout)
0,2% ( 0,2) mapping-daemon : schedule_timeout (process_timeout)
0,2% ( 0,2) <kernel core> : __netdev_watchdog_up (dev_watchdog)
0,2% ( 0,2) init : schedule_timeout (process_timeout)
0,2% ( 0,2) update-notifier : schedule_timeout (process_timeout)
0,2% ( 0,2) b43 : schedule_timeout (process_timeout)
0,2% ( 0,1) Xorg : do_setitimer (it_real_fn)
0,2% ( 0,1) kerneloops : schedule_timeout (process_timeout)
0,1% ( 0,1) <interrupt> : uhci_hcd:usb4, uhci_hcd:usb6, HDA Intel
0,1% ( 0,1) <kernel IPI> : TLB shootdowns
0,1% ( 0,1) <kernel core> : input_handle_event (input_repeat_key)
0,1% ( 0,1) Xorg : schedule_timeout (process_timeout)
0,1% ( 0,1) cifsoplockd : schedule_timeout (process_timeout)
0,1% ( 0,1) <kernel core> : neigh_add_timer (neigh_timer_handler)
0,1% ( 0,1) gnome-volume-ma : schedule_timeout (process_timeout)
0,1% ( 0,1) cifsdnotifyd : schedule_timeout (process_timeout)
0,1% ( 0,1) rsyslogd : schedule_timeout (process_timeout)
0,1% ( 0,1) b43 : queue_delayed_work (delayed_work_timer_fn)
0,1% ( 0,1) sensors-applet : inet_twsk_schedule (inet_twdr_hangman)
0,1% ( 0,1) <kernel module> : sta_info_start (sta_info_cleanup)
0,1% ( 0,1) gconfd-2 : schedule_timeout (process_timeout)
0,1% ( 0,1) nautilus : __nf_conntrack_confirm (death_by_timeout)

A USB device is active 100,0% of the time:
USB device 1-1 : Laptop Integrated Webcam (OmniVision Technologies, Inc. -2640-07.07.20.3)

Suggestion: Enable USB autosuspend by pressing the U key or adding
usbcore.autosuspend=1 to the kernel command line in the grub config

Podpowiedź: włącz zarządzanie zasilaniem łącza SATA ALPM przez:
echo min_power > /sys/class/scsi_host/host0/link_power_management_policy
lub naciśnij klawisz S.

Suggestion: Disable 'hal' from polling your cdrom with:
hal-disable-polling --device /dev/cdrom '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 6-1 : USB Keyboard (NOVATEK)
100,0% USB device 5-1 : USB-PS/2 Optical Mouse (Logitech)
0,0% USB device usb7 : UHCI Host Controller (Linux 2.6.27.7 uhci_hcd)
100,0% USB device usb6 : UHCI Host Controller (Linux 2.6.27.7 uhci_hcd)
100,0% USB device 3-2 : Biometric Coprocessor (STMicroelectronics)
100,0% USB device usb5 : UHCI Host Controller (Linux 2.6.27.7 uhci_hcd)
0,0% USB device usb4 : UHCI Host Controller (Linux 2.6.27.7 uhci_hcd)
100,0% USB device usb3 : UHCI Host Controller (Linux 2.6.27.7 uhci_hcd)
100,0% USB device 1-1 : Laptop Integrated Webcam (OmniVision Technologies, Inc. -2640-07.07.20.3)
0,0% USB device usb2 : EHCI Host Controller (Linux 2.6.27.7 ehci_hcd)
100,0% USB device usb1 : EHCI Host Controller (Linux 2.6.27.7 ehci_hcd)
midgard:~#
Przy wyłączonym eth i innnych I/O klawiaturze i myszce:
midgard:~# powertop -d
PowerTOP 1.10 (C) 2007, 2008 Intel Corporation

Zbieranie danych przez 15 sekund


Your CPU supports the following C-states : C1 C2 C3 C4
Your BIOS reports the following C-states : C1 C2 C4
Cn Avg residency
C0 (CPU aktywny) ( 1,2%)
polling 0,0ms ( 0,0%)
C1 0,0ms ( 0,0%)
C2 0,9ms ( 0,1%)
C4 15,2ms (98,7%)
P-states (frequencies)
2,00 GHz 1,7%
1,67 GHz 0,0%
1333 MHz 0,0%
1000 MHz 98,3%
Wakeups-from-idle per second : 66,1 interval: 15,0s
Użycie zasilania (szacunek ACPI): 21,8W (2,6 godzin)
Top causes for wakeups:
23,2% ( 13,1) <kernel IPI> : Rescheduling interrupts
17,7% ( 10,0) <kernel core> : ehci_irq (ehci_watchdog)
12,5% ( 7,1) <interrupt> : ide0
7,1% ( 4,0) <kernel core> : usb_hcd_poll_rh_status (rh_timer_func)
4,8% ( 2,7) <interrupt> : ahci, b43
3,5% ( 2,0) multiload-apple : schedule_timeout (process_timeout)
3,2% ( 1,8) gnome-terminal : schedule_timeout (process_timeout)
1,8% ( 1,0) <interrupt> : ohci1394, eth0, nvidia
1,8% ( 1,0) <kernel core> : sky2_link_up (sky2_watchdog)
1,8% ( 1,0) <kernel module> : HostIF_InitUptime (HostIFUptimeResyncMono)
1,8% ( 1,0) Xorg : nv_start_rc_timer (nv_kern_rc_timer)
1,8% ( 1,0) cpufreq-applet : schedule_timeout (process_timeout)
1,8% ( 1,0) powernowd : do_nanosleep (hrtimer_wakeup)
1,8% ( 1,0) nm-applet : schedule_timeout (process_timeout)
1,8% ( 1,0) dhcdbd : schedule_timeout (process_timeout)
1,6% ( 0,9) <kernel core> : schedule_delayed_work_on (delayed_work_timer_fn)
1,2% ( 0,7) NetworkManager : schedule_timeout (process_timeout)
0,9% ( 0,5) <kernel IPI> : function call interrupts
0,9% ( 0,5) hald-addon-stor : schedule_timeout (process_timeout)
0,9% ( 0,5) sensors-applet : schedule_timeout (process_timeout)
0,9% ( 0,5) uml_switch : do_setitimer (it_real_fn)
0,8% ( 0,5) <kernel core> : enqueue_task_rt (sched_rt_period_timer)
0,8% ( 0,5) gnome-panel : schedule_timeout (process_timeout)
0,8% ( 0,5) <kernel core> : neigh_table_init_no_netlink (neigh_periodic_timer)
0,7% ( 0,4) nautilus : schedule_timeout (process_timeout)
0,6% ( 0,3) gnome-power-man : schedule_timeout (process_timeout)
0,4% ( 0,2) Xorg : schedule_timeout (process_timeout)
0,4% ( 0,2) update-notifier : schedule_timeout (process_timeout)
0,4% ( 0,2) init : schedule_timeout (process_timeout)
0,4% ( 0,2) mapping-daemon : schedule_timeout (process_timeout)
0,4% ( 0,2) b43 : schedule_timeout (process_timeout)
0,2% ( 0,1) Xorg : do_setitimer (it_real_fn)
0,2% ( 0,1) sensors-applet : inet_twsk_schedule (inet_twdr_hangman)
0,2% ( 0,1) <kernel module> : sta_info_start (sta_info_cleanup)
0,1% ( 0,1) <interrupt> : PS/2 keyboard/mouse/touchpad
0,1% ( 0,1) <kernel IPI> : TLB shootdowns
0,1% ( 0,1) kerneloops : schedule_timeout (process_timeout)
0,1% ( 0,1) sensors-applet : __nf_ct_refresh_acct (death_by_timeout)
0,1% ( 0,1) gnome-volume-ma : schedule_timeout (process_timeout)
0,1% ( 0,1) cifsdnotifyd : schedule_timeout (process_timeout)
0,1% ( 0,1) rsyslogd : schedule_timeout (process_timeout)
0,1% ( 0,1) b43 : queue_delayed_work (delayed_work_timer_fn)
0,1% ( 0,1) gconfd-2 : schedule_timeout (process_timeout)

A USB device is active 100,0% of the time:
USB device 1-1 : Laptop Integrated Webcam (OmniVision Technologies, Inc. -2640-07.07.20.3)

Suggestion: Enable USB autosuspend by pressing the U key or adding
usbcore.autosuspend=1 to the kernel command line in the grub config

Podpowiedź: włącz zarządzanie zasilaniem łącza SATA ALPM przez:
echo min_power > /sys/class/scsi_host/host0/link_power_management_policy
lub naciśnij klawisz S.

Suggestion: Disable 'hal' from polling your cdrom with:
hal-disable-polling --device /dev/cdrom '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
0,0% USB device usb7 : UHCI Host Controller (Linux 2.6.27.7 uhci_hcd)
0,0% USB device usb6 : UHCI Host Controller (Linux 2.6.27.7 uhci_hcd)
100,0% USB device 3-2 : Biometric Coprocessor (STMicroelectronics)
0,0% USB device usb5 : UHCI Host Controller (Linux 2.6.27.7 uhci_hcd)
0,0% USB device usb4 : UHCI Host Controller (Linux 2.6.27.7 uhci_hcd)
100,0% USB device usb3 : UHCI Host Controller (Linux 2.6.27.7 uhci_hcd)
100,0% USB device 1-1 : Laptop Integrated Webcam (OmniVision Technologies, Inc. -2640-07.07.20.3)
0,0% USB device usb2 : EHCI Host Controller (Linux 2.6.27.7 ehci_hcd)
100,0% USB device usb1 : EHCI Host Controller (Linux 2.6.27.7 ehci_hcd)
midgard:~#
Dodałem usbcore.autosuspend=1 więc nie wiem czemu nadal mi to wyświetla tak samo jeśli chodzi o 100% zużycia kamerę, której nie używam tak samo identyfikacja odcisku palca:

Kod: Zaznacz cały

title		Debian GNU/Linux, kernel 2.6.27.7
root		(hd0,5)
kernel		/boot/vmlinuz-2.6.27.7 root=/dev/sda6 ro vga=791 quiet i8042.nomux=1 usbcore.autosuspend=1
initrd		/boot/initrd.img-2.6.27.7
Utumno
Beginner
Posty: 432
Rejestracja: 09 listopada 2008, 13:04
Lokalizacja: Gdansk

Post autor: Utumno »

21,8W ... Duzo. Nic dziwnego ze laptop robi sie goracy.

Na pewno czescia problemu sa urzadzenia USB. Wyglada na to ze wszystkie jada na 100%, nawet mimo usbcore.autosuspend. Dlaczego to nie dziala?

Np mozesz nie miec zdefiniowane CONFIG_USB_SUSPEND w kernelu. Sprawdz w swoim configu.

Podaj tez wyniki polecenia

Kod: Zaznacz cały

grep "" /sys/bus/usb/devices/*/power/level
imghostman
Posty: 8
Rejestracja: 18 sierpnia 2008, 11:18

Post autor: imghostman »

Właśnie przy ostatniej kompilacji kernela zaznaczyłem to sobie:

Kod: Zaznacz cały

midgard:/usr/src/linux-2.6.27.7# cat .config | grep CONFIG_USB_SUSPEND
CONFIG_USB_SUSPEND=y

Kod: Zaznacz cały

midgard:~# grep "" /sys/bus/usb/devices/*/power/level
/sys/bus/usb/devices/1-1/power/level :o n
/sys/bus/usb/devices/3-2/power/level :o n
/sys/bus/usb/devices/5-1/power/level :o n
/sys/bus/usb/devices/6-1/power/level :o n
/sys/bus/usb/devices/usb1/power/level:auto
/sys/bus/usb/devices/usb2/power/level:auto
/sys/bus/usb/devices/usb3/power/level:auto
/sys/bus/usb/devices/usb4/power/level:auto
/sys/bus/usb/devices/usb5/power/level:auto
/sys/bus/usb/devices/usb6/power/level:auto
/sys/bus/usb/devices/usb7/power/level:auto
Jakieś inne pomysły?
witek
Beginner
Posty: 117
Rejestracja: 16 kwietnia 2007, 12:39
Lokalizacja: Piekary ¦l±skie

Post autor: witek »

W Archu mam to samo. W kernelu jest dobrze:

Kod: Zaznacz cały

bash-3.2# cd /usr/src/linux-2.6.27-ARCH/
bash-3.2# cat .config |grep CONFIG_USB_SUSPEND
CONFIG_USB_SUSPEND=y
i mimo dopisania w menu grub nadal urządzenia USB jadą na 100%. Co ciekawe jak w powertop włączę tryb suspend ald USB - podpowiedź z klawiszem U to jest dobrze ale tylko do kolejnego restartu. Przeczytałem też aby:

Kod: Zaznacz cały

options usbcore autosuspend=1
dodać do:

Kod: Zaznacz cały

/etc/modprobe.d/options
ale to też nic nie daje :(
imghostman
Posty: 8
Rejestracja: 18 sierpnia 2008, 11:18

Post autor: imghostman »

Witam,

Zaobserwowalem dziwna rzecz a mianowicie tak mi sie wydaje ze te cieplo ktore idzie pod lewa reka to ide od touchpada albo moze od plyty glownej ktora znajduje sie pod toupchpadem? Dobrze mowie czy sie myle?
witek
Beginner
Posty: 117
Rejestracja: 16 kwietnia 2007, 12:39
Lokalizacja: Piekary ¦l±skie

Post autor: witek »

Tego nie wiem, ja po tej stronie mam kratkę wentylacyjną i widać jakąś elektronikę plus śrubki :)
ODPOWIEDZ