Re: Any chance of getting an old USB Soundcard to work? (Roland UA-33 aka Tri-Capture) - SOLVED
Date: Sun, 26 Apr 2026 18:22:15 UTC
CONGRATULATIONS! :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info On Sun, Apr 26, 2026 at 1:09 PM Roger Olofsson <raggen44@gmail.com> wrote: > > Hello, > > This is now solved. > > It was a matter of adding one line to usb_quirk.c, one line to usbdevs and one line to uaudio.c > > Code /usr/src/sys/dev/usb/usbdevs: > product ROLAND UA33 0x0132 UA-33 Audio I/F > > Code /usr/src/sys/dev/usb/quirk/usb_quirk.c: > USB_QUIRK(ROLAND, UA33, UQ_AU_VENDOR_CLASS), > > Code /usr/src/sys/dev/sound/usb/uaudio.c: > if (uaa->info.idVendor == 0x0582 && uaa->info.idProduct== 0x0132) return (BUS_PROBE_GENERIC); > > And of course make buildkernel and remember to make installkernel as well. > > Thank you for all input! This was solved with input from this mailing list and also from the FreeBSD Forum. > > I will now look at if I can put this into Bugzilla. > > /Roger > > > Den 2026-04-24 kl. 15:46, skrev Tomek CEDRO: > > On Fri, Apr 24, 2026 at 1:30 PM Roger Olofsson <raggen44@gmail.com> wrote: > > Hi Tomek, > > Thanks for swift reply! > > I noticed you replied to the original post. I did a repost to make the > quote from the translated .jp site easier to read. > > I found it interesting reading about the 2013 commit. It seemed clever > and the effect was for "a large amount". > > Quote from the translated .jp link. "By the way, I looked into the > source code to find out why UA -11 works even in vendor-specific > operating modes that are not USB Audio class compliant , and why UA -33, > which is completely vendor-specific, also works . It seems that this was > addressed in the following commit from 2013: > kernel/git/torvalds/linux.git - Linux kernel source tree. This commit > roughly contains some universal code that says, "Devices with a > vendor-specific device class, a vendor ID of Roland or Yamaha , and that > use isochronous for transfer mode are audio devices right? If we can > identify the data format , we'll make them work as PCM devices." This > allows a large amount of Roland and Yamaha equipment to work with ALSA > *4 . As a result, it seems that snd-usb-audio's quirks-related source > code can now work even without device-specific code for UA -11 and UA -33." > > Do you know if Christos likes beer? Maybe I can buy him a few? > > As I understand VirtualOSS it is a virtual sound device and I probably > still have to make USB talk to virtualOSS? > > I haven't been able to find find source code for the Mac and Win drivers. > > /Roger > > Yes, it may be "only" a matter of quirks or small part of code in the > snd_uaudio that will tell "although this is not an audio endpoint > tread it as audio endpoint", but may be more complex.. at least there > is an open-source reference point. Also this card seems to have a lot > more features than just audio sink/source these would require a > dedicated code too. > > For this to play he would probably need an actual device or ssh access > to a machine where device is connected. Let Christos say on his own > he knows all the details and internals of the audio stack. I just know > he will be the best person to ask :-) > > -- > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info > >