This may sound like a duplicate question, but the answers to similar questions are not solving my problem. I have plugged the USB cable from my Logitech S-150 digital speakers into a powered USB hub connected to my Pi 3. The speakers show that they're on - "DIGITAL" appears on the one with the controls and cable. My
aplay -l output is
**** List of PLAYBACK Hardware Devices **** card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA] Subdevices: 8/8 Subdevice #0: subdevice #0 Subdevice #1: subdevice #1 Subdevice #2: subdevice #2 Subdevice #3: subdevice #3 Subdevice #4: subdevice #4 Subdevice #5: subdevice #5 Subdevice #6: subdevice #6 Subdevice #7: subdevice #7 card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: AUDIO [USB AUDIO], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0
sudo nano /usr/share/alsa/alsa.conf to change the
defaults.pcm.card 0 values to 1 as I read in an answer to a similar problem. I don't know if the speakers are working or the Pi is not recognizing them. I have used the GUI Audio Device Settings (under Preferences) to set the Control to PCM for both bcm2835 ALSA (Alsa mixer)(Default) and USB AUDIO (Alsa mixer).
Is there a way I can test the speakers' output without finding & using an MP3 file with
wget goo.gl/XJuOUW -O example.mp3 --no-check-certificate and got -
-2016-04-21 14:55:57-- http://goo.gl/XJuOUW Resolving goo.gl (goo.gl)... 2607:f8b0:4002:c05::66, 184.108.40.206 Connecting to goo.gl (goo.gl)|2607:f8b0:4002:c05::66|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://raw.githubusercontent.com/raspberrypilearning/burping-jelly-baby/master/sounds/la.mp3 [following] --2016-04-21 14:55:58-- https://raw.githubusercontent.com/raspberrypilearning/burping-jelly-baby/master/sounds/la.mp3 Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 220.127.116.11 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|18.104.22.168|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 17260 (17K) [audio/mpeg] Saving to: ‘example.mp3’ example.mp3 100%[=====================>] 16.86K --.-KB/s in 0.001s 2016-04-21 14:55:59 (27.5 MB/s) - ‘example.mp3’ saved [17260/17260]
I then issued o
mxplayer example.mp3 and got
Audio codec mp3 channels 1 samplerate 11025 bitspersample 16 Subtitle count: 0, state: off, index: 1, delay: 0 have a nice day ;)
Through my Pi 3's GUI Preferences, I've set both bcm2835 ALSA (Alsa mixer) (Default) and USB AUDIO (Alsa Mixer).