Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Aug 2010 22:10:51 +0200
From:      David Naylor <naylor.b.david@gmail.com>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: webcamd and Pixart Imaging
Message-ID:  <201008302210.57291.naylor.b.david@gmail.com>
In-Reply-To: <201008302118.28889.hselasky@c2i.net>
References:  <201008292147.09750.naylor.b.david@gmail.com> <201008300856.40160.naylor.b.david@gmail.com> <201008302118.28889.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart4873192.lhJYOiT5ys
Content-Type: Text/Plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

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,
> > >=20
> > > 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.
> >=20
> > # usbconfig -d ugen0.2 dump_device_desc
> > ugen0.2: <CIF Single Chip Pixart Imaging Inc.> at usbus0, cfg=3D0 md=3D=
HOST
> > spd=3DFULL (12Mbps) pwr=3DON
> >=20
> >   bLength =3D 0x0012
> >   bDescriptorType =3D 0x0001
> >   bcdUSB =3D 0x0110
> >   bDeviceClass =3D 0x00ff
> >   bDeviceSubClass =3D 0x00ff
> >   bDeviceProtocol =3D 0x00ff
> >   bMaxPacketSize0 =3D 0x0008
> >   idVendor =3D 0x093a
> >   idProduct =3D 0x2468
> >   bcdDevice =3D 0x0100
> >   iManufacturer =3D 0x0001  <Pixart Imaging Inc. >
> >   iProduct =3D 0x0002  <CIF Single Chip     >
> >   iSerialNumber =3D 0x0000  <no string>
> >   bNumConfigurations =3D 0x0001
> >=20
> > # usbconfig -d ugen0.2 dump_curr_config_desc
> > ugen0.2: <CIF Single Chip Pixart Imaging Inc.> at usbus0, cfg=3D0 md=3D=
HOST
> > spd=3DFULL (12Mbps) pwr=3DON
>=20
> Hi,
>=20
> This information looks Ok.
>=20
> Try installing webcamd from I4B SVN:
>=20
> Compile using:
>=20
> make -j3 HAVE_DEBUG=3DYES
>=20
> http://www.selasky.org/hans_petter/video4bsd
>=20
> 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 =
&=20
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-UC30=
0=20
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=20
successfully
stv0680: registered
SE401 usb camera driver version 0.24 registering
usbvideo_register: Allocated $0x80106f000 (4576. bytes) for 4.=20
camerasusbvideo_register: Allocated cams[0].user_data=3D$0x80106c070 (48.=20
bytes)usbvideo_register: Allocated cams[1].user_data=3D$0x80106c0a0 (48.=20
bytes)usbvideo_register: Allocated cams[2].user_data=3D$0x80106c0d0 (48.=20
bytes)usbvideo_register: Allocated cams[3].user_data=3D$0x80106c100 (48. by=
tes):=20
v1.4:Konica Webcam driver
usbvideo_register: Allocated $0x8010f4600 (1672. bytes) for 1.=20
camerasusbvideo_register: Allocated cams[0].user_data=3D$0x801116100 (200.=
=20
bytes)usbvideo_register: Allocated $0x801070800 (4576. bytes) for 4.=20
camerasusbvideo_register: Allocated cams[0].user_data=3D$0x80106c130 (48.=20
bytes)usbvideo_register: Allocated cams[1].user_data=3D$0x80106c160 (48.=20
bytes)usbvideo_register: Allocated cams[2].user_data=3D$0x80106c190 (48.=20
bytes)usbvideo_register: Allocated cams[3].user_data=3D$0x80106c1c0 (48. by=
tes):=20
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=
=20
0x093A:0x2468)
gspca: video0 created
gspca: found int in endpoint: 0x83, buffer_len=3D2, interval=3D50
Creating /dev/video0
(( ran pwcview ))
gspca: found int in endpoint: 0x83, buffer_len=3D2, interval=3D50
gspca: found int in endpoint: 0x83, buffer_len=3D2, interval=3D50
(( ran pwcview ))
gspca: found int in endpoint: 0x83, buffer_len=3D2, interval=3D50
gspca: found int in endpoint: 0x83, buffer_len=3D2, interval=3D50

Both times pwcview reported the same error.

--nextPart4873192.lhJYOiT5ys
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (FreeBSD)

iEYEABECAAYFAkx8EFEACgkQUaaFgP9pFrIe2gCeOHZ/OmYin6AliJ/Q1hetOd4k
uLYAn2AffogS8dBiujr2oEDn+umnYAf8
=lpz6
-----END PGP SIGNATURE-----

--nextPart4873192.lhJYOiT5ys--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008302210.57291.naylor.b.david>