usb soundcard

plug the new USB Sound Adapter 7.1 DeLock into your usb-port

check lsusb if pi found it. you should see C-Media Electronics, Inc. Audio Adapter

in /etc/modprobe.d/alsa-base.conf set
options snd-usb-audio index=-2
options snd-usb-audio index=0
reload drivers with sudo alsa force-reload (no need for reboot!)

set dwc_otg.speed=1 in /boot/cmdline.txt – this requires a reboot

adjust the outputlevel with alsamixer

record mic-input
first plug-in a mic
adjust the mic-level in alsamixer and turn the mic to CAPTURE (TAB to the mic config and then SPACE to enable CAPTURE).

my amixer-config
Simple mixer control ‚Speaker‘,0
  Capabilities: pvolume pswitch pswitch-joined penum
  Playback channels: Front Left – Front Right
  Limits: Playback 0 – 151
  Front Left: Playback 151 [100%] [0.06dB] [on]
  Front Right: Playback 151 [100%] [0.06dB] [on]
Simple mixer control ‚Mic‘,0
  Capabilities: pvolume pvolume-joined cvolume cvolume-joined pswitch pswitch-joined cswitch cswitch-joined penum
  Playback channels: Mono
  Capture channels: Mono
  Limits: Playback 0 – 32 Capture 0 – 16
  Mono: Playback 32 [100%] [47.81dB] [off] Capture 16 [100%] [23.81dB] [on]
Simple mixer control ‚Auto Gain Control‘,0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]

heres a little script to test the mic with your mpc
install mpd and mpc (more infos here)
sudo apt-get install mpd mpc

add yourself and mpd to the audio-group

sudo adduser pi audio
sudo adduser mpd audio
comment out the following line and set a correct IP
sudo cat /etc/mpd.conf|grep localhost
#bind_to_address „localhost“
bind_to_address „“
restart the service
sudo /etc/init.d/mpd restart

log-file of mpd (default), and other debugging-logs



sudo cat /var/log/daemon.log|grep mpd

nice infos about mpd (decoders, outputs etc.)
mpd –version

infos about mpd can be found here
cat /usr/share/doc/mpd/README

config of autostart daemon

cat /etc/init.d/mpd

other mpc-options

show current playlist in mpc
mpc playlist

update music-DB
mpc update

show all available playlists, files etc.
mpc lsplaylists
mpc ls
mpc ls „Local media“
mpc ls „Local media/Music“

other stuff
mpc stats


ympd is a very nice tiny web client for mpd/mpc


listen: bind to ‚‘ failed: Address already in use (continuing anyway, because binding to ‚[::]:6600‘ succeeded)

i had to check my configuration in
/etc/hosts localhost pipaos
and /etc/hostname
and then the bind_to_address in /etc/mpd.conf
bind_to_address                 „“
bind_to_address                 „“
mpc volume 100
error: problems setting volume
volume: n/a
for my usb-soundcard i uncommented the line in mpd.conf
mixer_type        „software“


error: Connection refused
there was an conflict with the IP-addresses – here it is ok to use this config:
bind_to_address                 „“
bind_to_address                 „“

Kommentar verfassen

Trage deine Daten unten ein oder klicke ein Icon um dich einzuloggen:

Du kommentierst mit Deinem Abmelden / Ändern )


Du kommentierst mit Deinem Twitter-Konto. Abmelden / Ändern )


Du kommentierst mit Deinem Facebook-Konto. Abmelden / Ändern )

Google+ Foto

Du kommentierst mit Deinem Google+-Konto. Abmelden / Ändern )

Verbinde mit %s