On Wed, Jul 7, 2010 at 5:06 AM, Jean-Francois Moine <moinejf@xxxxxxx> wrote: > > The video and audio don't work at the same time because the video is > opened before the audio and it takes all the USB bandwidth. > > The problem is in the main gspca.c, not in sonixj.c. It may fixed using > a lower alternate setting. To check it, you may add the following lines: > > if (dev->config->desc.bNumInterfaces != 1) > gspca_dev->nbalt -= 1; > after > gspca_dev->nbalt = intf->num_altsetting; > in the function gspca_dev_probe() of gspca.c. > > If it still does not work, change "-= 1" to "-= 2" or "-= 3" (there are > 8 alternate settings in your webcam). I've edited the gspca.c file with your suggestion to begin testing, but I'm unable to get the new drivers to compile with and Error 2. > For a correct fix, the exact video bandwidth shall be calculated and I > could not find yet time enough to do the job and people to test it... If you find time to start progress on this, I will be ready to test your changes. In the meantime, I will continue trying to compile and test these changes. If I understood more of how everything works then I'd start the bandwidth calculation progress myself. Unfortunately I don't, but I may be able to get a patch working if this will ever compile. Thanks. -- Kyle Baker -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html