This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
usbsound [2011/01/24 21:33] – 80.186.2.215 | usbsound [2011/02/05 16:05] (current) – 80.186.36.216 | ||
---|---|---|---|
Line 3: | Line 3: | ||
Based on [[usbboot|Boot a LaCie NAS (Kirkwood based) from an USB key]] this document intends to provide further information on how to use USB sound card and Music Player Daemon on LaCie Network Space 2. The setup works reasonably well using a cheap 4-port USB hub, but beware that booting from USB fails if USB sound card is turned on during the bootup. The sound card used in this setup was Cambridge Audio DacMagic but any other USB card will do. | Based on [[usbboot|Boot a LaCie NAS (Kirkwood based) from an USB key]] this document intends to provide further information on how to use USB sound card and Music Player Daemon on LaCie Network Space 2. The setup works reasonably well using a cheap 4-port USB hub, but beware that booting from USB fails if USB sound card is turned on during the bootup. The sound card used in this setup was Cambridge Audio DacMagic but any other USB card will do. | ||
===== Preparing USB key and booting ===== | ===== Preparing USB key and booting ===== | ||
- | 1. Setup USB key with raw image ftp:// | + | 1. Setup USB key with raw image ftp:// |
sudo chmod 666 /dev/sdX | sudo chmod 666 /dev/sdX | ||
zcat usb_boot_kw_sid_arm-usbsound.img.gz > /dev/sdX | zcat usb_boot_kw_sid_arm-usbsound.img.gz > /dev/sdX | ||
Line 15: | Line 15: | ||
4. Boot from USB key following steps in [[usbboot|Boot a LaCie NAS (Kirkwood based) from an USB key]] | 4. Boot from USB key following steps in [[usbboot|Boot a LaCie NAS (Kirkwood based) from an USB key]] | ||
+ | |||
===== Troubleshooting ===== | ===== Troubleshooting ===== | ||
There are issues with certain USB keys (for instance Kingston 2 GB didn't work for me, http:// | There are issues with certain USB keys (for instance Kingston 2 GB didn't work for me, http:// | ||
Line 35: | Line 36: | ||
===== Installing and configuring Music Player Daemon ===== | ===== Installing and configuring Music Player Daemon ===== | ||
- | 1. Download and install MPD from pre-built .deb package ftp:// | ||
- | wget ftp:// | ||
- | dpkg -i xx | ||
- | apt-get -f install | ||
- | |||
- | 2. Copy default config / | ||
- | 3. Create directory for MPD database: | + | **UPDATE: MPD has been updated to version 0.16.1 in Debian Sid repository.** Installing MPD should be as easy as running '' |
- | mkdir ~/.mpd | + | |
- | 4. Edit /etc/mpd.config | + | Edit /etc/mpd.conf and make the following changes: |
music_directory | music_directory | ||
- | db_file | ||
audio_output { | audio_output { | ||
type " | type " | ||
Line 57: | Line 50: | ||
} | } | ||
- | 5. run ' | + | Run ''/ |
===== Compiling Music Player Daemon from sources (optional) ===== | ===== Compiling Music Player Daemon from sources (optional) ===== |