On Monday 30 August 2010 23:34:41 Hans Petter Selasky wrote:
> On Monday 30 August 2010 22:10:51 David Naylor wrote:
> > On Monday 30 August 2010 21:18:28 Hans Petter Selasky wrote:
> > > On Monday 30 August 2010 08:56:36 David Naylor wrote:
> > > > On Monday 30 August 2010 08:33:30 Hans Petter Selasky wrote:
> > > > > Hi,
> > > > > 
> > > > > Could you dump device descriptor and current configuration
> > > > > descriptor using usbconfig. I need the vendor ID and product ID at
> > > > > least to be able to debug this issue.
> > > > 
> > > > # usbconfig -d ugen0.2 dump_device_desc
> > > > ugen0.2: <CIF Single Chip Pixart Imaging Inc.> at usbus0, cfg=0
> > > > md=HOST spd=FULL (12Mbps) pwr=ON
> > > > 
> > > >   bLength = 0x0012
> > > >   bDescriptorType = 0x0001
> > > >   bcdUSB = 0x0110
> > > >   bDeviceClass = 0x00ff
> > > >   bDeviceSubClass = 0x00ff
> > > >   bDeviceProtocol = 0x00ff
> > > >   bMaxPacketSize0 = 0x0008
> > > >   idVendor = 0x093a
> > > >   idProduct = 0x2468
> > > >   bcdDevice = 0x0100
> > > >   iManufacturer = 0x0001  <Pixart Imaging Inc. >
> > > >   iProduct = 0x0002  <CIF Single Chip     >
> > > >   iSerialNumber = 0x0000  <no string>
> > > >   bNumConfigurations = 0x0001
> > > > 
> > > > # usbconfig -d ugen0.2 dump_curr_config_desc
> > > > ugen0.2: <CIF Single Chip Pixart Imaging Inc.> at usbus0, cfg=0
> > > > md=HOST spd=FULL (12Mbps) pwr=ON
> > > 
> > > Hi,
> > > 
> > > This information looks Ok.
> > > 
> > > Try installing webcamd from I4B SVN:
> > > 
> > > Compile using:
> > > 
> > > make -j3 HAVE_DEBUG=YES
> > > 
> > > http://www.selasky.org/hans_petter/video4bsd
> > > 
> > > Then start webcamd in the foreground and post debug log.
> > 
> > Hi,
> > 
> > Here is the debug output from webcamd:
> > 
> > # ./webcamd
> > Linux video capture interface: v2.00
> > benq: registered
> > conex: registered
> > etoms: registered
> > finepix: registered
> > gspca_gl860: driver startup - version 0.9d10
> > gspca_gl860: driver registered
> > gspca: main v2.9.0 registered
> > jeilinj: registered
> > ALi m5602: registered
> > mars: registered
> > mr97310a: registered
> > ov519: registered
> > ov534: registered
> > ov534_9: registered
> > pac207: registered
> > pac7302: registered
> > pac7311: registered
> > sn9c20x: registered
> > sonixb: registered
> > sonixj: registered
> > spca500: registered
> > spca501: registered
> > spca505: registered
> > spca506: registered
> > spca508: registered
> > spca561: registered
> > sq905: registered
> > sq905c: registered
> > stk014: registered
> > stv0680: registered
> > STV06xx: registered
> > sunplus: registered
> > t613: registered
> > tv8532: registered
> > vc032x: registered
> > zc3xx: registered
> > pwc: Philips webcam module version 10.0.13 loaded.
> > pwc: Supports Philips PCA645/646, PCVC675/680/690,
> > PCVC720[40]/730/740/750 & PCVC830/840.
> > pwc: Also supports the Askey VC010, various Logitech Quickcams, Samsung
> > MPC- C10 and MPC-C30,
> > pwc: the Creative WebCam 5 & Pro Ex, SOTEC Afina Eye and Visionite
> > VCS-UC300 and VCS-UM100.
> > cpia2: V4L-Driver for Vision CPiA2 based cameras v2.0.0
> > pvrusb2: V4L in-tree version:Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner
> > pvrusb2: Debug mask is 31 (0x1f)
> > dib0700: loaded with support for 14 different device-types
> > b2c2-flexcop: B2C2 FlexcopII/II(b)/III digital TV receiver chip loaded
> > successfully
> > stv0680: registered
> > SE401 usb camera driver version 0.24 registering
> > usbvideo_register: Allocated $0x80106f000 (4576. bytes) for 4.
> > camerasusbvideo_register: Allocated cams[0].user_data=$0x80106c070 (48.
> > bytes)usbvideo_register: Allocated cams[1].user_data=$0x80106c0a0 (48.
> > bytes)usbvideo_register: Allocated cams[2].user_data=$0x80106c0d0 (48.
> > bytes)usbvideo_register: Allocated cams[3].user_data=$0x80106c100 (48.
> > bytes): v1.4:Konica Webcam driver
> > usbvideo_register: Allocated $0x8010f4600 (1672. bytes) for 1.
> > camerasusbvideo_register: Allocated cams[0].user_data=$0x801116100 (200.
> > bytes)usbvideo_register: Allocated $0x801070800 (4576. bytes) for 4.
> > camerasusbvideo_register: Allocated cams[0].user_data=$0x80106c130 (48.
> > bytes)usbvideo_register: Allocated cams[1].user_data=$0x80106c160 (48.
> > bytes)usbvideo_register: Allocated cams[2].user_data=$0x80106c190 (48.
> > bytes)usbvideo_register: Allocated cams[3].user_data=$0x80106c1c0 (48.
> > bytes): Zoran 364xx
> > USB Video Class driver (v0.1.0)
> > Attached ugen0.2[0] to cuse unit 0
> > gspca: probing 093a:2468
> > pac207: Pixart Sensor ID 0x27 Chips ID 0x00
> > pac207: Pixart PAC207BCA Image Processor and Control Chip detected
> > (vid/pid 0x093A:0x2468)
> > gspca: video0 created
> > gspca: found int in endpoint: 0x83, buffer_len=2, interval=50
> > Creating /dev/video0
> > (( ran pwcview ))
> > gspca: found int in endpoint: 0x83, buffer_len=2, interval=50
> > gspca: found int in endpoint: 0x83, buffer_len=2, interval=50
> > (( ran pwcview ))
> > gspca: found int in endpoint: 0x83, buffer_len=2, interval=50
> > gspca: found int in endpoint: 0x83, buffer_len=2, interval=50
> > 
> > Both times pwcview reported the same error.
> 
> Ok.
> 
> I looked at the driver code for your webcamd, and it does not support all
> frame rates.
> 
> What does:
> 
> pwcview -f 6
> 
> Result in?

I've tried all framerates (5-30) for sizes sqcif, qsif, qcif, sif, cif, vga.  
All failed.  

Strangely pwcview is reporting (at all framerates):
Webcam set to: 352x288 (vga) at ?? fps

Isn't that supposed to be 640x480?

sqcif fails with (at all framerates):
Webcam set to: 176x144 (sqcif) at ?? fps
libv4l2: error converting / decoding frame data: v4l-convert: error 
destination buffer too small (18432 < 38016)
Error reading from webcam: Bad address

webcamd did report some errors:
gspca: frame overflow 28838 > 28672

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to