Re: Add quirks to support M-Audio FastTrack Pro (uaudio)

2017-02-07 Thread Martin Pieuchot
On 03/02/17(Fri) 12:06, Christopher Zimmermann wrote: > [...] > > > > > @@ -444,6 +447,11 @@ uaudio_match(struct device *parent, void > > > > > if (uaa->iface == NULL || uaa->device == NULL) > > > > > return (UMATCH_NONE); > > > > > > > > > > + if (uaa->vendor ==

Re: Add quirks to support M-Audio FastTrack Pro (uaudio)

2017-02-03 Thread Christopher Zimmermann
Hi, thanks for your patience. If some things are still unclear I'll be glad to clarify. Christopher On 2017-02-02 Martin Pieuchot wrote: > On 31/01/17(Tue) 14:05, Christopher Zimmermann wrote: > > On 2017-01-29 Martin Pieuchot wrote: > > > On

Re: Add quirks to support M-Audio FastTrack Pro (uaudio)

2017-02-02 Thread Martin Pieuchot
On 31/01/17(Tue) 14:05, Christopher Zimmermann wrote: > On 2017-01-29 Martin Pieuchot wrote: > > On 29/01/17(Sun) 19:33, Christopher Zimmermann wrote: > > > [...] > > > @@ -444,6 +447,11 @@ uaudio_match(struct device *parent, void > > > if (uaa->iface == NULL || uaa->device ==

Re: Add quirks to support M-Audio FastTrack Pro (uaudio)

2017-01-31 Thread Christopher Zimmermann
Hi, below you find an updated diff. OK? On 2017-01-29 Martin Pieuchot wrote: > On 29/01/17(Sun) 19:33, Christopher Zimmermann wrote: > > [...] > > @@ -444,6 +447,11 @@ uaudio_match(struct device *parent, void > > if (uaa->iface == NULL || uaa->device == NULL) > >

Re: Add quirks to support M-Audio FastTrack Pro (uaudio)

2017-01-29 Thread Martin Pieuchot
On 29/01/17(Sun) 19:33, Christopher Zimmermann wrote: > [...] > Index: uaudio.c > === > RCS file: /cvs/src/sys/dev/usb/uaudio.c,v > retrieving revision 1.122 > diff -u -p -r1.122 uaudio.c > --- uaudio.c 3 Jan 2017 06:45:58 -

Re: Add quirks to support M-Audio FastTrack Pro (uaudio)

2017-01-29 Thread Christopher Zimmermann
On 2017-01-30 Martin Pieuchot wrote: > On 29/01/17(Sun) 14:45, Christopher Zimmermann wrote: > > > You are talking about usb_subr.c? Done. > > No I'm not :) > Yes please, do not touch usb_subr.c. > Also make sure your comment below respect style(9). ok. I got it. I

Re: Add quirks to support M-Audio FastTrack Pro (uaudio)

2017-01-29 Thread Martin Pieuchot
On 29/01/17(Sun) 14:45, Christopher Zimmermann wrote: > On 2017-01-29 Martin Pieuchot wrote: > > On 28/01/17(Sat) 13:02, Christopher Zimmermann wrote: > > > Hi, > > > > > > I needed to add some quirks to support the M-Audio FastTrack Pro USB > > > audio interface. > > > >

Re: Add quirks to support M-Audio FastTrack Pro (uaudio)

2017-01-29 Thread Martin Pieuchot
On 28/01/17(Sat) 13:02, Christopher Zimmermann wrote: > Hi, > > I needed to add some quirks to support the M-Audio FastTrack Pro USB > audio interface. Since this is just for one device there's no need for a quirk. Simply check for the device ID. > > * The device needs to be switched to the

Add quirks to support M-Audio FastTrack Pro (uaudio)

2017-01-28 Thread Christopher Zimmermann
Hi, I needed to add some quirks to support the M-Audio FastTrack Pro USB audio interface. * The device needs to be switched to the configuration 2 to show all its capabilities. This is done by a new quirk in usb_subr.c * It claims to consume little-endian samples, but actually expects