忘記密碼
 立即註冊
樓主: BYOB

打造終極 HiEnd HTPC - Linux 哇塞!

[複製鏈接]

0

主題

165

回帖

0

積分

新手上路

二星級會員

舊站積分
171
舊站發表文章數
165
發表於 2013-7-12 01:56:49 | 顯示全部樓層
hi bchsieh,

thanks anyway!!!

16

主題

1772

回帖

0

積分

新手上路

四星級會員

舊站積分
6295
舊站發表文章數
1683
發表於 2013-7-14 19:20:41 | 顯示全部樓層
小弟再報告一下已經用了好一陣子, 自動硬碟停轉的設定法.

小弟是將
hdparm -S 120 /dev/sda 放入開機程序中
這樣只要硬碟停止使用10分鐘後, 就會自動停止轉動, 進入standby狀態.
如果硬碟一直無法進入standby狀態, 就表示有程式不斷讀寫硬碟.
(其實還可以更進一步shutdown硬碟 (sleep mode),
但是小弟只能成功直接下指令shutdown硬碟,
還沒成功試出standby後幾分鐘自動shutdown硬碟).

有個方式可以很容易查出是哪個檔案最近被改變:
find /bin /dev /etc /home /lib /media /mnt /opt /root /sbin /srv /tmp /usr /var -cmin 5
最後那個5, 就是找出所列出的目錄中, 在最近五分鐘內有改變過的檔案.
小弟就是用這個方法找出, mpd的log和status兩個檔案會在音樂播放中持續被寫入,
所以改變mpd.conf將log放在/tmp裡, 並取消status設定.
而小弟的/tmp是ramdisk, 所以不會動到實體硬碟.

另外, fstab裡面要設定noatime才行.

硬碟停轉的時間不宜設定太短, 因為硬碟的反覆啟動, 會讓硬碟快速折壽.

0

主題

165

回帖

0

積分

新手上路

二星級會員

舊站積分
171
舊站發表文章數
165
發表於 2013-7-15 22:13:10 | 顯示全部樓層
hi bchsieh,

I have taken an alternatively way to "disable" the devices however I am not 100% sure whether it is worked as expected or not.

I simply echo 1 /remove those "devices" which I don't need before playback. I have tried a method to "test"; I have an external sata hdd for storing music so after i copied to the ram i put it sleep and then switch it off. Then i remove those devices as above including the sata chipset then I restart the hdd again and it doesn't recognize the drive. However in terms of sound I couldn't feel It is clean as you mentioned before so could you please kindly justify if it is working the same way as your method?

Thanks so much!

16

主題

1772

回帖

0

積分

新手上路

四星級會員

舊站積分
6295
舊站發表文章數
1683
發表於 2013-7-15 23:41:01 | 顯示全部樓層
原發表者是 solo16
[B]hi bchsieh,

I have taken an alternatively way to "disable" the devices however I am not 100% sure whether it is worked as expected or not.

I simply echo 1 /remove those "devices" which I don't need before playback. I have tried a method to "test"; I have an external sata hdd for storing music so after i copied to the ram i put it sleep and then switch it off. Then i remove those devices as above including the sata chipset then I restart the hdd again and it doesn't recognize the drive. However in terms of sound I couldn't feel It is clean as you mentioned before so could you please kindly justify if it is working the same way as your method?

Thanks so much! [/B]


solo16兄,

這跟小弟之前的發現很一致.
小弟之前做過實驗, echo 1 到 remove裡, 雖然裝置消失了,
但聲音比不上把power control設成auto, 並把裝置 echo到unbind裡.
小弟強烈懷疑, 把裝置remove, 所以硬體脫離linux作業系統管理,
也因此linux無法將裝置的電源關掉, 讓硬體持續通電中 (雖然無作用).
而如果讓power control設定成auto, 並把裝置丟入unbind,
就是告訴linux, 我不用這個裝置了, 所以power control會自動關閉這個硬體的電源.
這時候lspci仍然看得到裝置, 因為要管理電源, 裝置必須仍在linux掌握中.

0

主題

165

回帖

0

積分

新手上路

二星級會員

舊站積分
171
舊站發表文章數
165
發表於 2013-7-16 09:13:54 | 顯示全部樓層
hi bchsieh,

Thanks so much for such details answer!!!

Cheers!

16

主題

1772

回帖

0

積分

新手上路

四星級會員

舊站積分
6295
舊站發表文章數
1683
發表於 2013-7-16 09:39:36 | 顯示全部樓層
原發表者是 solo16
[B]hi bchsieh,

Thanks so much for such details answer!!!

Cheers! [/B]


不過要恭喜solo16兄的是, 從您的實驗中可以證實,
您的硬碟和sata線, 對聲音的影響微乎其微,
這是可喜可賀的事情.

以小弟的系統來說, 關掉北橋和SMBus, 聲音差別最大, 是很明顯的那種差別.
把硬碟停機, sata chipset關掉, 聲音的差別不是很明顯,
得在環境安靜, 心平氣和的情況下才聽得出來.

0

主題

165

回帖

0

積分

新手上路

二星級會員

舊站積分
171
舊站發表文章數
165
發表於 2013-7-16 16:09:55 | 顯示全部樓層
hi bchsieh,

i think it's because i'm using ramboot. my experiment shows that after ramboot the traditional hdd is relatively low to none in terms of the "pollution" like you said it has to be ultra attention to be able to hear the different between on n off with traditional hdd, however the SSD is much much much more pollutive then I thought although it's not mounted i still can tell the different by switch off it and I take a step further as well I moved the powersupply of the ssd away from the audio chain.

cheers![]

16

主題

1772

回帖

0

積分

新手上路

四星級會員

舊站積分
6295
舊站發表文章數
1683
發表於 2013-7-16 18:36:29 | 顯示全部樓層
原發表者是 solo16
[B]hi bchsieh,

i think it's because i'm using ramboot. my experiment shows that after ramboot the traditional hdd is relatively low to none in terms of the "pollution" like you said it has to be ultra attention to be able to hear the different between on n off with traditional hdd, however the SSD is much much much more pollutive then I thought although it's not mounted i still can tell the different by switch off it and I take a step further as well I moved the powersupply of the ssd away from the audio chain.

cheers![] [/B]


solo16兄,

是的, P900前輩也證實, SSD的干擾非常大.

小弟目前的系統雖然不是ramboot, 但是在硬碟干擾防止上, 應該跟ramboot有異曲同工的地方.
小弟一直沒把SSD裝上, 目前OS和音樂是放在相同一顆硬碟上的不同分割區.
但是以目前小弟的系統設定, 音樂開始播放後,
硬碟不會有任何讀寫動作, 並且會在10分鐘後進入停轉待機.
所以完全不會有影響.

之後等小弟實驗成功硬碟自動休眠, 就算是把SSD裝上系統, 干擾應該也可以減到很低.

16

主題

1772

回帖

0

積分

新手上路

四星級會員

舊站積分
6295
舊站發表文章數
1683
發表於 2013-8-6 17:49:53 | 顯示全部樓層
cubieboard II 出現了.
雙核心, 更高速的記憶體....
看來cubieboard買太早了.. []

http://cubieboard.org/2013/06/19/cubieboard2-is-here/

28

主題

126

回帖

0

積分

新手上路

初級會員

舊站積分
97
舊站發表文章數
36
發表於 2013-8-18 14:43:14 | 顯示全部樓層
Cubieboard2卡關...

似乎沒看到有安裝hiface driver的教學阿orz
reviw33有一篇教學,有成功安裝snd-usb-asyncaudio辨識到hiface,
但mpd一直啟動失敗,加上Fedora 19不知道為啥...很慢...
沒有Debian那麼順暢,偏偏現在Cubieboard2能使用的Debian的kernel為3.3~3.4,
要是有kernel 3.6.11+就能按照Raspberry Pi的教學安裝snd-usb-asyncaudio嚕說..

資源比較多的Raspberry Pi倒是一下就完成snd-usb-asyncaudio和mpd的設定跟安裝
您需要登錄後才可以回帖 登錄 | 立即註冊

本版積分規則

Archiver|MyAV視聽商情網 test

GMT+8, 2026-11-19 19:46 , Processed in 0.321548 second(s), 41 queries .

Powered by MyAV!

快速回覆 返回頂部 返回列表