Hello,

I have 2 identical Logitech C310 webcams and 2 different Linux boxes (Ubuntu 
Karmic 64bit, 2.6.31 AND Ubuntu Lucid 32bit, 2.6.32). None of the combinations 
can save jpegs directly from the camera. I always get the same error which I am 
starting to believe comes straight from the kernel (many different programs 
I've tried give the same error message). For instance:

fswebcam -v
--- Opening /dev/video0...
Trying source module v4l2...
/dev/video0 opened.
src_v4l2_get_capability,81: /dev/video0 information:
src_v4l2_get_capability,82: cap.driver: "uvcvideo"
src_v4l2_get_capability,83: cap.card: "UVC Camera (046d:081b)"
src_v4l2_get_capability,84: cap.bus_info: "usb-0000:00:1d.7-2"
src_v4l2_get_capability,85: cap.capabilities=0x04000001
src_v4l2_get_capability,86: - VIDEO_CAPTURE
src_v4l2_get_capability,97: - STREAMING
No input was specified, using the first.
src_v4l2_set_input,173: /dev/video0: Input 0 information:
src_v4l2_set_input,174: name = "Camera 1"
src_v4l2_set_input,175: type = 00000002
src_v4l2_set_input,177: - CAMERA
src_v4l2_set_input,178: audioset = 00000000
src_v4l2_set_input,179: tuner = 00000000
src_v4l2_set_input,180: status = 00000000
src_v4l2_set_pix_format,530: Device offers the following V4L2 pixel formats:
src_v4l2_set_pix_format,542: 0: YUYV (YUV 4:2:2 (YUYV))
src_v4l2_set_pix_format,542: 1: MJPG (MJPEG)
Using palette MJPEG
Adjusting resolution from 384x288 to 352x288.
src_v4l2_set_mmap,648: mmap information:
src_v4l2_set_mmap,649: frames=4
src_v4l2_set_mmap,694: 0 length=102400
src_v4l2_set_mmap,694: 1 length=102400
src_v4l2_set_mmap,694: 2 length=102400
src_v4l2_set_mmap,694: 3 length=102400
--- Capturing frame...
fswc_verify_jpeg_dht,420: Inserting DHT segment into JPEG frame.
Corrupt JPEG data: 1 extraneous bytes before marker 0xd1
Captured frame in 0.00 seconds.
--- Processing captured image...
There are unsaved changes to the image.

The line with error is:
Corrupt JPEG data: 1 extraneous bytes before marker 0xd1

Any hope to make it work? Please let me know if you need more data. I've used 
Linux for years but I am no driver/module/kernel expert.

Thanks,
Luke




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

Reply via email to