NetBSD Problem Report #46493
From diro@nixsyspaus.org Tue May 29 02:36:20 2012
Return-Path: <diro@nixsyspaus.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
by www.NetBSD.org (Postfix) with ESMTP id 03C8063B882
for <gnats-bugs@gnats.netbsd.org>; Tue, 29 May 2012 02:36:19 +0000 (UTC)
Message-Id: <20120529023614.93C902041F6@asche.nixsyspaus.org>
Date: Tue, 29 May 2012 02:36:14 +0000 (UTC)
From: diro@nixsyspaus.org
Reply-To: diro@nixsyspaus.org
To: gnats-bugs@gnats.netbsd.org
Subject: pullup request for files to support SuYin webcam
X-Send-Pr-Version: 3.95
>Number: 46493
>Category: kern
>Synopsis: pullup request for files to support SuYin webcam
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: kern-bug-people
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue May 29 02:40:00 +0000 2012
>Closed-Date: Mon Aug 10 09:33:34 +0000 2020
>Last-Modified: Mon Aug 10 09:33:34 +0000 2020
>Originator: diro@nixsyspaus.org
>Release: NetBSD 6.0_BETA
>Organization:
>Environment:
System: NetBSD gift 6.0_BETA NetBSD 6.0_BETA (GIFT) #5: Tue May 29 02:11:56 UTC 2012 root@gift:/usr/obj/sys/arch/amd64/compile/GIFT amd64
Architecture: amd64
Machine: amd64
>Description:
# dmesg | grep video
uvideo0 at uhub5 port 5 configuration 1 interface 0: SuYin WebCam, rev 2.00/2.22, addr 2
video0 at uvideo0: SuYin WebCam, rev 2.00/2.22, addr 2
running: mplayer tv:// gives a similar output as the error described in the
thread linked below. After patching:
# mplayer tv://
MPlayer SVN-r32219-snapshot-4.5.3 (C) 2000-2010 MPlayer Team
159 audio & 348 video codecs
Playing tv://.
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
comment: first try, more to come ;-)
Selected device: SuYin WebCam, rev 2.00/2.22, ad
Capabilities: video capture read/write streaming
supported norms: 0 = webcam;
inputs: 0 = Camera;
Current input: 0
Current format: YUYV
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.
Selected input hasn't got a tuner!
v4l2: Cannot get fps
v4l2: ioctl set mute failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: select timeout
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 640x480 => 640x480 Packed YUY2
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
==========================================================================
Audio: no sound
Starting playback...
v4l2: select timeout
V: 0.0 97/ 97 ??% ??% ??,?% 0 0
v4l2: ioctl set mute failed: Invalid argument
v4l2: 97 frames successfully processed, 223 frames dropped.
Exiting... (Quit)
The webcam now functions instead of just showing a green screen. Could we please
pullup these relevant files in the thread linked below? It would be nice to see
these changes integrated into 6.0 if possible.
>How-To-Repeat:
Patch the files as shown in the link below.
>Fix:
http://mail-index.netbsd.org/current-users/2011/02/07/msg015648.html
with some slight modifications (changing variable names ie. p to b)
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: mrg@NetBSD.org
State-Changed-When: Mon, 10 Aug 2020 09:33:34 +0000
State-Changed-Why:
was merged in 2013. thanks!
>Unformatted:
(Contact us)
$NetBSD: gnats-precook-prs,v 1.4 2018/12/21 14:20:20 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.