Re: Any chance of getting an old USB Soundcard to work? (Roland UA-33 aka Tri-Capture)

From: Roger Olofsson <raggen44_at_gmail.com>
Date: Sat, 25 Apr 2026 13:45:53 UTC
Hello,

Tried the following to no avail:

Rebuilt kernel after adding the following line to 
/usr/src/sys/dev/usb/usbdevs:

Code:
product ROLAND UA33             0x0132  UA-33 Audio I/F

And this line changed in /usr/src/sys/dev/usb/quirk/usb_quirk.c:

Code:
USB_QUIRK(ROLAND, UA33, UQ_AU_VENDOR_CLASS),

And also I kldloaded snd_uadio and replugged the device:

# kldload snd_uaudio
#

But still no luck.

# 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.

# uname -a
FreeBSD freebsd15KDE-hp15g041so 15.0-RELEASE-p6 FreeBSD 15.0-RELEASE-p6 
#2 releng/15.0-n281024-6b6bc9afa0b0-dirty: Sat Apr 25 14:56:20 CEST 2026
user@freebsd15KDE-hp15g041so:/usr/obj/usr/src/amd64.amd64/sys/ROLAND amd64

# kldstat | grep snd_
29 2 0xffffffff836bd000 e5b0 snd_uaudio.ko
30 1 0xffffffff836cc000 24d8 snd_driver.ko
31 1 0xffffffff836cf000 3200 snd_als4000.ko
32 1 0xffffffff836d3000 41e8 snd_atiixp.ko
33 1 0xffffffff836d8000 31f0 snd_cs4281.ko
34 1 0xffffffff836dc000 5490 snd_envy24.ko
35 3 0xffffffff836e2000 2110 snd_spicds.ko
36 1 0xffffffff836e5000 4670 snd_envy24ht.ko
37 1 0xffffffff836ea000 2230 snd_fm801.ko
38 1 0xffffffff836ed000 5609 snd_hdsp.ko
39 1 0xffffffff836f3000 5649 snd_hdspe.ko
40 1 0xffffffff836f9000 7ce0 snd_maestro3.ko
41 1 0xffffffff83701000 f1d0 snd_neomagic.ko
42 1 0xffffffff83711000 4230 snd_solo.ko
43 1 0xffffffff83716000 3250 snd_t4dwave.ko
44 1 0xffffffff8371a000 31f0 snd_via82c686.ko
45 1 0xffffffff8371e000 4200 snd_vibes.ko

# usbconfig | grep Roland
ugen1.2: <TRI-CAPTURE Roland Corp.> at usbus1, cfg=0 md=HOST spd=FULL 
(12Mbps) pwr=ON (450mA)

Still reports bInterfaceClass = 0x00ff.

# usbconfig -d ugen1.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

Also tried

# usbconfig -d ugen1.2 add_quirk UQ_AU_VENDOR_CLASS
#

And unplug/replug but no luck.

/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