Linux Support Steinberg UR22

**** Both UR22 and UR44 now work with Ubuntu/Lubuntu, etc **
UR22 recording and playback works out of the box.
UR44 works with the “CC” mode enabled (there’s a push button in the back of the unit**



Hi !
I just got my UR22 working a few minutes ago by following this thread:
http://linux-audio.4202.n7.nabble.com/Support-for-Steinberg-UR22-Yamaha-USB-chipset-0499-1509-tc82888.html#a82917

I’m using Ubuntu 14.04 LTS. You’ll need to get the kernel sources since the fix involves adding a few lines of code to the snd_usb_audio driver. I was having some trouble building the snd_usb_audio driver by itself, so I ended up following a few guides to compile the whole kernel… here are some steps below:

  1. sudo -s
  2. apt-get install build-essential linux-source kernel-package fakeroot libncurses5-dev nano
  3. cp /boot/config-3.13.0-32-generic /usr/src/linux-source-3.13.0/config
  4. cd /usr/src/linux-source-3.13.0/
  5. make oldconfig
  6. make clean
  7. copy the code in quirks_table.h - Pastebin.com
  8. edit /usr/src/linux-source-3.13.0/sound/usb/quirks-table.h and add the code above @ line 388 for example
  9. cd /usr/src/linux-source-3.13.0/
    *11. make-kpkg -j9 --initrd --revision=1 kernel_image
    12 dpkg -i /usr/src/linux-image-3.13.11.4_1_amd64.deb
    13 reboot
  • for step 11 you may want to change the -j9 parameter to reflect the number of cores your CPU has +1.
    **You may have to change some of the names around depending on different versions of kernels that Ubuntu may download.

To check that everything is working, when you boot next time, you can see if the snd_usb_audio module gets loaded.
14. lsmod | grep -i snd_usb_audio
15. dmesg | grep -i ur22 -B 3 -A 3
16. dmesg | grep -i snd_usb_audio
17. Go into sound settings in the Ubuntu GUI and configure the UR22 as an input and output device (see screenshot)


~~Happy listening/recording ( I hope - I haven’t tried recording yet ) :mrgreen:

I’m sure there are better ways to get this working, but that’s what worked for me, and thought I’d share before I forgot how. Used the below links for reference…
https://wiki.ubuntu.com/KernelTeam/GitKernelBuild
https://help.ubuntu.com/12.04/installation-guide/powerpc/kernel-baking.html