recent USB changes broke multimedia/pwcbsd
lars.engels at 0x20.net
Thu Jun 28 17:14:33 UTC 2007
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:
> > Does the port need to be patched or is it a problem on the USB side?
> 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=15:w=320:h=240:i420 /dev/video0
MPlayer 1.0rc1-4.2.0 (C) 2000-2006 MPlayer Team
rawvideo file format detected.
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 => 320x240 Planar I420 [zoom]
SwScaler: using unscaled yuv420p -> rgb32 special converter
Selected video codec: [rawi420] vfm: raw (RAW I420)
Audio: no sound
V: 0.0 0/ 0 ??% ??% ??,?% 0 0
Exiting... (End of file)
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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070628/c64380c0/attachment.pgp
More information about the freebsd-current