Scríobh M.S.:
> 2. If you replace this part out of isight.c, do you still get the crash?
>
> From:
> if (success == 0)
> isight_patch_usb_descriptor (dev);
> To:
> if ((success == 0) && (dev->descriptor.idProduct == 0x8501))
> isight_patch_usb_descriptor (dev);
>
> --- M.S
This doesn't work, but a number of reboots and lots of debug
statements later, I tracked the problem into _extract_offset and from
there into _sha1. I didn't have SHA1 compiled into the kernel and there
doesn't appear to be any checking on this, thus the segfault. Adding the
SHA1 option to the kernel allows the driver to load properly. It would
probably be a good idea to note this dependency somewhere and maybe do
some checking to make sure we don't try to access a NULL crypto_tfm. If
desired, I can try to update the patch with this when I get home this
evening.
Sean Burke
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel