[alsa-devel] [usb-audio] M-Audio FastTrack Pro giving invalid sample rates
peter.oehry at gmx.li
Thu Nov 29 00:01:59 CET 2007
On Wed, 28 Nov 2007 10:33:57 +0100
Thibault Le Meur <Thibault.LeMeur at supelec.fr> wrote:
> Lasse Kärkkäinen a écrit :
> > Resending because nobody reacted the last time. This is still broken
> > with 18.104.22.168, except for the fact that it doesn't seem to be possible
> > to adjust bConfigurationValue anymore (this is not exposed under sysfs
> > at least on my system), so I am stuck with configuration 1.
> Peter Oehry once proposed a fix for this device and I think it is not
> applied to HG yet (but I may be wrong): see thread "snd-usb-audio -
> Driver for M-Audio Fast Track Pro".
> The proposed patch is attached: I don't know if it would fix the issue
> you're describing.
> But one interesting comment may explain why it may have not been applied:
> +» » » /*·This·function·has·to·be·available·by·the·usb·core·module.·
> +» » » ···if·it·is·not·avialable·the·boot·quirk·has·to·be·left·out·and·the
> +» » » ···configuration·has·to·be·set·by·udev·or·hotplug·rules·*/
> +» » » err=usb_driver_set_configuration(dev,2);
At least this problem should be fixed, since the usb_driver_set_configuration() function is available in a recent Kernel.
See also the discussion on linux-usb-devel list:
"Select Configuration of M-Audio USB Device"
"[PATCH] usbcore: help drivers to change device configs"
More information about the Alsa-devel