我的CAS 系統 (Updated: 25/3/2013)
本帖最後由 chiho80 於 2013-3-25 01:44 編輯啱啱set up 左套CAS 係屋企睇戲同聽歌
諗住上黎分享下.. 用料唔係特別貴,純粹分享
... 可能要分幾日打,因為打得慢,又無乜時間係屋企打...
入正題
器材設定
宜家我D VIDEO 同埋歌 (MP3,AIFF,FLAC) 都係放係Synology NAS 度
跟住用cubox pro ( 多謝anthony ching 既blog,我先認識到呢個cubox )行GeeXBox做OS,用軟件 XBMC (Video ) 同 MPD ( 2 channel audio ) , 經NFS, SMB 去NAS read file
再出ps audio nuwave dac 再去int amp (audio ) / AV Amp ( Video )
要分開用XBMC 同MPD 既原因係我想用DAC 聽歌,AV AMP 出5.1
係XBMC度, 我用cubox built in 既chipset 去send PCM / dolby / dts signal 比AV AMP
而MPD度,我就SET 左用usb 去DAC,直接係DAC decode
講多少少,我個DAC 除左比CUBOX用外,仲有用bluray 機(marantz ud5005 用coaxial)播CD, 同apple tv 用optical ( 主要係有時airplay 用)。
Set up 過程
OS
最初收到cubox 一開,第一個感覺係.....
咁慢既....
我平時都有用linux ,好耐無用過咁慢既linux.....
跟住開始睇spec 同埋搵左一輪forum...
發現佢行embedded linux 都有幾多limitation
跟住見到有個叫做GeeXBox 既OS,就諗住不如試下
一試就覺得唔錯,只要將個GZ file unzip 去張linux ext4 format 既咭度,就可以用
一開就入到xbmc 喇!
XBMC
入到XBMC,就開始入set up menu., 搵返隻synology NAS, 用uPNP 黎link up cubox 同NAS,播歌同video 都好似無問題咁
跟住第一個問題出現喇!點解D 中文字變晒格仔既......
上網睇forum,原來係個skin 既font 問題
咁轉下skin , 用返arial 字型,就出返中文字喇!
好開心咁聽下歌仔.... 跟住又睇下video
乜都得!好似好勁咁喎!
快手去download D 5.1 TV 黎睇
點解..... 得2.0 即既... 明明係hardware decode 架
又上網搵下....
發現係settings入面audio out 既問題
跟住就set 返用custom , HW:0,0 做setting
再開video 就變左5.1 喇
張圖唔係好清,不過都睇住先喇
USB DAC
USB DAC 係有D麻煩既一個set up
因為如果出唔到聲唔知係driver 問題,dac 問題
為左呢D 問題,上網睇左好耐forum, 最後決定先用aplay 黎試下個DAC,再用MPD set audio output 去output music
aplay 用法好簡單,只要用個command " aplay -D devname filename " 就可以play wav file
但係問題係devname 係點搵
跟返XBMC 既setting, 其實個名係由三部份組成, hw:0,0 -> name:dev_sub_id,dev_id
用aplay -L 就可以見到USB DAC 係未比個LINUX 搵到,同埋佢既名同dev_id
下面係我係我部cubox 行出黎既結果:
# aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
dmixer
mpdmixer
dsp0
default:CARD=SPDIF
Kirkwood S/PDIF,
Default Audio Device
sysdefault:CARD=SPDIF
Kirkwood S/PDIF,
Default Audio Device
dmix:CARD=SPDIF,DEV=0
Kirkwood S/PDIF,
Direct sample mixing device
dsnoop:CARD=SPDIF,DEV=0
Kirkwood S/PDIF,
Direct sample snooping device
hw:CARD=SPDIF,DEV=0
Kirkwood S/PDIF,
Direct hardware device without any conversions
plughw:CARD=SPDIF,DEV=0
Kirkwood S/PDIF,
Hardware device with all software conversions
default:CARD=P20
PS AudioUSB Audio 2.0, USB Audio
Default Audio Device
sysdefault:CARD=P20
PS AudioUSB Audio 2.0, USB Audio
Default Audio Device
front:CARD=P20,DEV=0
PS AudioUSB Audio 2.0, USB Audio
Front speakers
surround40:CARD=P20,DEV=0
PS AudioUSB Audio 2.0, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=P20,DEV=0
PS AudioUSB Audio 2.0, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=P20,DEV=0
PS AudioUSB Audio 2.0, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=P20,DEV=0
PS AudioUSB Audio 2.0, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=P20,DEV=0
PS AudioUSB Audio 2.0, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=P20,DEV=0
PS AudioUSB Audio 2.0, USB Audio
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=P20,DEV=0
PS AudioUSB Audio 2.0, USB Audio
Direct sample mixing device
dsnoop:CARD=P20,DEV=0
PS AudioUSB Audio 2.0, USB Audio
Direct sample snooping device
hw:CARD=P20,DEV=0
PS AudioUSB Audio 2.0, USB Audio
Direct hardware device without any conversions
plughw:CARD=P20,DEV=0
PS AudioUSB Audio 2.0, USB Audio
Hardware device with all software conversions
再用aplay -l ( 細楷l ), 就可以搵埋sub_id
# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SPDIF , device 0: IEC958 Playback dit-hifi-0 []
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: P20 , device 0: USB Audio
Subdevices: 1/1
Subdevice #0: subdevice #0
跟住就可以試下有無聲喇!
# cd /usr/share/xbmc/sounds/Bursting\ Bubbles/
# aplay -D plughw:1,0 nav.wav
Playing WAVE 'nav.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
如果出到聲,就證明個usb dac 裝啱左
跟住就要configure MPD 去用呢個device....
------
以下個D 之後再加.....
MPD
聽後感
其實部dac 都係買左唔夠一個月,仲煲緊
因為煲dac 唔係出聲,好多時都係用cubox 出signal 煲成日.... 煲左大約一百多小時,開始有D 覺得聲音平衡左,空間感多左...
諗住再煲下睇下有無乜進展.... 之後再加報告....
好好玩喎師兄 {:6_193:} CHING 係唔係用緊cubox一齊ship黎既OS?
ANY PHOTOS FOR SHARING? 正!期待!{:6_193:} 期待又期待!{:6_193:} {:6_195:}{:6_237:} Photo please
ANY PHOTOS FOR SHARING?{:9_430:} toxichead 發表於 2013-3-21 10:26
CHING 係唔係用緊cubox一齊ship黎既OS?
No ah. 用緊GeeXbox, 自己用img 抄落卡