Date: Thu, 28 Jun 2007 19:14:32 +0200 From: Lars Engels <lars.engels@0x20.net> To: Rui Paulo <rpaulo@fnop.net> Cc: current@freebsd.org Subject: Re: recent USB changes broke multimedia/pwcbsd Message-ID: <20070628171432.GP44311@e.0x20.net> In-Reply-To: <86ejjwm44y.wl%rpaulo@fnop.net> References: <20070628161757.GN44311@e.0x20.net> <86ejjwm44y.wl%rpaulo@fnop.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--wA9WyeW1yVBM2Q32 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 28, 2007 at 05:32:13PM +0100, Rui Paulo wrote: > At Thu, 28 Jun 2007 18:17:57 +0200, > Lars Engels wrote: > >=20 > > Does the port need to be patched or is it a problem on the USB side? >=20 > Try adding #include <dev/usb/usb_port.h> Thanks, that fixed it. However I updated my -current because I was hoping to be able to use my webcam on -current. On a 6.2 system the pwcbsd driver works very well but on -current it does not. e.g. with mplayer: # mplayer -demuxer rawvideo -rawvideo fps=3D15:w=3D320:h=3D240:i420 /dev/vi= deo0 MPlayer 1.0rc1-4.2.0 (C) 2000-2006 MPlayer Team Playing /dev/video0. rawvideo file format detected. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Opening video decoder: [raw] RAW Uncompressed Video VDec: vo config request - 320 x 240 (preferred colorspace: Planar I420) VDec: using Planar I420 as output csp (no 0) Movie-Aspect is undefined - no prescaling applied. VO: [x11] 320x240 =3D> 320x240 Planar I420 [zoom] SwScaler: using unscaled yuv420p -> rgb32 special converter Selected video codec: [rawi420] vfm: raw (RAW I420) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Audio: no sound Starting playback... V: 0.0 0/ 0 ??% ??% ??,?% 0 0 Exiting... (End of file) pwcview: # pwcview Webcam set to: 320x240 (sif) at 5 fps Error reading from webcam: Input/output error The cam itself is recognized correctly and /dev/video0 is created. Has anybody managed to use a pwc based webcam on -current? Lars --wA9WyeW1yVBM2Q32 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGg+x4Kc512sD3afgRAq9DAKCWe9L/6hZ0A/h4hlrVP+CaR+8UAwCfSX9v IFY2DASEoh7oKiJ5+Xhkk5M= =SvvI -----END PGP SIGNATURE----- --wA9WyeW1yVBM2Q32--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070628171432.GP44311>