Maybe you could try with http://damien.douxchamps.net/ieee1394/libdc1394/ ?
Works very well on linux at least , it suses the firewire driver so it should be easier Antoine On 8/14/07, Laurent Pinchart <[EMAIL PROTECTED]> wrote: > > Hi Felix, > > First of all, sorry for the late reply. > > On Sunday 12 August 2007, Felix Möller wrote: > > Felix Möller schrieb: > > > Hi, > > > > > > > I cannot get my iSight in an early 2006 MacBook working. > > There are a couple of problems with the iSight. The main issue is that the > device is not UVC compliant. It requires hacks in the driver to work > properly. > > The second issue is that the webcam has no firmware memory. The host has > to > upload the firmware every time the computer is started. There is a > userspace > firmware loading utility called fxload that handles firmware loading, so > I'm > not very keen on adding firmware loading support to the driver itself. It > seems the concensus among kernels developers is to use the fxload utility. > I > could of course change my mind if I'm proven wrong :-) > > I don't own any MacBook so I can't test driver hacks. A few users helped > me in > creating a patch for the Linux UVC driver to support iSight webcams. I > wasn't > very happy with the last version, so I asked for feedback on a revised > patch. > I got no reply so far. > > > > Is there anything I could try? I am willing to compile from SVN or > > > provide any needed information. > > The current version of the iSight patch doesn't apply cleanly to the > latest > SVN revision. You could fix the patch and test it. You will have to load > the > firmware with a userspace utility. > > I attached the most recent patch I have, as well as a userspace utility > which > should upload the firmware. > > > > Hope to get this working ... > > > > trying uvccapture I get the following: > > > > /uvccapture-0.4 # ./uvccapture -v > > Using videodevice: /dev/video0 > > Saving images to: snap.jpg > > Image size: 320x240 > > Taking snapshot every 0 seconds > > Taking images using mmap > > Unable to set format: 22. > > Init v4L2 failed !! exit fatal > > > > modprobing with trace=15 I get the following: > > > uvcvideo: Adding mapping Brightness to control > > > 00000000-0000-0000-0000-000000000101/2. uvcvideo: Adding mapping > Contrast > > > to control 00000000-0000-0000-0000-000000000101/3. uvcvideo: Adding > > > mapping Hue to control 00000000-0000-0000-0000-000000000101/6. > uvcvideo: > > > Adding mapping Saturation to control > > > 00000000-0000-0000-0000-000000000101/7. uvcvideo: Adding mapping > > > Sharpness to control 00000000-0000-0000-0000-000000000101/8. uvcvideo: > > > Adding mapping Gamma to control > 00000000-0000-0000-0000-000000000101/9. > > > uvcvideo: Adding mapping Backlight Compensation to control > > > 00000000-0000-0000-0000-000000000101/1. uvcvideo: Adding mapping Gain > to > > > control 00000000-0000-0000-0000-000000000101/4. uvcvideo: Adding > mapping > > > Power Line Frequency to control > 00000000-0000-0000-0000-000000000101/5. > > > uvcvideo: Adding mapping Hue, Auto to control > > > 00000000-0000-0000-0000-000000000101/16. uvcvideo: Adding mapping Pan > > > (relative) to control 63610682-5070-49ab-b8cc-b3855e8d2256/1. > uvcvideo: > > > Adding mapping Tilt (relative) to control > > > 63610682-5070-49ab-b8cc-b3855e8d2256/1. uvcvideo: Adding mapping > Pan/Tilt > > > (reset) to control 63610682-5070-49ab-b8cc-b3855e8d2256/2. uvcvideo: > > > Adding mapping Exposure, Auto to control > > > 00000000-0000-0000-0000-000000000001/2. uvcvideo: Adding mapping > Exposure > > > (Absolute) to control 00000000-0000-0000-0000-000000000001/4. > uvcvideo: > > > Adding mapping White Balance Temperature, Auto to control > > > 00000000-0000-0000-0000-000000000101/11. uvcvideo: Adding mapping > White > > > Balance Temperature to control > 00000000-0000-0000-0000-000000000101/10. > > > uvcvideo: Probing known UVC device 4 (05ac:8501) > > > uvcvideo: iSight: firmware already loaded. > > > uvcvideo: Found format YUV 4:2:2 (UYVY). > > > uvcvideo: - 640x480 (30.0 fps) > > > uvcvideo: - 352x288 (30.0 fps) > > > uvcvideo: - 320x240 (30.0 fps) > > > uvcvideo: Found a Status endpoint (addr 81). > > > uvcvideo: Found UVC 1.00 device Built-in iSight (05ac:8501) > > > uvcvideo: Added control 00000000-0000-0000-0000-000000000101/2 to > device > > > 4 entity 2 uvcvideo: Added control > 00000000-0000-0000-0000-000000000101/7 > > > to device 4 entity 2 uvcvideo: Added control > > > 00000000-0000-0000-0000-000000000101/8 to device 4 entity 2 uvcvideo: > > > Added control 00000000-0000-0000-0000-000000000101/9 to device 4 > entity 2 > > > uvcvideo: Scanning UVC chain: OT 3 <- PU 2 <- IT 1 > > > uvcvideo: Found a valid video chain (1 -> 3). > > > uvcvideo: Failed to query (135) UVC control 1 (unit 0) : -32 (exp. > 26). > > > uvcvideo: UVC device initialized. > > > usbcore: registered new interface driver uvcvideo > > > USB Video Class driver (v0.1.0) > > > > I hope somebody has an idea what to try. ;) > > Have a look at the kernel log (dmesg) after trying uvccapture. You might > get > more information. > > Please also note that the Linux UVC driver supplied with openSUSE includes > an > old iSight patch (as well as possible other patches). I can't help you > much > with that driver. > > Best regards, > > Laurent Pinchart > > _______________________________________________ > Linux-uvc-devel mailing list > Linux-uvc-devel@lists.berlios.de > https://lists.berlios.de/mailman/listinfo/linux-uvc-devel > > >
_______________________________________________ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel