Hi Felix,

On Wednesday 15 August 2007, Felix Möller wrote:
> Hi,
>
> > ... and no video device is created.
> >
> > So now I am stuck again ... What could I try?
> >
> > http://people.freedesktop.org/~rbultje/isight.patch seems to be against
> > revision 40 thats probably quiet old ...
>
> I got the driver to detect the camera by now. I changed the following:
> your patch contains ...
>         /* Apple iSight (built-in Macintels) */
>         { .match_flags          = USB_DEVICE_ID_MATCH_DEVICE
>
>                                 | USB_DEVICE_ID_MATCH_INT_INFO,
>
>           .idVendor             = 0x05ac,
>           .idProduct            = 0x8501,
>           .bInterfaceClass      = USB_CLASS_VIDEO,
>           .bInterfaceSubClass   = 1,
>           .bInterfaceProtocol   = 0,
>           .driver_info          = UVC_QUIRK_PROBE_MINMAX
>         },
>
> ... I changed that to ...
>         /* Apple Built-In iSight - with firmware loaded  */
>         { .match_flags          = USB_DEVICE_ID_MATCH_DEVICE,
>           .idVendor             = 0x05ac,
>           .idProduct            = 0x8501,
>           .driver_info          = UVC_QUIRK_PROBE_MINMAX },
>
> ... as seen in
> http://www.i-nz.net/files/projects/linux-kernel/isight/isight.patch now
> the driver loads. ;)

Nice to see you're making progress :-)

> > 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: Found format Uncompressed.
> > 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)
>
> running uvccapture -m and uvccapture i get:
> uvcvideo: uvc_v4l2_open
> uvcvideo: uvc_v4l2_ioctl
> v4l2 ioctl VIDIOC_QUERYCAP, dir=r- (0x80685600)
> uvcvideo: uvc_v4l2_ioctl
> v4l2 ioctl VIDIOC_S_FMT, dir=rw (0xc0cc5605)
> uvcvideo: Trying format 0x56595559 (YUYV): 320x240.
> uvcvideo: Unsupported format 0x56595559.
> uvcvideo: uvc_v4l2_release
> uvcvideo: uvc_v4l2_open
> uvcvideo: uvc_v4l2_ioctl
> v4l2 ioctl VIDIOC_QUERYCAP, dir=r- (0x80685600)
> uvcvideo: uvc_v4l2_ioctl
> v4l2 ioctl VIDIOC_S_FMT, dir=rw (0xc0cc5605)
> uvcvideo: Trying format 0x47504a4d (MJPG): 320x240.
> uvcvideo: Unsupported format 0x47504a4d.
> uvcvideo: uvc_v4l2_release
>
> Does this make any sense to somebody?

Unfortunately, yes. The iSight doesn't stream video in the well-supported YUYV 
and MJPEG formats, but in the UYVY format. You will have to modify uvccapture 
(and possibly other applications) to support that format.

Best regards,

Laurent Pinchart
_______________________________________________
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to