[pwc] pwc and 2.6.24 - build errors

Jan Willies jan at willies.info
Mon Jan 21 15:50:30 CET 2008


Luc Saillard wrote:
> On Mon, Jan 21, 2008 at 11:58:33AM +0100, Jan Willies wrote:
>> I'm having problems building the pwc module:
> 
> With this kernel it's better to use the version that are in the kernel.

I totally overlooked that due to [ ]   Enable Video For Linux API 1 (DEPRECATED), thank you.

However I have some trouble getting mplayer/xawtv to work:

mplayer:
jan at jan ~ $ mplayer tv:// -tv driver=v4l:width=640:height=480:device=/dev/video0
MPlayer dev-SVN-r25304-4.2.2 (C) 2000-2007 MPlayer Team
CPU: AMD Turion(tm) 64 Mobile Technology ML-30 (Family: 15, Model: 36, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2

Playing tv://.
TV file format detected.
Selected driver: v4l
 name: Video 4 Linux input
 author: Alex Beregszaszi
 comment: under development
=================================================================
 WARNING: YOU ARE USING V4L DEMUXER WITH V4L2 DRIVERS!!!
 As the V4L1 compatibility layer is broken, this may not work.
 If you encounter any problems, use driver=v4l2 instead.
 Bugreports on driver=v4l with v4l2 drivers will be ignored.
=================================================================
Selected device: Philips 740 webcam
 Capabilites: capture 
 Device type: 1
 Supported sizes: 160x120 => 640x480
 Inputs: 1
  0: Webcam:  (tuner:0, norm:pal)
Using input 'Webcam'
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
Unknown norm!
Error: Cannot set norm!
Selected input hasn't got a tuner!
FPS not specified in the header or invalid, use the -fps option.
No stream found.


Exiting... (End of file)

jan at jan ~ $ mplayer tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0
MPlayer dev-SVN-r25304-4.2.2 (C) 2000-2007 MPlayer Team
CPU: AMD Turion(tm) 64 Mobile Technology ML-30 (Family: 15, Model: 36, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2

Playing tv://.
TV file format detected.
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <olschewski at zpr.uni-koeln.de>
 comment: first try, more to come ;-)
Selected device: Philips 740 webcam
 Capabilites:  video capture  read/write  streaming
 supported norms: 0 = webcam;
 inputs: 0 = usb;
 Current input: 0
 Current format: YUV420
v4l2: ioctl set format failed: Invalid argument
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
Selected input hasn't got a tuner!
v4l2: ioctl set mute failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
FPS not specified in the header or invalid, use the -fps option.
No stream found.

v4l2: ioctl set mute failed: Invalid argument
v4l2: 0 frames successfully processed, 0 frames dropped.

Exiting... (End of file)


xawtv:
jan at jan ~ $ xawtv
This is xawtv-3.95, running on Linux/i686 (2.6.24-rc8-ga7da60f4)
xinerama 0: 1280x800+0+0
xinerama 1: 1440x900+1280+0
X Error of failed request:  XF86DGANoDirectVideoMode
  Major opcode of failed request:  136 (XFree86-DGA)
  Minor opcode of failed request:  1 (XF86DGAGetVideoLL)
  Serial number of failed request:  69
  Current serial number in output stream:  69


It works fine with skype though. Only tested in preferences, no actual calls yet.


cheers

- Jan


More information about the pwc mailing list