Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
raspberry:pi_ogg_player [2016/12/11 10:55] admin [USB Sound] |
raspberry:pi_ogg_player [2016/12/11 12:44] admin [USB Sound] |
||
---|---|---|---|
Line 72: | Line 72: | ||
---- | ---- | ||
==== USB Sound ==== | ==== USB Sound ==== | ||
- | $ lsusb | + | |
- | + | ||
- | $ amixer | + | |
- | | + | |
$ alsamixer | $ alsamixer | ||
+ | |||
+ | find the soundcard number:\\ | ||
+ | $ aplay -l | ||
| | ||
in:\\ | in:\\ | ||
- | $ sudo nano / | + | < |
- | | + | |
+ | write (with your card number):\\ | ||
pcm.!default { | pcm.!default { | ||
- | | + | |
+ | | ||
} | } | ||
ctl.!default { | ctl.!default { | ||
- | | + | |
+ | | ||
} | } | ||
- | or:\\ | + | and in:\\ |
- | [[http:// | + | $ sudo nano /usr/share/alsa/ |
- | + | change:\\ | |
- | find the soundcard: | + | |
- | $ aplay -l | + | |
- | In:\\ | + | to (depends |
- | $ sudo nano /etc/modprobe.d/alsa-base.conf | + | |
- | change:\\ | + | |
- | | + | |
- | to:\\ | + | |
- | | + | |
- | add the following | + | |
- | | + | |
- | | + | |
---- | ---- |