Sid Boyce wrote: > Sid Boyce wrote: >> Laurent Pinchart wrote: >>> Hi Sid, >>> >>> On Tuesday 15 January 2008, Sid Boyce wrote: >>>> Sid Boyce wrote: >>>>> # luvcview -l >>>>> luvcview version 0.2.1 >>>>> Video driver: x11 >>>>> A window manager is available >>>>> video /dev/video0 >>>>> Unable to set format: 16. >>>>> Init v4L2 failed !! exit fatal >>>>> >>>>> # luvcview -L >>>>> luvcview version 0.2.1 >>>>> Video driver: x11 >>>>> A window manager is available >>>>> video /dev/video0 >>>>> /dev/video0 does not support read i/o >>>>> { pixelformat = 'YUYV', description = 'YUV 4:2:2 (YUYV)' } >>>>> { discrete: width = 640, height = 480 } >>>>> Time interval between frame: 1/30, 1/20, 1/15, 1/10, 1/5, 1/1, >>>>> { discrete: width = 352, height = 288 } >>>>> Time interval between frame: 1/30, 1/20, 1/15, 1/10, 1/5, 1/1, >>>>> { discrete: width = 320, height = 240 } >>>>> Time interval between frame: 1/30, 1/20, 1/15, 1/10, 1/5, 1/1, >>>>> { discrete: width = 176, height = 144 } >>>>> Time interval between frame: 1/30, 1/20, 1/15, 1/10, 1/5, 1/1, >>>>> { discrete: width = 160, height = 120 } >>>>> Time interval between frame: 1/30, 1/20, 1/15, 1/10, 1/5, 1/1, >>>>> >>>>> >>>>> # lsmod|grep uvc >>>>> uvcvideo 68740 1 >>>>> compat_ioctl32 25728 1 uvcvideo >>>>> videodev 44160 2 uvcvideo >>>>> v4l1_compat 28932 2 uvcvideo,videodev >>>>> v4l2_common 36608 3 uvcvideo,compat_ioctl32,videodev >>>>> usbcore 164256 5 uvcvideo,usbhid,ohci_hcd,ehci_hcd >>>>> >>>>> openSUSE 11.0Alpha0 x86_64 with kernel 2.6.24-rc7-git5-smp. >>>>> Help appreciated. >>>>> Regards >>>>> Sid. >>>> Checked out my Logitech QuickCam Pro 9000 on my other x86_64 box - >>>> skype >>>> and luvcview - and it's fine, so there must be a problem with the >>>> driver >>>> with respect to the CrystalEye. >>> >>> -16 means -EBUSY. The camera is probably already in use by another >>> application. >>> >>> Best regards, >>> >>> Laurent Pinchart >>> >>> >> >> Nothing else that would use the camera is running, "lsof /dev/video0" >> also confirms that. I've tried 2 other USB webcams, gspca and ov51x, >> both work fine. >> It's either broken hardware or something strange in code. I've run >> both strace and gdb against luvcview, no more information. xawtv also >> gives EBUSY. I'm restoring XP to another HD to see if I get problems >> there also. >> Regards >> Sid. >> > > Whilst restoring XP I remembered the webcam did work. XP restored and > the webcam definitely is OK under XP. In with the Linux drive again. > I always do "svn up" to make sure I have the latest uvcvideo. > Regards > Sid.
After upgrading to 2.6.24-rc8, getting different results. # luvcview luvcview version 0.2.1 Video driver: x11 A window manager is available video /dev/video0 Unable to set format: 22. Init v4L2 failed !! exit fatal # xawtv -c /dev/video0 This is xawtv-3.95, running on Linux/x86_64 (2.6.24-rc8-smp) xinerama 0: 1440x900+0+0 WARNING: No DGA support available for this display. /dev/video0 [v4l2]: no overlay support v4l-conf had some trouble, trying to continue anyway ioctl: VIDIOC_G_STD(std=0x7ffff4508444 [PAL_G,PAL_D1,PAL_Nc,?,SECAM_K,SECAM_L,(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)]): Invalid argument ioctl: VIDIOC_S_STD(std=0x0 []): Invalid argument ioctl: VIDIOC_DQBUF(index=0;type=VIDEO_CAPTURE;bytesused=0;flags=0x0 [];field=ANY;;timecode.type=0;timecode.flags=0;timecode.frames=0;timecode.seconds=0;timecode.minutes=0;timecode.hours=0;timecode.userbits="";sequence=0;memory=unknown): Invalid argument ioctl: VIDIOC_DQBUF(index=0;type=VIDEO_CAPTURE;bytesused=0;flags=0x0 [];field=ANY;;timecode.type=0;timecode.flags=0;timecode.frames=0;timecode.seconds=0;timecode.minutes=0;timecode.hours=0;timecode.userbits="";sequence=0;memory=unknown): Invalid argument Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks _______________________________________________ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel