USB audio plug no longer works - Raspberry Pi Forums


i have raspi 2 , usb audio device (made pluggable). bought device cleaner audio out when using sonicpi.

few weeks ago working fine recent update has apparently broken sonicpi hangs on startup when using usb plugin.

here aplay list , tests speaker-test. default audio driver works fine, not usb. speaker-test returning error. i'm setting audio device via desktop (menu/preferences/audio device settings). appears pi @ least recognizing device.

pi@raspi2:~ $ aplay -l
**** 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: device [usb audio device], device 0: usb audio [usb audio]
subdevices: 1/1
subdevice #0: subdevice #0

pi@raspi2:~ $ speaker-test

speaker-test 1.0.28

playback device default
stream parameters 48000hz, s16_le, 1 channels
using 16 octaves of pink noise
rate set 48000hz (requested 48000hz)
buffer size range 512 32768
period size range 512 32768
using max buffer size 32768
periods = 4
set period_size = 8192
set buffer_size = 32768
0 - front left
time per period = 2.229134
0 - front left
time per period = 2.909702
0 - front left
time per period = 2.898780
0 - front left
time per period = 0.724981

<switched usb device here>

pi@raspi2:~ $ speaker-test

speaker-test 1.0.28

playback device default
stream parameters 48000hz, s16_le, 1 channels
using 16 octaves of pink noise
channels count (1) not available playbacks: invalid argument
setting of hwparams failed: invalid argument

pi@raspi2:~ $

alsa/pulse audio has tendency break every , then. has worked me when pulse/alsa stops working.

sudo apt-get remove --purge alsa-base pulseaudio
sudo apt-get install alsa-base pulseaudio
, force reload alsa again: sudo alsa force-reload


raspberrypi



Comments