From: Ken A S. <ks...@se...> - 2009-01-16 21:02:10
|
I determined that the "bad" machine had only a USB 1.0 controller (despite being advertised as having 2.0 ports). Saw this with: debian4:~# lspci -v | grep HCI 00:01.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07) (prog-if 10 [OHCI]) debian4:~# Consistent with this (using lsmod), I observed that the "bad" machine loaded module ohci_hcd while the "good" machine loaded ehci_hcd and uhci_hcd. This apparently was why the 'bad' machine couldn't receive hi-res images. On Fri, 16 Jan 2009 14:54:19 -0500, "Ken A Scott" <ks...@se...> said : >So check that USB host / hubs are you using to connect webcams in both >machines and you will see what do you need to allow 1600x1200 and what >is not enough ... i bet you have USB 1.1 or a shared 2.0 host in bad >machine and a dedicated 2.0 in good machine. How do I interrogate this Hub question? Both boxes have only 2.0 USB ports and there is nothing else USB plugged in ? Thanks On Fri, 16 Jan 2009 14:15:59 -0500, "Ken A Scott" <ks...@se...> said : Hi all I have two similar boxes, one of which will operate at 1600x1200 resolution and one which automatically adjusts down to 176x144. Both have the same kernel (Debian 2.6.26-1), both are using the exact same camera hardware (logitech Quickcam 9000), The good machine is using Motion 3.2.9-2 while the 'bad' machine is using 3.2.9-7. Any idea why the bad machine is "automatically" adjusting the resolution away from the desired 1600x1200? The motion.conf specifies 1600x1200. Thanks in advance Ken See log (from bad machine below): Jan 15 14:03:58 debian4 motion: [0] Processing thread 0 - config file /etc/motion/motion.conf Jan 15 14:03:58 debian4 motion: [0] Motion 3.2.9 Started Jan 15 14:03:58 debian4 motion: [0] Motion running as daemon process Jan 15 14:03:58 debian4 motion: [0] Capturing 1 frames/s when idle Jan 15 14:03:58 debian4 motion: [0] ffmpeg LIBAVCODEC_BUILD 3355136 LIBAVFORMAT_BUILD 3409664 Jan 15 14:03:58 debian4 motion: [0] Thread 1 is from /etc/motion/motion.conf Jan 15 14:03:58 debian4 motion: [1] cap.driver: "uvcvideo" Jan 15 14:03:58 debian4 motion: [1] cap.card: "UVC Camera (046d:0990)" Jan 15 14:03:58 debian4 motion: [1] cap.bus_info: "0000:00:01.2" Jan 15 14:03:58 debian4 motion: [1] cap.capabilities=0x04000001 Jan 15 14:03:58 debian4 motion: [1] - VIDEO_CAPTURE Jan 15 14:03:58 debian4 motion: [1] - STREAMING Jan 15 14:03:58 debian4 motion: [1] Supported palettes: Jan 15 14:03:58 debian4 motion: [1] 0: MJPG (MJPEG) Jan 15 14:03:58 debian4 motion: [1] 1: YUYV (YUV 4:2:2 (YUYV)) Jan 15 14:03:58 debian4 motion: [1] Test palette YUYV (1600x1200) Jan 15 14:03:58 debian4 motion: [1] Adjusting resolution from 1600x1200 to 176x144. Jan 15 14:03:58 debian4 motion: [1] Using palette YUYV (176x144) bytesperlines 352 sizeimage 50688 colorspace 00000008 Jan 15 14:03:58 debian4 motion: [1] found control 0x00980900, "Brightness", range 0,255 Jan 15 14:03:58 debian4 motion: [1] ^I"Brightness", default 128, current 128 Jan 15 14:03:58 debian4 motion: [1] found control 0x00980901, "Contrast", range 0,255 Jan 15 14:03:58 debian4 motion: [1] ^I"Contrast", default 32, current 32 Jan 15 14:03:58 debian4 motion: [1] found control 0x00980902, "Saturation", range 0,255 Jan 15 14:03:58 debian4 motion: [1] ^I"Saturation", default 32, current 32 Jan 15 14:03:58 debian4 motion: [1] found control 0x00980913, "Gain", range 0,255 Jan 15 14:03:58 debian4 motion: [1] ^I"Gain", default 0, current 0 The 'good machine' log is below: Jan 15 11:39:53 debian4r2a motion: [0] Processing thread 0 - config file /etc/motion/motion.conf Jan 15 11:39:53 debian4r2a motion: [0] Motion 3.2.9 Started Jan 15 11:39:53 debian4r2a motion: [0] ffmpeg LIBAVCODEC_BUILD 3352064 LIBAVFORMAT_BUILD 3344896 Jan 15 11:39:53 debian4r2a motion: [0] Thread 1 is from /etc/motion/motion.conf Jan 15 11:39:53 debian4r2a motion: [1] cap.driver: "uvcvideo" Jan 15 11:39:53 debian4r2a motion: [1] cap.card: "UVC Camera (046d:0990)" Jan 15 11:39:53 debian4r2a motion: [1] cap.bus_info: "0000:00:10.4" Jan 15 11:39:53 debian4r2a motion: [1] cap.capabilities=0x04000001 Jan 15 11:39:53 debian4r2a motion: [1] - VIDEO_CAPTURE Jan 15 11:39:53 debian4r2a motion: [1] - STREAMING Jan 15 11:39:53 debian4r2a motion: [1] Supported palettes: Jan 15 11:39:53 debian4r2a motion: [1] 0: MJPG (MJPEG) Jan 15 11:39:53 debian4r2a motion: [1] 1: YUYV (YUV 4:2:2 (YUYV)) Jan 15 11:39:53 debian4r2a motion: [1] Test palette YUYV (1600x1200) Jan 15 11:39:53 debian4r2a motion: [1] Using palette YUYV (1600x1200) bytesperlines 3200 sizeimage 3840000 colorspace 00000008 Jan 15 11:39:53 debian4r2a motion: [1] found control 0x00980900, "Brightness", range 0,255 Jan 15 11:39:53 debian4r2a motion: [1] ^I"Brightness", default 128, current 128 Jan 15 11:39:53 debian4r2a motion: [1] found control 0x00980901, "Contrast", range 0,255 Jan 15 11:39:53 debian4r2a motion: [1] ^I"Contrast", default 32, current 32 Jan 15 11:39:53 debian4r2a motion: [1] found control 0x00980902, "Saturation", range 0,255 Jan 15 11:39:53 debian4r2a motion: [1] ^I"Saturation", default 32, current 32 Jan 15 11:39:53 debian4r2a motion: [1] found control 0x00980913, "Gain", range 0,255 Jan 15 11:39:53 debian4r2a motion: [1] ^I"Gain", default 0, current 0 -- Ken A Scott ks...@se... -- Ken A Scott ks...@se... -- Ken A Scott ks...@se... |