Re: recent USB changes broke multimedia/pwcbsd

From: Lars Engels <lars.engels_at_0x20.net>
Date: Thu, 28 Jun 2007 19:14:32 +0200
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

Playing /dev/video0.
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
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


Received on Thu Jun 28 2007 - 15:14:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:13 UTC