> -----Message d'origine----- > De : alsa-devel-bounces@xxxxxxxxxxxxxxxxxxxxx > [mailto:alsa-devel-bounces@xxxxxxxxxxxxxxxxxxxxx] De la part > de Pavel Polischouk > Envoyé : vendredi 24 novembre 2006 05:36 > À : alsa-devel@xxxxxxxxxxxxxxxxxxxxx > Objet : [PATCH 1.0.13 1/2] M-Audio USB > > > This patch adds the following capabilities to usbaudio.c: > - Merges support for M-Audio FastTrack USB > - Adds proper support for M-Audio Quattro USB > - Adds hot-reload support for all Audiophile, FastTrack and Quattro. This sounds great and I've had a quick look at the patches which look ok for me (at least it shouldn't break anything ;-) ). > This works quite well on Quattro; > Thibault, could you please verify that it works for Audiophile? I'll check as soon as possible. Maybe this Week-end, but I can't promise. > static int audiophile_skip_setting_quirk(struct snd_usb_audio *chip, > int iface, int altno) > { > - if (device_setup[chip->index] & AUDIOPHILE_SET) { > - if ((device_setup[chip->index] & AUDIOPHILE_SET_DTS) > + /* Reset ALL ifaces to 0 altsetting. > + Call it for every possible altsetting of every interface. */ > + usb_set_interface(chip->dev, iface, 0); > + if (device_setup[chip->index] & MAUDIO_SET) { Interresting, it seems to be enough to reset each interface just before setting it again. As far as I remember, the windows driver first reset all interfaces in a row before resetting the ones that correspond to the user mode selected. I'm longing to test it ;-) Thanks, Thibault ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-devel