Hi,

On Thursday 28 August 2008, [EMAIL PROTECTED] wrote:
>  Hi all,
>
>  My laptop camera stopped working recently, I presume when I upgraded to
>  kernel version 2.6.25. I then tried 2.6.26 with the integrated uvc driver,
>  but with the same result; the camera LED flashes twice during boot (udev
>  and hald), yet it doesn't work in e.g. skype. Tested the current version
>  in gentoo stable (233?) and svn.
>
>  dmesg:
> ...
> Linux video capture interface: v2.00
> usbcore: registered new interface driver uvcvideo
> USB Video Class driver (v0.1.0)
> ...
> uvcvideo: Found UVC 1.00 device Laptop Integrated Webcam (05a9:2640)
> uvcvideo: Failed to query (135) UVC control 1 (unit 0) : -32 (exp. 26).
> input: Laptop Integrated Webcam as /class/input/input5
>
>  Running mplayer (yes, I read the comments about mplayer in the archives :)
>
>  gives ioctl related errors:
> | $ mplayer tv:// -tv driver=v4l2:device=/dev/video0:mjpeg:fps=30
> | MPlayer dev-SVN-r26753-4.1.2 (C) 2000-2008 MPlayer Team
> | CPU: Intel(R) Core(TM)2 Duo CPU     T7300  @ 2.00GHz (Family: 6, Model:
> | 15, Stepping: 10) CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1
> | SSE2: 1
> | Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
> |
> | Playing tv://.
> | TV file format detected.
> | Selected driver: v4l2
> |  name: Video 4 Linux 2 input
> |  author: Martin Olschewski <[EMAIL PROTECTED]>
> |  comment: first try, more to come ;-)
> | v4l2: ioctl get standard failed: Invalid argument
> | Selected device: Laptop Integrated Webcam
> |  Capabilites:  video capture  streaming
> |  supported norms:
> |  inputs: 0 = Camera 1;
> |  Current input: 0
> |  Current format: MJPEG
> | v4l2: ioctl set format failed: Invalid argument
> | v4l2: ioctl set format failed: Invalid argument
> | v4l2: ioctl set format failed: Invalid argument
> | v4l2: ioctl set format failed: Invalid argument
> | v4l2: ioctl set format failed: Invalid argument
> | v4l2: ioctl set format failed: Invalid argument
> | v4l2: ioctl set format failed: Invalid argument
> | v4l2: ioctl set format failed: Invalid argument
> | tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
> | v4l2: ioctl enum norm failed: Invalid argument
> | Error: Cannot set norm!
> |   MJP: width 352 height 288
> | Selected input hasn't got a tuner!
> | v4l2: ioctl set mute failed: Invalid argument
> | =========================================================================
> |= Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> | Selected video codec: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG decoder)
> | =========================================================================
> |= Audio: no sound
> | Starting playback...
> | VDec: vo config request - 160 x 120 (preferred colorspace: Planar 422P)
> | Could not find matching colorspace - retrying with -vf scale...
> | Opening video filter: [scale]
> | VDec: using Planar 422P as output csp (no 1)
> | Movie-Aspect is nan:1 - prescaling to correct movie aspect.
> | SwScaler: reducing / aligning filtersize 1 -> 4
> | SwScaler: reducing / aligning filtersize 1 -> 4
> | SwScaler: reducing / aligning filtersize 1 -> 1
> | SwScaler: reducing / aligning filtersize 9 -> 8
> | [swscaler @ 0x8762018]BICUBIC scaler, from yuv422p to yuv420p using MMX2
> | [swscaler @ 0x8762018]using 4-tap MMX scaler for horizontal luminance
> | scaling [swscaler @ 0x8762018]using 4-tap MMX scaler for horizontal
> | chrominance scaling [swscaler @ 0x8762018]using 1-tap MMX "scaler" for
> | vertical scaling (YV12 like) [swscaler @ 0x8762018]160x120 -> 160x120
> | VO: invalid dimensions!
> | FATAL: Cannot initialize video driver.
> | VDec: vo config request - 160 x 120 (preferred colorspace: Planar 422P)
> | VDec: using Planar 422P as output csp (no 1)
> | Movie-Aspect is nan:1 - prescaling to correct movie aspect.
> | VO: invalid dimensions!
> | FATAL: Cannot initialize video driver.
> |
> | FATAL: Could not initialize video filters (-vf) or video output (-vo).
> |
> |
> |
> | MPlayer interrupted by signal 8 in module: free_demuxer
> | - MPlayer crashed by bad usage of CPU/FPU/RAM.
> |   Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
> |   disassembly. Details in
> | DOCS/HTML/en/bugreports_what.html#bugreports_crash. - MPlayer crashed.
> | This shouldn't happen.
> |   It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
> |   gcc version. If you think it's MPlayer's fault, please read
> |   DOCS/HTML/en/bugreports.html and follow the instructions there. We
> | can't and won't help unless you provide this information when reporting a
> | possible bug.
>
>  Any ideas?

Does the driver print any message in the kernel log when you run mplayer ?

Best regards,

Laurent Pinchart
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to