Any chance of getting an old USB Soundcard to work? (Roland UA-33 aka Tri-Capture)
Date: Fri, 24 Apr 2026 06:42:04 UTC
Hello,
Is there any chance of making the Roland Tri Capture working on FreeBSD 15?
It's a device that is _NOT_ USB compliant, ie it utilizes drivers to
work on Mac and Win.
However, it is being reported as working on Ubuntu20.04.
FreeBSD15 identifies the device when it's plugged in.
Some googling ensued and I found two interesting tidbits.
1. The reason the device is identified is probably because that the
ALSA project added a bunch of Roland devices according to thislink
<https://mailman.alsa-project.org/pipermail/alsa-devel/2021-March/182929.html>
2. This link
<https://wave-hatenablog-com.translate.goog/entry/2021/11/16/080800?_x_tr_sl=ja&_x_tr_tl=sv&_x_tr_hl=sv&_x_tr_pto=sc>(translated
from .jp) claims that the device is working on Ubuntu 20.04 because
of a commit to the Linux kernel in 2013
Quote from the translated .jp link. "By the way, I looked intothe
source code to find out
why<https://translate.google.com/website?sl=ja&tl=sv&hl=sv&prev=search&u=http://d.hatena.ne.jp/keyword/%25A5%25BD%25A1%25BC%25A5%25B9%25A5%25B3%25A1%25BC%25A5%25C9>UA
<https://translate.google.com/website?sl=ja&tl=sv&hl=sv&prev=search&u=http://d.hatena.ne.jp/keyword/UA>-11
works even in vendor-specific operating modes that are not USB Audio
class compliant, and
why<https://translate.google.com/website?sl=ja&tl=sv&hl=sv&prev=search&u=http://d.hatena.ne.jp/keyword/%25A5%25B3%25A5%25F3%25A5%25D7%25A5%25E9>UA
<https://translate.google.com/website?sl=ja&tl=sv&hl=sv&prev=search&u=http://d.hatena.ne.jp/keyword/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
<https://translate.google.com/website?sl=ja&tl=sv&hl=sv&prev=search&u=https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/sound/usb?h%3Dv5.14-rc6%26id%3Daafe77cc45a595ca1d4536f2412ddf671ea9108c>.
This commit roughly contains some universal code that says, "Devices
with a vendor-specific device class, a vendor ID ofRoland
<https://translate.google.com/website?sl=ja&tl=sv&hl=sv&prev=search&u=http://d.hatena.ne.jp/keyword/Roland>orYamaha
<https://translate.google.com/website?sl=ja&tl=sv&hl=sv&prev=search&u=http://d.hatena.ne.jp/keyword/YAMAHA>,
and that use isochronous for transfer mode are audiodevices
<https://translate.google.com/website?sl=ja&tl=sv&hl=sv&prev=search&u=http://d.hatena.ne.jp/keyword/%25A5%25D0%25A5%25A4%25A5%25B9>right?
If we can identify the dataformat
<https://translate.google.com/website?sl=ja&tl=sv&hl=sv&prev=search&u=http://d.hatena.ne.jp/keyword/%25A5%25D0%25A5%25A4%25A5%25B9>,
we'll make them work as PCM devices." This allows a large amount
ofRoland
<https://translate.google.com/website?sl=ja&tl=sv&hl=sv&prev=search&u=http://d.hatena.ne.jp/keyword/Roland>andYamaha
<https://translate.google.com/website?sl=ja&tl=sv&hl=sv&prev=search&u=http://d.hatena.ne.jp/keyword/YAMAHA>equipment
to work
withALSA<https://translate.google.com/website?sl=ja&tl=sv&hl=sv&prev=search&u=http://d.hatena.ne.jp/keyword/ALSA>*4
<https://wave-hatenablog-com.translate.goog/entry/2021/11/16/080800?_x_tr_sl=ja&_x_tr_tl=sv&_x_tr_hl=sv&_x_tr_pto=sc#f-b208a733>.
As a result, it seems that snd-usb-audio's quirks-relatedsource code
<https://translate.google.com/website?sl=ja&tl=sv&hl=sv&prev=search&u=http://d.hatena.ne.jp/keyword/%25A5%25BD%25A1%25BC%25A5%25B9%25A5%25B3%25A1%25BC%25A5%25C9>can
now work even without device-specific code forUA
<https://translate.google.com/website?sl=ja&tl=sv&hl=sv&prev=search&u=http://d.hatena.ne.jp/keyword/UA>-11
andUA -33."
<https://translate.google.com/website?sl=ja&tl=sv&hl=sv&prev=search&u=http://d.hatena.ne.jp/keyword/UA>
The links above as text:
https://mailman.alsa-project.org/pipermail/alsa-devel/2021-March/182929.html
https://wave.hatenablog.com/entry/2021/11/16/080800 (in .jp so you
will need to translate it)
Here's some info from my laptop:
# uname -a
FreeBSD freebsd15KDE-hp15g041so 15.0-RELEASE-p5 FreeBSD 15.0-RELEASE-p5
releng/15.0-n281018-0730d5233286 GENERIC amd64
# dmesg | grep uaudio
#
# cat /dev/sndstat
Installed devices:
pcm0: <ATI R6xx (HDMI)> (play)
pcm1: <Realtek ALC282 (Analog)> (play/rec) default
pcm2: <Realtek ALC282 (Analog)> (play/rec)
No devices installed from userspace.
# usbconfig
ugen0.1: <XHCI root HUB AMD> at usbus0, cfg=0 md=HOST spd=SUPER
(5.0Gbps) pwr=SAVE (0mA)
ugen1.1: <OHCI root HUB AMD> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=SAVE (0mA)
ugen2.1: <EHCI root HUB AMD> at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps)
pwr=SAVE (0mA)
ugen4.1: <EHCI root HUB AMD> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps)
pwr=SAVE (0mA)
ugen3.1: <OHCI root HUB AMD> at usbus3, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=SAVE (0mA)
ugen0.2: <Wireless Keyboard/Mouse MosArt Semiconductor Corp.> at usbus0,
cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA)
ugen4.2: <Webcam Cheng Uei Precision Industry Co., Ltd (Foxlink)> at
usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)
ugen1.2: <TRI-CAPTURE Roland Corp.> at usbus1, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=ON (450mA)
# usbconfig -d 1.2 dump_all_desc
ugen1.2: <TRI-CAPTURE Roland Corp.> at usbus1, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=ON (450mA)
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0110
bDeviceClass = 0x00ff <Vendor specific>
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x00ff
bMaxPacketSize0 = 0x0040
idVendor = 0x0582
idProduct = 0x0132
bcdDevice = 0x0100
iManufacturer = 0x0001 <Roland>
iProduct = 0x0002 <TRI-CAPTURE>
iSerialNumber = 0x0000 <no string>
bNumConfigurations = 0x0001
Configuration index 0
bLength = 0x0009
bDescriptorType = 0x0002
wTotalLength = 0x0073
bNumInterfaces = 0x0002
bConfigurationValue = 0x0001
iConfiguration = 0x0000 <no string>
bmAttributes = 0x0080
bMaxPower = 0x00e1
Interface 0
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0000
bAlternateSetting = 0x0000
bNumEndpoints = 0x0000
bInterfaceClass = 0x00ff <Vendor specific>
bInterfaceSubClass = 0x0002
bInterfaceProtocol = 0x0002
iInterface = 0x0000 <no string>
Additional Descriptor
bLength = 0x06
bDescriptorType = 0x24
bDescriptorSubType = 0xf1
RAW dump:
0x00 | 0x06, 0x24, 0xf1, 0x01, 0x00, 0x00
Interface 0 Alt 1
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0000
bAlternateSetting = 0x0001
bNumEndpoints = 0x0001
bInterfaceClass = 0x00ff <Vendor specific>
bInterfaceSubClass = 0x0002
bInterfaceProtocol = 0x0002
iInterface = 0x0000 <no string>
Additional Descriptor
bLength = 0x07
bDescriptorType = 0x24
bDescriptorSubType = 0x01
RAW dump:
0x00 | 0x07, 0x24, 0x01, 0x01, 0x00, 0x01, 0x00
Additional Descriptor
bLength = 0x0b
bDescriptorType = 0x24
bDescriptorSubType = 0x02
RAW dump:
0x00 | 0x0b, 0x24, 0x02, 0x01, 0x02, 0x03, 0x18, 0x01,
0x08 | 0x44, 0xac, 0x00
Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0001 <OUT>
bmAttributes = 0x0009 <ADAPT-ISOCHRONOUS>
wMaxPacketSize = 0x0120
bInterval = 0x0001
bRefresh = 0x0000
bSynchAddress = 0x0000
Additional Descriptor
bLength = 0x07
bDescriptorType = 0x25
bDescriptorSubType = 0x01
RAW dump:
0x00 | 0x07, 0x25, 0x01, 0x00, 0x02, 0x00, 0x02
Interface 1
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0001
bAlternateSetting = 0x0000
bNumEndpoints = 0x0000
bInterfaceClass = 0x00ff <Vendor specific>
bInterfaceSubClass = 0x0002
bInterfaceProtocol = 0x0001
iInterface = 0x0000 <no string>
Interface 1 Alt 1
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0001
bAlternateSetting = 0x0001
bNumEndpoints = 0x0001
bInterfaceClass = 0x00ff <Vendor specific>
bInterfaceSubClass = 0x0002
bInterfaceProtocol = 0x0001
iInterface = 0x0000 <no string>
Additional Descriptor
bLength = 0x07
bDescriptorType = 0x24
bDescriptorSubType = 0x01
RAW dump:
0x00 | 0x07, 0x24, 0x01, 0x07, 0x00, 0x01, 0x00
Additional Descriptor
bLength = 0x0b
bDescriptorType = 0x24
bDescriptorSubType = 0x02
RAW dump:
0x00 | 0x0b, 0x24, 0x02, 0x01, 0x02, 0x03, 0x18, 0x01,
0x08 | 0x44, 0xac, 0x00
Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0082 <IN>
bmAttributes = 0x0005 <ASYNC-ISOCHRONOUS>
wMaxPacketSize = 0x0120
bInterval = 0x0001
bRefresh = 0x0000
bSynchAddress = 0x0000
Additional Descriptor
bLength = 0x07
bDescriptorType = 0x25
bDescriptorSubType = 0x01
RAW dump:
0x00 | 0x07, 0x25, 0x01, 0x00, 0x00, 0x00, 0x00
Grateful for any help at all.
/Roger