pwc
[Top] [All Lists]

Re: [pwc] pwc and 2.6.24 - build errors

To: Luc Saillard <>
Subject: Re: [pwc] pwc and 2.6.24 - build errors
From: Jan Willies <>
Date: Mon, 21 Jan 2008 15:50:30 +0100
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:
 ~ $ 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)

 ~ $ 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 <>
 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:
 ~ $ 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
_______________________________________________
pwc mailing list

http://lists.saillard.org/mailman/listinfo/pwc

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU