[LAU] Yamaha THR10 & recompiling kernel usb quirks etc

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: linux-audio-user@lists.linuxaudio.org <linux-audio-user@...>
Date: Tuesday, October 9, 2012 - 11:38 am

---630955406-1166111616-1349782671=:8429
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Could someone point me in the right direction in setting this up perhaps yo=
u know some good tutorials somewhere?=A0 I'm not sure exactly whats require=
d do i need to patch the kernel or recompile the kernel is it worth compili=
ng the lastest kernel from kernel.org 3.6.1 or do i modify my current kerne=
l 3.2.0-23-lowlatency? I'm running ubuntu studio 12.04. Sorry i have nil ex=
perience with this sort of thing but i'm dead keen to get it working just n=
eed a few pointers to get started. Many thanks to Clemens for scripting thi=
s hopefully we can make it work.=0A=0A=0APlease try adding the following en=
try somewhere in sound/usb/quirks-table.h:=0A=0A{=0A=A0=A0=A0 USB_DEVICE(0x=
0499, 0x1507),=0A=A0=A0=A0 .driver_info =3D (unsigned long) & (const struct=
snd_usb_audio_quirk) {=0A=A0=A0=A0 =A0=A0=A0 /* .vendor_name =3D "Yamaha",=
*/=0A=A0=A0=A0 =A0=A0=A0 /* .product_name =3D "THR10", */=0A=A0=A0=A0 =A0=
=A0=A0 .ifnum =3D QUIRK_ANY_INTERFACE,=0A=A0=A0=A0 =A0=A0=A0 .type =3D QUIR=
K_COMPOSITE,=0A=A0=A0=A0 =A0=A0=A0 .data =3D (const struct snd_usb_audio_qu=
irk[]) {=0A=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 {=0A=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =
=A0=A0=A0 .ifnum =3D 1,=0A=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 .type =3D=
QUIRK_AUDIO_STANDARD_INTERFACE=0A=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 },=0A=A0=A0=
=A0 =A0=A0=A0 =A0=A0=A0 {=0A=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 .ifnum =
=3D 2,=0A=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 .type =3D QUIRK_AUDIO_STAN=
DARD_INTERFACE=0A=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 },=0A=A0=A0=A0 =A0=A0=A0 =A0=
=A0=A0 {=0A=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 .ifnum =3D 3,=0A=A0=A0=
=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 .type =3D QUIRK_MIDI_YAMAHA=0A=A0=A0=A0 =
=A0=A0=A0 =A0=A0=A0 },=0A=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 {=0A=A0=A0=A0 =A0=A0=
=A0 =A0=A0=A0 =A0=A0=A0 .ifnum =3D -1=0A=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 }=0A=
=A0=A0=A0 =A0=A0=A0 }=0A=A0=A0=A0 }=0A},=0A=0A=0ARegards,=0AClemens
---630955406-1166111616-1349782671=:8429
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Could someone po=
int me in the right direction in setting this up perhaps you know some good=
tutorials somewhere?  I'm not sure exactly whats required do i need t=
o patch the kernel or recompile the kernel is it worth compiling the lastes=
t kernel from kernel.org 3.6.1 or do i modify my current kernel 3.2.0-23-lo=
wlatency? I'm running ubuntu studio 12.04. Sorry i have nil experience with=
this sort of thing but i'm dead keen to get it working just need a few poi=
nters to get started. Many thanks to Clemens for scripting this hopefully w=
e can make it work.Please try adding the =
following entry somewhere in sound/usb/quirks-table.h:{ &n=
bsp;  USB_DEVICE(0x0499, 0x1507),    .driver_info =
=3D (unsigned long) & (const struct snd_usb_audio_quirk) { &nb=
sp;      /* .vendor_name =3D "Yamaha", */ &nbs=
p;      /* .product_name =3D "THR10", */ &nbsp=
;      .ifnum =3D QUIRK_ANY_INTERFACE,  &=
nbsp;     .type =3D QUIRK_COMPOSITE,    &=
nbsp;   .data =3D (const struct snd_usb_audio_quirk[]) {&nbsp=
;           {   =
            .ifnum =3D 1,=
               =
.type =3D QUIRK_AUDIO_STANDARD_INTERFACE     &nbsp=

    },         &nbsp=
;  {            &nbsp=
;   .ifnum =3D 2,         =
       .type =3D QUIRK_AUDIO_STANDARD_INTERFACE            }, &nbsp=
;          {    &nbsp=
;           .ifnum =3D 3, =
               .type=
=3D QUIRK_MIDI_YAMAHA         &nbsp=
;  },            {              &nbsp=
; .ifnum =3D -1           =
}        }   
}},Regards,Clemens
---630955406-1166111616-1349782671=:8429--

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

This is the only confirmed message in this thread.