Tascam US122L , how can I get it working?

Thank you keybreak, kjw, Kresimir frog, and ricklinux for the help. I managed to get it working and seems to be working great! Solved the pulse audio issue with the browser also. I will try and explain what I did incase it might help someone else facing this issue.

NOTE : I set this up using a USB 2.0 port on my PC, the USB 3.0 ports on my PC would not recognize the device. So if all you have is USB 3.0 and it doesn’t recognize it then not sure what to tell you there. Maybe someone can add to this on how to handle that type of a situation. But for my USB 2.0 ports this worked for me and my PC.

1st thing I did was run the command cat /proc/asound/cards in terminal to see if it was seeing my device and it was. The output show my device as number 2, which it might differ from system to system.

2nd I created a .asoundrc text file to set my device as the default device and placed it in home/user with the following settings for .asoundrc, note the dot in the name also. Your device number may be different than mine are in these settings I added to .asound.conf, but basically just change the number to your devices number.

The usb_stream plugin configuration

pcm.!usb_stream {
@args [ CARD ]
@args.CARD {
type string
default “2”
}

    type usb_stream

    card $CARD

}

ctl.!usb_stream {
@args [ CARD ]
@args.CARD {
type string
default “2”
}

    type hw

    card $CARD

}

Third I had to add myself to the audio group and give myself permission for real time usage. Sorry I can’t remember exactly how I did that step but I think I ran the jackd and some command in terminal and it told me that I wasn’t a member of the audio group and how to add that and on a second attempt it told me I needed to add a line to some file so I did that and rebooted.

I installed QjackCtl and started it, in the settings the only thing I had to change were settings/interface I changed that to usb_stream:2 2 being the number of my device.

Make sure to select Apply.

After that step I went back to QjackCtl and clicked start and it was working.

This is where I ran into the issue of the browser using pulse and getting no sound, so after a little bit of research I found this solution, go into QjackCtl/Settings/Options put a check mark by "Execute script after Startup and add in the box this command

pactl load-module module-jack-sink channels=2; pactl load-module module-jack-source channels=2; pacmd set-default-sink jack_out

Make sure to select Apply. I restarted QjackCtl and started it and now I have sound for pulse from my browser and everything else.

I didn’t like that in order to have this work at startup that I was going to have to run qjackctl -s at startup and have to see QjackCtl menu everytime on start and all the time. So here is how I got around that issue.

I added this first command in Session and Startup like this so it would start jackd automatically,

jackd -dalsa -dusb_stream:2 -r48000 -p128 -n2

You might note that I made a couple of changes with the 48000 and 128 and 2, those are just my personal settings, you can always use what you prefer depending on your systems capabilities.

Okay, so I added that to Session and startup, that got it started but I still had the issue of not having sound from the browser, so I had to take one more step.

I created a small script with a delay for the post command script that was in QjackCtl, the reason for the delay is it has to have time for jackd to start first.

Creating the script was easy, just name your text file and end it with .sh and add the following, I added a 5 second delay but you might can change it to something shorter, I haven’t tried, 5 seemed to work fine for me. Add to the script.

#!/bin/bash
sleep 5s
pactl load-module module-jack-sink channels=2; pactl load-module module-jack-source channels=2; pacmd set-default-sink jack_out

After that go back into Session and Startup and add a startup item for your script, add the location of the script and add ./ in front of your scripts name

For example :

Name : Jack Post Startup
Description: Jack Post Startup
Command: /home/USERNAME/Documents/./jackscriptdelay.sh

note the ./ in the command.

Anyway, I’m terrible at explaining things, but I thought I would try in case it might help someone facing a simular situation or at least get them going in the right direction. Thanks again to everyone for the help, I will not be using Windows ever again since I have this working.

2 Likes