alsa/USB problem.

Optimize your system for ultimate performance.

Moderators: MattKingUSA, khz

Post Reply
retnev
Established Member
Posts: 157
Joined: Sat Mar 25, 2017 2:13 am
Has thanked: 4 times
Been thanked: 3 times

alsa/USB problem.

Post by retnev »

I have an 1818VSL I use as a soundcard.
It worked flawlessly until recently.
I assume an update broke alsa and it is now malconfigured.

For some reason alsa or usb cannot set the 1818vsl up at 48000Hz. Why it tries to do that I dont know as the 1818VSL works at 44100kHz.

The logs show the following error,

[ 9384.412469] usb 1-1.1: USB disconnect, device number 45
[ 9388.014082] usb 1-1.1: new high-speed USB device number 46 using ehci-pci
[ 9388.197230] usb 1-1.1: New USB device found, idVendor=194f, idProduct=0103, bcdDevice= 1.07
[ 9388.197233] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 9388.197235] usb 1-1.1: Product: AudioBox 1818 VSL
[ 9388.197237] usb 1-1.1: Manufacturer: PreSonus
[ 9388.197238] usb 1-1.1: SerialNumber: 2209
[ 9388.853448] usb 1-1.1: 2:2: cannot set freq 44100 (v2/v3): err -71
[ 9389.020308] usb 1-1.1: USB disconnect, device number 46

So how do I set Alsa (which I suppose creates this error) to rather set the 1818 up at the correct 44100Hz ?
I cannot fi9gure it out. Where do I configure that ?

This question I managed to solve myself. I changed
defaults.pcm.dmix.rate 44100
in alsa.conf and it now tries to start the device at 44100, but it still cannot locate it.

Error is now
[ 637.957686] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 637.957688] usb 1-1.1: Product: AudioBox 1818 VSL
[ 637.957689] usb 1-1.1: Manufacturer: PreSonus
[ 637.957691] usb 1-1.1: SerialNumber: 2209
[ 638.604040] usb 1-1.1: 2:2: cannot set freq 44100 (v2/v3): err -71
[ 638.781381] usb 1-1.1: USB disconnect, device number 79
[ 642.382826] usb 1-1.1: new high-speed USB device number 80 using ehci-pci
[ 642.565893] usb 1-1.1: New USB device found, idVendor=194f, idProduct=0103, bcdDevice= 1.07

But problem remains the same.

So what is going on here that alsa cycles through USB devices 1-127 and then gets the audiobox on the next round.
mtlwstlk
Established Member
Posts: 5
Joined: Tue Aug 20, 2019 8:06 pm

Re: alsa/USB problem.

Post by mtlwstlk »

according to other users online, this usb audio device could work -- note: it's an old thread of 2015, so by now if that card got into the interest of development it should be in a better state, but by the looks of your dmesg output, it looks like there's too many disconnects, suggesting that it is more to do with hardware. (it could be just a bad usb cable)

https://sourceforge.net/p/alsa/mailman/ ... /34135417/
"This sound interface works out of the box on both my
linux desktop and laptop running Arch Linux with a kernel version of
4.0.0 and 4.0.3."

There's barely other reports of it other than a couple of them back in 2015 and other instances of similar cards going back to 2009 ..

You can always try joining the alsa mailing list and trying to report information on the problem with their alsa-info.sh script which gathers device data, and there may be a solution from there.
https://github.com/opensrc/alsa
"If you have ALSA audio problems then the best thing you could do is to download the alsa-info script at the link below and run it (which will offer to upload the output to alsa-project.org) and sign up to the alsa-user mailing-list with a description of your problem with error messages and a link to the uploaded info.

http://www.alsa-project.org/alsa-info.sh
"
retnev
Established Member
Posts: 157
Joined: Sat Mar 25, 2017 2:13 am
Has thanked: 4 times
Been thanked: 3 times

Re: alsa/USB problem.

Post by retnev »

Thank you for the info regarding alsa script.
I am a member of the alsa group, but it is basically dead.
No activity there and there was one post in 6 months or something other than me.
I think alsa is not going to be around for long, but I will give it a try again.
Post Reply