iSight Linux Driver Update

I have updated the iSight Driver with additional firmware loading validation and I’ve bundled it with the firmware in an easy to install package with instructions. This time you get patched linux-uvc SVN Head (it was my mistake that it didn’t work with the merged work by Ronald).

  • Twitter
  • Facebook
  • FriendFeed
  • StumbleUpon
  • Digg
  • del.icio.us
  • Google Bookmarks
  • Reddit
  • Tumblr
  • PDF
  • Print
  • email
Rating: (No Ratings Yet)
Loading ... Loading ...
Comments
Published: Dec 12th, 2006 (Views: 34)
Categories: Coding
Tags:
  • Thank you for your contribution, too. I will update the patch, see if it applies cleanly on latest uvcvideo and put an update online. Thanks again!
  • J Sanon
    Because of changes in the latest kernel, your isight.patch needs to be modified.
    I updated your isight_sha1 function to make it work.

    Thanks for your contribution.

    static void isight_sha1 (char *result, unsigned char *data, int size)
    {
    struct hash_desc desc;
    struct scatterlist sg[1];

    if (result == NULL)
    return;
    memset (result, 0x00, 20);
    sg_set_buf (sg, data, size);

    desc.tfm = crypto_alloc_hash("sha1", 0, CRYPTO_ALG_ASYNC);
    desc.flags = CRYPTO_TFM_REQ_MAY_SLEEP;

    if (desc.tfm != NULL) {
    crypto_hash_init(&desc);
    crypto_hash_update(&desc, sg, size);
    crypto_hash_final(&desc, result);
    crypto_free_hash(desc.tfm);
    }
    }
  • Hi,

    Please check http://i-nz.net/projects/linux-kernel/ for the last update (25.01.2007). I have updated everything (new patch, new code, new merge with svn head) and it should work just fine now (and yes the previous version was *very* broken...appologies :-) ). Please don't package this yet, because as mentioned on the updated page it's a preview version and we are in the process of integrating it into uvcvideo (and this is what should be packaged imho). I will post news on my blog, when I have some... Stay tuned!
  • FunkyM
    Really great job, going to package it for openSuSE. Unfortunately, it doesn't fully work here.

    I think the module never gets loaded (no probe) since initially the iSight shows up as 05ac:8300, if without firmware, and that ID is not in the matching table of the driver. Shouldn't it be included to trigger loading the fw then?

    I tried to manually add it to the list but I am getting "invalid firmware file". Surprisingly the fw loads great using the extract tool and is the one you bundled. lsusb shows only the 05ac:8300 device, no 05ac:8501 (as not fw is loaded) and manually loading it with the extract tool, makes it work with this driver.

    What to do?

    (kernel 2.6.18.2)

    BTW., also doesn't apply to latest svn cleanly, however doesn't work with it either after fixing the conflict ;)

    uvcvideo: Failed to query (135) UVC control 1 (unit 0) : -32 (exp. 26).
    uvcvideo: Failed to initialize the device (-5).
blog comments powered by Disqus