Comment 6 for bug 798610

Revision history for this message
pezcurrel (pezcurrel) wrote :

> So that would mean that the driver work fine if you boot on os x, start the webcam and reboot again on linux ?

No: after a boot on osx, the product id is 8501, until next cold boot.

It goes this way: on cold boot, before loading the firmware with standard ift-load, the product id is 8300; after loading the firmware with standard ift-load, or booting on osx, the product id becomes 8501, so if I try reloading the firmware with standard ift-load I get

ift-load: USB device 0x05AC:0x8300 not found
ift-load: No iSight found

But if I try reloading it with "Necati Kesec's patched ift-load version", it reloads no problem.
But, "Necati Kesec's patched ift-load version" gives error if run first on cold boot:

ift-load: USB device 0x05AC:0x8501 not found
ift-load: No iSight found

Anyway, sometimes (rarely) the product id will be 8501 even on cold boot (!).

So, In other words, your patch probably would work (I didn't test it), but ISIGHT_PRODUCT_ID_COLDBOOT should be renamed to ISIGHT_PRODUCT_ID_AFTER_LOADING_THE_FIRMWARE_USING_PRODUCT_ID_8300 or maybe just ISIGHT_ALTERNATIVE_PRODUCT_ID
;)

In order to test this, I copied into separate dir and subdirs the "standard" ift-load, "Necati Kesec's patched version", and the firmware file isight.fw; then I uninstalled the isight-firmware-tools package, so everything is to be done manually.

BTW: current linux usb.ids database (http://www.linux-usb.org/usb.ids) states

05ac Apple, Inc.
 8300 Built-in iSight (no firmware loaded)
 8501 Built-in iSight [Micron]