From: Manuel S. <ma...@sa...> - 2005-04-24 19:21:37
|
I 'm not sure, here's the right place to post it, so don't hesitate to flame me. I have compiled the 0.6.3 version of qc-usb with a 2.6.11.7 The webcam works fine with gqcam and vgrabbj. But the webcam is still unusable with xawtv. It seems that the VIDIOC_QUERYCAP ioctl of v4l2 doesn't work. So now the question is: Is this implemented, or is there a bug somewhere ? With lsusb I get: Bus 001 Device 002: ID 046d:0840 Logitech, Inc. QuickCam Express Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.00 bDeviceClass 255 Vendor Specific Class bDeviceSubClass 255 Vendor Specific Subclass bDeviceProtocol 255 Vendor Specific Protocol bMaxPacketSize0 8 idVendor 0x046d Logitech, Inc. idProduct 0x0840 QuickCam Express bcdDevice 1.00 iManufacturer 0 iProduct 1 iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 55 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 MaxPower 500mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 255 Vendor Specific Protocol iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 1 Transfer Type Isochronous Synch Type None Usage Type Data wMaxPacketSize 0x0000 1x 0 bytes bInterval 1 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0001 1x 1 bytes bInterval 16 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 1 bNumEndpoints 2 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 255 Vendor Specific Protocol iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 1 Transfer Type Isochronous Synch Type None Usage Type Data wMaxPacketSize 0x03ff 1x 1023 bytes bInterval 1 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0001 1x 1 bytes bInterval 16 In /proc/video/quickcam/video0 I have: General driver status Driver version : QuickCam USB 0.6.3 $Date: 2005/04/15 19:32:49 $ Kernel version : 2.6.11.7-littlekrobot.1 Device Id : 046D:0840 USB bus number : 1 Users : 1 Connected : Yes Picture settings set by user Brightness : 32768 Hue : 32768 Color : 32768 Contrast : 32768 Whiteness : 32768 Depth : 16 Palette : YUV422 Output window Width : 360 Height : 288 Sensor Type : HDCS-1000/1100 Manufacturer : Hewlett Packard Maximum width : 360 Maximum height : 296 Current width : 360 Current height : 288 I2C command stream Scheduled packets: 0 Packets on queue : 0 Isochronous data stream Stream enabled : Yes Transfer errors : 0 Frame buffering Frames on queue : 0 Capturing : Yes Waiting processes: 0 Automatic exposure control Picture intensity: 125 Exposure setting : 4352 Gain setting : 16000 Delta value : 128 Control algorithm: Float Default settings Debug : 0x10 Keep settings : No Settle max frames: 0 Subsampling : No Compress : No Frame skipping : 0 Image quality : 5 Adaptive : Yes Equalize : No User lookup-table: No Retryerrors : Yes Compatible 16x : No Compatible DblBuf: No Compatible ToRgb : No With the debug activated, and qcset debug=errors, the launch of xawtv Apr 24 21:25:22 localhost kernel: quickcam [ 4.259174]: ----------LOADING QUICKC AM MODULE------------ Apr 24 21:25:22 localhost kernel: quickcam [ 4.259206]: struct quickcam size: 63 12 Apr 24 21:25:22 localhost kernel: quickcam: QuickCam USB camera found (driver ve rsion QuickCam USB 0.6.3 $Date: 2005/04/15 19:32:49 $) Apr 24 21:25:22 localhost kernel: quickcam: Kernel:2.6.11.7-littlekrobot.1 bus:1 class:FF subclass:FF vendor:046D product:0840 Apr 24 21:25:22 localhost kernel: quickcam [ 4.327504]: poisoning qc in qc_usb_i nit Apr 24 21:25:22 localhost kernel: quickcam: Sensor HDCS-1000/1100 detected Apr 24 21:25:22 localhost kernel: quickcam: Registered device: /dev/video0 Apr 24 21:25:22 localhost kernel: usbcore: registered new driver quickcam Apr 24 21:25:22 localhost kernel: Linux agpgart interface v0.100 (c) Dave Jones Apr 24 21:25:22 localhost kernel: agpgart: Detected VIA Apollo ProMedia/PLE133Ta chipset Apr 24 21:25:22 localhost kernel: agpgart: Maximum main memory to use for agp me mory: 197M Apr 24 21:25:22 localhost kernel: agpgart: AGP aperture is 4M @ 0xd3000000 Apr 24 21:25:22 localhost kernel: eth0: link up, 100Mbps, half-duplex, lpa 0x40A 1 Apr 24 21:25:22 localhost kernel: NET: Registered protocol family 17 Apr 24 21:27:10 localhost kernel: quickcam [10.721675]: open users=1 Apr 24 21:27:10 localhost kernel: quickcam [10.746823]: close users=0 Apr 24 21:27:10 localhost kernel: quickcam [10.747402]: open users=1 Apr 24 21:27:10 localhost kernel: quickcam [10.876379]: close users=0 Apr 24 21:27:10 localhost kernel: quickcam [10.877366]: open users=1 Apr 24 21:27:15 localhost kernel: quickcam: frame lost Apr 24 21:27:45 localhost last message repeated 41 times Apr 24 21:27:45 localhost kernel: quickcam [45.890810]: open users=2 Apr 24 21:27:45 localhost kernel: quickcam [45.893063]: close users=1 Apr 24 21:27:49 localhost kernel: quickcam [49.590274]: buffer disabled, maxrawd atalen=0 rawdatalen=0 datalen=65 Apr 24 21:27:49 localhost kernel: quickcam [49.590327]: qc_frame_add error -16 Apr 24 21:27:49 localhost kernel: quickcam [49.590345]: buffer disabled, maxrawd atalen=0 rawdatalen=0 datalen=362 [...] Apr 24 21:28:03 localhost kernel: quickcam [ 3.129122]: close users=0 Apr 24 21:28:03 localhost kernel: quickcam [ 3.129660]: open users=1 Apr 24 21:28:03 localhost kernel: quickcam [ 3.156071]: failed qc_v4l_ioctl()=-515 Apr 24 21:28:03 localhost kernel: quickcam [ 3.193643]: close users=0 Apr 24 21:28:03 localhost kernel: quickcam [ 3.194082]: open users=1 Apr 24 21:28:03 localhost kernel: quickcam [ 3.220145]: failed qc_v4l_ioctl()=-515 Apr 24 21:28:04 localhost kernel: quickcam [ 4.379811]: USB interrupt, but no data received! Apr 24 21:28:04 localhost kernel: quickcam [ 4.389811]: USB interrupt, but no da[...] Thanks for your greatful work -- Do not be quick to reveal judgment. Hidden judgment often is more potent. It can guide reactions whose effects are felt only when too late to divert them. -- Bene Gesserit Advice to Postulants |