08-06-2020, 06:12 PM | #1 |
Human being with feelings
Join Date: May 2012
Posts: 20
|
Yamaha THR10X / Linux Kernel Quirk
I'm really not sure where to put this kernel quirk ,
anyway if some one has a Yamaha THR10X and they want to use in Linux as a jack device you can add this bit of code to the kernel and compile a new kernel. I probably will summit it to the Linux Kernel source. this goes in kernel 5.8/sound/usb/quirks-table.h file after the THR5A quirk or in that section. Look at how the others are setup paste it in. copy and paste everything inside the lines. NO the editor is left justifying the code. Well the data is right, but you'll have to adjust every-line of code after you past it. it will be obvious when you look at the other Quirks. Tip use Notepad ++ to edit. __________________________________________________ _______________ { USB_DEVICE(0x0499, 0x150b), .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { /* .vendor_name = "Yamaha", */ /* .product_name = "THR10X", */ .ifnum = QUIRK_ANY_INTERFACE, .type = QUIRK_COMPOSITE, .data = (const struct snd_usb_audio_quirk[]) { { .ifnum = 1, .type = QUIRK_AUDIO_STANDARD_INTERFACE }, { .ifnum = 2, .type = QUIRK_AUDIO_STANDARD_INTERFACE }, { .ifnum = 3, .type = QUIRK_MIDI_YAMAHA }, { .ifnum = -1 } } } }, __________________________________________________ ________________ |
Thread Tools | |
Display Modes | |
|
|