CFH: fix multimedia/pwcbsd with usb2

Hans Petter Selasky hselasky at
Sun Sep 13 13:07:41 UTC 2009

On Sunday 13 September 2009 14:16:10 Vinicius Abrahao wrote:
> Thanks Florent,
> That's it for sure. I recompile my kernel yesterday and now pwcbsd is
> loading normally.
> Therefore, now I see that pwc is the wrong driver for me. My webcam is
> a Philips SPC500NC.
> ID 093a:2603 Pixart Imaging, Inc.
> At Google I found that linux-gspca-kmod is the right driver for me.
> But this seen broken as
> pwcbsd was in the past.


The closes you will currently get is:

svn --username anonsvn --password anonsvn \
      checkout svn://

As root:

make fetch
make patch

You manually have to patch:

ee libv4l/v4l2-apps/libv4l/libv4lconvert/control/libv4lcontrol.c

control/libv4lcontrol.c: In function 'v4lcontrol_vidioc_queryctrl':
control/libv4lcontrol.c:586: error: '__u32' undeclared (first use in this 
control/libv4lcontrol.c:586: error: (Each undeclared identifier is reported 
only once
control/libv4lcontrol.c:586: error: for each function it appears in.)
control/libv4lcontrol.c:586: error: expected ';' before 'orig_id'
control/libv4lcontrol.c:600: error: 'orig_id' undeclared (first use in this 

__u32 to uint32_t

In the end:

cd pwcview


Should bring your webcam right up in userland though.


More information about the freebsd-current mailing list