[PATCH] ALSA: usb-audio: Apply implicit feedback mode for BOSS devices

Lucas jaffa225man at gmail.com
Wed Apr 21 06:59:51 CEST 2021


First, thanks very much for trying to cover all devices through detection!
I had hoped something like this could be done, but sadly, it has created a
mixed result:

Roland VG-99 Perfect!:
arecord -D hw:VG99 -f S24_3LE -r 44100 -c 2 ./file.wav
Recording WAVE './file.wav' : Signed 24 bit Little Endian in 3bytes, Rate
44100 Hz, Stereo
^CAborted by signal Interrupt...

aplay -D hw:VG99 -f S24_3LE -r 44100 -c 2 ./file.wav
Playing WAVE './file.wav' : Signed 24 bit Little Endian in 3bytes, Rate
44100 Hz, Stereo


Roland INTEGRA-7 doesn't capture, but plays perfectly (only 96 kHz mode
tested):
arecord -D hw:INTEGRA7 -f S32_LE -r 96000 -c 2 ./file.wav
Recording WAVE './file.wav' : Signed 32 bit Little Endian, Rate 96000 Hz,
Stereo
arecord: pcm_read:2153: read error: Input/output error

aplay -D hw:INTEGRA7 -f S32_LE -r 96000 -c 2 ./other-file.wav
Playing WAVE './other-file.wav' : Signed 32 bit Little Endian, Rate 96000
Hz, Stereo


Roland R-26 doesn't capture, but plays perfectly (only 96 kHz mode tested):
arecord -D hw:R26AUDIO -f S32_LE -r 96000 -c 2 ./file.wav
Recording WAVE './file.wav' : Signed 32 bit Little Endian, Rate 96000 Hz,
Stereo
arecord: pcm_read:2153: read error: Input/output error

aplay -D hw:R26AUDIO -f S32_LE -r 96000 -c 2 ./other-file.wav
Playing WAVE './other-file.wav' : Signed 32 bit Little Endian, Rate 96000
Hz, Stereo


Roland Boutique D-05 doesn't capture, but plays perfectly:
arecord -D hw:Boutique -f S32_LE -r 96000 -c 2 ./file.wav
Recording WAVE './file.wav' : Signed 32 bit Little Endian, Rate 96000 Hz,
Stereo
arecord: pcm_read:2153: read error: Input/output error

aplay -D hw:Boutique -f S32_LE -r 96000 -c 2 ./other-file.wav
Playing WAVE './other-file.wav' : Signed 32 bit Little Endian, Rate 96000
Hz, Stereo


EDIROL UA-4FX Perfect! (only tested 48 kHz mode):
arecord -D hw:UA4FX -f S24_3LE -r 48000 -c 2 ./file.wav
Recording WAVE './file.wav' : Signed 24 bit Little Endian in 3bytes, Rate
48000 Hz, Stereo
^CAborted by signal Interrupt...

aplay -D hw:UA4FX -f S24_3LE -r 48000 -c 2 ./file.wav
Playing WAVE './file.wav' : Signed 24 bit Little Endian in 3bytes, Rate
48000 Hz, Stereo


EDIROL UA-25EX Perfect! (only tested 48 kHz mode):
arecord -D hw:UA25EX -f S24_3LE -r 48000 -c 2 ./file.wav
Recording WAVE './file.wav' : Signed 24 bit Little Endian in 3bytes, Rate
48000 Hz, Stereo
^CAborted by signal Interrupt...

aplay -D hw:UA25EX -f S24_3LE -r 48000 -c 2 ./file.wav
Playing WAVE './file.wav' : Signed 24 bit Little Endian in 3bytes, Rate
48000 Hz, Stereo


EDIROL UA-101 full-speed (USB 1.1) and high-speed (USB 2.0) not detected
for capture or playback (only 48 kHz mode tested):
arecord -D hw:UA101 -f S32_LE -r 48000 -c 2 ./file.wav
ALSA lib pcm_hw.c:1829:(_snd_pcm_hw_open) Invalid value for card
arecord: main:830: audio open error: No such device

aplay -D hw:UA101 -f S32_LE -r 48000 -c 2 ./other-file.wav
ALSA lib pcm_hw.c:1829:(_snd_pcm_hw_open) Invalid value for card
aplay: main:830: audio open error: No such device

I'm guessing another look at "lsusb -v" would help, but don't know what to
look for and have run out of time tonight.

Thanks again Takashi,

  Lucas


More information about the Alsa-devel mailing list