Hi!

This is really my last e-mail.

I nailed down the bug which cause my Labtec Axis 712 
headset not to work.

The problem lies in the usb_audio_featureunit function.

state->nrchannels is not initialized there, only in mixerunit.

After line:
        usb_audio_recurseunit(state, ftr[4]);

One should add:
        if(ftr[5]==0){
                printk(KERN_ERR "usbaudio: wrong size of controls\n");
                return;
        } 
        state->nrchannels=(ftr[0]-7)/ftr[5]-1;

Could you fix it in the kernel? Or could you forward it to the
proper person to do it?

Best Regards,

Jacek



_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to