NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/46493: pullup request for files to support SuYin webcam



>Number:         46493
>Category:       kern
>Synopsis:       pullup request for files to support SuYin webcam
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue May 29 02:40:00 +0000 2012
>Originator:     diro%nixsyspaus.org@localhost
>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@localhost>
 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)



Home | Main Index | Thread Index | Old Index