My webcam has a build in mic but I don't think it is used because in the
tab "Sound Devices" of Skype configuration, "Microphone" is set to
"PulseAudio server (local)" and the default source is the internal mic:

__________________
~> pacmd list|grep alsa_input
Default source name: alsa_input.pci-0000_00_1b.0.analog-stereo
        name: <alsa_input.pci-0000_00_1b.0.analog-stereo>

        name:
<alsa_input.usb-Microsoft_Microsoft___LifeCam_NX-6000-02-NX6000.analog-mono>

        alsa_input.pci-0000_00_1b.0.analog-stereo/#1: Internal                  
                 Audio
Analog Stereo

alsa_input.usb-Microsoft_Microsoft___LifeCam_NX-6000-02-NX6000.analog-mono/#2:  
         LifeCam NX-6000 Analog Mono

        source: 1 <alsa_input.pci-0000_00_1b.0.analog-stereo>
__________________

Any way, I tested this script because I saw in PulseAudio Volume control
that both mics were receiving signal, i.e. both were active. I got this
output:

__________________
>>> >>> 1
Welcome to PulseAudio! Use "help" for usage information.
>>> >>> Welcome to PulseAudio! Use "help" for usage information.
>>> >>> Welcome to PulseAudio! Use "help" for usage information.
>>> >>> Welcome to PulseAudio! Use "help" for usage information.
>>> >>> Welcome to PulseAudio! Use "help" for usage information.
>>> >>> Welcome to PulseAudio! Use "help" for usage information.
>>> >>> Welcome to PulseAudio! Use "help" for usage information.
>>> >>> Welcome to PulseAudio! Use "help" for usage information.
...
>>> >>> 1
Welcome to PulseAudio! Use "help" for usage information.
>>> >>> Welcome to PulseAudio! Use "help" for usage information.
>>> >>> Welcome to PulseAudio! Use "help" for usage information.
...
__________________

And the system didn't freeze.

After that I changed the default source to the webcam's mic and repeat
the test with the same results.

Regards.

On Fri, 2011-11-11 at 19:33 +0100, Alexey Fisher wrote:
> Do your webcam has build in mic? Do you use this mic with skype?
> If yes. Can you please do fallowing test. Start your webcam with 
> luvcview or guvcview and start the attached script.
> 
> edid the script and replace device name to yours. my is
> alsa_input.usb-046d_0991_9671DCEE-02-U0x46d0x991.analog-mono
> 
> you can find proper name with this command:
> pacmd list | grep alsa_input
> 
> with this script we can try to reproduce skype behavior.
> 
> Am 11.11.2011 18:26, schrieb Edwin Aponte:
> > Finally, I could do the network test in the school.
> >
> > When the computer freezes completely some time after having loaded skype
> > using:
> >> env LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype\
> >
> > and been using the web-cam in skype, I cannot ssh it neither ping it.
> >
> > Also, the camera works well with luvcview (I used luvcview to get the
> > frames that I attached in my first post)
> >
> > Regards.
> >
> > On Wed, 2011-11-02 at 17:49 +0100, Laurent Pinchart wrote:
> >> Hi Edwin,
> >>
> >> On Saturday 22 October 2011 00:36:14 Edwin Aponte wrote:
> >>> libv4l2 is giving having problems with a Microsoft LifeCam NX-6000
> >>> webcam (045e:00f8). I have to run skype as below to get the webcam
> >>> working well for a moment, though an error is generated, until the
> >>> system freezes completely after some minutes and even SysRq doesn't
> >>> work.
> >>
> >> Those two problems are likely unrelated, and the second one is pretty bad. 
> >> Is
> >> your machine connected to a network ? Can you still ping it after it 
> >> freezes ?
> >> What about ssh ?
> >>
> >>> env LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype
> >>> libv4l2: error converting / decoding frame data: v4l-convert: error
> >>> parsing
> >>> JPEG header: Not a JPG file ?
> >>
> >> Your camera seems to produce bad MJPEG frames. From the log you've 
> >> attached it
> >> seems that the first frame is bigger than the next ones. This might be
> >> related. Could you try luvcview, which doesn't use libv4l ?
> >>
> >>> Sometimes, I get the same error with the program webcam:
> >>> --------------------------
> >>> ~>  webcam
> >>> reading config file: /home/edwinh/.webcamrc
> >>> video4linux webcam v1.5 - (c) 1998-2002 Gerd Knorr
> >>> grabber config:
> >>>    size 320x240 [none]
> >>>    input (null), norm (null), jpeg quality 75
> >>>    rotate=0, top=0, left=0, bottom=240, right=320
> >>> libv4l2: error converting / decoding frame data: v4l-convert: error
> >>> parsing
> >>> JPEG header: Not a JPG file ?
> >>>
> >>>
> >>> v4l2: read: Input/output error
> >>> capturing image failed
> >>> -------------------------
> >>>
> >>> and some times this other error:
> >>>
> >>> -------------------------
> >>> ~>  webcam
> >>> reading config file: /home/edwinh/.webcamrc
> >>> video4linux webcam v1.5 - (c) 1998-2002 Gerd Knorr
> >>> grabber config:
> >>>    size 320x240 [none]
> >>>    input (null), norm (null), jpeg quality 75
> >>>    rotate=0, top=0, left=0, bottom=240, right=320
> >>> libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more
> >>> bits
> >>> -------------------------
> >>>
> >>> I have attached some information based on this thread
> >>> http://lists.berlios.de/pipermail/linux-uvc-devel/2008-November/004265.html
> >>> that seems to be a similar case of my problem.
> >>> I set the trace level to 255:
> >>>
> >>> # echo 255>  /sys/module/uvcvideo/parameters/trace
> >>>
> >>> and I record a frame using:
> >>> ~>  luvcview -f mjpg -c
> >>>
> >>> and after that I saved the output of dmesg.
> >>>
> >>> Thanks.
> >>
> >
> >
> > _______________________________________________
> > Linux-uvc-devel mailing list
> > Linux-uvc-devel@lists.berlios.de
> > https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
> 


_______________________________________________
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to