On Thu, Apr 16, 2020 at 07:00:10PM +0200, David Demelier wrote:
> >Synopsis:    Yamaha THR not detected (USB audio)
> >Category:    kernel
> >Environment:
>       System      : OpenBSD 6.6
>       Details     : OpenBSD 6.6-current (GENERIC.MP) #2: Fri Mar 13 08:50:48 
> CET 2020
>                        [email protected]:/sys/arch/amd64/compile/GENERIC.MP
> 
>       Architecture: OpenBSD.amd64
>       Machine     : amd64
> >Description:
> 
> I have two guitar amps:
> 
> Yamaha THR5A and Yamaha THR10. They have USB connections and once connected 
> they
> act as a separate sound card.
> 
> On OpenBSD they are detected but probably not probed by uaudio(4) driver.
> 
> FWIW: they are detected on Linux using their USB audio driver. I attach 
> relevant
> information if they can be useful below.
> 

I didn't find any claim from Yamaha that the THR10 is USB audio class
compliant (a.k.a "driverless" on macOS). AFAIU it needs a specific
driver from Yamaha.

Anyway, just in case, could you install the usbtils package and send
me the output of "lsusb -vvv" run as root

> (On Linux)
> 
> aplay --list-devices:
> 
> **** List of PLAYBACK Hardware Devices ****
> card 0: THR5A [THR5A], device 0: USB Audio [USB Audio]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> 
> Maybe adding their identifier to the recognized USB devices in uaudio(4) could
> work? I'd be glad to help but I don't know how to proceed (I know how to apply
> patch, build the kernel though).

There's no such lists for usb. The driver attaches to anything that
claims to be an audio device (usb audio class compliant). Sometimes
there are hardware or driver bugs that cause the driver to consider
the device as a non-audio device and skip it, lsusb will tell us.

It's similar to usb flash drives: there's no list of supported usb
flash drives: the usb mass storage driver attaches to anything that
claims to be a mass storage device.

Reply via email to