Wednesday, 23 October 2013

Raspberry Pi Setup As MPD Sever

Setup MPD on Raspberry Pi:
Credit to the tutorial below:
http://hempeldesigngroup.com/embedded/stories/raspberry-pi-setup-as-mpd-sever/

I've some updates on top of it...
1. Download arch linux image from ArchLinux Raspberry Pi page:
http://archlinuxarm.org/platforms/armv6/raspberry-pi

2. Load the image to a SD card with 2G or more. Win32 Disk Imager is recommended:
http://sourceforge.net/projects/win32diskimager/

3. After loading the image, put the card into Pi and power up, wait for 1 minute, then use IP scanner to find the IP address of Pi, just pick one below or google for others.
http://www.eusing.com/ipscan/free_ip_scanner.htm
http://sourceforge.net/projects/ipscan/
http://download.cnet.com/Advanced-IP-Scanner/3000-18508_4-10115592.html

4. Putty to that IP at port 22
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

5. login ID is "root", password is "root"

6. Make private key for auto authenticate (optional)
You may follow the tutorial below for detail setup procedure:
http://www.ualberta.ca/CNS/RESEARCH/LinuxClusters/pka-putty.html

7. Change timezone
Run the tzselect script to figure out which timezone you should be in, then note the output – in my case its America/Toronto.
Add the following text to a new file called /etc/profile.d/timezone.sh – this will cause the timezone to be set whenever a user logs in.

TZ='Asia/Hong_Kong
export TZ

Monday, 21 October 2013

Another ground box - My 2nd DIY ground box + power bar

With the power bar running for a month, I decided to further improve it so that it also act as an "earth box". An earth box is just a box with some "stones" inside that absorb free electrons produced by the electronic appliances. We all know that the "ground" of the AC main is just a relative ground with relative zero impedance. It has best effort to provide a zero voltage level with zero impedance to the electronic appliance so that in case of electricity leakage, the electricity will be drawn into earth (a large reservoir of free electrons) instead of going via human body. In realty, it will never be "zero" by all means. The earth box helps a little bit in absorbing (from my understanding) some free electrons so that the earth is "closer" to the ideal case.

The earth box, as you can see below, is just a box with some good conductors and some black stones. There're lot of DIYers doing similar earth box and they use different kinds of stones with different proportion. I don't have any experience in such detail, what I've done so far is just a random event.















A new life for my cubieboard2

With the release of voyage on cubie board 2 (a.k.a Allwinner A20), my A20 gets a new life.

Thanks to Mr. Punky Tse, the Voyage MPD is now being ported into A20 with support of audiophile quality music playback including DSD support. Mr. Pinky emphasised in the release note that "MPD binds to a single core while leaving another core for interrupts, etc.", that's a good idea!

By following the setup guide provided by Punky, I have loaded the Mubox into A20 successfully within 30 minutes. The sound quality is similar to cubox.

After running it for two days non-stop. I decided to give the A20 a solid case so that it can be placed in my Hifi rack safely.

The case is an aluminum alloy metal case with 2mm thickness at the front, rear, top and bottom, 4mm thickness at the sides

First of all, mark the positions for holes...

After working on the metalsmithing for two hours, the case is shaped to fit with A20 perfectly.




The three wires are used for serial link connectivity. Green is TX, white is RX, black is Ground.


Saturday, 19 October 2013

好耐無出post,先來一個

由這post起,我會用英文打,因為用英文可以有多人可以分享交流

Tuesday, 10 September 2013

給 LX800 一個殼

之前玩個LX800出到聲, 發覺它唔錯, 正正常常好穩定, 於是就去揾個殼給它...
揾左好耐, 原來要揾做合適的殼給它是十分困難的. 最後揾左個比較高身的殼, 連運費$60HKD.
安好的模樣
前方開左兩個孔放黃LED(network activity) 和綠色LED(power)


  開孔因為全人手, 用手鋸, 手銼, 整左兩個鐘好辛苦...
前前後後做左四個鐘. 煲了一晚都好正常, 只係微暖.

Tuesday, 3 September 2013

做個 Power Bar

先多謝 Tony 兄, 介紹左個 active filter. 不貴, 買了個玩玩.
加埋三個古河插座: 炭纖鍍金, 鍍銠和鍍金三個.
現在只有鍍銠過 filter. 會給 DIY 牛用
個箱$350,  插座2千多,filter $400. 簡單易做.




Monday, 2 September 2013

Adnaco-S3B – USB 3.0 Over Fiber Optic Expansion System

先多謝網友 Blau 兄的幫忙, 令我順利買左 Adnaco-S3B. 唔買Adnaco PCIe 係因為唔想花太多錢去再買埋張USB卡.同埋Adnaco-S3B體積也較小,client 只要一個5V 500mA的供電已經可以.




Sunday, 25 August 2013

LX800 上裝 Voyage

經一位網友指點, 我得知原來有些二手的LX800可以買入來安裝 Voyage MPD. 於是上星期便拍了一件回來.
星期一收到的


收到後當然第一時間試試, 我先把 Voyage 安裝在一張4G CF 卡上, 插上, 給它5V供電 (是的, 雖然它有12V和5V, 但其實它只要5V), 通電後 3秒它發出 beep 一聲. 但過了很久, 我還是不能找到它的 IP address.

有可能的原因是:
1. CF 卡不被它認出
2. CF 卡能認出, 但 boot機途中出現錯誤
3. CF 卡能認出, boot 機也沒問題, 只是找不到 eth0...等等可能性

因為沒有 serial cable (RS232), 而且它是沒有VGA的, 我只有靠估...
試了很久, 心想, 沒有顯示, 這樣等也不是辦法, 於是又上去拍了 Serial to USB 和 Serial female-to-female 回來...
到了星期四, 收到這些線


插好, 用 putty 打開 COM7, 給電, beep, 過了3分鐘依然沒有畫面... 問了賣家, 他的回應是, "我也不知".... 我心想, 莫非真是要放棄?

因為有別的忙, 又放它一邊沒理會...

到了星期六(今天), 又拿它出來看看, 給它最後機會吧, 如果都唔得便拿落樓下的電腦回收(剛好今天有流動回收車來), 仔細看看, 原來它是有個 15針的VGA 接口, 但不知何故沒有銲上插座. 我想是不是這板子有不同的版本, 因為大量生產便有些沒有銲這VGA接口, 即是可能就算我加上接口座也不會有訊號... 但唔試過又點知, 於是下午我就出去買左粒 D-sub 座(要成 $6 HKD, 拍回來的話不用 $1 RMB !!! 但我心急)

安了上去,通電, 即時有畫面, 原來是 work 的, 這 $6 也沒有白費哦!
原來這東西只有128M RAM, 是 AMD Geode GX-MMX (LX800), Primary Master 的 hard disk 是一個 mini IDE 的插槽. Primary Slave 才是 CF 卡的插槽.

看看它的開機畫面:

開機到一半出現這句:
ide_dma_sff_timer_expiry: DMA status (0x41)

又攪了三四個鐘, 上網找, 試不同的設定, 終於找到解決方法. 是要叫 Voyage 不要用 DMA.


 最後, 原來有一個 LAN port 是不能用的.

 

Monday, 19 August 2013

網友廖生的線性牛#2

早前幫網友廖生做了一隻的線性牛, 前幾天他找我要多做一隻. 這次不用大電流, 只給5V (Cubox) 和9V (iUSBPower) 使用:



Thursday, 15 August 2013

網友陳生 的 12V+5V 四輸出線性牛

網友陳生找小弟做一隻線性牛, 接駁以下的器材:
NAS (2 bay) (12V)
MagicTV (12V)
Hard disk docking (12V)
Router (5V)


Rabsperry Pi + piCorePlayer

早前見網友用Rabsperry Pi當Squeezebox玩, 攪到我心思思又買嚟玩下. 星期一收到 Rabsperry Pi

一直都只係祼跑,


仲未諗到點安放佢, 直到昨日因為8號風球唔使番工, 所以就做左個盒放Rabsperry Pi同線性牛.










張SD CARD只有piCorePlayer: https://sites.google.com/site/picoreplayer/home