User Tools

Site Tools


usbsound

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
usbsound [2011/01/24 17:49] 84.231.113.95usbsound [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+1. Setup USB key with raw image ftp://ftp.lacie-nas.org/images/usb_boot_kw_sid_arm-usbsound.img.gz
         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://3ecomputer.com/shop/images/dt2.jpg), so if you don't succeed first, try another USB key.  There are issues with certain USB keys (for instance Kingston 2 GB didn't work for me, http://3ecomputer.com/shop/images/dt2.jpg), so if you don't succeed first, try another USB key. 
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 xx 
-        wget xx 
-        dpkg -i xx 
-        apt-get -f install 
- 
-2. Copy default config /usr/share/doc/mpd/mpdconf.example.gz to /etc/mpd.conf 
  
-3. Create directory for MPD database: +**UPDATEMPD has been updated to version 0.16.1 in Debian Sid repository.** Installing MPD should be as easy as running ''apt-get install mpd''.
-        mkdir ~/.mpd+
  
-4. Edit /etc/mpd.config and make the following changes:+Edit /etc/mpd.conf and make the following changes:
  
         music_directory         "/path/to/your/music"         music_directory         "/path/to/your/music"
-        db_file                 "~/.mpd/database" 
         audio_output {         audio_output {
                 type "alsa"                 type "alsa"
Line 57: Line 50:
         }         }
  
-5. run 'mpd'+Run ''/etc/init.d/mpd restart''
  
 ===== Compiling Music Player Daemon from sources (optional) ===== ===== Compiling Music Player Daemon from sources (optional) =====
Line 66: Line 59:
  libsndfile1-dev libaudiofile-dev libwavpack-dev  libsndfile1-dev libaudiofile-dev libwavpack-dev
  
-2. Download the latest MPD sources from http://sourceforge.net/projects/musicpd/files/mpd/0.16.1/ and compile mpd with:+2. Download the latest MPD sources from http://sourceforge.net/projects/musicpd/files/mpd/0.16.1/ and compile with:
  
  tar zxvf mpd-0.16.1.tar.gz  tar zxvf mpd-0.16.1.tar.gz
usbsound.1295887795.txt.gz · Last modified: 2011/01/24 17:49 by 84.231.113.95