On Mo, 2011-06-13 at 14:18 +0800, hagar wrote: > On 06/12/2011 02:11 PM, Alexey Fisher wrote: > > On So, 2011-06-12 at 13:51 +0800, hagar wrote: > >> On 06/12/2011 01:40 PM, Alexey Fisher wrote: > >>> On So, 2011-06-12 at 10:08 +0800, hagar wrote: > >>>> On 06/12/2011 06:03 AM, Paulo Assis wrote: > >>>>> Hi, > >>>>> > >>>>> 2011/6/11 hagar<ha...@iinet.net.au>: > >>>>>> I have a Z-Star USB Digital Microscope It is supposed to have the > >>>>>> following > >>>>>> specifications - > >>>>>> > >>>>>> ManID - 0ac8 > >>>>>> DevID - 3610 > >>>>>> Image - 1.3 MP > >>>>>> Bus - USB 2.0 > >>>>>> Mag - 20x - 400x - ( Manual - More like Focus ) > >>>>>> Capture - Still& Video > >>>>>> Modes - 1600x1200, 1280x960, 800x600, 640x480, 352x288, 320x240, > >>>>>> 160x120 > >>>>> There seems to be something wrong with the camera specs: > >>>>> > >>>>> 1600 x 1200 = 1.9 MP > >>>>> > >>>>> so I wouldn't trust these values that much. > >>>> Sorry - Missed a bit - 1.3 MegaPixels (interpolated to 2M) > >>>> Resolutions - 1600x1200, 1280x1024, 1280x960, 1024x768, 800x600, > >>>> 640x480, 352x288, 320x240, 160x120 > >>>> > >>>> The first list was a summary - I missed the next one! > >>>>>> Color - 32 bit > >>>>>> Flicker - 50/60 Hz > >>>>>> Frames - Max 30fps under 600 Lus brightness > >>>>>> Shutter - 1 sec to 1/1000 sec > >>>>>> Light - 8 led dimmable (Manual) (Software ??) > >>>>>> Power - 5V DC from USB > >>>>>> > >>>>>> Now uvcvideo works but not fully > >>>>>> uvcvideo only allows resolutions of - 640x480, 352x288, 320x240, > >>>>>> 160x120 > >>>>>> > >>>>> Does the camera only presents 1 pixel format (MJPG, YUYV,..) for > >>>>> streaming ? > >>>>> Available resolutions may vary depending on the image format you > >>>>> choose for streaming (if more than one choice present) and they can > >>>>> also change if you use a usb1 port instead of a usb2. > >>>>> > >>>> I used a USB 2.0 port. And the uvcvideo driver will only return a max of > >>>> 640x480 resolution. > >>>> I dont know the camera lowlevel format. > >>>> But I was trying to look at the driver code to see if there was any > >>>> per-camera options.- I couldnt find any! > >>> This is usb(_universal_ serial buss) video class driver. Camera should > >>> tell the driver what it can. > >>> > >>>> would a lsusb -v -d 0ac8:3610 help ? > >>> Yes! > >> lsusb -v -d 0ac8:3610 > > Bad news. uvcvideo thins your cam has only 640x480, because your cam > > tells it has only 640x480. > > > > See this part of lsusb info: > >> Bus 001 Device 013: ID 0ac8:3610 Z-Star Microelectronics Corp. > >> Device Descriptor: > > ------------8<--------------------------------- > >> VideoStreaming Interface Descriptor: > >> bLength 26 > >> bDescriptorType 36 > >> bDescriptorSubtype 3 (STILL_IMAGE_FRAME) > >> bEndpointAddress 0 > >> bNumImageSizePatterns 5 > >> wWidth( 0) 640 > >> wHeight( 0) 480 > >> wWidth( 1) 352 > >> wHeight( 1) 288 > >> wWidth( 2) 320 > >> wHeight( 2) 240 > >> wWidth( 3) 176 > >> wHeight( 3) 144 > >> wWidth( 4) 160 > >> wHeight( 4) 120 > >> bNumCompressionPatterns 5 > > > According to The WinXP driver ini file the camera is capable of - ( > Would all the hex numbers be of use ? ) > > UVC FUNC_MODE HIGH SPEED RGB24 > 640x480, 160x120, 176x144, 320x240, 352x288, 800x600, 1024x768, > 1280x960, 1280x1024, (?? 1600x1280, 2000x1600, 2560x2048 ?? ) > > UVC FUNC_MODE FULL SPEED RGB24 > 640x480, 160x120, 176x144, 320x240, 352x288 > > UVC FUNC_MODE YUY2 HIGH SPEED VIDEO > 640x480, 160x120, 176x144, 320x240, 352x288, 800x600, 1024x768, > 1280x960, 1280x1024, (?? 1600x1280, 2000x1600, 2560x2048 ?? ) > > UVC FUNC_MODE STILL PIN HIGH SPEED RGB24 > 640x480, 160x120, 176x144, 320x240, 352x288, 800x600, 1024x768, > 1280x960, 1280x1024, (?? 1600x1280, 2000x1600, 2560x2048 ?? ) > > UVC FUNC_MODE STILL PIN FULL SPEED RGB24 > 640x480, 160x120, 176x144, 320x240, 352x288
Can you please check the driver (some.sys file) it use under win xp. The idea of UVC (usb video class) is zero config functionality. You plug some device and it just work. It is only possible if manufacture write all needed settings in the eeprom of the device (webcam,...). If you plug your device in MacOSX or Windows Vista/7, in any UVC ready OS, you will get same result - max resolution 640x480. If you need to install some thing to get more, then it is not UVC device, at least not 100%. Only good thing you can do for you and all others is to send this device back. Manufactures should learn to read and use uvc specification. -- Regards, Alexey _______________________________________________ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel