新手上路
四星級會員
- 舊站積分
- 6295
- 舊站發表文章數
- 1683
|
發表於 2013-7-4 08:15:32
|
顯示全部樓層
原發表者是 solo16
[B]bchsieh,
tried your method to suspend some devices but after reboot i go to the directory and found out that under /power
there is only wakup and no control file?
and using lspci -vv i still saw those devices that suppose to be suspended...any idea?
thx! [/B]
請問solo16兄, 您用的linux是什麼distribution?
小弟用的是Ubuntu 12.10, 在power目錄裡, 有control這個檔案.
除非把裝置移除, 如:
echo 1 > /sys/bus/pci/devices/0000:00:01.0/remove
才不會出現在lspci -vv上.
小弟把完全無用的pci裝置都用此方法直接移除了, 當時聲音就乾淨不少.
這次會再提出suspend的方式, 是因為有某些裝置(如SMBus等)如果直接移除, 會無法開機.
而如果只是把裝置電源關掉, lspci -vv還是會顯示此裝置.
要看裝置是否被關掉電源, 要看runtime_status這個檔案的內容是否為suspend. |
|