Re: [Linux-uvc-devel] Problem with wireless webcam from Maplin

2011-11-24 Thread Paulo Assis
Hi,
Have you tried any other software besides cheese? (guvcview, luvcview,...)

Regards,
Paulo

2011/11/23 Antonio Roberts anto...@hellocatfood.com:
 I recently bought this wireless webcam;
 http://www.maplin.co.uk/2.4ghz-wireless-webcam-388087 . I'm having
 trouble getting it to work on Ubuntu 11.04.

 I ran lsusb and got the folowing information about the device:

 Bus 006 Device 003: ID 0416:a91a Winbond Electronics Corp.

 I did a Google serach for the device ID and the Linux UVC website
 (http://www.ideasonboard.org/uvc/ ) informs me that it matches the
 LogiLink Wireless Webcam (so Maplin probably just rebranded this!).
 What this website states is that this device should work, which it
 doesn't.

 The problem I'm facing is that I don't get any actual video being
 streamed or shown. The built in microphone works and, when running
 Cheese, when I press the camera button on the webcam itself the
 software recognises that the button is pressed.

 On that note, when running cheese from the terminal with this webcam
 attached I get the following error:

 libv4l2: error getting pixformat: Invalid argument
 libv4l2: error setting pixformat: Input/output error

 Any help is appreciated


 --
 
 anto...@hellocatfood.com
 http://www.hellocatfood.com
 
 ___
 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


Re: [Linux-uvc-devel] Logitech QuickCam Sphere AF not working

2011-10-23 Thread Paulo Assis
Hi,
I have my logitech sphere up and running with a 64 bit 3.0 kernel.
All controls are working including pan/tilt/ and focus.

In ubuntu at least you can't cold plug the camera, or uvcdynctrl won't
get triggered.
The easiest way is just to rmmod and then modprobe uvcvideo, this will
get everything working.
At least for me it did.

Regards,
Paulo

2011/10/23 Andrej Podzimek and...@podzimek.org:
 Hello,

 my webcam used to work almost fine with older kernels, but failures have
 become too frequent since 3.0:

        usb 2-6.1: new high speed USB device number 19 using ehci_hcd
        uvcvideo: Found UVC 1.00 device unnamed (046d:0994)
        input: UVC Camera (046d:0994) as
 /devices/pci:00/:00:1d.7/usb2/2-6/2-6.1/2-6.1:1.0/input/input17
        uvcvideo: Failed to query (GET_DEF) UVC control 2 on unit 2: -110
 (exp. 2).
        uvcvideo: Failed to query (GET_DEF) UVC control 2 on unit 2: -110
 (exp. 2).
        uvcvideo: Failed to query (GET_DEF) UVC control 2 on unit 2: -110
 (exp. 2).
        uvcvideo: Failed to query (GET_DEF) UVC control 2 on unit 2: -110
 (exp. 2).
        uvcvideo: Failed to query (GET_DEF) UVC control 3 on unit 2: -110
 (exp. 2).

 The camera is nearly unusable right now. The video stops soon after an
 application that reads it (e.g. cheese) is started. There are numerous error
 messages related to uvcvideo in dmesg. Examples follow:

        uvcvideo: Found UVC 1.00 device unnamed (046d:0994)
        uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling
 workaround.
        uvcvideo: Failed to query (129) UVC probe control : -110 (exp. 26).
        uvcvideo: Failed to initialize the device (-5).
        uvcvideo: Deprecated UVCIOC_CTRL_{ADD,MAP_OLD,GET,SET} ioctls will be
 removed in 2.6.42.
        uvcvideo: See http://www.ideasonboard.org/uvc/upgrade/ for upgrade
 instructions.
        uvcvideo: Failed to query (SET_CUR) UVC control 3 on unit 1: -110
 (exp. 1).
        uvcvideo: Failed to set UVC probe control : -75 (exp. 26).
        uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
        uvcvideo: Failed to set UVC commit control : -110 (exp. 26).
        uvcvideo: Deprecated UVCIOC_CTRL_{ADD,MAP_OLD,GET,SET} ioctls will be
 removed in 2.6.42.
        uvcvideo: See http://www.ideasonboard.org/uvc/upgrade/ for upgrade
 instructions.
        uvcvideo: Failed to query (GET_DEF) UVC control 2 on unit 2: -110
 (exp. 2).
        uvcvideo: Failed to query (GET_MAX) UVC control 4 on unit 2: -110
 (exp. 2).

 All these mesasges were observed on a 3.0.7 kernel when plugging/unplugging
 the camera a couple of times, both with and without a hub between the
 computer and the camera. (There was still the same problem in all cases.)

 BTW, is there any possibility to get the motion and autofocus features
 running? They used to work fine on 32-bit kernels using the
 uvcdynctrl/guvcview combination, but there seems to be *no* way to make it
 work on my 64-bit machines. It simply doesn't work, no matter what I try. Is
 there an updated howto for this?

 A piece of advice would be very heplpful. :-)

 Andrej


 ___
 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


Re: [Linux-uvc-devel] Microsoft Lifecam Studio catch button

2011-10-14 Thread Paulo Assis
Hi,
have you tried it on guvcview ?
You should be able to use that button to capture a image or video
depending on the default action you select.

Regards,
Paulo

2011/10/14 Max Lapshin max.laps...@gmail.com:
 Hi. Is it possible to capture button press on microsoft lifecam studio?

 There is small button on top of camera and it would be nice to be able
 to catch pressing on it. It there any way?
 ___
 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


[Linux-uvc-devel] guvcview moves to sourceforge

2011-10-12 Thread Paulo Assis
Hi all,
Just dropping a line to inform you that guvcview has moved to sourceforge:

project page: http://sourceforge.net/p/guvcview/home/Home/
home page: guvcview.sourceforge.net

This change was prompted by the closing of berlios on 31-12-2011, the
lack of funding has forced them to shut-down their services, so all
projects were invited to move to a new service provider.
My decision was to move to sourceforge since they run pretty much the
same services as berlios.

On a side note I just released version 1.5.1 it adds support for gtk3
and improves support for libavcodec 7 (the prior versions had most
codecs broken under ubuntu 11.10)

Best Regards,
Paulo
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


Re: [Linux-uvc-devel] Webcam with H264 encoder not in Devicelist

2011-09-12 Thread Paulo Assis
Hi,
just remember to also set the -f option to force the use of the
specified pixel format (otherwise the camera default one is used).
So the two options that need to be set are: -o -f

regards,
Paulo

2011/9/12 Ajay Bhargav ajay.bhar...@einfochips.com:
 Hi Paulo,

 This is good.. thanks I will test it with my camera too..

 Regards,
 Ajay Bhargav

 - Paulo Assis pj.as...@gmail.com wrote:

 Hi,
 see attached a patched capture example, for saving the driver output
 buffer into raw files (200).
 I haven't been able to test build it, but the changes are minimal so
 it should work.

 You just need to change the resolution, and maybe the pixel format to
 whatever the driver expects.
 see lines 495-497.

 Regards,
 Paulo

 2011/9/9 Robert Krakora rob.krak...@messagenetsystems.com:
  All,
 
  I forgot to tell you that I came up with one more patch for the UVC
 source
  in v4l2 to get MPEG2 transport streams to behave correctly.  I have
 attached
  it to this e-mail.  My sincerest apologies.
 
  Best Regards,
 
  --
  Rob Krakora
  MessageNet Systems
  101 East Carmel Dr. Suite 105
  Carmel, IN 46032
  (317)566-1677 Ext 212
  (317)663-0808 Fax
 
  On Fri, Sep 9, 2011 at 10:05 AM, Paulo Assis pj.as...@gmail.com
 wrote:
 
  Well one important thing to notice is the pixel format returned by
 the
  driver, will it differentiate between avc and svc streams, or even
  mpeg2 ?
  If not maybe then it becomes harder for generic apps to decode it,
  unless we use a bunch of switch cases for the different cameras
  (something like this would be best implemented in the driver
 though)
 
  Regards,
  Paulo
 
  2011/9/9 Ajay Bhargav ajay.bhar...@einfochips.com:
   Hi Robert,
  
   As you know its a development camera... I think my camera need
 some
   fixing..
   my hardware decoder does not work with H.264 stream directly... I
 added
   h264parse element before h264 decoder in gstreamer pipeline to
 make it
   work.
  
   Regards,
   Ajay Bhargav
  
   - Robert Krakora rob.krak...@messagenetsystems.com
 wrote:
  
   Hi Ajay,
  
   The encoder in your camera may be different and produce H.264
 AVC
   instead of
   SVC.  The latest gstreamer-ffmpeg did not work for me for the
 FaceVsion
   Touchcam E1.
  
   Best Regards,
  
   Rob Krakora
  
   On Fri, Sep 9, 2011 at 9:18 AM, Ajay Bhargav
   ajay.bhar...@einfochips.com
   wrote:
  
   Hi Paulo,
  
   for me ffdec_h264 worked perfectly... I used current stable
 release of
   gstreamer-ffmpeg. It has many more formats...
  
   --Ajay Bhargav
  
  
   - Paulo Assis pj.as...@gmail.com wrote:
  
Hi,
have you tried the open svc decoder (
http://sourceforge.net/projects/opensvcdecoder/ ) ?
   
It would probably be easier to add as dependency.
   
Regards,
Paulo
   
2011/9/9 Alexey Fisher bug-tr...@fisher-privat.net:
 Hi Paulo,

 i have video dump from Robert, not v4l2... The problem with
 it is
codec. It
 seems to be some SVC variant of h264 and ffmpeg can't play
 it
correctly.
 Robert say, currently only fluh264dec (flyendo plugin for
 gstreamer)
can
 play it.

 Am 09.09.2011 13:23, schrieb Paulo Assis:

 Hi,
 I was thinking on using ffmpeg (libavcodec) since this is
 already
a
 guvcview dependency for enconding the streams, decoding
 them
shouldn't
 be to hard, I just need to understand how they are handled
 by the
driver.
 This is the reason I need the raw data, you should be able
 to use
the
 v4l2 capture example to store the buffer data as delivered
 by the
driver
 (something like buffer-1.raw,...,buffer-n.raw would be
 nice), or I
can
 send you some code for doing this if you prefer.

 Regards,
 Paulo

 2011/9/9 Ajay Bhargav ajay.bhar...@einfochips.com
 mailto:ajay.bhar...@einfochips.com

    Hi Paulo,

    I am not having H.264 camera, My camera is similar to
Facevision's
    Touchcam E1. It sends out MPEG2-TS stream encoded with
 H.264. I
have
    recorded some videos during my testing if that is fine
 for you
 I
can
    send across... it would be great if guvcview can show
compressed
    streams :) we can make use of gstreamer to achieve
 this..

    -- Ajay Bhargav


    - Paulo Assis pj.as...@gmail.com
mailto:pj.as...@gmail.com
    wrote:

        Hi,
        I would like to add support for H.264 stream format
 in
guvcview,
        Could you post some stream info, or even better an
 example
of
        raw data output (does the capture buffer contains an
 exact
frame
        like in MJPEG ?)

        Regards,
        Paulo

        2011/9/9 Ajay Bhargav ajay.bhar...@einfochips.com
        mailto:ajay.bhar...@einfochips.com

            Hi Srinivas,

            UVC fixes wont be needed for you to get your
 cam
output..

            You

Re: [Linux-uvc-devel] Webcam with H264 encoder not in Devicelist

2011-09-09 Thread Paulo Assis
Hi,
I would like to add support for H.264 stream format in guvcview, Could you
post some stream info, or even better an example of raw data output (does
the capture buffer contains an exact frame like in MJPEG ?)

Regards,
Paulo

2011/9/9 Ajay Bhargav ajay.bhar...@einfochips.com

 Hi Srinivas,

 UVC fixes wont be needed for you to get your cam output..

 You can build gstreamer0.10-ffmpeg to decode H.264 stream, Robert has used
 fluendo package for decoding.

 --Ajay


 - Max Lapshin max.laps...@gmail.com wrote:



 On Fri, Sep 9, 2011 at 11:01 AM, Srinivas Mandavilli 
 srinivas.mandavi...@lucivid.com wrote:

 Thanks Ajay! I just got a B990, and am trying to stream out H264.

 Hi, Srinivas. Be so kind: if you will have success with it, write an
 email: what kernel version are you using?

 I failed to do it with kernel 3.0.0

 --
 This message has been scanned for viruses and
 dangerous content by *Clean Mail Gateway*http://www.CleanMailGateway.com/,
 and is
 believed to be clean.



 ___
 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


Re: [Linux-uvc-devel] Webcam with H264 encoder not in Devicelist

2011-09-09 Thread Paulo Assis
Hi,
I was thinking on using ffmpeg (libavcodec) since this is already a guvcview
dependency for enconding the streams, decoding them shouldn't be to hard, I
just need to understand how they are handled by the driver.
This is the reason I need the raw data, you should be able to use the v4l2
capture example to store the buffer data as delivered by the driver
(something like buffer-1.raw,...,buffer-n.raw would be nice), or I can send
you some code for doing this if you prefer.

Regards,
Paulo

2011/9/9 Ajay Bhargav ajay.bhar...@einfochips.com

 Hi Paulo,

 I am not having H.264 camera, My camera is similar to Facevision's Touchcam
 E1. It sends out MPEG2-TS stream encoded with H.264. I have recorded some
 videos during my testing if that is fine for you I can send across... it
 would be great if guvcview can show compressed streams :) we can make use of
 gstreamer to achieve this..

 -- Ajay Bhargav


 - Paulo Assis pj.as...@gmail.com wrote:

 Hi,
 I would like to add support for H.264 stream format in guvcview, Could you
 post some stream info, or even better an example of raw data output (does
 the capture buffer contains an exact frame like in MJPEG ?)

 Regards,
 Paulo

 2011/9/9 Ajay Bhargav ajay.bhar...@einfochips.com

 Hi Srinivas,

 UVC fixes wont be needed for you to get your cam output..

 You can build gstreamer0.10-ffmpeg to decode H.264 stream, Robert has used
 fluendo package for decoding.

 --Ajay


 - Max Lapshin max.laps...@gmail.com wrote:



 On Fri, Sep 9, 2011 at 11:01 AM, Srinivas Mandavilli 
 srinivas.mandavi...@lucivid.com wrote:

 Thanks Ajay! I just got a B990, and am trying to stream out H264.

 Hi, Srinivas. Be so kind: if you will have success with it, write an
 email: what kernel version are you using?

 I failed to do it with kernel 3.0.0

 --
 This message has been scanned for viruses and
 dangerous content by *Clean Mail Gateway*http://www.CleanMailGateway.com/,
 and is
 believed to be clean.



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



 --
 This message has been scanned for viruses and
 dangerous content by *Clean Mail Gateway*http://www.CleanMailGateway.com/,
 and is
 believed to be clean.



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


Re: [Linux-uvc-devel] Webcam with H264 encoder not in Devicelist

2011-09-09 Thread Paulo Assis
Hi,
have you tried the open svc decoder (
http://sourceforge.net/projects/opensvcdecoder/ ) ?

It would probably be easier to add as dependency.

Regards,
Paulo

2011/9/9 Alexey Fisher bug-tr...@fisher-privat.net:
 Hi Paulo,

 i have video dump from Robert, not v4l2... The problem with it is codec. It
 seems to be some SVC variant of h264 and ffmpeg can't play it correctly.
 Robert say, currently only fluh264dec (flyendo plugin for gstreamer) can
 play it.

 Am 09.09.2011 13:23, schrieb Paulo Assis:

 Hi,
 I was thinking on using ffmpeg (libavcodec) since this is already a
 guvcview dependency for enconding the streams, decoding them shouldn't
 be to hard, I just need to understand how they are handled by the driver.
 This is the reason I need the raw data, you should be able to use the
 v4l2 capture example to store the buffer data as delivered by the driver
 (something like buffer-1.raw,...,buffer-n.raw would be nice), or I can
 send you some code for doing this if you prefer.

 Regards,
 Paulo

 2011/9/9 Ajay Bhargav ajay.bhar...@einfochips.com
 mailto:ajay.bhar...@einfochips.com

    Hi Paulo,

    I am not having H.264 camera, My camera is similar to Facevision's
    Touchcam E1. It sends out MPEG2-TS stream encoded with H.264. I have
    recorded some videos during my testing if that is fine for you I can
    send across... it would be great if guvcview can show compressed
    streams :) we can make use of gstreamer to achieve this..

    -- Ajay Bhargav


    - Paulo Assis pj.as...@gmail.com mailto:pj.as...@gmail.com
    wrote:

        Hi,
        I would like to add support for H.264 stream format in guvcview,
        Could you post some stream info, or even better an example of
        raw data output (does the capture buffer contains an exact frame
        like in MJPEG ?)

        Regards,
        Paulo

        2011/9/9 Ajay Bhargav ajay.bhar...@einfochips.com
        mailto:ajay.bhar...@einfochips.com

            Hi Srinivas,

            UVC fixes wont be needed for you to get your cam output..

            You can build gstreamer0.10-ffmpeg to decode H.264 stream,
            Robert has used fluendo package for decoding.

            --Ajay


            - Max Lapshin max.laps...@gmail.com
            mailto:max.laps...@gmail.com wrote:



                On Fri, Sep 9, 2011 at 11:01 AM, Srinivas Mandavilli
                srinivas.mandavi...@lucivid.com
                mailto:srinivas.mandavi...@lucivid.com wrote:

                    Thanks Ajay! I just got a B990, and am trying to
                    stream out H264.

                Hi, Srinivas. Be so kind: if you will have success with
                it, write an email: what kernel version are you using?

                I failed to do it with kernel 3.0.0

                --
                This message has been scanned for viruses and
                dangerous content by *Clean Mail Gateway*
                http://www.CleanMailGateway.com/, and is
                believed to be clean.



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



        --
        This message has been scanned for viruses and
        dangerous content by *Clean Mail Gateway*
        http://www.CleanMailGateway.com/, and is
        believed to be clean.





 ___
 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


Re: [Linux-uvc-devel] Webcam with H264 encoder not in Devicelist

2011-09-09 Thread Paulo Assis
Well one important thing to notice is the pixel format returned by the
driver, will it differentiate between avc and svc streams, or even
mpeg2 ?
If not maybe then it becomes harder for generic apps to decode it,
unless we use a bunch of switch cases for the different cameras
(something like this would be best implemented in the driver though)

Regards,
Paulo

2011/9/9 Ajay Bhargav ajay.bhar...@einfochips.com:
 Hi Robert,

 As you know its a development camera... I think my camera need some fixing..
 my hardware decoder does not work with H.264 stream directly... I added
 h264parse element before h264 decoder in gstreamer pipeline to make it work.

 Regards,
 Ajay Bhargav

 - Robert Krakora rob.krak...@messagenetsystems.com wrote:

 Hi Ajay,

 The encoder in your camera may be different and produce H.264 AVC instead of
 SVC.  The latest gstreamer-ffmpeg did not work for me for the FaceVsion
 Touchcam E1.

 Best Regards,

 Rob Krakora

 On Fri, Sep 9, 2011 at 9:18 AM, Ajay Bhargav ajay.bhar...@einfochips.com
 wrote:

 Hi Paulo,

 for me ffdec_h264 worked perfectly... I used current stable release of
 gstreamer-ffmpeg. It has many more formats...

 --Ajay Bhargav


 - Paulo Assis pj.as...@gmail.com wrote:

  Hi,
  have you tried the open svc decoder (
  http://sourceforge.net/projects/opensvcdecoder/ ) ?
 
  It would probably be easier to add as dependency.
 
  Regards,
  Paulo
 
  2011/9/9 Alexey Fisher bug-tr...@fisher-privat.net:
   Hi Paulo,
  
   i have video dump from Robert, not v4l2... The problem with it is
  codec. It
   seems to be some SVC variant of h264 and ffmpeg can't play it
  correctly.
   Robert say, currently only fluh264dec (flyendo plugin for gstreamer)
  can
   play it.
  
   Am 09.09.2011 13:23, schrieb Paulo Assis:
  
   Hi,
   I was thinking on using ffmpeg (libavcodec) since this is already
  a
   guvcview dependency for enconding the streams, decoding them
  shouldn't
   be to hard, I just need to understand how they are handled by the
  driver.
   This is the reason I need the raw data, you should be able to use
  the
   v4l2 capture example to store the buffer data as delivered by the
  driver
   (something like buffer-1.raw,...,buffer-n.raw would be nice), or I
  can
   send you some code for doing this if you prefer.
  
   Regards,
   Paulo
  
   2011/9/9 Ajay Bhargav ajay.bhar...@einfochips.com
   mailto:ajay.bhar...@einfochips.com
  
      Hi Paulo,
  
      I am not having H.264 camera, My camera is similar to
  Facevision's
      Touchcam E1. It sends out MPEG2-TS stream encoded with H.264. I
  have
      recorded some videos during my testing if that is fine for you I
  can
      send across... it would be great if guvcview can show
  compressed
      streams :) we can make use of gstreamer to achieve this..
  
      -- Ajay Bhargav
  
  
      - Paulo Assis pj.as...@gmail.com
  mailto:pj.as...@gmail.com
      wrote:
  
          Hi,
          I would like to add support for H.264 stream format in
  guvcview,
          Could you post some stream info, or even better an example
  of
          raw data output (does the capture buffer contains an exact
  frame
          like in MJPEG ?)
  
          Regards,
          Paulo
  
          2011/9/9 Ajay Bhargav ajay.bhar...@einfochips.com
          mailto:ajay.bhar...@einfochips.com
  
              Hi Srinivas,
  
              UVC fixes wont be needed for you to get your cam
  output..
  
              You can build gstreamer0.10-ffmpeg to decode H.264
  stream,
              Robert has used fluendo package for decoding.
  
              --Ajay
  
  
              - Max Lapshin max.laps...@gmail.com
              mailto:max.laps...@gmail.com wrote:
  
  
  
                  On Fri, Sep 9, 2011 at 11:01 AM, Srinivas
  Mandavilli
                  srinivas.mandavi...@lucivid.com
                  mailto:srinivas.mandavi...@lucivid.com wrote:
  
                      Thanks Ajay! I just got a B990, and am trying
  to
                      stream out H264.
  
                  Hi, Srinivas. Be so kind: if you will have success
  with
                  it, write an email: what kernel version are you
  using?
  
                  I failed to do it with kernel 3.0.0
  
                  --
                  This message has been scanned for viruses and
                  dangerous content by *Clean Mail Gateway*
                  http://www.CleanMailGateway.com/, and is
                  believed to be clean.
  
  
  
              ___
              Linux-uvc-devel mailing list
              Linux-uvc-devel@lists.berlios.de
              mailto:Linux-uvc-devel@lists.berlios.de
  
   https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
  
  
  
          --
          This message has been scanned for viruses and
          dangerous content by *Clean Mail Gateway*
          http://www.CleanMailGateway.com/, and is
          believed to be clean

Re: [Linux-uvc-devel] Webcam with H264 encoder not in Devicelist

2011-09-09 Thread Paulo Assis
Hi,
see attached a patched capture example, for saving the driver output
buffer into raw files (200).
I haven't been able to test build it, but the changes are minimal so
it should work.

You just need to change the resolution, and maybe the pixel format to
whatever the driver expects.
see lines 495-497.

Regards,
Paulo

2011/9/9 Robert Krakora rob.krak...@messagenetsystems.com:
 All,

 I forgot to tell you that I came up with one more patch for the UVC source
 in v4l2 to get MPEG2 transport streams to behave correctly.  I have attached
 it to this e-mail.  My sincerest apologies.

 Best Regards,

 --
 Rob Krakora
 MessageNet Systems
 101 East Carmel Dr. Suite 105
 Carmel, IN 46032
 (317)566-1677 Ext 212
 (317)663-0808 Fax

 On Fri, Sep 9, 2011 at 10:05 AM, Paulo Assis pj.as...@gmail.com wrote:

 Well one important thing to notice is the pixel format returned by the
 driver, will it differentiate between avc and svc streams, or even
 mpeg2 ?
 If not maybe then it becomes harder for generic apps to decode it,
 unless we use a bunch of switch cases for the different cameras
 (something like this would be best implemented in the driver though)

 Regards,
 Paulo

 2011/9/9 Ajay Bhargav ajay.bhar...@einfochips.com:
  Hi Robert,
 
  As you know its a development camera... I think my camera need some
  fixing..
  my hardware decoder does not work with H.264 stream directly... I added
  h264parse element before h264 decoder in gstreamer pipeline to make it
  work.
 
  Regards,
  Ajay Bhargav
 
  - Robert Krakora rob.krak...@messagenetsystems.com wrote:
 
  Hi Ajay,
 
  The encoder in your camera may be different and produce H.264 AVC
  instead of
  SVC.  The latest gstreamer-ffmpeg did not work for me for the FaceVsion
  Touchcam E1.
 
  Best Regards,
 
  Rob Krakora
 
  On Fri, Sep 9, 2011 at 9:18 AM, Ajay Bhargav
  ajay.bhar...@einfochips.com
  wrote:
 
  Hi Paulo,
 
  for me ffdec_h264 worked perfectly... I used current stable release of
  gstreamer-ffmpeg. It has many more formats...
 
  --Ajay Bhargav
 
 
  - Paulo Assis pj.as...@gmail.com wrote:
 
   Hi,
   have you tried the open svc decoder (
   http://sourceforge.net/projects/opensvcdecoder/ ) ?
  
   It would probably be easier to add as dependency.
  
   Regards,
   Paulo
  
   2011/9/9 Alexey Fisher bug-tr...@fisher-privat.net:
Hi Paulo,
   
i have video dump from Robert, not v4l2... The problem with it is
   codec. It
seems to be some SVC variant of h264 and ffmpeg can't play it
   correctly.
Robert say, currently only fluh264dec (flyendo plugin for
gstreamer)
   can
play it.
   
Am 09.09.2011 13:23, schrieb Paulo Assis:
   
Hi,
I was thinking on using ffmpeg (libavcodec) since this is already
   a
guvcview dependency for enconding the streams, decoding them
   shouldn't
be to hard, I just need to understand how they are handled by the
   driver.
This is the reason I need the raw data, you should be able to use
   the
v4l2 capture example to store the buffer data as delivered by the
   driver
(something like buffer-1.raw,...,buffer-n.raw would be nice), or I
   can
send you some code for doing this if you prefer.
   
Regards,
Paulo
   
2011/9/9 Ajay Bhargav ajay.bhar...@einfochips.com
mailto:ajay.bhar...@einfochips.com
   
   Hi Paulo,
   
   I am not having H.264 camera, My camera is similar to
   Facevision's
   Touchcam E1. It sends out MPEG2-TS stream encoded with H.264. I
   have
   recorded some videos during my testing if that is fine for you
I
   can
   send across... it would be great if guvcview can show
   compressed
   streams :) we can make use of gstreamer to achieve this..
   
   -- Ajay Bhargav
   
   
   - Paulo Assis pj.as...@gmail.com
   mailto:pj.as...@gmail.com
   wrote:
   
       Hi,
       I would like to add support for H.264 stream format in
   guvcview,
       Could you post some stream info, or even better an example
   of
       raw data output (does the capture buffer contains an exact
   frame
       like in MJPEG ?)
   
       Regards,
       Paulo
   
       2011/9/9 Ajay Bhargav ajay.bhar...@einfochips.com
       mailto:ajay.bhar...@einfochips.com
   
           Hi Srinivas,
   
           UVC fixes wont be needed for you to get your cam
   output..
   
           You can build gstreamer0.10-ffmpeg to decode H.264
   stream,
           Robert has used fluendo package for decoding.
   
           --Ajay
   
   
           - Max Lapshin max.laps...@gmail.com
           mailto:max.laps...@gmail.com wrote:
   
   
   
               On Fri, Sep 9, 2011 at 11:01 AM, Srinivas
   Mandavilli
               srinivas.mandavi...@lucivid.com
               mailto:srinivas.mandavi...@lucivid.com wrote:
   
                   Thanks Ajay! I just got a B990, and am trying
   to
                   stream out H264

Re: [Linux-uvc-devel] Webcam with H264 encoder not in Devicelist

2011-09-09 Thread Paulo Assis
Just remember to set the -o option when grabbing the frames (the
output will be redirected to the files and not stdout as displayed in
the help message)

These files should allow me to add support for the camera in guvcview.

Regards,
Paulo

2011/9/9 Robert Krakora rob.krak...@messagenetsystems.com:
 Thanks Paulo!

 On Fri, Sep 9, 2011 at 10:50 AM, Paulo Assis pj.as...@gmail.com wrote:

 Hi,
 see attached a patched capture example, for saving the driver output
 buffer into raw files (200).
 I haven't been able to test build it, but the changes are minimal so
 it should work.

 You just need to change the resolution, and maybe the pixel format to
 whatever the driver expects.
 see lines 495-497.

 Regards,
 Paulo

 2011/9/9 Robert Krakora rob.krak...@messagenetsystems.com:
  All,
 
  I forgot to tell you that I came up with one more patch for the UVC
  source
  in v4l2 to get MPEG2 transport streams to behave correctly.  I have
  attached
  it to this e-mail.  My sincerest apologies.
 
  Best Regards,
 
  --
  Rob Krakora
  MessageNet Systems
  101 East Carmel Dr. Suite 105
  Carmel, IN 46032
  (317)566-1677 Ext 212
  (317)663-0808 Fax
 
  On Fri, Sep 9, 2011 at 10:05 AM, Paulo Assis pj.as...@gmail.com wrote:
 
  Well one important thing to notice is the pixel format returned by the
  driver, will it differentiate between avc and svc streams, or even
  mpeg2 ?
  If not maybe then it becomes harder for generic apps to decode it,
  unless we use a bunch of switch cases for the different cameras
  (something like this would be best implemented in the driver though)
 
  Regards,
  Paulo
 
  2011/9/9 Ajay Bhargav ajay.bhar...@einfochips.com:
   Hi Robert,
  
   As you know its a development camera... I think my camera need some
   fixing..
   my hardware decoder does not work with H.264 stream directly... I
   added
   h264parse element before h264 decoder in gstreamer pipeline to make
   it
   work.
  
   Regards,
   Ajay Bhargav
  
   - Robert Krakora rob.krak...@messagenetsystems.com wrote:
  
   Hi Ajay,
  
   The encoder in your camera may be different and produce H.264 AVC
   instead of
   SVC.  The latest gstreamer-ffmpeg did not work for me for the
   FaceVsion
   Touchcam E1.
  
   Best Regards,
  
   Rob Krakora
  
   On Fri, Sep 9, 2011 at 9:18 AM, Ajay Bhargav
   ajay.bhar...@einfochips.com
   wrote:
  
   Hi Paulo,
  
   for me ffdec_h264 worked perfectly... I used current stable release
   of
   gstreamer-ffmpeg. It has many more formats...
  
   --Ajay Bhargav
  
  
   - Paulo Assis pj.as...@gmail.com wrote:
  
Hi,
have you tried the open svc decoder (
http://sourceforge.net/projects/opensvcdecoder/ ) ?
   
It would probably be easier to add as dependency.
   
Regards,
Paulo
   
2011/9/9 Alexey Fisher bug-tr...@fisher-privat.net:
 Hi Paulo,

 i have video dump from Robert, not v4l2... The problem with it
 is
codec. It
 seems to be some SVC variant of h264 and ffmpeg can't play it
correctly.
 Robert say, currently only fluh264dec (flyendo plugin for
 gstreamer)
can
 play it.

 Am 09.09.2011 13:23, schrieb Paulo Assis:

 Hi,
 I was thinking on using ffmpeg (libavcodec) since this is
 already
a
 guvcview dependency for enconding the streams, decoding them
shouldn't
 be to hard, I just need to understand how they are handled by
 the
driver.
 This is the reason I need the raw data, you should be able to
 use
the
 v4l2 capture example to store the buffer data as delivered by
 the
driver
 (something like buffer-1.raw,...,buffer-n.raw would be nice),
 or I
can
 send you some code for doing this if you prefer.

 Regards,
 Paulo

 2011/9/9 Ajay Bhargav ajay.bhar...@einfochips.com
 mailto:ajay.bhar...@einfochips.com

    Hi Paulo,

    I am not having H.264 camera, My camera is similar to
Facevision's
    Touchcam E1. It sends out MPEG2-TS stream encoded with
 H.264. I
have
    recorded some videos during my testing if that is fine for
 you
 I
can
    send across... it would be great if guvcview can show
compressed
    streams :) we can make use of gstreamer to achieve this..

    -- Ajay Bhargav


    - Paulo Assis pj.as...@gmail.com
mailto:pj.as...@gmail.com
    wrote:

        Hi,
        I would like to add support for H.264 stream format in
guvcview,
        Could you post some stream info, or even better an
 example
of
        raw data output (does the capture buffer contains an
 exact
frame
        like in MJPEG ?)

        Regards,
        Paulo

        2011/9/9 Ajay Bhargav ajay.bhar...@einfochips.com
        mailto:ajay.bhar...@einfochips.com

            Hi Srinivas,

            UVC fixes wont be needed for you to get your cam

Re: [Linux-uvc-devel] Microsoft Lifecam Cinema

2011-09-07 Thread Paulo Assis
Hi,
guvcview detects some sync issues, it seems although you select 30
fps, for that resolution (1280x720) your hardware is just not powerful
enough to decode the MJPG stream and re-encode it with whatever coded
you are using.
Some solutions:
-reduce the fps
-reduce the resolution
-try using a less resource demanding video codec (MJPG will save the
video stream directly to disk, no compression is done in this case,
but it generates a huge file if compared with any of the mpeg codecs)
-use the matroska container instead of avi, it is much better since
individual frames are timed stamped. Avi only sets a average fps (15
according to your log)

Regards,
Paulo

2011/9/7 Steffen stes...@googlemail.com:
 Hello,

 I am testing Microsoft Lifecam Cinema now, but I am not able to record
 audio and video syncronusely with that cam and guvcview. The Logitech
 C525 works but has a crappy image. Also cheese works with both cams but
 has a little frame rate. Skype works for both.

 Do you have any ideas? I have already installed that medibuild version
 of uvc and the latest guvcview from the ppa. But the same result even
 with the old ubuntu natty versions.

 Steffen




 ___
 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


Re: [Linux-uvc-devel] Microsoft Lifecam Cinema

2011-09-07 Thread Paulo Assis
Hi,
if you are using any of the mpeg4 codecs, you will need a rather
powerful cpu for encoding at high frame rates, specially at any decent
resolution.
As an example I don't have any special problems with the following
configuration:

device input: MJPEG 800x600@25 fps
video codec - mpeg 4 - avc (h264)
audio codec - mpeg2
container - matroska

2.8.38 - 64bit kernel
hardware: intel QuadCore 2,8 Ghz (45nm), 4 GB ram

but if I increase the input to 30 fps I'll only get about 28 when encoding.

If you changed the codec to MJPEG, and still have issues then there
could be something wrong with your setup, is the audio OK except for
the sync issues? As for the sync issues, do you get the audio before
the video or vice versa ?

Regards,
Paulo


2011/9/7 Steffen stes...@googlemail.com:
 Hi Paolo,

 Thank you for your answer!

 I reduced the frame rate, resolution and changed the video codec. But
 still the same. Sound and audio is still unsyncron in guvcview. Cheese
 records all well but in 15 fps.

 Steffen


 Am Mittwoch, den 07.09.2011, 09:35 +0100 schrieb Paulo Assis:
 Hi,
 guvcview detects some sync issues, it seems although you select 30
 fps, for that resolution (1280x720) your hardware is just not powerful
 enough to decode the MJPG stream and re-encode it with whatever coded
 you are using.
 Some solutions:
 -reduce the fps
 -reduce the resolution
 -try using a less resource demanding video codec (MJPG will save the
 video stream directly to disk, no compression is done in this case,
 but it generates a huge file if compared with any of the mpeg codecs)
 -use the matroska container instead of avi, it is much better since
 individual frames are timed stamped. Avi only sets a average fps (15
 according to your log)

 Regards,
 Paulo

 2011/9/7 Steffen stes...@googlemail.com:
  Hello,
 
  I am testing Microsoft Lifecam Cinema now, but I am not able to record
  audio and video syncronusely with that cam and guvcview. The Logitech
  C525 works but has a crappy image. Also cheese works with both cams but
  has a little frame rate. Skype works for both.
 
  Do you have any ideas? I have already installed that medibuild version
  of uvc and the latest guvcview from the ppa. But the same result even
  with the old ubuntu natty versions.
 
  Steffen
 
 
 
 
  ___
  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


Re: [Linux-uvc-devel] Microsoft Lifecam Cinema

2011-09-07 Thread Paulo Assis
Hi,
Well if the audio comes first it means you are dropping audio frames
making audio capture shorter than video, this usually means issues
with the audio source, you seem to have confirmed this by changing to
another mic and verifying that the recorded video works fine in that
case.
There could be several reasons to why these audio frames are dropped,
from hardware/firmware to low level usb issues, does your dmesg output
prints anything related to  snd_usb_audio module?

Also are you sure cheese is using your camera mic? For what I
understand it always uses the system default audio input (in your case
is the pulse server virtual alsa device).

Regards,
Paulo


2011/9/7 Steffen stes...@googlemail.com:
 Hi Paulo,

 I am using a quite powerful PC i5 2.8 8 Gig RAM, ... and even with
 lowest settings, 640 x 480 the result is the same. The audio always
 comes out first. If I choose a different audio source like my other
 Logitech C525 or Lifecam VX-2000 the recording of the Lifecam Cinema is
 fine and even syncron to audio. So I think it is a guvcview - uvc
 problem. In cheese it is also ok but cheese unfortunately records in low
 frame rates.

 Steffen




 Am Mittwoch, den 07.09.2011, 16:58 +0100 schrieb Paulo Assis:
 Hi,
 if you are using any of the mpeg4 codecs, you will need a rather
 powerful cpu for encoding at high frame rates, specially at any decent
 resolution.
 As an example I don't have any special problems with the following
 configuration:

 device input: MJPEG 800x600@25 fps
 video codec - mpeg 4 - avc (h264)
 audio codec - mpeg2
 container - matroska

 2.8.38 - 64bit kernel
 hardware: intel QuadCore 2,8 Ghz (45nm), 4 GB ram

 but if I increase the input to 30 fps I'll only get about 28 when encoding.

 If you changed the codec to MJPEG, and still have issues then there
 could be something wrong with your setup, is the audio OK except for
 the sync issues? As for the sync issues, do you get the audio before
 the video or vice versa ?

 Regards,
 Paulo


 2011/9/7 Steffen stes...@googlemail.com:
  Hi Paolo,
 
  Thank you for your answer!
 
  I reduced the frame rate, resolution and changed the video codec. But
  still the same. Sound and audio is still unsyncron in guvcview. Cheese
  records all well but in 15 fps.
 
  Steffen
 
 
  Am Mittwoch, den 07.09.2011, 09:35 +0100 schrieb Paulo Assis:
  Hi,
  guvcview detects some sync issues, it seems although you select 30
  fps, for that resolution (1280x720) your hardware is just not powerful
  enough to decode the MJPG stream and re-encode it with whatever coded
  you are using.
  Some solutions:
  -reduce the fps
  -reduce the resolution
  -try using a less resource demanding video codec (MJPG will save the
  video stream directly to disk, no compression is done in this case,
  but it generates a huge file if compared with any of the mpeg codecs)
  -use the matroska container instead of avi, it is much better since
  individual frames are timed stamped. Avi only sets a average fps (15
  according to your log)
 
  Regards,
  Paulo
 
  2011/9/7 Steffen stes...@googlemail.com:
   Hello,
  
   I am testing Microsoft Lifecam Cinema now, but I am not able to record
   audio and video syncronusely with that cam and guvcview. The Logitech
   C525 works but has a crappy image. Also cheese works with both cams but
   has a little frame rate. Skype works for both.
  
   Do you have any ideas? I have already installed that medibuild version
   of uvc and the latest guvcview from the ppa. But the same result even
   with the old ubuntu natty versions.
  
   Steffen
  
  
  
  
   ___
   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


Re: [Linux-uvc-devel] Logitech C910 camera problems

2011-08-12 Thread Paulo Assis
Hi,
The flag is think is UVC_CONTROL_AUTO_UPDATE

and in the case of extension controls you really need to set it to
disable control caching, this is specially evident for control like
pan/tilt, that behave badly if this flag is not set.

see:
http://www.spinics.net/lists/vfl/msg38717.html

in the case of exposure however this was never a problem.
in kernel 3.0 the auto exposure menu only reports the valid menu
values (2) instead of all 4, this was a problem for tools like
guvcview that didn't expect this. I've now fix it (1.5.0) and it is
working fine, you also may want to test some other control tool like
yavta instead.

Regards,
Paulo

2011/8/12 Philip Gladstone phi...@gladstonefamily.net:
 In doing some digging, it also appears that the settings that I am
 interested in are also being cached by the driver, so I am not really
 getting the right values.

 I suspect that for UVC_CT_EXPOSURE_TIME_ABSOLUTE_CONTROL,
 UVC_PU_GAIN_CONTROL (at least), I want the UVC_CTRL_FLAG_AUTO_UPDATE set.
 This won't (I doubt) improve the exposure of the image, but it will improve
 the reporting.

 The output from v4l-ctl -l is

                     brightness (int)  : min=0 max=255 step=1 default=128
 value=128

                       contrast (int)  : min=0 max=255 step=1 default=32
 value=32

                     saturation (int)  : min=0 max=255 step=1 default=32
 value=32

  white_balance_temperature_auto (bool) : default=1 value=1

                           gain (int)  : min=0 max=255 step=1 default=64
 value=64

           power_line_frequency (menu) : min=0 max=2 default=2 value=2

      white_balance_temperature (int)  : min=2800 max=6500 step=1
 default=4000 value=4000

                      sharpness (int)  : min=0 max=255 step=1 default=72
 value=72

         backlight_compensation (int)  : min=0 max=1 step=1 default=0 value=0

                  exposure_auto (menu) : min=0 max=3 default=3 value=3

              exposure_absolute (int)  : min=3 max=2047 step=1 default=166
 value=166

         exposure_auto_priority (bool) : default=0 value=1

                   pan_absolute (int)  : min=-36000 max=36000 step=3600
 default=0 value=0

                  tilt_absolute (int)  : min=-36000 max=36000 step=3600
 default=0 value=0

                 focus_absolute (int)  : min=0 max=255 step=17 default=68
 value=68

                     focus_auto (bool) : default=1 value=1

                  zoom_absolute (int)  : min=1 max=5 step=1 default=1 value=1



 Philip


 On 12-Aug-11 12:35 AM, Carl Michal wrote:

 Hi Philip,

 Laurent can correct me if I've got this wrong - but in the latest uvc
 driver there are some changes in how the exposure settings are reported.
 Before the driver would report settings that the camera wouldn't support.
 That is now fixed, but unfortunately the way it works now seems to confuse a
 lot of software. Both guvcview and luvcview are confused by the new driver
 as well and won't let you properly turn on or off the auto exposure as well.

 In luvcview the fix is trivial, and apparently guvcview has been fixed
 upstream.  There is some disscussion of this in the list archives a few
 weeks ago.

 Carl


 On Thu, 11 Aug 2011, Philip Gladstone wrote:

 I'm running the latest UVC driver and I find that the auto-exposure
 doesn't work when I use the UVC driver on linux. The controls (as reported
 by fswebcam) are:

 Available Controls        Current Value   Range

 --        -   -

 Brightness                128 (50%)       0 - 255

 Contrast                  32 (12%)        0 - 255

 Saturation                32 (12%)        0 - 255

 White Balance Temperature, Auto True            True | False

 Gain                      64 (25%)        0 - 255

 Power Line Frequency      60 Hz           Disabled | 50 Hz | 60 Hz

 White Balance Temperature 4000 (32%)      2800 - 6500

 Sharpness                 72 (28%)        0 - 255

 Backlight Compensation    0               0 - 1

 Exposure, Auto            Aperture Priority Mode Manual Mode | Aperture
 Priority Mode

 Exposure (Absolute)       166 (7%)        3 - 2047

 Exposure, Auto Priority   True            True | False

 Pan (Absolute)            0 (50%)         -36000 - 36000

 Tilt (Absolute)           0 (50%)         -36000 - 36000

 Focus (absolute)          68 (26%)        0 - 255

 Focus, Auto               True            True | False

 Zoom, Absolute            1               1 - 5



 I'm grabbing images in MJPG format and I wonder if that fact is confusing
 the camera. Under windows you can watch it adjust exposure and gain until
 the image looks good (when in auto mode).

 The values above appear to be the default values after a power cycle of
 the camera (plug and unplug the USB).

 Does anyone have any idea what is going on? I'd rather not have to put
 the camera in the manual exposure mode and then control it in software.

 Philip

 ___
 Linux-uvc-devel mailing 

Re: [Linux-uvc-devel] 3.0 - exposure settings.

2011-08-03 Thread Paulo Assis
Hi,
guvcview had a little problem when handling menu control indexes, it
was using the combo box index instead of the real control menu index.
This should be fixed in svn (svn://svn.berlios.de/guvcview/trunk) if
you care to test it.

This worked fine for sequential menu indexes, but this specific case
revealed the bug.

In any case I can't see how it turned a menu combo into a check box,
It just hasn't that type of code.

Regards,
Paulo

2011/8/3 Laurent Pinchart laurent.pinch...@ideasonboard.com:
 Hi Carl,

 On Wednesday 03 August 2011 08:29:56 Carl Michal wrote:
 On Tue, 2 Aug 2011, Laurent Pinchart wrote:
  On Tuesday 02 August 2011 07:29:47 Carl Michal wrote:
  Hi Laurent,
 
  I understand there were changes made in the exposure settings
  in 3.0.  I just installed 3.0 and have some new/different issues here.
 
  I have two cameras available: a quanta integrated webcam in a dell XPS
  15 and a logitech C910.
 
  For either camera, guvcview used to give me a drop-down menu with 4
  exposure options in addition to an auto priority checkbox and a slider
  to manually set the exposure. Two of the drop-down settings didn't seem
  to work, but two of them did. With a 3.0 kernel, there is only an auto
  exposure check-box and manual exposure slider - but the exposure slider
  no longer works and guvcview says:
  control id: 0x009a0902 failed to set (error -1) (for the quanta)
  or
  control id: 0x009a0902 failed to set (error -1) (for the logitech)
 
  So pretty much the same error for both :-)

 err - somehow they looked a little less identical when I went to paste
 the second one in.  Blame that on the new baby...

  Could you try listing the controls with v4l2-ctl or yavta ? The
  auto-exposure control should still be a menu (I expect guvcview to
  convert it to a boolean control automatically for some reason, maybe
  because it has two values only), and if the values reported by the
  driver match the two values that worked before ?

 yavta -l for either camera lists three exposure controls (with different
 values for the min, max and default):

 control 0x009a0901 `Exposure, Auto' min 0 max 3 step 1 default 3 current 3.
    1: Manual Mode
    3: Aperture Priority Mode
 control 0x009a0902 `Exposure (Absolute)' min 3 max 2047 step 1 default 166
 current 166. control 0x009a0903 `Exposure, Auto Priority' min 0 max 1 step
 1 default 0 current 0.

 The two values reported for the 'Exposure, Auto' control are the two
 values in the drop down that worked before. But that control isn't drawn
 by guvcview at all now (tried guvcview: 1.4.2, 1.4.4 or 1.4.5).

 Interesting though, luvcview (0.2.6) draws the first two of those controls
 (but not the third). So - I turned off the auto exposure in luvcview and
 now the manual exposure setting works.  But - now I can't turn auto
 exposure back on. luvcview says either:

 Auto Exposure set to 1
 or
 Set Auto Exposure off error

 It looks like luvcview wants to set values of either 0 or 1, when the
 legal values are 1 or 3.

 with v4l2-ctl, I can set the Auto Exposure control to 1 or 3 and it seems
 to work correctly. So looks like the driver does the right thing but maybe
 both guvcview and luvcview are confused by the available values?

 That's quite likely. Do you want to have a try at fixing them ? :-)

 --
 Regards,

 Laurent Pinchart
 ___
 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


Re: [Linux-uvc-devel] 3.0 - exposure settings.

2011-08-03 Thread Paulo Assis
OK, I've just test it under 3.0 and it seems to be working fine now.
The way menu entries were listed was causing it to misbehave, when
querying for the menu items if one happened to fail then the loop
would break, not listing the remaining entries. Now we just continue
until the last index (maximum value).

Regards,
Paulo

2011/8/3 Paulo Assis pj.as...@gmail.com:
 Hi,
 guvcview had a little problem when handling menu control indexes, it
 was using the combo box index instead of the real control menu index.
 This should be fixed in svn (svn://svn.berlios.de/guvcview/trunk) if
 you care to test it.

 This worked fine for sequential menu indexes, but this specific case
 revealed the bug.

 In any case I can't see how it turned a menu combo into a check box,
 It just hasn't that type of code.

 Regards,
 Paulo

 2011/8/3 Laurent Pinchart laurent.pinch...@ideasonboard.com:
 Hi Carl,

 On Wednesday 03 August 2011 08:29:56 Carl Michal wrote:
 On Tue, 2 Aug 2011, Laurent Pinchart wrote:
  On Tuesday 02 August 2011 07:29:47 Carl Michal wrote:
  Hi Laurent,
 
  I understand there were changes made in the exposure settings
  in 3.0.  I just installed 3.0 and have some new/different issues here.
 
  I have two cameras available: a quanta integrated webcam in a dell XPS
  15 and a logitech C910.
 
  For either camera, guvcview used to give me a drop-down menu with 4
  exposure options in addition to an auto priority checkbox and a slider
  to manually set the exposure. Two of the drop-down settings didn't seem
  to work, but two of them did. With a 3.0 kernel, there is only an auto
  exposure check-box and manual exposure slider - but the exposure slider
  no longer works and guvcview says:
  control id: 0x009a0902 failed to set (error -1) (for the quanta)
  or
  control id: 0x009a0902 failed to set (error -1) (for the logitech)
 
  So pretty much the same error for both :-)

 err - somehow they looked a little less identical when I went to paste
 the second one in.  Blame that on the new baby...

  Could you try listing the controls with v4l2-ctl or yavta ? The
  auto-exposure control should still be a menu (I expect guvcview to
  convert it to a boolean control automatically for some reason, maybe
  because it has two values only), and if the values reported by the
  driver match the two values that worked before ?

 yavta -l for either camera lists three exposure controls (with different
 values for the min, max and default):

 control 0x009a0901 `Exposure, Auto' min 0 max 3 step 1 default 3 current 3.
    1: Manual Mode
    3: Aperture Priority Mode
 control 0x009a0902 `Exposure (Absolute)' min 3 max 2047 step 1 default 166
 current 166. control 0x009a0903 `Exposure, Auto Priority' min 0 max 1 step
 1 default 0 current 0.

 The two values reported for the 'Exposure, Auto' control are the two
 values in the drop down that worked before. But that control isn't drawn
 by guvcview at all now (tried guvcview: 1.4.2, 1.4.4 or 1.4.5).

 Interesting though, luvcview (0.2.6) draws the first two of those controls
 (but not the third). So - I turned off the auto exposure in luvcview and
 now the manual exposure setting works.  But - now I can't turn auto
 exposure back on. luvcview says either:

 Auto Exposure set to 1
 or
 Set Auto Exposure off error

 It looks like luvcview wants to set values of either 0 or 1, when the
 legal values are 1 or 3.

 with v4l2-ctl, I can set the Auto Exposure control to 1 or 3 and it seems
 to work correctly. So looks like the driver does the right thing but maybe
 both guvcview and luvcview are confused by the available values?

 That's quite likely. Do you want to have a try at fixing them ? :-)

 --
 Regards,

 Laurent Pinchart
 ___
 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


Re: [Linux-uvc-devel] Logitech C270 mic problem

2011-07-04 Thread Paulo Assis
Hi,
your camera mic is supported by the snd-usb-audio alsa driver (
http://alsa.opensrc.org/Usb-audio ), this is a totally different
driver and specification from uvcvideo (video only).

Anyway is the problem related to skype only or do other apps like
audacity, suffer from the same issues?

Regards,
Paulo


2011/7/3 George grinde...@gmail.com:
 Hello all,

 Here is a problem with a Logitech C270 webcam and its mic: Quite often when
 I 'm on Skype (or Google talk) doing a video call, the mic suddenly goes
 off, so the other side can't here me. I have to kill Skype from the command
 line, unplug the camera, plug it back in and then load Skype again.
 Sometimes I have to do this 2 or 3 times in a raw until the mic comes back
 again. This happens only when I 'm doing video calls. When this happens I
 see the following message when doing a dmesg:

 cannot set freq 24000 to ep 0x86

 I also see similar messages when the Linux kernel is loading:

 cannot set freq 24000 to ep 0x86
 cannot set freq 32000 to ep 0x86
 cannot set freq 48000 to ep 0x86

 I purchased this webcam 6 months ago (sorry for not mailing the list
 earlier) and I noticed this behaviour from the very beginning I started
 using it, so it's not something noticed with the latest Linux kernel. I 'm
 using Debian Unstable with the Liquorix kernel, but it's the same with the
 official Debian kernels as well. This has also been reported in Arch Linux.

 I hope that the above information can help you to debug the problem. Please
 do tell me if I can do anything more. Thank you in advance for any response.

 Best regards,
 George P.


 ___
 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


Re: [Linux-uvc-devel] Webcam with H264 encoder not in Devicelist

2011-06-16 Thread Paulo Assis
Hi,
Some documentation on the subject:

http://www.quickcamteam.net/uvc-h264

Regards,
Paulo

2011/6/16 Ajay Bhargav ajay.bhar...@einfochips.com:
 Hi Alexey,

 Thanks for reply, Well i have already done this before even i saw that
 patches in mailing list... I am able to add /dev/video0 device on my machine
 but i am not able to read from that device. Here is the log:


 uvcvideo 1-1.2:1.0: usb_probe_interface
 uvcvideo 1-1.2:1.0: usb_probe_interface - got id
 uvcvideo: Probing generic UVC device 1.2
 uvcvideo: Videostreaming interface: 0x0A
 uvcvideo: Format 10, Desc Size: 7
 uvcvideo: Found format MPEG2-TS.
 uvcvideo: Found a Status endpoint (addr 81).
 uvcvideo: Found UVC 1.00 device USB Camera Aoni   (04a8:0536)
 uvcvideo: Added control ----0101/2 to device 1.2
 entity 5
 uvcvideo: Added control ----0101/3 to device 1.2
 entity 5
 uvcvideo: Added control ----0101/6 to device 1.2
 entity 5
 uvcvideo: Added control ----0101/7 to device 1.2
 entity 5
 uvcvideo: Added control ----0101/8 to device 1.2
 entity 5
 uvcvideo: Added control ----0101/5 to device 1.2
 entity 5
 uvcvideo: Scanning UVC chain: OT 3 - PU 5 - SU 4 - IT 1
  (- XU 6)6uvcvideo: video stream id: 3
 uvcvideo: Stream List id: 3, Dev stream id: 3
 uvcvideo: Found a valid video chain (1 - 3).
 uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling
 workaround.
 input: USB Camera Aoni   as /class/input/input0
 usb 1-1.2: link qh1024-0001/ff389200 start 1023 [1/0 us]
 uvcvideo: UVC device initialized.
 usb 1-1.2: adding 1-1.2:1.1 (config #1, interface 1)
 usb 1-1.2:1.1: uevent
 usb 1-1.2: adding 1-1.2:1.2 (config #1, interface 2)
 usb 1-1.2:1.2: uevent
 snd-usb-audio 1-1.2:1.2: usb_probe_interface
 snd-usb-audio 1-1.2:1.2: usb_probe_interface - got id
 usb 1-1.2: adding 1-1.2:1.3 (config #1, interface 3)
 usb 1-1.2:1.3: uevent
 uvcvideo: uvc_v4l2_open
 uvcvideo: uvc_v4l2_ioctl(VIDIOC_QUERYCAP)
 uvcvideo: uvc_v4l2_ioctl(VIDIOCGCAP)
 uvcvideo: Trying format 0x4745504d (MPEG): 1x1.
 uvcvideo: Default cam size: 1x1.
 uvcvideo: Using default frame interval 0.1 us (1000.0 fps).
 uvcvideo: uvc_v4l2_release

 As per this conversation
 (http://lists.berlios.de/pipermail/linux-uvc-devel/2009-July/005008.html) it
 looks like there are lot more changes to be done, so that UVC is able to
 forward proper information to v4l2 layer.

 --Ajay


 - Original Message -
 From: Alexey Fisher bug-tr...@fisher-privat.net
 To: Ajay Bhargav ajay.bhar...@einfochips.com
 Cc: linux-uvc-devel@lists.berlios.de, Kofi Jedamzik k...@jedamzik.net
 Sent: Thursday, June 16, 2011 12:06:02 PM
 Subject: Re: [Linux-uvc-devel] Webcam with H264 encoder not in Devicelist

 Hi,

 Stephan Lachowsky has provided some patches for MPEG-TS and H264
 support.
 https://lists.berlios.de/pipermail/linux-uvc-devel/2011-February/006287.html
 https://lists.berlios.de/pipermail/linux-uvc-devel/2011-February/006288.html

 I do not know the current status of this work. May be Laurent can tell
 some thing about it.

 Am Donnerstag, den 16.06.2011, 10:26 +0530 schrieb Ajay Bhargav:
 Hi,

 as far as i know stream based format are not yet supported in UVC
 driver. and UVC 1.1 specifications defines the H.264 payload
 specifications. I dont think they are implemented yet.

 I have a camera with me which outputs H.264 stream using MPEG2-TS
 container format. If you have any idea how to add support for MPEG2-TS
 please let me know.

 --Ajay

 - Original Message -
 From: Alexey Fisher bug-tr...@fisher-privat.net
 To: Kofi Jedamzik k...@jedamzik.net
 Cc: linux-uvc-devel@lists.berlios.de
 Sent: Wednesday, June 15, 2011 8:10:36 PM
 Subject: Re: [Linux-uvc-devel] Webcam with H264 encoder not in
 Devicelist

 Hi,

 theoretically this should do it:
 gst-inspect-0.10 v4l2src ! video/x-h264 ! ffdec_h264 ! autovideosink

 but, if i'm correct, current kernel do not support h264. There was a
 patch for some time, but im not sure if Laurent applyed it.

 Am Mittwoch, den 15.06.2011, 16:01 +0200 schrieb Kofi Jedamzik:
  Hi,
 
  ... there is a new Logitech Webcam called B990 HD Webcam with
  device id 046d:0828
  it has an integrated hardware based H264 baseline video encoder
 
  This cam is not listed.
 
  MJPEG seems to work but I want to get out the H264 stream.
 
  Is there anyone who could give me a hint how to do it?
 
  Here are som dumps which might be helpful...
 
  best regards
 
  Kofi
 
  #lsusb --verbose -d 046d:0828
  (big output) -- http://pastebin.com/9WFgytwY
 
  #guvcview --device /dev/video0 --verbose
  (big output) -- http://pastebin.com/pqmUGYyn
 
  #modinfo uvcvideo
  filename:
  /lib/modules/2.6.38-8-generic/kernel/drivers/media/video/uvc/uvcvideo.ko
  version:        v1.0.0
 
  #tail /var/log/syslog
  [11588.664940] usb 1-6: USB disconnect, address 4
  [11594.580043] usb 1-6: new high 

Re: [Linux-uvc-devel] Device disappears after a minute (093a:2700)

2011-06-13 Thread Paulo Assis
Hi,
this looks like a faulty connection.
Try a different usb port, if this doesn't help you should check the
camera cable.

Regards,
Paulo

2011/6/13 Ian Freeman i...@ifreeman.net:
 I can get working video from this device for a limited amount of time
 before it disconnects from the usb system.

 dmesg looks like the attached.

 The video works under guvcview, cheese, and vlc, but only for about a
 minute to a minute and a half.

 I can't find anything interesting in any logs, but I'm using the
 packager's uvcvideo for Ubuntu/natty.

 Anything you could suggest I try? Maybe compile uvcvideo myself and turn
 on any available debugging/verbosity flags?

 Thanks,
 Ian Freeman

 ___
 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


Re: [Linux-uvc-devel] Z-Star USB Digital Microscope

2011-06-11 Thread Paulo Assis
Hi,

2011/6/11 hagar ha...@iinet.net.au:
 I have a Z-Star USB Digital Microscope It is supposed to have the following
 specifications -

 ManID   - 0ac8
 DevID   - 3610
 Image   - 1.3 MP
 Bus     - USB 2.0
 Mag     - 20x - 400x - ( Manual - More like Focus )
 Capture - Still  Video
 Modes   - 1600x1200, 1280x960, 800x600, 640x480, 352x288, 320x240, 160x120

There seems to be something wrong with the camera specs:

1600 x 1200 = 1.9 MP

so I wouldn't trust these values that much.

 Color   - 32 bit
 Flicker - 50/60 Hz
 Frames  - Max 30fps under 600 Lus brightness
 Shutter - 1 sec to 1/1000 sec
 Light   - 8 led dimmable (Manual) (Software ??)
 Power   - 5V DC from USB

 Now uvcvideo works but not fully
 uvcvideo only allows resolutions of - 640x480, 352x288, 320x240, 160x120


Does the camera only presents 1 pixel format (MJPG, YUYV,..) for streaming ?
Available resolutions may vary depending on the image format you
choose for streaming (if more than one choice present) and they can
also change if you use a usb1 port instead of a usb2.


Regards,
Paulo
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


Re: [Linux-uvc-devel] luvcview does not record video in avi

2011-06-10 Thread Paulo Assis
Hi,

2011/6/10 JITENDRA SINGH narukajsi...@gmail.com:
 Hi Paulo,

 Thanks a lot, I tried using IYUV 4cc before your reply, now using YUY2 4cc
 code luvcview is recording the yuv file but its quite large as compared to
 one recorded by ffmpeg. I understand that ffmpeg encodes yuyv frames
 resulting in smaller mpg file.

YUYV is a uncompressed format (16 bit per pixel), it will always
produce much larger files if compared with any compressed.


 I just need litle advice, I want a survillance app on arm arch, but would
 like to use luvcview to record and not ffmpeg as luvcview is gud small pkg,
 in that case should I go for a mjpg based webcam such as C905?
 Just can't find performance comparison of yuyv vs mjpg based webcams and
 apps(considering mjpg/yuyv encoding is done in webcam only)...hope you put
 some valuable words !!

in terms of performance, streaming in yuyv or mjpg on a usb2
connection makes no big difference although you should be able achieve
better fps with mjpg at higher resolutions.
YUYV is more limited due the higher usb bandwidth needed.

Regards,
Paulo


 Many thanks,
 Naruka

 On Thu, Jun 9, 2011 at 8:52 PM, Paulo Assis pj.as...@gmail.com wrote:

 Hi,

 The 4cc code for YUYV is YUY2, at least this is what I use for
 guvcview and it works with most video players.

 So just use the same luvcview code but replace the 4cc code from MJPG
 to YUY2 in the case of a YUYV stream format.

 Regards,
 Paulo

 just use that when streaming in yuyv and the file should be ok

 2011/6/9 JITENDRA SINGH narukajsi...@gmail.com:
  I think I see the problem in luvcview code, avi file is not initialized
  for
  V4L2_PIX_FMT_YUYV, its is initialized only for MJPG fmt.
 
  ./v4l2uvc.c:650:    vd-avifile =
  AVI_open_output_file(vd-avifilename);
 
  Now all I want to know is, does luvcview doesnt support recording of avi
  file from YUV frames ?
  Any suggestions, what I can do for that support ?
 
  Any help will be gr8!!
 
  Thanks,
  Naruka
 
  On Thu, Jun 9, 2011 at 6:15 PM, JITENDRA SINGH narukajsi...@gmail.com
  wrote:
 
  Hi all,
 
  I am trying to save video(its ok without audio) via luvcvideo, but I
  cant
  see any .avi file generated, though it shows avi recording
  started/stopped.
  I am pressing p/clicking record button to record:
 
  $sudo luvcview -d /dev/video0 -f yuv -s 176x144 -i 3 -o ./vid.avi
  luvcview 0.2.6
 
  SDL information:
  Video driver: x11
  A window manager is available
  Device information:
  Device path: /dev/video0
  Stream settings:
  Frame format: YUYV
  Frame size: 176x144
  Frame rate: 5 fps (requested frame rate 3 fps is not supported by
  device)
  avi recording started
  frame rate: 5.01253
  avi recording stopped (4s)
  avi recording started
  frame rate: 4.98753
  avi recording stopped (4s)
  Cleanup done. Exiting ...
 
  Does anybody has a clue, I found no info anywhere about such problem.
  PS: luvcview is able to capture still image, raw frames as well.
 
  $luvcview -L
  luvcview 0.2.6
 
  SDL information:
    Video driver: x11
    A window manager is available
  Device information:
    Device path:  /dev/video0
  /dev/video0 does not support read i/o
  { pixelformat = 'YUYV', description = 'YUV 4:2:2 (YUYV)' }
  { discrete: width = 640, height = 480 }
      Time interval between frame: 1/60, 1/50, 1/40, 1/30, 1/20, 1/15,
  1/10,
  1/5,
  { discrete: width = 352, height = 288 }
      Time interval between frame: 1/60, 1/50, 1/40, 1/30, 1/20, 1/15,
  1/10,
  1/5,
  { discrete: width = 320, height = 240 }
      Time interval between frame: 1/60, 1/50, 1/40, 1/30, 1/20, 1/15,
  1/10,
  1/5,
  { discrete: width = 176, height = 144 }
      Time interval between frame: 1/60, 1/50, 1/40, 1/30, 1/20, 1/15,
  1/10,
  1/5,
  { discrete: width = 160, height = 120 }
      Time interval between frame: 1/60, 1/50, 1/40, 1/30, 1/20, 1/15,
  1/10,
  1/5,
 
 
  Thanks in adv,
  Naruka
 
  ___
  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


Re: [Linux-uvc-devel] Quanta integrated webcam

2011-06-07 Thread Paulo Assis
Hi,

2011/6/7 Alexey Fisher bug-tr...@fisher-privat.net:
 On Mo, 2011-06-06 at 17:31 -0700, Carl Michal wrote:
 Hello,

 I'm having some trouble with a Quanta integrated webcam.  It identifies
 itself as: Laptop_Integrated_Webcam_2HDM, usbid: 0408:2fb1.  This is built
 in to a Dell XPS-15 (L501X).

 The uvcvideo module works, but the video stutters and has some
 distortions, even at low resolutions and frame rates.

 With the Camera Output set to MJPG (in guvcview) Ignoring empty buffer ...
 messages occur with most glitches.

I would say the camera is not returning the full frame (or maybe empty
ones) for same reason.


 If the output is set to YV12, the errors look like:

 VIDIOC_DQBUF - Unable to dequeue buffer : Input/output error
 Error grabbing image
 libv4l2: error converting / decoding frame data: v4l-convert: error
 parsing JPEG header: Not a JPG file ?


YV12 is a format returned by libv4l, and it's obtained by
decompressing the MJPG stream, so in fact the camera is still in MJPG
format like above.

 With cheese, the video preview looks ok, but video capture is
 unusable - the video stutters badly at low resolution, and the capture
 hangs at high resolution (the program doesn't hang, but after a couple of
 frames no more get captured).


Probably the same situation as above (incomplete or empty frames)


You should also increase uvc video verbosity and check dmesg for errors.

From the looks of it I would say you are having some hardware sync
issues, did you try all possible resolutions and frame rates ?
Do these issues happen in all formats

Regards,
Paulo
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


Re: [Linux-uvc-devel] Footage of objects in motion recorded from webcam is blurry

2011-05-02 Thread Paulo Assis
Hi,



 I've had a look and it indeed there is a focus control. Considering that by
 default it is set on 0 (and it was set on 0 during operation), does this
 mean that it is on auto?


This should be focus absolute, if set on 0 then focal length should
be set near infinite, that is good enough for most cases.

Regards,
Paulo
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


Re: [Linux-uvc-devel] Footage of objects in motion recorded from webcam is blurry

2011-04-27 Thread Paulo Assis
Hi,


 1. Would this be fairly specific to the Logitech QuickCam 9000, or is a more
 generic issue with webcam sensors?

Neither, you just need to lower exposure time.

 2. Are other webcams better in this respect?

I don't think so, you can control exposure quite easily with this cam.

 3. Can I use any of the UVC features to tweak the driver parameters in order
 to force sharper images of objects on the move?

Yes, just set exposure mode to manual, and tweak exposure absolute,
also remember to disable exposure, auto priority.
You should also use the highest fps possible (30 fps I think)

 4. Is this to do with the auto-focus of the camera, and can I turn it off or
 peg it in software at a certain value, to improve things?

Yes, use uvcdynctrl (command line) or guvcview (gtk) (guvcview
--control_only will let you use your program along side it)

Regards,
Paulo
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


Re: [Linux-uvc-devel] webcam acer extensa 5635z [04f2:b044] fedora Core 14 [kernel 2.6.35.12.88.fc14.i686]

2011-04-27 Thread Paulo Assis
Hi,

2011/4/26 Davide Marchi dan...@msw.it:
 Hi,
 i'm trying to enable the acer 5635z[04f2:b044]  webcam (on
 www.ideasonboard.org/uvc/ the webcam result ok) ;

 for this i've follow the http://git.linuxtv.org/media_build.git procedure
 and build and installed the modules:

 git clone git://linuxtv.org/media_build.git
 cd media_build
 ./build.sh


 but the webcam still does not work;


What you mean by does not work, this is a little vague.
Could you post dmesg and lsusb -v -d 04f2:b044 output, please?

Regards,
Paulo


 is there some other procedure that I follow?

 many thanks!


 --


 cosmogoniA http://www.cosmogonia.org/
 noprovarenofareononfarenonc'èprovare
 ___
 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


Re: [Linux-uvc-devel] How to disable Quickcam Pro 9000 LED?

2011-04-14 Thread Paulo Assis
Hi,


 What is the proper way to disable the LEDs on the Quick Cam Pro 9000 and

You must use logitech extension controls for this,
you can use uvcdynctrl from libwebcam (command line) or guvcview
(gtk), you must be root to add these controls to the driver (libwebcam
installs a udev script to handle them automatically).

after adding them to the driver they will display like regular v4l2 controls.

For the pro9000 If I'm not mistaken you have focus control, led
control, led frequency control and possibly video processing control
(raw bayer).

 other Quick Cam Pro cameras? (I have a 4000 as well).


This is handle by pwc driver I think.

 Justin.
 ___
 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


[Linux-uvc-devel] Fwd: Creative VF0700 Live! Cam Chat HD works everywhere, except highly distorted video in Skype

2011-03-29 Thread Paulo Assis
-- Forwarded message --
From: Paulo Assis pj.as...@gmail.com
Date: 2011/3/29
Subject: Re: [Linux-uvc-devel] Creative VF0700 Live! Cam Chat HD works
everywhere, except highly distorted video in Skype
To: Benson Bear benson.b...@gmail.com


2011/3/29 Benson Bear benson.b...@gmail.com:
 On Mon, Mar 28, 2011 at 4:26 AM, Paulo Assis pj.as...@gmail.com wrote:

 you could also try preloading libv4l, something like:

 LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so skype

 Thanks.  I tried that with no effect.

 Could you explain why you think it  might help? As I
 understand it, this is a brand new UVC camera,
 and UVC is handled in v4l2, so v4l libraries won't
 help.


libv4l is not only a v4l library, v4l2convert is also able of
converting compressed formats to uncompressed ones, say MJPG to YUV.
From what I understand skype only accepts uncompressed formats, and
since some uvc cameras only support MJPG you will need v4l2convert in
this cases.

Regards,
Paulo
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


Re: [Linux-uvc-devel] USB camera DFK 22BUC03 from ImagingSource

2011-03-24 Thread Paulo Assis
Hi,

 bFunctionClass255 Vendor Specific Class
 bFunctionSubClass   3

The camera is not uvc compatible, should read something like:

  bFunctionClass 14 Video
  bFunctionSubClass   3 Video Interface Collection

so I don't think it will work with the uvc driver, no matter how hard
you try :C.
You may have better luck with gspca, though, even if this implies a
bit of reverse engineering from the windows driver.


Best regards,
Paulo
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


Re: [Linux-uvc-devel] Extension unit documentation

2011-03-18 Thread Paulo Assis
Hi,

2011/3/18 Paul Jurczak pauljurc...@yahoo.com

 Hello,

 I there any documentation available about XU (extension unit) for webcams
 other than Logitech? XML definition files for uvcdynctrl maybe? I'm
 specifically looking for disabling on-board image processing in order to get
 raw Bayer data. Large number of modern UVC compliant webcam controllers
 support this feature now.



None that I'm aware off. Even in the case of logitech, the new Cx10 models
are currently missing this type of information.

Regards,
Paulo
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


Re: [Linux-uvc-devel] Logitech C910 -- trying to run more than one.

2011-03-06 Thread Paulo Assis
Hi,
please check this link:
http://forums.quickcamteam.net/showthread.php?tid=1305
 with a little fix to the previous patch the camera seems to work fine
with at least two units streaming at the same time.

I can't send an updated patch right now since my adsl connection is on
the slow side at the moment, and cloning the uvc git repo would take
several hours.
When/if I manage to get this done I'll post the full patch.

Regards,
Paulo

2011/3/6 Laurent Pinchart laurent.pinch...@ideasonboard.com:
 Hi Philip,

 On Sunday 20 February 2011 21:57:24 Philip Gladstone wrote:
 I attached two C910s to a small linux box, and ran into the 'Failed to
 submit URB' problem.

 When I look at the descriptors for this camera, I think I understand the
 problem. I'm capturing at 5 Mpixels and I'm trying two cameras.

        VideoStreaming Interface Descriptor:
          bLength                            38
          bDescriptorType                    36
          bDescriptorSubtype                  7 (FRAME_MJPEG)
          bFrameIndex                        28
          bmCapabilities                   0x01
            Still image supported
          wWidth                           2592
          wHeight                          1944
          dwMinBitRate                403107840
          dwMaxBitRate                806215680
          dwMaxVideoFrameBufferSize    10077696
          dwDefaultFrameInterval        100
          bFrameIntervalType                  3
          dwFrameInterval( 0)           100
          dwFrameInterval( 1)           133
          dwFrameInterval( 2)           200

 The video frame size is set to 10Mb. This is surprisingly large as
 actual frames captured with MJPEG on this camera are typically 500kb or
 less. When I checked the descriptor for the uncompressed version of the
 same frame, it came back with the same value of dwMaxVideoFrameBufferSize
 (effectively 16 bits per pixel). The values for min/max bit rate are
 (correctly) calculated from the frame intervals and the buffer size.

 The uvcvideo driver doesn't use the dwMaxVideoFrameBufferSize field to compute
 the required bandwidth but queries the device at runtime instead.

 You can enable the UVC_TRACE_VIDEO trace flag to get the driver to print the
 bandwidth requested by the device to the kernel log.

 Typical JPEG compression gets down to 1 bit per pixel, and 2 bits is
 very unusual.

 What I want to know is what the impact would be of defining a new QUIRK
 that overrode the frame buffer size for compressed frames and calculated
 them at (say) 2 bits per pixel?

 Do other webcams get this right?

 You would be surprised by how many webcams get things wrong.

 --
 Regards,

 Laurent Pinchart
 ___
 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


Re: [Linux-uvc-devel] WebCam configuration on Kubuntu 10.10

2011-02-19 Thread Paulo Assis
Hi,

 The problem appears when changing the resolution:
Are you saying it works on a higher resolution but falls on a lower one?

The fix bandwidth quirk only works on uncompressed streams (yuv), if
you pick mjpg or any other format (libv4l will convert from mjpg) then
this quirk is useless.
Make sure you use the yuyv format.

Regards,
Paulo

 A window manager is available
 setting new resolution (320 x 240)
 cleaning buffer allocations
 checking format: 1196444237
 VIDIOC_G_COMP:: Invalid argument
   compression control not supported
 libv4l2: error turning on stream: No space left on device
 VIDIOC_STREAMON - Unable to start capture: No space left on device
 libv4l2: error turning on stream: Device or resource busy
 VIDIOC_STREAMON - Unable to start capture: Device or resource busy
 libv4l2: error turning on stream: Device or resource busy
 VIDIOC_STREAMON - Unable to start capture: Device or resource busy
 Thread terminated...
 cleaning Thread allocations: 100%
 SDL Quit
 Shuting Down Thread
 Video Thread finished
 write /home/sok/.guvcviewrc-video1 OK
 free audio mutex
 closed v4l2 strutures
 free controls
 free controls - vidState
 cleaned allocations - 100%
 Closing portaudio ...OK
 Closing GTK... OK

 Also it supported to be worked in that resolution.
 Do you have any other usb devices connected to your system besides the
 integrated webcam?

 I already unplugged the usb mouse. Now have no addition usb devices.
 But I faild to disable the integrated
 webcam on kubuntu.And still the problem.
 Is that propably , that problem refere to my HP laptop?!

 If so, try disabling them, if you could also disable the integrated
 webcam (maybe in BIOS) it would be great.

 Regards,
 Paulo


 ___
 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


Re: [Linux-uvc-devel] WebCam configuration on Kubuntu 10.10

2011-02-19 Thread Paulo Assis
Hi,

2011/2/19 modysama asmaa.elassal.stud...@pua.edu.eg:
 Paulo Assis pj.assis at gmail.com writes:

  The problem appears when changing the resolution:
 Are you saying it works on a higher resolution but falls on a lower one?

 The problem:
 
 Webcam work only on guvcview in only resolutions:
 170*144
 160*120

 The output format is mjpg. yuyv doesn't make it work.


Ok this is definitely a bandwidth issue.

 That webcam works out of box on anther HP-but mini hp- with the same kernel
 with also another integrated
 camera and in all its supported resolutions and in several chat programs.
 I don't know whats wrong. Is the problem in my laptop!!


I would recommend you checking your bios configuration, specially your
usb settings.
The integrated camera will only be a problem when streaming, so I
doubt this is the cause behind your problem.

I would be interested in dmesg output from the working laptop, just to
check if the camera is added as a full speed or high speed device.

Regards,
Paulo

 sok@sok-HP-ProBook-4520s:~$ gstreamer-properties
 gstreamer-properties-Message: Skipping unavailable plugin 'alsasink'
 gstreamer-properties-Message: Skipping unavailable plugin 'artsdsink'
 gstreamer-properties-Message: Skipping unavailable plugin 'esdsink'
 gstreamer-properties-Message: Skipping unavailable plugin 'sunaudiosink'
 gstreamer-properties-Message: Skipping unavailable plugin 'glimagesink'
 gstreamer-properties-Message: Skipping unavailable plugin 'sdlvideosink'
 gstreamer-properties-Message: Skipping unavailable plugin 'v4lmjpegsrc'
 gstreamer-properties-Message: Skipping unavailable plugin 'qcamsrc'
 gstreamer-properties-Message: Skipping unavailable plugin 'alsasrc'
 gstreamer-properties-Message: Skipping unavailable plugin 'esdmon'
 gstreamer-properties-Message: Skipping unavailable plugin 'sunaudiosrc'
 libv4l2: error turning on stream: Input/output error
 gstreamer-properties-Message: Error running pipeline 'Video for Linux 2 
 (v4l2)':
 Error starting streaming on device '/dev/video1'. [gstv4l2object.c(1983):
  gst_v4l2_object_start_streaming (): /GstPipelineipeline0/GstV4l2Src:v4l2src1:
 system error: Input/output error]

 Thank you.

 ___
 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


[Linux-uvc-devel] WebCam configuration on Kubuntu 10.10

2011-02-18 Thread Paulo Assis
Hi, I find strange the following output from luvcview:

Frame format: YUYV (MJPG is not supported by device)

Your lsusb output seems to indicate that MJPG is indeed supported.

Could you post the output of guvcview --verbose?
This should list all video formats available in your device (and the
ones converted by libv4l)

Regards,
Paulo

2011/2/17 modysama asmaa.elassal.stud...@pua.edu.eg:
 please need your help.

 ___
 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


Re: [Linux-uvc-devel] VIDIOC_G_PARM not get the correct fps

2011-02-17 Thread Paulo Assis
Hi,
This may be caused by auto exposure, in dark environments exposure
increases so fps is reduced despite the requested value.
In some cameras you can disable auto exposure so that you always get
the requested fps, but some lower end models don't have support for
this control .

Regards,
Paulo

2011/2/17 xinglp xin...@gmail.com:
 is this the hardware issue?
 ___
 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


Re: [Linux-uvc-devel] WebCam configuration on Kubuntu 10.10

2011-02-11 Thread Paulo Assis
Hi,
 [11532.813381] usb 2-1.1: new full speed USB device using ehci_hcd

Are you connecting your camera to a usb1.1 port ?

The camera should be detected as a High Speed device.
check the difference here:
http://www.photoxels.com/article-usb-2.0-high-speed-vs-full-speed.html

Regards,
Paulo

2011/2/11 modysama asmaa.elassal.stud...@pua.edu.eg:
 I use Genius FaceCam 312 doesn't correctly work on Kubuntu 10.10 .
 Kerenl: 2.6.35-25 generic
 Laptop: HP pro-book 4520s
 Once trying skype test camera , Kopete, cheese or ekiga the camera's
 led lights without any response no output is appeared.


 - However, that camera is supported for linux kernel 2.6.21 above .
 - I tried to fix the bandwidth by the following two commands :

 sudo rmmod uvcvideo
 sudo modprobe uvcvideo quirks=128

 But still the probelm.

 for a more permanent fix I created the following file:
 /etc/modprobe.d/uvcvideo.conf
 and I add the following line:
 options uvcvideo quirks=128

 modysama@ubuntu:~$ cheese
 libv4l2: error turning on stream: No space left on device

 I recently tried the webcam on another laptop:
 mini Hp laptop.
 with the same kernel.
 It works too out of box on every software.

 
 sok@sok-HP-ProBook-4520s:~$ dmesg | tail
 [ 9014.027823] HP WMI: Unknown response received
 [11532.813381] usb 2-1.1: new full speed USB device using ehci_hcd
 and address 3
 [11533.036563] uvcvideo: Found UVC 1.00 device FaceCam 312(0458:7076)
 [11533.036570] uvcvideo: Forcing device quirks to 0x80 by module
 parameter-for testing purpose.
 [11533.036576] uvcvideo: Please report required quirks to the
 linux-uvc-devel mailing list.
 [11533.051169] input: FaceCam 312 as /devices/pci:00/:00:1
 d.0/usb2/2-1/2-1.1/2-1.1:1.0/input/input12
 [11533.386733] usbcore: registered new interface driver snd-usb-audio
 [14869.857110] HP WMI: Unknown response received
 [15692.956427] show_signal_msg: 9 callbacks suppressed
 [15692.956437] xawtv.bin[29033]: segfault at 0 ip 0106d770 sp bfe12bf8
 error 4 in libc-2.12.1.so[ff9000+157000]
 ---

 I am in need to help,
 what is the resone of the problem ?



 ___
 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


Re: [Linux-uvc-devel] Logitech C910 driver problem

2011-01-26 Thread Paulo Assis
Hi,

2011/1/25 Laurent Pinchart laurent.pinch...@ideasonboard.com:
 On Monday 17 January 2011 10:23:34 Paulo Assis wrote:
 I think if this was bandwidth related the error returned by the driver
 would be different, besides the bandwidth required for the c600 is the
 same and it works with this one.
 The camera just seems to crash, even controls stop responding.

 [  477.756605] uvcvideo: Failed to submit URB 0 (-28).

 -28 is -ENOSPC, it seems to be a bandwidth issue.


Yes, but then application log is strange:

libv4l2: error turning on stream: Device or resource busy
VIDIOC_STREAMON - Unable to start capture: Device or resource busy

VIDIOC_STREAMON is returning EBUSY, I guess it should return ENOPC in this case.

Regards,
Paulo
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


Re: [Linux-uvc-devel] Logitech C910 driver problem

2011-01-17 Thread Paulo Assis
I think if this was bandwidth related the error returned by the driver
would be different, besides the bandwidth required for the c600 is the
same and it works with this one.
The camera just seems to crash, even controls stop responding.


Regards,
Paulo

2011/1/17 Mitar mmi...@gmail.com:
 Hi!

 2011/1/14 Radek Mašín ra...@masin.eu:
 I connect both cameras to one USB controller

 You should not connect it to the same USB controller. It could be that
 one takes too much bandwidth. This camera already pushes USB bandwidth
 to its limits. Try distributing camera among different USB
 controllers.


 Mitar
 ___
 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


Re: [Linux-uvc-devel] webcam for skype under Ubuntu

2011-01-17 Thread Paulo Assis
Just get a uvc camera they have the best support under linux:
http://www.ideasonboard.org/uvc/#devices

Regards,
Paulo

2011/1/15 loody milo...@gmail.com:
 Dear all:
 I intend to buy a webcam for video conference meeting over skype under Ubuntu.
 1. Shall I buy any webcam will be fine?
 2. or I have to buy the webcam that is certificated by Skype.

 if 2 is the correct choice, is there anything special for skype certification?
 software compatibility?


 --
 Thanks for your kind help,
 miloody
 ___
 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


Re: [Linux-uvc-devel] webcam for skype under Ubuntu

2011-01-17 Thread Paulo Assis
Hi,

2011/1/17 loody milo...@gmail.com:
 hi all:
 I really appreciate all you kind help :0
 2011/1/17 Paulo Assis pj.as...@gmail.com:
 Just get a uvc camera they have the best support under linux:
 http://www.ideasonboard.org/uvc/#devices
 Actually why I post this mail because I want to know what kind of
 specific Technics that Skype need for certification.
 there are a lot of webcams that are UVC compatible, but I found there
 is seldom webcam that is skype certificated.
 If UVC compatible webcams are ok for skype, that means we don't need
 to care about skype certification, right?

I wouldn't care about this type of certification.
If the camera as a working v4l2 driver then it should work with any v4l2 app.
In the case of skype, since from what I know it only supports yuv
formats, you may need to preload v4l2convert (from libv4l) to handle
this:
http://ubuntuforums.org/showthread.php?t=1443838

Regards,
Paulo


 thanks a lot,
 miloody

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


Re: [Linux-uvc-devel] Logitech C910 driver problem

2011-01-14 Thread Paulo Assis
Radek,
Please attach the full dmesg output when starting video capture with
the second camera.
Also increase log verbosity first:

something like this:
rmmod uvcvideo
modprobe uvcvideo trace=65535

You should also refer your capture settings (if I remember MJPG
640x480@24 fps) and that if you use one c910 and one c600 everything
works fine.

Note: Cc linux-media since you also posted this thread there.

Regards,
Paulo

2011/1/14 Radek Mašín ra...@masin.eu:
 Hello,
 I'm trying to get working two Logitech C910 cameras in one computer and I'm 
 unable to
 do it. I connect both cameras to one USB controller and first camera is 
 starting capture
 without problem, but when I try to start second camera during first camera is 
 running,
 I get message in log uvcvideo: Failed to submit URB 0 and capturing fails.
 I have discussed this problem on quickcamteam forum and it seems, that there 
 is problem
 with uvcvideo driver for this camera.
 Cameras have been tested in two different systems (SuSe 11.2 and Ubuntu 
 10.10) and on
 both systems I get same behavior.

 Thank you
 Radek Masin
 ___
 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


Re: [Linux-uvc-devel] Creative WebCam Live! Chat IM, increase fps

2011-01-06 Thread Paulo Assis
Hi,
Did you notice the (Software enhanced) remark ?
This means a lower resolution is used to achieve the 30 fps and then
the windows driver resizes the image frame to 800x600 (through
software).
The linux uvc driver (like any other v4l2 driver) just exposes the
real resolutions and frame rates supplied by the hardware. All image
processing must be done by userspace applications.

Regards,
Paulo

2011/1/6 Alexander Lopatin sbar.g...@gmail.com:
 I've got Creative WebCam Live! Chat IM. It is UVC-compatible, but
 it's not listed in the supported devices list (
 http://www.ideasonboard.org/uvc/#devices ).

 One problem: it works with ~10—15 fps and with 800x600 resolution.
 Box/pack says Frame rate: Up to 30fps @ 800x600 pixels (Software
 enhanced).
 Does anybody know how to increase fps?
 ___
 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


Re: [Linux-uvc-devel] Creative WebCam Live! Chat IM, increase fps

2011-01-06 Thread Paulo Assis
Doesn't your camera supports 30 fps at a lower resolution than 800x600 ?

Regards,
Paulo

2011/1/6 Alexander Lopatin sbar.g...@gmail.com:
 I understand that frame can be resized using interpolation by the
 userspace software. But fps, how is it possible? This software makes
 in-between frames using smth like morphing?

 If someone knows how to do that using userspace software in GNU/Linux
 — please, let me know.


 Best regards,
 Alexander.

 On 1/6/11, Paulo Assis pj.as...@gmail.com wrote:
 Hi,
 Did you notice the (Software enhanced) remark ?
 This means a lower resolution is used to achieve the 30 fps and then
 the windows driver resizes the image frame to 800x600 (through
 software).
 The linux uvc driver (like any other v4l2 driver) just exposes the
 real resolutions and frame rates supplied by the hardware. All image
 processing must be done by userspace applications.

 Regards,
 Paulo

 2011/1/6 Alexander Lopatin sbar.g...@gmail.com:
 I've got Creative WebCam Live! Chat IM. It is UVC-compatible, but
 it's not listed in the supported devices list (
 http://www.ideasonboard.org/uvc/#devices ).

 One problem: it works with ~10—15 fps and with 800x600 resolution.
 Box/pack says Frame rate: Up to 30fps @ 800x600 pixels (Software
 enhanced).
 Does anybody know how to increase fps?
 ___
 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


Re: [Linux-uvc-devel] Creative WebCam Live! Chat IM, increase fps

2011-01-06 Thread Paulo Assis
You may need to disable autoexposure.
Could you please try it with guvcview ?

If you could also post the output of 'guvcview --verbose' it would be
great, as it prints out your camera full control list (and supported
framesizes and frame rates).


Regards,
Paulo


2011/1/6 Alexander Lopatin sbar.g...@gmail.com:
 I've made mistake in the first message, I'm sorry. My camera works
 with 640x480 and ~10—15 fps.

 I run mplayer tv:// and see 640x480 resolution and less than 30 fps.
 If I run mplayer tv:// -fps 10 — I see the same frame speed.
 mplayer tv:// -fps 5 — I really see 5 fps.

 I really don't care in which resolution my camera should work, but I
 want to get 30 fps.

 Also, my CPU load is ~25%, the video card works with hardware
 acceleration. I've tried different mplayer video drivers (xv, gl2,
 etc) and I see the same result.

 On 1/6/11, Paulo Assis pj.as...@gmail.com wrote:
 Doesn't your camera supports 30 fps at a lower resolution than 800x600 ?

 Regards,
 Paulo

 2011/1/6 Alexander Lopatin sbar.g...@gmail.com:
 I understand that frame can be resized using interpolation by the
 userspace software. But fps, how is it possible? This software makes
 in-between frames using smth like morphing?

 If someone knows how to do that using userspace software in GNU/Linux
 — please, let me know.


 Best regards,
 Alexander.

 On 1/6/11, Paulo Assis pj.as...@gmail.com wrote:
 Hi,
 Did you notice the (Software enhanced) remark ?
 This means a lower resolution is used to achieve the 30 fps and then
 the windows driver resizes the image frame to 800x600 (through
 software).
 The linux uvc driver (like any other v4l2 driver) just exposes the
 real resolutions and frame rates supplied by the hardware. All image
 processing must be done by userspace applications.

 Regards,
 Paulo

 2011/1/6 Alexander Lopatin sbar.g...@gmail.com:
 I've got Creative WebCam Live! Chat IM. It is UVC-compatible, but
 it's not listed in the supported devices list (
 http://www.ideasonboard.org/uvc/#devices ).

 One problem: it works with ~10—15 fps and with 800x600 resolution.
 Box/pack says Frame rate: Up to 30fps @ 800x600 pixels (Software
 enhanced).
 Does anybody know how to increase fps?
 ___
 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


Re: [Linux-uvc-devel] Creative WebCam Live! Chat IM, increase fps

2011-01-06 Thread Paulo Assis
OK,
So the camera claims to support 640x...@30 fps, but I guess you need
to manually set exposure for that.
Just set the Exposure, Auto control to manual and adjust Exposure
(Absolute) to a level where you get the 30 fps ( the image will
probably get very dark, in this case you will need to use a brighter
light source).

Regards,
Paulo

2011/1/6 Alexander Lopatin sbar.g...@gmail.com:
 I run guvcview and picked on show checkbox near frame rate line at
 the video  files tab. I always see 7 fps at the window's manager
 panel. I've tried to set the smaller resolutions than 640x480 and I
 got the same result.
 I've attached guvcview --verbose output.

 On 1/6/11, Paulo Assis pj.as...@gmail.com wrote:
 You may need to disable autoexposure.
 Could you please try it with guvcview ?

 If you could also post the output of 'guvcview --verbose' it would be
 great, as it prints out your camera full control list (and supported
 framesizes and frame rates).


 Regards,
 Paulo


 2011/1/6 Alexander Lopatin sbar.g...@gmail.com:
 I've made mistake in the first message, I'm sorry. My camera works
 with 640x480 and ~10—15 fps.

 I run mplayer tv:// and see 640x480 resolution and less than 30 fps.
 If I run mplayer tv:// -fps 10 — I see the same frame speed.
 mplayer tv:// -fps 5 — I really see 5 fps.

 I really don't care in which resolution my camera should work, but I
 want to get 30 fps.

 Also, my CPU load is ~25%, the video card works with hardware
 acceleration. I've tried different mplayer video drivers (xv, gl2,
 etc) and I see the same result.

 On 1/6/11, Paulo Assis pj.as...@gmail.com wrote:
 Doesn't your camera supports 30 fps at a lower resolution than 800x600 ?

 Regards,
 Paulo

 2011/1/6 Alexander Lopatin sbar.g...@gmail.com:
 I understand that frame can be resized using interpolation by the
 userspace software. But fps, how is it possible? This software makes
 in-between frames using smth like morphing?

 If someone knows how to do that using userspace software in GNU/Linux
 — please, let me know.


 Best regards,
 Alexander.

 On 1/6/11, Paulo Assis pj.as...@gmail.com wrote:
 Hi,
 Did you notice the (Software enhanced) remark ?
 This means a lower resolution is used to achieve the 30 fps and then
 the windows driver resizes the image frame to 800x600 (through
 software).
 The linux uvc driver (like any other v4l2 driver) just exposes the
 real resolutions and frame rates supplied by the hardware. All image
 processing must be done by userspace applications.

 Regards,
 Paulo

 2011/1/6 Alexander Lopatin sbar.g...@gmail.com:
 I've got Creative WebCam Live! Chat IM. It is UVC-compatible, but
 it's not listed in the supported devices list (
 http://www.ideasonboard.org/uvc/#devices ).

 One problem: it works with ~10—15 fps and with 800x600 resolution.
 Box/pack says Frame rate: Up to 30fps @ 800x600 pixels (Software
 enhanced).
 Does anybody know how to increase fps?
 ___
 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


Re: [Linux-uvc-devel] Genius FaceCam 310

2010-11-25 Thread Paulo Assis
Hi,

2010/11/25  malef...@malefico3d.org:
 YESSS !!!

 Thank you Paulo, I tried that and I could get image in guvcview :D

 I guess I have to add this to /etc/modprobe.d/somewhere_in_slackware but I
 guess I shouldn't have too much trouble with that.

 Now I wonder if there is a way to use higher resolutions or is it a
 limitation of usb or driver or you_name_it ? All I can use right now is
 176x144. when trying to go higher (320x240) I get the previous errors
 saying there is no space left in device.


I guess you have some other usb device(s) on the same controller that
request a lot of bandwidth, this limits the value requested by uvc.
You could try connecting to a different controller if available or
disconnecting some of your other devices.


Best Regards,
Paulo


 Anyway, thanks again !

 Claudio


 Claudio hi,

 2010/11/24  malef...@malefico3d.org:
 Hi Laurent,

 http://www.pasteall.org/17101  is the output of lsusb -v, line 176
 starts
 blurb about webcam.

 Have you tried the FIX_BANDWIDTH quirk ?

 No, where is that ? kernel source ?


 just do:

 rmmod uvcvideo
 modprobe uvcvideo quirks=128

 This will make the driver calculate the needed usb bandwidth for your
 camera, some devices just request the maximum value and this may cause
 problems if other devices are connected to the same controller.
 If I'm not mistaken this will only work for uncompressed streams (yuv).

 Regards,
 Paulo


 Thanks for the feedback !

 Claudio

 Hi Claudio,

 On Wednesday 24 November 2010 14:40:47 malef...@malefico3d.org wrote:
  This is a bit strange, do you have more than one video device ?
  What do you have now as /dev/video0 ?

 No, this happened after I configured ALSA so the audio capture device
 integrated in the camera, will be taken as the second soundcard (I
 already
 have one that I prefer to be the default soundcard). I'm not saying it
 is
 related but after doing this, the camera started to be /dev/video1.
 Nothing really changed anyway, webcam kept on same way.

  Is there any way to detect and fix the bandwidth problem ?
 
  check this thread:
  http://www.mail-archive.com/linux-usb-us...@lists.sourceforge.net/msg1483
  8.html

 Thanks I will look into it. I presume I have to rebuild the kernel in
 order to get those bandwidth load reports I see in this thread,
 right
 ?

 The other thing is once I detected the problem is the bandwidth, what
 should I do ?

 Have you tried the FIX_BANDWIDTH quirk ?

 how do I add a second USB controller to my computer ?

 I wonder if ANYONE here has tried this camera and make it work...

 Could you please send me the USB descriptors for your camera (lsusb -v)
 ?

 --
 Regards,

 Laurent Pinchart



 ___
 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

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


Re: [Linux-uvc-devel] Genius FaceCam 310

2010-11-24 Thread Paulo Assis
Claudio hi,

2010/11/24  malef...@malefico3d.org:
 Hi Laurent,

 http://www.pasteall.org/17101  is the output of lsusb -v, line 176 starts
 blurb about webcam.

 Have you tried the FIX_BANDWIDTH quirk ?

 No, where is that ? kernel source ?


just do:

rmmod uvcvideo
modprobe uvcvideo quirks=128

This will make the driver calculate the needed usb bandwidth for your
camera, some devices just request the maximum value and this may cause
problems if other devices are connected to the same controller.
If I'm not mistaken this will only work for uncompressed streams (yuv).

Regards,
Paulo


 Thanks for the feedback !

 Claudio

 Hi Claudio,

 On Wednesday 24 November 2010 14:40:47 malef...@malefico3d.org wrote:
  This is a bit strange, do you have more than one video device ?
  What do you have now as /dev/video0 ?

 No, this happened after I configured ALSA so the audio capture device
 integrated in the camera, will be taken as the second soundcard (I
 already
 have one that I prefer to be the default soundcard). I'm not saying it
 is
 related but after doing this, the camera started to be /dev/video1.
 Nothing really changed anyway, webcam kept on same way.

  Is there any way to detect and fix the bandwidth problem ?
 
  check this thread:
  http://www.mail-archive.com/linux-usb-us...@lists.sourceforge.net/msg1483
  8.html

 Thanks I will look into it. I presume I have to rebuild the kernel in
 order to get those bandwidth load reports I see in this thread, right
 ?

 The other thing is once I detected the problem is the bandwidth, what
 should I do ?

 Have you tried the FIX_BANDWIDTH quirk ?

 how do I add a second USB controller to my computer ?

 I wonder if ANYONE here has tried this camera and make it work...

 Could you please send me the USB descriptors for your camera (lsusb -v) ?

 --
 Regards,

 Laurent Pinchart



 ___
 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


Re: [Linux-uvc-devel] Genius FaceCam 310

2010-11-23 Thread Paulo Assis
Have you tried any other app besides vlc ? luvcview, guvcview, cheese, ...?

Regards,
Paulo

2010/11/23  malef...@malefico3d.org:
 Hi,

 I bought a cheap Genius FaceCam 310 usb webcam, which is promoted as being
 supported in Linux Kernel  2.21 (so it says in the box !)

 I'm testing in under Slackware 13.1, and the camera is recognized by kernel

 dmesg:
 usb 1-1.1: Product: FaceCam 310
 uvcvideo: Found UVC 1.00 device FaceCam 310 (0458:7070)
 input: FaceCam 310 as
 /devices/pci:00/:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0/input/input7

 However no application I tried seems to get it to work. When trying to
 capture video from VLC I got:

 [0x1054040] v4l2 access error: cannot set input (Device or resource busy)
 libv4l2: error attempting to open more then 16 video devices
 libv4l2: error attempting to open more then 16 video devices
 [0x1054040] v4l2 access error: cannot set input (Device or resource busy)

 lsmod gives:

 r...@lorien:/home/malefico# lsmod | grep video
 uvcvideo               60908  2
 videodev               37815  3 uvcvideo
 v4l1_compat            15120  2 uvcvideo,videodev
 v4l2_compat_ioctl32    11488  1 videodev
 i2c_core               18679  3 videodev,nvidia,i2c_i801


 Any hints as to what to try ? Is this a known bug ? I have search the
 threads in the list looking for this specific model with no luck. I'll
 appreciate any help.

 Thanks in advance

 Claudio Andaur.




 ___
 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


Re: [Linux-uvc-devel] Trying to use a camera plugged into a USB3 socket

2010-11-19 Thread Paulo Assis
Hi,

2010/11/19 Laurent Pinchart laurent.pinch...@ideasonboard.com:
 Hi Neil,

 On Thursday 18 November 2010 16:00:00 Paulo Assis wrote:
 Neil Hi,

 Could you please post the relevant dmesg output.
 Increasing uvcvideo verbosity would also be a good help.


 --- snip ---

  libv4lconvert: warning more framesizes then I can handle!
  libv4lconvert: warning more framesizes then I can handle!

 --- snip ---

 No problem with this, libv4l only handles a limit number of
 resolutions when enumerating video formats (apparently the limit is
 rather low for the current uvc camera models).

 Just out of curiosity, do you get the same warning when the camera is plugged
 into a USB 2.0 port ?


This as been reported before:
http://www.mail-archive.com/linux-me...@vger.kernel.org/msg19535.html

and it should be fixed in the latest libv4l, but older versions will
still have a 16 frame size limit.

Best Regards,
Paulo
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


Re: [Linux-uvc-devel] Trying to use a camera plugged into a USB3 socket

2010-11-19 Thread Paulo Assis
Hi,

2010/11/19 Neil Benn neil.b...@gmail.com:
 snip

 This as been reported before:
 http://www.mail-archive.com/linux-me...@vger.kernel.org/msg19535.html

 and it should be fixed in the latest libv4l, but older versions will
 still have a 16 frame size limit.
 However this is just a warning though?  From what I understand, the
 camera will still operate - is that true?


Yes, I had the same warning with older libv4l versions and everything
worked fine.

Regards,
Paulo


 Best Regards,
 Paulo


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


Re: [Linux-uvc-devel] Trying to use a camera plugged into a USB3 socket

2010-11-19 Thread Paulo Assis
-0101/2 to device 3 entity 2
 Nov 19 15:25:13 tim-H55N-USB3 kernel: [  687.331834] uvcvideo: Added
 control ----0101/3 to device 3 entity 2
 Nov 19 15:25:13 tim-H55N-USB3 kernel: [  687.331838] uvcvideo: Added
 control ----0101/7 to device 3 entity 2
 Nov 19 15:25:13 tim-H55N-USB3 kernel: [  687.331843] uvcvideo: Added
 control ----0101/8 to device 3 entity 2
 Nov 19 15:25:13 tim-H55N-USB3 kernel: [  687.331847] uvcvideo: Added
 control ----0101/10 to device 3 entity 2
 Nov 19 15:25:13 tim-H55N-USB3 kernel: [  687.331852] uvcvideo: Added
 control ----0101/1 to device 3 entity 2
 Nov 19 15:25:13 tim-H55N-USB3 kernel: [  687.331856] uvcvideo: Added
 control ----0101/4 to device 3 entity 2
 Nov 19 15:25:13 tim-H55N-USB3 kernel: [  687.331860] uvcvideo: Added
 control ----0101/5 to device 3 entity 2
 Nov 19 15:25:13 tim-H55N-USB3 kernel: [  687.331865] uvcvideo: Added
 control ----0101/11 to device 3 entity 2
 Nov 19 15:25:13 tim-H55N-USB3 kernel: [  687.331871] uvcvideo: Added
 control ----0001/2 to device 3 entity 1
 Nov 19 15:25:13 tim-H55N-USB3 kernel: [  687.331875] uvcvideo: Added
 control ----0001/3 to device 3 entity 1
 Nov 19 15:25:13 tim-H55N-USB3 kernel: [  687.331880] uvcvideo: Added
 control ----0001/4 to device 3 entity 1
 Nov 19 15:25:13 tim-H55N-USB3 kernel: [  687.331888] uvcvideo:
 Scanning UVC chain: OT 5 - XU 4 (- XU 6 XU 7) - PU 2 (- XU 3) -
 IT 1
 Nov 19 15:25:13 tim-H55N-USB3 kernel: [  687.331902] uvcvideo: Found a
 valid video chain (1 - 5).
 Nov 19 15:25:13 tim-H55N-USB3 kernel: [  687.429658] input: UVC Camera
 (046d:0825) as 
 /devices/pci:00/:00:1c.3/:03:00.0/usb17/17-3/17-3:1.0/input/input9
 Nov 19 15:25:13 tim-H55N-USB3 kernel: [  687.429709] uvcvideo: UVC
 device initialized.
 Nov 19 15:25:13 tim-H55N-USB3 kernel: [  687.429855] usb 17-3: ep 0x86
 - rounding interval to 8 microframes
 Nov 19 15:25:13 tim-H55N-USB3 kernel: [  687.432093] uvcvideo: uvc_v4l2_open
 Nov 19 15:25:13 tim-H55N-USB3 kernel: [  687.432116] uvcvideo:
 uvc_v4l2_ioctl(VIDIOC_QUERYCAP)
 Nov 19 15:25:13 tim-H55N-USB3 kernel: [  687.432177] uvcvideo: 
 uvc_v4l2_release

  I hope this helps?

 Cheers,

 Neil

 On Fri, Nov 19, 2010 at 3:04 PM, Laurent Pinchart
 laurent.pinch...@ideasonboard.com wrote:
 On Friday 19 November 2010 15:53:24 Paulo Assis wrote:
 Hi,

 2010/11/19 Neil Benn neil.b...@gmail.com:
  snip
 
  This as been reported before:
  http://www.mail-archive.com/linux-me...@vger.kernel.org/msg19535.html
 
  and it should be fixed in the latest libv4l, but older versions will
  still have a 16 frame size limit.
 
  However this is just a warning though?  From what I understand, the
  camera will still operate - is that true?

 Yes, I had the same warning with older libv4l versions and everything
 worked fine.

 What surprises me is that the warning only appears when the camera is 
 plugged
 in a USB 3.0 port.

 Neil, could you please send me the output of 'lsusb -v -d 046d:0825' for 
 both
 the USB 2.0 and USB 3.0 ports ?

 --
 Regards,

 Laurent Pinchart



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


Re: [Linux-uvc-devel] Trying to use a camera plugged into a USB3 socket

2010-11-18 Thread Paulo Assis
Neil Hi,

Could you please post the relevant dmesg output.
Increasing uvcvideo verbosity would also be a good help.


--- snip ---
 libv4lconvert: warning more framesizes then I can handle!
 libv4lconvert: warning more framesizes then I can handle!
--- snip ---

No problem with this, libv4l only handles a limit number of
resolutions when enumerating video formats (apparently the limit is
rather low for the current uvc camera models).

 libv4l2: error turning on stream: Invalid argument
 Unable to start capture: Invalid argument

This seems to be the problem, but you need to check dmesg for the
cause of the invalid argument error.
Most likely this is related to the usb core and not to the driver
itself, but it's hard to say without more info.

Best regards,
Paulo
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


Re: [Linux-uvc-devel] v4l2_requestbuffers count value

2010-11-03 Thread Paulo Assis
If you only intend to capture a single frame then using only one buffer is OK.

Regards,
Paulo


2010/11/3 linux newbie linux.newbi...@gmail.com:
 Hi,

 Thanks for your reply.

 From  your explanation I understand that having many buffers will be
 helpful in case of streaming as we do not want to loose frames. But my
 application is acting as still camera and in this case having one
 buffer should be fine. Is my understanding correct?

 Thanks

 On Wed, Nov 3, 2010 at 8:49 PM, Paulo Assis pj.as...@gmail.com wrote:
 Hi,
 have you tried increasing the work load on your system ?

 If for some reason your application can't dequeue the buffers fast
 enough the driver will be forced to drop frames, with a larger buffer
 count you will have a comfort zone, even if at some point your
 application can't catch up with the hardware frame rate, you will
 always be able to recover later without losing frames.

 Of curse even this may not be enough if the application is to slow,
 but if the cpu load only increases momentarily then having more than
 one buffer will be very advantageous.

 Reagards,
 Paulo

 2010/11/2 linux newbie linux.newbi...@gmail.com:
 Hi,

 What is the advantage / disadvantage of having reqbuf's (struct
 v4l2_requestbuffers)  count to be 4? My application is working fine
 with count value of 1.

 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


Re: [Linux-uvc-devel] Logitech HD Pro Webcam C910 (046d:0821) uvc / linux compatible ?

2010-10-19 Thread Paulo Assis
Hi,

2010/10/19 oldcpu old...@opensuse-forums.org:
  OK, ... well, I went ahead and ordered it via mail order.  :)

 I figure if it does not work well, I have many friends who use MS-Windows
 who would love to have it as a gift. :)

 If it does work reasonably well, what will I have to do to have the UVC
 compatibility list updated to reflect that the Logitech HD Pro Webcam C910
 (046d:0821) works with Linux and the UVC driver?


Usually Laurent asks for the output of lsusb -v, so I guess a little
report on the camera compatibility, accompanied by this will be
enough.
But that's up to Laurent ;-D

Regards,
Paulo
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


Re: [Linux-uvc-devel] Logitech HD Pro Webcam C910 (046d:0821) uvc / linux compatible ?

2010-10-18 Thread Paulo Assis
Hi,

2010/10/17 oldcpu old...@opensuse-forums.org:


 It appears that Logitech HD Pro Webcam C910 (046d:0821) is functional with
 the uvc driver.

 Why is it not on your UVC list:  http://www.ideasonboard.org/uvc/ ?

Maybe because it's a rather recent model ;-D and no one confirmed it
yet as uvc compatible (with lsusb output).
In fact all new logitech models are uvc compliant, this includes
off-curse the C models.
The C910 is an updated C900, so it should work at least as good.

Best Regards,
Paulo
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


Re: [Linux-uvc-devel] Philips SPC530NC webcam stuck on 160x120

2010-10-04 Thread Paulo Assis
Hi,
did you connect the camera to a usb1.1 port?
Devices can/will reduce available resolutions when connected to lower
speed usb ports.
Make sure you plug it directly to a usb2 port.

Regards,
Paulo

2010/10/4 Nick Rout nick.r...@gmail.com:
 My first post here so if I am in the wrong place, let me know.

 I am setting up zoneminder on ubuntu 10.04. I have a Philips SPC530NC
 webcam which seems to be capable of 640x480, according to advertising
 and other info on the web. See by way of example:
 http://www.testfreaks.co.uk/webcameras/philips-spc530nc-00/

 However the camera doesn't seem capable of doing more than a miserable
 160x120 when plugged into my system. All the tools (v4l-info, lucview,
 lsusb -v etc) report the width as 160 and the height as 120. However
 output from similar commands, eg here:

 http://lists.berlios.de/pipermail/linux-uvc-devel/2008-October/004146.html

 show that people have got the correct resolutions from this device.

 Any idea where to go from here?
 ___
 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


Re: [Linux-uvc-devel] Lenovo SL510 Webcam, only resolutions 640x480 available

2010-09-21 Thread Paulo Assis
Hi,
Could you please post the output of lsusb -d 17ef:481c

Regards,
Paulo

2010/9/20 SanitoeterNo1 sanitoeter...@gmx.de:
 Hello,
 I own a Lenovo SL510 laptop with an integrated webcam.
 The camera works well but it doesnt allow me to select resolutions higher than
 640x480 regardless of which program I use, although this is supposed to be a 2
 megapixel camera.
 I hope you can help me fix this.

 Here is the output of lsusb:

 r...@thinkpad:~# lsusb
 Bus 008 Device 002: ID 0a5c:217f Broadcom Corp. Bluetooth Controller
 Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 003: ID 17ef:481c Lenovo
 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 001 Device 003: ID 046d:c051 Logitech, Inc. G3 (MX518) Optical Mouse
 Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

 where 17ef:481c is the camera (the id is similar to Lenovo SL500's camera, if
 this helps).

 Regards
 ___
 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


Re: [Linux-uvc-devel] Lenovo SL510 Webcam, only resolutions 640x480 available

2010-09-21 Thread Paulo Assis
Hi,

2010/9/21 SanitoeterNo1 sanitoeter...@gmx.de:
 Hi,
 since lsusb -d 17ef:481c does not print any more information, I added the -v
 option. Here is the output:


Yes, I forgot that, sorry.

If you look down the descriptors, you will notice that the camera
doesn't support more than 640x480:

  wWidth( 0)640
  wHeight( 0)   480
  wWidth( 1)160
  wHeight( 1)   120
  wWidth( 2)176
  wHeight( 2)   144
  wWidth( 3)320
  wHeight( 3)   240
  wWidth( 4)352
  wHeight( 4)   288


Best Regards,
Paulo

 r...@thinkpad:~# lsusb -d 17ef:481c -v
 Bus 002 Device 003: ID 17ef:481c Lenovo
 Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 ?
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  idVendor           0x17ef Lenovo
  idProduct          0x481c
  bcdDevice            0.06
  iManufacturer           1 Bison
  iProduct                2 Integrated Camera
  iSerial                 3 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          527
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         0
      bInterfaceCount         2
      bFunctionClass         14 Video
      bFunctionSubClass       3 Video Interface Collection
      bFunctionProtocol       0
      iFunction               2 Integrated Camera
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      1 Video Control
      bInterfaceProtocol      0
      iInterface              2 Integrated Camera
      VideoControl Interface Descriptor:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdUVC               1.00
        wTotalLength           80
        dwClockFrequency       48.00MHz
        bInCollection           1
        baInterfaceNr( 0)       1
      VideoControl Interface Descriptor:
        bLength                18
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0201 Camera Sensor
        bAssocTerminal          0
        iTerminal               0
        wObjectiveFocalLengthMin      0
        wObjectiveFocalLengthMax      0
        wOcularFocalLength            0
        bControlSize                  3
        bmControls           0x
      VideoControl Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      5 (PROCESSING_UNIT)
      Warning: Descriptor too short
        bUnitID                 2
        bSourceID               1
        wMaxMultiplier      16384
        bControlSize            2
        bmControls     0x147f
          Brightness
          Contrast
          Hue
          Saturation
          Sharpness
          Gamma
          White Balance Temperature
          Power Line Frequency
          White Balance Temperature, Auto
        iProcessing             0
        bmVideoStandards     0x1d
          None
          PAL - 625/50
          SECAM - 625/50
          NTSC - 625/50
      VideoControl Interface Descriptor:
        bLength                29
        bDescriptorType        36
        bDescriptorSubtype      6 (EXTENSION_UNIT)
        bUnitID                 3
        guidExtensionCode         {82066163-7050-ab49-b8cc-b3855e8d221d}
        bNumControl             0
        bNrPins                 1
        baSourceID( 0)          2
        bControlSize            4
        bmControls( 0)       0xff
        bmControls( 1)       0xff
        bmControls( 2)       0x04
        bmControls( 3)       0x00
        iExtension              0
      VideoControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             4
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               3
        iTerminal               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x87  EP 7 IN
        bmAttributes            3
          Transfer Type            Interrupt
          

Re: [Linux-uvc-devel] Lenovo SL510 Webcam, only resolutions 640x480 available

2010-09-21 Thread Paulo Assis
Hi,

2010/9/21 SanitoeterNo1 sanitoeter...@gmx.de:
 Hi,
 I know uvc does not offer any resolutions above 640x480, but I bought this
 laptop with a 2 megapixel camera, so I suppose this is a driver problem,
 otherwise I'll have to talk to the Lenovo support.

The camera itself doesn't advertise any resolution above 640x480, I
guess you can get higher values by interpolation, but this is just a
software trick, not the real resolution.
If I were you I would first double check the camera specs.
Here it says it's a 1.3 Mp camera:
http://hubpages.com/hub/Product-reviews-Lenovo-SL-510-laptop

Best Regards,
Paulo

 I will try to get the webcam working on Windows and check what resolution the
 official drivers offer.

 Regards,
 Paul

 On Tuesday 21 September 2010 11:55:39 you wrote:
 Yes, I forgot that, sorry.

 If you look down the descriptors, you will notice that the camera
 doesn't support more than 640x480:

   wWidth( 0)                        640
   wHeight( 0)                       480
   wWidth( 1)                        160
   wHeight( 1)                       120
   wWidth( 2)                        176
   wHeight( 2)                       144
   wWidth( 3)                        320
   wHeight( 3)                       240
   wWidth( 4)                        352
   wHeight( 4)                       288


 Best Regards,
 Paulo

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


Re: [Linux-uvc-devel] No driver for Omnivision test kit + Lifecam Cinema HD driver nowhere to be found

2010-09-02 Thread Paulo Assis
Hi,

No usd ID is needed for the uvc driver.
UVC cameras identify themselves as such:
http://www.ideasonboard.org/uvc/faq/

ID's found on the driver code are merely used for passing driver
quirks for some cameras with known issues.

So first check if your camera is uvc compliant (see previous link), if
not then I would advise you to look at gspca code and maybe try to
write a subdriver for your specific device.

the following docs may help:
http://www.linuxtv.org/wiki/index.php/Developer_Section

Best Regards,
Paulo
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


Re: [Linux-uvc-devel] Bison Webcam on Debian

2010-08-27 Thread Paulo Assis
2010/8/26 Laurent Pinchart laurent.pinch...@ideasonboard.com:
 Hi Oz,

 On Wednesday 25 August 2010 21:15:17 Oz Nahum wrote:
 Hi Everyone,
 Thanks for the help!
 I managed to activate the webcam ! it's working with Kernel 2.6.34.
 Is there a way to donate money to the UVC project ?

 I'll let Paulo answer that, as he's the one who helped you.

I share a similar opinion to Laurent on this.
The idea behind a community (linux in this case) is that everybody
helps and participates,
being on coding/patching stuff, testing, writing documentation or
helping with translations.

Regards,
Paulo


 As far as I'm concerned, you can repay me for time I've spent on the uvcvideo
 driver (according to sloccount that's 15 months of work :-)) by contributing
 to an open-source Linux project. Even if you can't code there are plenty of
 non-development needs such as writing documentation or helping users.

 --
 Regards,

 Laurent Pinchart

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


Re: [Linux-uvc-devel] Mediatek MT6227

2010-08-25 Thread Paulo Assis
Hi,

2010/8/25 Michelle Konzack linux4miche...@tamay-dogan.net:
 Hello Paulo Assis,

 Am 2010-08-24 23:31:00, hacktest Du folgendes herunter:
 Yes it is:

 http://packages.debian.org/unstable/main/guvcview

 and you can always build it if you need ;-D

 On a small ARM Machine without harddisk?
 Even my workstation has only a 2 GByte Flash-Disk.

 try this:

 vlc v4l2:///dev/video0

 Do you mean realy v4l2:// or v4l://

 VLC media player 0.8.6h Janus
 [0293] vcd access error: could not read TOCHDR
 [0293] vcd access error: no movie tracks found
 [0293] access_file access error: file /dev/video0 is empty, aborting
 [0293] cdda access error: could not read TOCHDR
 [0293] cdda access error: no audio tracks found
 [0290] main input error: no suitable access module for 
 `v4l2:///dev/video0'
 [0281] main playlist: nothing to play
 [0281] main playlist: stopping playback


I mean v4l2 (uvc only supports v4l2, v4l is deprecated and I'm
guessing it will be dropped from the kernel very soon).
However it seems your vlc version was not compiled with the v4l2
module or at least it doesn't support it fully.
This should work without any problems ( at least for me it does), but
I'm using version 1.0.6

I'm guessing you are using lenny( stable), this is most likely the
source for your problems, versions on the stable branch are usually
very outdated, if you can't use at least squeeze (testing) then you
will be in trouble, you will need to find a way of backporting some of
these apps ( and I can tell you it want be easy).

PS: you should also check your camera controls (the drop in fps is
usually caused by auto-exposure), if you can set exposure to manual it
should at least solve the variable fps problem.
You can use uvcdynctrl (command line) for this:
http://packages.debian.org/squeeze/uvcdynctrl

Best Regards,
Paulo
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


Re: [Linux-uvc-devel] Bison Webcam on Debian

2010-08-25 Thread Paulo Assis
Hi,

could you please post the output of lsusb -v -s 5986:0241
dmesg output after connecting the camera would also be helpful


Regards,
Paulo

2010/8/25 Oz Nahum nahu...@gmail.com:
 Hi Everyone,

 I have the following webcam:
 Bus 001 Device 002: ID 5986:0241 Acer, Inc BisonCam, NB Pro

 According to the uvc webpage it's supported. However, I tried using it on
 Debian Squeeze and on Ubuntu 10.04 but the device is not registered.
 I tried downloading the latest sources via hg, and build the drivers my
 self.
 I have the kernel headers package installed (kernel version 2.6.32-5-686),
 but the build fails complaining with the following error:

 ...
 ...
 ...

   CC [M]  /home/oz/Desktop/v4l-dvb/v4l/hopper_vp3028.o
   CC [M]  /home/oz/Desktop/v4l-dvb/v4l/ir-functions.o
   CC [M]  /home/oz/Desktop/v4l-dvb/v4l/ir-keytable.o
   CC [M]  /home/oz/Desktop/v4l-dvb/v4l/ir-sysfs.o
 /home/oz/Desktop/v4l-dvb/v4l/ir-sysfs.c: In function 'store_protocols':
 /home/oz/Desktop/v4l-dvb/v4l/ir-sysfs.c:137: error: implicit declaration of
 function 'skip_spaces'
 /home/oz/Desktop/v4l-dvb/v4l/ir-sysfs.c:137: warning: assignment makes
 pointer from integer without a cast
 /home/oz/Desktop/v4l-dvb/v4l/ir-sysfs.c:178: warning: assignment makes
 pointer from integer without a cast
 make[5]: *** [/home/oz/Desktop/v4l-dvb/v4l/ir-sysfs.o] Error 1
 make[4]: *** [_module_/home/oz/Desktop/v4l-dvb/v4l] Error 2
 make[3]: *** [sub-make] Error 2
 make[2]: *** [all] Error 2
 make[2]: Leaving directory `/usr/src/linux-headers-2.6.32-5-686'
 make[1]: *** [default] Error 2
 make[1]: Leaving directory `/home/oz/Desktop/v4l-dvb/v4l'
 make: *** [all] Error 2


 I really want this camera to work, I will pay (via PayPal) 25 Euro for help
 with that !

 Thanks in Advance,

 --
 Oz Nahum
 Graduate Student
 Zentrum für Angewandte Geologie
 Universität Tübingen

 ---

 Imagine there's no countries
 it isn't hard to do
 Nothing to kill or die for
 And no religion too
 Imagine all the people
 Living life in peace





 --
 Oz Nahum
 Graduate Student
 Zentrum für Angewandte Geologie
 Universität Tübingen

 ---

 Imagine there's no countries
 it isn't hard to do
 Nothing to kill or die for
 And no religion too
 Imagine all the people
 Living life in peace



 ___
 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


Re: [Linux-uvc-devel] Bison Webcam on Debian

2010-08-25 Thread Paulo Assis
This problem has already been reported some time back:
http://www.mail-archive.com/linux-uvc-devel@lists.berlios.de/msg04511.html

I'm not sure if this patch made it in to 2.6.32, so you should really
install a newer driver version.
Just disable whatever modules are causing you trouble with make
menuconfig see:
http://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers

Regards,
Paulo

2010/8/25 Oz Nahum nahu...@gmail.com:
 Hi,
 Thanks for the answer.
 lsusb -v -s 5986:0241 - gives nothing.
 I post here the part  lsusb -v which i thought is relevant:
 Bus 001 Device 003: ID 5986:0241 Acer, Inc BisonCam, NB Pro
 Device Descriptor:
   bLength    18
   bDescriptorType 1
   bcdUSB   2.00
   bDeviceClass  239 Miscellaneous Device
   bDeviceSubClass 2 ?
   bDeviceProtocol 1 Interface Association
   bMaxPacketSize0    64
   idVendor   0x5986 Acer, Inc
   idProduct  0x0241 BisonCam, NB Pro
   bcdDevice    6.05
   iManufacturer   3 BISON Corporation
   iProduct    1 BisonCam, NB Pro
   iSerial 0
   bNumConfigurations  1
   Configuration Descriptor:
     bLength 9
     bDescriptorType 2
     wTotalLength  459
     bNumInterfaces  2
     bConfigurationValue 1
     iConfiguration  0
     bmAttributes 0x80
   (Bus Powered)
     MaxPower  500mA
     Interface Association:
   bLength 8
   bDescriptorType    11
   bFirstInterface 0
   bInterfaceCount 2
   bFunctionClass 14 Video
   bFunctionSubClass   3 Video Interface Collection
   bFunctionProtocol   0
   iFunction   1 BisonCam, NB Pro
     Interface Descriptor:
   bLength 9
   bDescriptorType 4
   bInterfaceNumber    0
   bAlternateSetting   0
   bNumEndpoints   1
   bInterfaceClass    14 Video
   bInterfaceSubClass  1 Video Control
   bInterfaceProtocol  0
   iInterface  1 BisonCam, NB Pro
   VideoControl Interface Descriptor:
     bLength    13
     bDescriptorType    36
     bDescriptorSubtype  1 (HEADER)
     bcdUVC   1.00
     wTotalLength   85
     dwClockFrequency   30.00MHz
     bInCollection   1
     baInterfaceNr( 0)   1
   VideoControl Interface Descriptor:
     bLength    18
     bDescriptorType    36
     bDescriptorSubtype  2 (INPUT_TERMINAL)
     bTerminalID 1
     wTerminalType  0x0201 Camera Sensor
     bAssocTerminal  0
     iTerminal   0
     wObjectiveFocalLengthMin  0
     wObjectiveFocalLengthMax  0
     wOcularFocalLength    0
     bControlSize  3
     bmControls   0x
   VideoControl Interface Descriptor:
     bLength 9
     bDescriptorType    36
     bDescriptorSubtype  3 (OUTPUT_TERMINAL)
     bTerminalID 3
     wTerminalType  0x0101 USB Streaming
     bAssocTerminal  0
     bSourceID   6
     iTerminal   0
   VideoControl Interface Descriptor:
     bLength 7
     bDescriptorType    36
     bDescriptorSubtype  4 (SELECTOR_UNIT)
     bUnitID 4
     bNrInPins   1
     baSource( 0)    1
     iSelector   0
   VideoControl Interface Descriptor:
     bLength    11
     bDescriptorType    36
     bDescriptorSubtype  5 (PROCESSING_UNIT)
   Warning: Descriptor too short
     bUnitID 5
     bSourceID   4
     wMaxMultiplier  0
     bControlSize    2
     bmControls 0x043f
   Brightness
   Contrast
   Hue
   Saturation
   Sharpness
   Gamma
   Power Line Frequency
     iProcessing 0
     bmVideoStandards 0x1b
   None
   NTSC - 525/60
   SECAM - 625/50
   NTSC - 625/50
   VideoControl Interface Descriptor:
     bLength    27
     bDescriptorType    36
     bDescriptorSubtype  6 (EXTENSION_UNIT)
     bUnitID 6
     guidExtensionCode {564c97a7-7ea7-904b-8cbf-1c71ec303000}
     bNumControl    16
     bNrPins 1
     baSourceID( 0)  5
     bControlSize    2
     bmControls( 0)   0xff
     bmControls( 1)   0xff
     iExtension  0
   Endpoint Descriptor:
     bLength 7
     

Re: [Linux-uvc-devel] Bison Webcam on Debian

2010-08-25 Thread Paulo Assis
Hi,
Does dmesg output looks the same ?
PS: I'm assuming you reloaded the driver without problems.

Regards,
Paulo


2010/8/25 Oz Nahum nahu...@gmail.com:
 Hi,
 Thanks for your reply again.
 I did manage to compile the driver from the hg sources. However,
 even after rebooting I can't get the camera to work ...

 I attach here a link to the build configuration I used.

 lsmod shows the uvc driver is loaded:

 o...@yenikaro:~/v4l-dvb$ lsmod
 Module                  Size  Used by
 parport_pc             15799  0
 ppdev                   4058  0
 lp                      5570  0
 parport                22554  3 parport_pc,ppdev,lp
 sco                     5857  2
 bridge                 32987  0
 stp                      996  1 bridge
 rfcomm                 25167  0
 bnep                    7444  2
 l2cap                  21705  6 rfcomm,bnep
 crc16                   1027  1 l2cap
 bluetooth              36327  6 sco,rfcomm,bnep,l2cap
 acpi_cpufreq            4943  0
 rfkill                 10264  3 bluetooth
 cpufreq_powersave        602  0
 cpufreq_conservative     4018  0
 cpufreq_userspace       1480  0
 cpufreq_stats           1940  0
 binfmt_misc             4907  1
 uinput                  4796  1
 loop                    9757  0
 snd_hda_codec_intelhdmi     9027  1
 snd_hda_codec_realtek   163238  1
 snd_hda_intel          16787  1
 snd_hda_codec          46002  3
 snd_hda_codec_intelhdmi,snd_hda_codec_realtek,snd_hda_intel
 joydev                  6771  0
 snd_hwdep               4054  1 snd_hda_codec
 snd_pcm_oss            28671  0
 snd_mixer_oss          10461  1 snd_pcm_oss
 snd_pcm                47214  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
 uvcvideo               44687  0
 snd_seq_midi            3576  0
 snd_rawmidi            12505  1 snd_seq_midi
 snd_seq_midi_event      3684  1 snd_seq_midi
 snd_seq                35463  2 snd_seq_midi,snd_seq_midi_event
 videodev               25545  1 uvcvideo
 i915                  221415  2
 snd_timer              12258  2 snd_pcm,snd_seq
 v4l1_compat            10250  2 uvcvideo,videodev
 snd_seq_device          3673  3 snd_seq_midi,snd_rawmidi,snd_seq
 drm_kms_helper         18305  1 i915
 snd                    34363  14
 snd_hda_codec_intelhdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
 drm                   112020  3 i915,drm_kms_helper
 r8192se_pci           446850  0
 serio_raw               2916  0
 soundcore               3450  1 snd
 i2c_algo_bit            3497  1 i915
 video                  14605  1 i915
 i2c_i801                6462  0
 jmb38x_ms               5502  0
 wmi                     3575  0
 evdev                   5609  22
 snd_page_alloc          5045  2 snd_hda_intel,snd_pcm
 pcspkr                  1207  0
 output                  1204  1 video
 psmouse                44657  0
 i2c_core               12696  6
 videodev,i915,drm_kms_helper,drm,i2c_algo_bit,i2c_i801
 memstick                4348  1 jmb38x_ms
 battery                 3782  0
 processor              26615  3 acpi_cpufreq
 button                  3598  1 i915
 ac                      1640  0
 ext3                   94204  2
 jbd                    32169  1 ext3
 mbcache                 3762  1 ext3
 sd_mod                 25869  4
 crc_t10dif              1012  1 sd_mod
 uhci_hcd               16057  0
 ahci                   27246  3
 thermal                 9206  0
 libata                115721  1 ahci
 sdhci_pci               4525  0
 sdhci                  12147  1 sdhci_pci
 ehci_hcd               27851  0
 thermal_sys             9378  3 video,processor,thermal
 scsi_mod              101401  2 sd_mod,libata
 mmc_core               38503  1 sdhci
 led_class               1757  1 sdhci
 jme                    21159  0
 mii                     2714  1 jme
 usbcore                98386  4 uvcvideo,uhci_hcd,ehci_hcd
 nls_base                4541  1 usbcore

 I am also trying to build a newer kernel version 2.6.34 - we will see
 if that works. Any other ideas ?

 Thanks,

 Oz
 On Wed, Aug 25, 2010 at 4:17 PM, Paulo Assis pj.as...@gmail.com wrote:
 This problem has already been reported some time back:
 http://www.mail-archive.com/linux-uvc-devel@lists.berlios.de/msg04511.html

 I'm not sure if this patch made it in to 2.6.32, so you should really
 install a newer driver version.
 Just disable whatever modules are causing you trouble with make
 menuconfig see:
 http://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers

 Regards,
 Paulo

 2010/8/25 Oz Nahum nahu...@gmail.com:
 Hi,
 Thanks for the answer.
 lsusb -v -s 5986:0241 - gives nothing.
 I post here the part  lsusb -v which i thought is relevant:
 Bus 001 Device 003: ID 5986:0241 Acer, Inc BisonCam, NB Pro
 Device Descriptor:
   bLength    18
   bDescriptorType 1
   bcdUSB   2.00
   bDeviceClass  239 Miscellaneous Device

Re: [Linux-uvc-devel] Mediatek MT6227

2010-08-24 Thread Paulo Assis
Hi,



 OK, if I now start

 [ command 'luvcview' ]--
 luvcview 0.2.4

 SDL information:
  Video driver: X11
  A window manager is available
 Device information:
  Device path:  /dev/video0
 Stream settings:
  Frame format: MJPG
  Frame size:   320x240 (requested size 640x320 is not supported by device)
  Frame rate:   20/1 fps (requested frame rate 30 fps is not supported by 
 device)
 

 OK, I get 2-4 fps now

 I can get snapshoots and the video, but if  I  play  the  Video,  it  is
 arround 10-15 times faster as the original...

 So, why doees luvcview not set the framerate correctly in the video?


I think luvcview uses the frame rate you requested (or in this case 20
fps as is the value suported by the device) but if you only get 4 fps
then the video will play a lot faster.

Try other capture software, like guvcview, cheese or vlc. Guvcview
will set an average fps for avi files and in the case of matroska,
frames are timed stamped so variable fps should not be a big issue.


Best Regards,
Paulo
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


Re: [Linux-uvc-devel] Mediatek MT6227

2010-08-24 Thread Paulo Assis
Hi,

2010/8/24 Michelle Konzack linux4miche...@tamay-dogan.net:
 Hello Paulo Assis,

 Am 2010-08-24 11:03:25, hacktest Du folgendes herunter:
   Frame rate:   20/1 fps (requested frame rate 30 fps is not supported by 
  device)

 I think luvcview uses the frame rate you requested (or in this case 20
 fps as is the value suported by the device) but if you only get 4 fps
 then the video will play a lot faster.

 I have not requested it... and IF I do it, I get:


Yes you do not request it but it's what the camera seems to deliver,
so you end up with a bad avi file.

 [ command 'luvcview -i 3' ]-
 luvcview 0.2.4

 SDL information:
  Video driver: x11
  A window manager is available
 Device information:
  Device path:  /dev/video0
 Stream settings:
  Frame format: MJPG
  Frame size:   320x240 (requested size 640x480 is not supported by device)
  Frame rate:   20/1 fps (requested frame rate 3 fps is not supported by 
 device)
 Cleanup done. Exiting ...
 

 Try other capture software, like guvcview,

 Not available on debian.


Yes it is:

http://packages.debian.org/unstable/main/guvcview

and you can always build it if you need ;-D

 cheese

 Does not work on my AMD Sempron du to a  problem  with  FAM  and  on  my
 TabletPC (Sitara AM3517 and OMAP 3530) I am  definitively  not  willing,
 installing 100 MByte of GNOME libs.

 or vlc.

 But I can not get VLC to recognizerthe stream.  I have tried:

 v4l:// :v4l-vdev=/dev/video0 :v4l-adev= :v4l-norm=3 :v4l-frequency=-1
       :v4l-caching=300 :v4l-chroma= :v4l-fps=3.00
       :v4l-samplerate=11025 :v4l-channel=0 :v4l-tuner=-1 :v4l-audio=-1
       :v4l-width=0 :v4l-height=0 :v4l-brightness=-1 :v4l-colour=-1
       :v4l-hue=-1 :v4l-contrast=-1 :no-v4l-mjpeg :v4l-decimation=1
       :v4l-quality=100
       
 :sout=#duplicate{dst=display,dst=std{access=file,mux=ts,dst=/home/michelle.konzack/Longsun_L580.1.mpg}}

 and then I get:

 VLC media player 0.8.6h Janus
 [0302] v4l demuxer error: cannot get channel infos (Das Argument ist 
 ungültig)
 [0301] main private error: cannot add this stream


try this:

vlc v4l2:///dev/video0

for saving and encoding the stream try mencoder or ffmpeg (vlc should
also be able to do this)


 Guvcview
 will set an average fps for avi files and in the case of matroska,
 frames are timed stamped so variable fps should not be a big issue.

 Yeah, I need variable fps, but I would prefer vlc or something like  a
 bare minimum for the commandline which does streaming over the net and I
 can use whatever program I wan to view the stream.


vlc is your best option for this.

Regards,
Paulo
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


Re: [Linux-uvc-devel] Support for the Logitech C310 USB HD Webcam

2010-08-06 Thread Paulo Assis
Hi,
All new logitech models are UVC compliant, this includes all c models:
http://www.quickcamteam.net/devices/logitech_uvc_device_list.pdf

the above list doesn't include the new models yet, but the c310 is
just an update on the c300.

In fact I don't think manufacturers are still releasing new models
that aren't uvc compliant.
What you may find are older models (non-uvc) that are re-branded into
some new name for marketing reasons (these are usually low end
products without HD support)

Best regards,
Paulo


2010/8/6 brot (linux-uvc-mailinglist) brot+linux-...@minad.de:

 Hello everyone!

 I plan to buy a new Webcam, and the Logitech C310 USB HD Webcam would be
 in my price range. However, i cant find if the Webcam is supported in
 Linux.

 Can anyone tell me if UVC supports this Webcam?


 Thanks in advance,

 Michael
 ___
 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


Re: [Linux-uvc-devel] how to let mic on webcam work?

2010-07-07 Thread Paulo Assis
Hi,

2010/7/7 loody milo...@gmail.com:
 Dear all:
 I bought a webcam and video part works fine with universal video driver.
 my question are:
 1. how could I let the mic works too?

The mic should work through the usb audio alsa driver: snd_usb_audio

    What modules or configures I should add in kernel?

This should already be available with any recent kernel version

 2. If I successfully insmod the driver of mic, is there any user mode
 utility for me to test it?

Try guvcview, you should be able to select from different audio
sources including the camera mic,
also audacity is a very good choice (audio only).

Best Regards,
Paulo

 appreciate your help,
 miloody
 ___
 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


Re: [Linux-uvc-devel] webcam MANTA MM353 Plako on chip ARK3188

2010-06-24 Thread Paulo Assis
, 1/20, 1/15, 1/10,
 { pixelformat = 'YUYV', description = 'YUV 4:2:2 (YUYV)' }
 { discrete: width = 320, height = 240 }
        Time interval between frame: 1/25, 1/20, 1/15, 1/10,
 { pixelformat = 'RGB3', description = 'RGB3' }
 { discrete: width = 640, height = 480 }
        Time interval between frame: 1/25, 1/20, 1/15, 1/10,
 { discrete: width = 320, height = 240 }
        Time interval between frame: 1/25, 1/20, 1/15, 1/10,
 { pixelformat = 'BGR3', description = 'BGR3' }
 { discrete: width = 640, height = 480 }
        Time interval between frame: 1/25, 1/20, 1/15, 1/10,
 { discrete: width = 320, height = 240 }
        Time interval between frame: 1/25, 1/20, 1/15, 1/10,
 { pixelformat = 'YU12', description = 'YU12' }
 { discrete: width = 640, height = 480 }
        Time interval between frame: 1/25, 1/20, 1/15, 1/10,
 { discrete: width = 320, height = 240 }
        Time interval between frame: 1/25, 1/20, 1/15, 1/10,
 { pixelformat = 'YV12', description = 'YV12' }
 { discrete: width = 640, height = 480 }
        Time interval between frame: 1/25, 1/20, 1/15, 1/10,
 { discrete: width = 320, height = 240 }
        Time interval between frame: 1/25, 1/20, 1/15, 1/10,
 vid:18ec
 pid:3188
 driver:uvcvideo
 checking format: 1196444237
 VIDIOC_S_FORMAT - Unable to set format: Input/output error
 Init v4L2 failed !!
 ERROR: Minimum Setup Failed.
  Exiting...
 free audio mutex
 VIDIOC_REQBUFS - Failed to delete buffers: Invalid argument (errno 22)
 closed v4l2 strutures
 free controls - vidState
 cleaned allocations - 100%
 Closing portaudio ...OK
 Terminated.



 В Срд, 23/06/2010 в 23:52 +0100, Paulo Assis пишет:
 Andrew Hi,
 By default vlc uses libv4l, just like most other software, when this
 fails it reverts to direct v4l2 access, (you probably should also
 check your libv4l version and update it if needed)
 vlc seems to be able to open a MJPG stream after a few failed
 attempts, I can't really understand why it fails with the other
 software (it returns a I/O error when trying to set the stream
 format).
 Can you increase the driver verbosity and check for error messages with 
 dmesg ?

 Regards,
 Paulo

 2010/6/23 Andrew V Kuzmin freeg...@mail.ru:
  Got the latest version, but error still happened (logs below)
  Have you seen the vlc logs?
  It seems that cam not supported by гмс drivers - direct kernel v4l2  -
  what does it means?
 
 
  [0x8e24368] v4l2 demux debug: will try to find optimal width and height.
  libv4l2: error setting pixformat: Input/output error
  libv4l2: error setting pixformat: Input/output error
  libv4l2: error setting pixformat: Input/output error
  [0x8e24368] v4l2 demux warning: Could not select any of the default
  chromas; attempting to open as MPEG encoder card (access)
  [0x8e24368] main demux warning: no access_demux module matching v4l2
  could be loaded
  [0x8e24368] main demux debug: TIMER module_need() : 55.611 ms - Total
  55.611 ms / 1 intvls (Avg 55.611 ms)
  [0x8bdfa98] main input debug: creating access 'v4l2' path=''
  [0x8e28398] main access debug: looking for access module: 1 candidate
  [0x8e28398] v4l2 access debug: Trying direct kernel v4l2
  [0x8e28398] v4l2 access debug: opening device '/dev/video0'
 
 
 
  kuz...@kuzmin-desktop:~$ guvcview --format yuyv
  guvcview 1.4.1
 
  (process:4154): Gtk-WARNING **: Locale not supported by C library.
         Using the fallback 'C' locale.
  unexpected integer value (0) for vid_mux
  Strings must be quoted
  unexpected integer value (1) for snd_numsec
  Strings must be quoted
  unexpected integer value (160) for snd_bitrate
  Strings must be quoted
  unexpected integer value (2) for Pan_Step
  Strings must be quoted
  unexpected integer value (2) for Tilt_Step
  Strings must be quoted
  bt_audio_service_open: connect() failed: Connection refused (111)
  bt_audio_service_open: connect() failed: Connection refused (111)
  bt_audio_service_open: connect() failed: Connection refused (111)
  bt_audio_service_open: connect() failed: Connection refused (111)
  video device: /dev/video0
  /dev/video0 - device 1
  Init. USB2.0 PC CAMERA (location: usb-:00:1d.7-1)
  { pixelformat = 'MJPG', description = 'MJPEG' }
  { discrete: width = 640, height = 480 }
         Time interval between frame: 1/25, 1/20, 1/15, 1/10,
  { discrete: width = 640, height = 480 }
         Time interval between frame: 1/25, 1/20, 1/15, 1/10,
  { discrete: width = 320, height = 240 }
         Time interval between frame: 1/25, 1/20, 1/15, 1/10,
  { pixelformat = 'YUYV', description = 'YUV 4:2:2 (YUYV)' }
  { discrete: width = 320, height = 240 }
         Time interval between frame: 1/25, 1/20, 1/15, 1/10,
  { pixelformat = 'RGB3', description = 'RGB3' }
  { discrete: width = 640, height = 480 }
         Time interval between frame: 1/25, 1/20, 1/15, 1/10,
  { discrete: width = 320, height = 240 }
         Time interval between frame: 1/25, 1/20, 1/15, 1/10,
  { pixelformat = 'BGR3', description = 'BGR3' }
  { discrete: width = 640, height = 480

Re: [Linux-uvc-devel] webcam MANTA MM353 Plako on chip ARK3188

2010-06-24 Thread Paulo Assis
Andrew Hi,
Can you try setting quirks to 2:

rmmod uvcvideo
modprobe uvcvideo quirks=2 trace=65535

please post also a working dmesg log (from vlc)

Regards,
Paulo

2010/6/24 Andrew V Kuzmin freeg...@mail.ru:
 Hi Paulo! Requested logs in attach
 dmesg - all from the system cold boot





 В Чтв, 24/06/2010 в 10:31 +0100, Paulo Assis пишет:
 Andrew Hi,
 you can increase the driver verbosity by setting the trace parameter:
 rmmod uvcvideo
 modprobe uvcvideo trace=65535

 trace level is given by grouping several flags so you can set it to
 something like 0xff and get a huge amount of information on the
 logs (just don't forget to reset it after you finish debugging)

 after this dmesg should be a lot more verbose.

 Some cameras require a quirks value to function properly, but you
 really need to check what's going on first.

 Best regards,
 Paulo

 2010/6/24 Andrew V Kuzmin freeg...@mail.ru:
  Hi, I did not fully inderstand how to seperverbose driver logs,
  the key in guvcview -v only, not like -vvv in vlc.
  DMESG once again
 
  when camera plugged in
 
  46064.024031] usb 1-1: new high speed USB device using ehci_hcd and
  address 7
  [46064.158039] usb 1-1: configuration #1 chosen from 1 choice
  [46064.158652] uvcvideo: Found UVC 1.00 device USB2.0 PC CAMERA
  (18ec:3188)
  [46064.158900] uvcvideo: UVC non compliance - GET_DEF(PROBE) not
  supported. Enabling workaround.
  [46064.159391] input: USB2.0 PC CAMERA
  as /devices/pci:00/:00:1d.7/usb1/1-1/1-1:1.0/input/input10
 
  then when guvcview called
 
  [46206.284313] uvcvideo: Failed to query (130) UVC probe control : 0
  (exp. 26).
  [46206.287686] uvcvideo: Failed to query (130) UVC probe control : 0
  (exp. 26).
 
 
 
 
  kuz...@kuzmin-desktop:~$ guvcview -v
  guvcview 1.4.1
 
  (process:13812): Gtk-WARNING **: Locale not supported by C library.
         Using the fallback 'C' locale.
  unexpected integer value (0) for vid_mux
  Strings must be quoted
  unexpected integer value (1) for snd_numsec
  Strings must be quoted
  unexpected integer value (160) for snd_bitrate
  Strings must be quoted
  unexpected integer value (2) for Pan_Step
  Strings must be quoted
  unexpected integer value (2) for Tilt_Step
  Strings must be quoted
  video_device: /dev/video0
  vid_sleep: 0
  cap_meth: 1
  resolution: 640 x 480
  windowsize: 480 x 700
  vert pane: 0
  spin behavior: 0
  mode: mjpg
  fps: 1/25
  Display Fps: 0
  bpp: 0
  hwaccel: 1
  avi_format: 0
  sound: 1
  sound Device: 0
  sound samp rate: 0
  sound Channels: 0
  Sound delay: 0 nanosec
  Sound Format: 80
  Pan Step: 2 degrees
  Tilt Step: 2 degrees
  Video Filter Flags: 0
  image inc: 0
  profile(default):/home/kuzmin/default.gpfl
  starting portaudio...
  bt_audio_service_open: connect() failed: Connection refused (111)
  bt_audio_service_open: connect() failed: Connection refused (111)
  bt_audio_service_open: connect() failed: Connection refused (111)
  bt_audio_service_open: connect() failed: Connection refused (111)
  language catalog= dir:/usr/share/locale type:(null) lang:en_EN
  cat:guvcview.mo
  mjpg: setting format to 1196444237
  capture method = 1
  video device: /dev/video0
  /dev/video0 - device 1
  Init. USB2.0 PC CAMERA (location: usb-:00:1d.7-1)
  { pixelformat = 'MJPG', description = 'MJPEG' }
  { discrete: width = 640, height = 480 }
         Time interval between frame: 1/25, 1/20, 1/15, 1/10,
  { discrete: width = 640, height = 480 }
         Time interval between frame: 1/25, 1/20, 1/15, 1/10,
  { discrete: width = 320, height = 240 }
         Time interval between frame: 1/25, 1/20, 1/15, 1/10,
  { pixelformat = 'YUYV', description = 'YUV 4:2:2 (YUYV)' }
  { discrete: width = 320, height = 240 }
         Time interval between frame: 1/25, 1/20, 1/15, 1/10,
  { pixelformat = 'RGB3', description = 'RGB3' }
  { discrete: width = 640, height = 480 }
         Time interval between frame: 1/25, 1/20, 1/15, 1/10,
  { discrete: width = 320, height = 240 }
         Time interval between frame: 1/25, 1/20, 1/15, 1/10,
  { pixelformat = 'BGR3', description = 'BGR3' }
  { discrete: width = 640, height = 480 }
         Time interval between frame: 1/25, 1/20, 1/15, 1/10,
  { discrete: width = 320, height = 240 }
         Time interval between frame: 1/25, 1/20, 1/15, 1/10,
  { pixelformat = 'YU12', description = 'YU12' }
  { discrete: width = 640, height = 480 }
         Time interval between frame: 1/25, 1/20, 1/15, 1/10,
  { discrete: width = 320, height = 240 }
         Time interval between frame: 1/25, 1/20, 1/15, 1/10,
  { pixelformat = 'YV12', description = 'YV12' }
  { discrete: width = 640, height = 480 }
         Time interval between frame: 1/25, 1/20, 1/15, 1/10,
  { discrete: width = 320, height = 240 }
         Time interval between frame: 1/25, 1/20, 1/15, 1/10,
  vid:18ec
  pid:3188
  driver:uvcvideo
  checking format: 1196444237
  VIDIOC_S_FORMAT - Unable to set format: Input/output error
  Init v4L2 failed !!
  Init video returned -2
  trying minimum

Re: [Linux-uvc-devel] webcam MANTA MM353 Plako on chip ARK3188

2010-06-24 Thread Paulo Assis
Andrew Hi,

You should now make this change more permanent in the driver configuration,
create a file named uvcvideo.conf in /etc/modprobe.d
add the following line:
options uvcvideo quirks=2

the quirks parameter bypasses some problems originated by faulty or
non fully compliant hardware.
In your case the camera fails when getting the min and max values for
the compression settings during probe,
quirks=2 bypasses this.

Laurent, you should add this camera to the uvc_ids list and hard code
the quirk there.
(This list just keeps getting bigger and bigger)

Regards,
Paulo

2010/6/24 Andrew V Kuzmin freeg...@mail.ru:
 Paulo, the miracle is happened, it's now works!

 as in

  mplayer tv://

 also with preload lib with skype

 LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype

 what means quirks=2???
 did you need more logs, or now we can close this problem?



 В Чтв, 24/06/2010 в 15:44 +0100, Paulo Assis пишет:
 Andrew Hi,
 Can you try setting quirks to 2:

 rmmod uvcvideo
 modprobe uvcvideo quirks=2 trace=65535

 please post also a working dmesg log (from vlc)

 Regards,
 Paulo

 2010/6/24 Andrew V Kuzmin freeg...@mail.ru:
  Hi Paulo! Requested logs in attach
  dmesg - all from the system cold boot
 
 
 
 
 
  В Чтв, 24/06/2010 в 10:31 +0100, Paulo Assis пишет:
  Andrew Hi,
  you can increase the driver verbosity by setting the trace parameter:
  rmmod uvcvideo
  modprobe uvcvideo trace=65535
 
  trace level is given by grouping several flags so you can set it to
  something like 0xff and get a huge amount of information on the
  logs (just don't forget to reset it after you finish debugging)
 
  after this dmesg should be a lot more verbose.
 
  Some cameras require a quirks value to function properly, but you
  really need to check what's going on first.
 
  Best regards,
  Paulo
 
  2010/6/24 Andrew V Kuzmin freeg...@mail.ru:
   Hi, I did not fully inderstand how to seperverbose driver logs,
   the key in guvcview -v only, not like -vvv in vlc.
   DMESG once again
  
   when camera plugged in
  
   46064.024031] usb 1-1: new high speed USB device using ehci_hcd and
   address 7
   [46064.158039] usb 1-1: configuration #1 chosen from 1 choice
   [46064.158652] uvcvideo: Found UVC 1.00 device USB2.0 PC CAMERA
   (18ec:3188)
   [46064.158900] uvcvideo: UVC non compliance - GET_DEF(PROBE) not
   supported. Enabling workaround.
   [46064.159391] input: USB2.0 PC CAMERA
   as /devices/pci:00/:00:1d.7/usb1/1-1/1-1:1.0/input/input10
  
   then when guvcview called
  
   [46206.284313] uvcvideo: Failed to query (130) UVC probe control : 0
   (exp. 26).
   [46206.287686] uvcvideo: Failed to query (130) UVC probe control : 0
   (exp. 26).
  
  
  
  
   kuz...@kuzmin-desktop:~$ guvcview -v
   guvcview 1.4.1
  
   (process:13812): Gtk-WARNING **: Locale not supported by C library.
          Using the fallback 'C' locale.
   unexpected integer value (0) for vid_mux
   Strings must be quoted
   unexpected integer value (1) for snd_numsec
   Strings must be quoted
   unexpected integer value (160) for snd_bitrate
   Strings must be quoted
   unexpected integer value (2) for Pan_Step
   Strings must be quoted
   unexpected integer value (2) for Tilt_Step
   Strings must be quoted
   video_device: /dev/video0
   vid_sleep: 0
   cap_meth: 1
   resolution: 640 x 480
   windowsize: 480 x 700
   vert pane: 0
   spin behavior: 0
   mode: mjpg
   fps: 1/25
   Display Fps: 0
   bpp: 0
   hwaccel: 1
   avi_format: 0
   sound: 1
   sound Device: 0
   sound samp rate: 0
   sound Channels: 0
   Sound delay: 0 nanosec
   Sound Format: 80
   Pan Step: 2 degrees
   Tilt Step: 2 degrees
   Video Filter Flags: 0
   image inc: 0
   profile(default):/home/kuzmin/default.gpfl
   starting portaudio...
   bt_audio_service_open: connect() failed: Connection refused (111)
   bt_audio_service_open: connect() failed: Connection refused (111)
   bt_audio_service_open: connect() failed: Connection refused (111)
   bt_audio_service_open: connect() failed: Connection refused (111)
   language catalog= dir:/usr/share/locale type:(null) lang:en_EN
   cat:guvcview.mo
   mjpg: setting format to 1196444237
   capture method = 1
   video device: /dev/video0
   /dev/video0 - device 1
   Init. USB2.0 PC CAMERA (location: usb-:00:1d.7-1)
   { pixelformat = 'MJPG', description = 'MJPEG' }
   { discrete: width = 640, height = 480 }
          Time interval between frame: 1/25, 1/20, 1/15, 1/10,
   { discrete: width = 640, height = 480 }
          Time interval between frame: 1/25, 1/20, 1/15, 1/10,
   { discrete: width = 320, height = 240 }
          Time interval between frame: 1/25, 1/20, 1/15, 1/10,
   { pixelformat = 'YUYV', description = 'YUV 4:2:2 (YUYV)' }
   { discrete: width = 320, height = 240 }
          Time interval between frame: 1/25, 1/20, 1/15, 1/10,
   { pixelformat = 'RGB3', description = 'RGB3' }
   { discrete: width = 640, height = 480 }
          Time interval between frame: 1/25, 1/20, 1/15, 1/10,
   { discrete: width = 320

Re: [Linux-uvc-devel] webcam MANTA MM353 Plako on chip ARK3188

2010-06-23 Thread Paulo Assis
: 1/25, 1/20, 1/15, 1/10,
 { pixelformat = 'BGR3', description = 'BGR3' }
 { discrete: width = 640, height = 480 }
        Time interval between frame: 1/25, 1/20, 1/15, 1/10,
 { discrete: width = 320, height = 240 }
        Time interval between frame: 1/25, 1/20, 1/15, 1/10,
 { pixelformat = 'YU12', description = 'YU12' }
 { discrete: width = 640, height = 480 }
        Time interval between frame: 1/25, 1/20, 1/15, 1/10,
 { discrete: width = 320, height = 240 }
        Time interval between frame: 1/25, 1/20, 1/15, 1/10,
 { pixelformat = 'YV12', description = 'YV12' }
 { discrete: width = 640, height = 480 }
        Time interval between frame: 1/25, 1/20, 1/15, 1/10,
 { discrete: width = 320, height = 240 }
        Time interval between frame: 1/25, 1/20, 1/15, 1/10,
 vid:18ec
 pid:3188
 driver:uvcvideo
 checking format: 1196444237
 VIDIOC_S_FORMAT - Unable to set format: Input/output error
 Init v4L2 failed !!
 ERROR: Minimum Setup Failed.
  Exiting...
 VIDIOC_REQBUFS - Failed to delete buffers: Invalid argument (errno 22)
 cleaned allocations - 100%
 Closing portaudio ...O

 В Срд, 23/06/2010 в 17:05 +0100, Paulo Assis пишет:
 guvcview --format yuyv


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


Re: [Linux-uvc-devel] YUYV/YUY2 between USB payload and v4l2.

2010-06-16 Thread Paulo Assis
Natalia Hi,
Please check guvcview source code: jpgenc.c; dct.c; huffman.c and also
vcodecs.c(compress_frame) for a built in MJPG/JPG encoder.

Regards,
Paulo

2010/6/16 Natalia Portillo clau...@claunia.com:
 Hi,

 Continue with my creation of a UVC webcam inside the QEMU emulator, I've 
 found a behavior that makes me ask myself.
 Is the payload altered in anyway by the uvcvideo driver or the video4linux 
 api?

 What I'm currently doing is, opening the host device (also UVC in my test 
 computer), setting format as 320x240 YUYV/YUY2, getting a frame (153600 
 bytes), sending a payload header to the emulated system (2 bytes only, no 
 timestamp etc), sending the frame in 64 bytes chunks.

 However in the emulated system I'm getting a whole black frame (and really 
 slow).

 There seems to be any kind of difference between what a real camera is 
 sending me, and what I'm really getting, so I need one of two solutions:

 1.- Getting that YUYV/YUY2 payload without differences, so I can resend it 
 as is.
 2.- An easy way to convert it to MJPEG format.

 While I suppose something can be done with libjpeg, my first priority is to 
 avoid any external dependency, and I'm totally unfamiliar with that library.

 Any help, guidance, etc, will be greatly thanked.

 Regards,
 Natalia Portillo
 ___
 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


Re: [Linux-uvc-devel] uvcvideo.h not available in linux header but in linux sources

2010-06-15 Thread Paulo Assis
Hi,

2010/6/15 Franz TRIERWEILER franz.trierweiler.ingeni...@gmail.com:
 Hi,

 I am porting a library based on uvc to an ARM core and am creating a RPM
 package.

 My library build needs uvcvideo.h. I expected this header file to be simply
 available from Linux headers /usr/src/linux/include. In fact it is only
 availabe from the kernel sources, nested in my cross toolchain BUILD
 directory. Why is not it available through the kernel header since it can be
 built-in the kernel?


This is supposed to become available in upcoming kernels, I'm not sure
when exactly (2.6.35 ?? )
Laurent is the best person to answer this question.

Regards,
Paulo

 Maybe do I misunderstand what Linux headers are really.

 Regards,
 Franz

 ___
 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


Re: [Linux-uvc-devel] two webcams

2010-05-26 Thread Paulo Assis
Hi,

2010/5/26 Santiago Segura sans...@hotmail.com:

 Hi,
 The full system is freeze.
 About the hardware problem, maybe you are right, but the curious is that
 sometimes the same board is three days working and sometimes only 12 horus.
 I think that is to much time for a hardware problem.

Not really, consider a system that is not properly refrigerated, it
just takes a hotter
day to cause problems in some components, otherwise it may work fine
for months.

Regards,
Paulo

 Really, this will be very hard to locate and fix ...
 Thanks,
 Santiago.

 Date: Tue, 25 May 2010 19:27:49 +0100
 Subject: Re: [Linux-uvc-devel] two webcams
 From: pj.as...@gmail.com
 To: sans...@hotmail.com
 CC: linux-uvc-devel@lists.berlios.de

 Santiago Hi,

 2010/5/25 Santiago Segura sans...@hotmail.com:
 
  Hi Paulo,
  no, when the system hangs, do not leave any message related.

 Is this a full system freeze or just your app ?
 If it's a system freeze it may be related to a hardware problem (usb
 controler, memory, ..)
 if it's just your app, then the problem is probably related to it.

 Regards,
 Paulo

  Regards,
  Santiago Segura
 
  Date: Tue, 25 May 2010 14:23:19 +0100
  Subject: Re: [Linux-uvc-devel] two webcams
  From: pj.as...@gmail.com
  To: sans...@hotmail.com
  CC: linux-uvc-devel@lists.berlios.de
 
  Hi,
  Do you get any messages on the system log (dmesg) ?
 
  Regards,
  Paulo
 
  2010/5/25 Santiago Segura sans...@hotmail.com:
   Hi!
  
  
  
   I have a strangle problem using two cameras at the same time.
  
  
  
   My application (webcam security) works perfectly, I suppose.
  
   But after some hours (24 hours or more) the system hags without any
   indicative log or signal. Simply it freezes showing the last camera
   images
   before to crash.
  
  
  
   I use a gspca USB 1.0 webcam (Vimicro) and an UVC USB 2.0 webcam (I
   tested
   with many manufactures with the same result).
  
  
  
   The bandwidth is not very high. From both cameras I get frames in
   JPEG,
   with
   low quality (about 30Kb/frame).
  
  
  
   I tried to use two different USB ports. Same result.
  
  
  
   With only one camera (either the gspca camera or the UVC), I don’t
   have
   any
   problem.
  
  
  
   My Cpu is an slow Pentium at 600Mhz (But with USB 2.0 ports).
  
  
  
   I tried dozens of kernels versions (the last is 2.6.34) and
   configurations
   (Pre-emptive-No preventive, noapic, acpi=off …, ticks a 250, ticks a
   500
   (custom), ticks a 1024).
  
   Always the same.
  
  
  
   Anyone has any idea about how can I fix this problem?
  
  
  
   Thanks in advance,
  
   Sansegu
  
  
  
  
  
   
   ¿Sabes que La Gente de Hoy tiene GUARDAESPALDAS contra el Spam?
   ___
   Linux-uvc-devel mailing list
   Linux-uvc-devel@lists.berlios.de
   https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
  
  
 
  
  Los cochazos de los famosos Patrick Dempsey, Tom Cruise o Michael
  Douglas
  presumen de automóvil

 
 ¿Sabes que La Gente de Hoy tiene GUARDAESPALDAS contra el Spam?
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


Re: [Linux-uvc-devel] two webcams

2010-05-25 Thread Paulo Assis
Hi,
Do you get any messages on the system log (dmesg) ?

Regards,
Paulo

2010/5/25 Santiago Segura sans...@hotmail.com:
 Hi!



 I have a strangle problem using two cameras at the same time.



 My application (webcam security) works perfectly, I suppose.

 But after some hours (24 hours or more) the system hags without any
 indicative log or signal. Simply it freezes showing the last camera images
 before to crash.



 I use a gspca USB 1.0 webcam (Vimicro) and an UVC USB 2.0 webcam (I tested
 with many manufactures with the same result).



 The bandwidth is not very high. From both cameras I get frames in JPEG, with
 low quality (about 30Kb/frame).



 I tried to use two different USB ports. Same result.



 With only one camera (either the gspca camera or the UVC), I don’t have any
 problem.



 My Cpu is an slow Pentium at 600Mhz (But with USB 2.0 ports).



 I tried dozens of kernels versions (the last is 2.6.34) and configurations
 (Pre-emptive-No preventive, noapic, acpi=off …, ticks a 250, ticks a 500
 (custom), ticks a 1024).

 Always the same.



 Anyone has any idea about how can I fix this problem?



 Thanks in advance,

 Sansegu





 
 ¿Sabes que La Gente de Hoy tiene GUARDAESPALDAS contra el Spam?
 ___
 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


Re: [Linux-uvc-devel] Aldi USB Microscope

2010-05-17 Thread Paulo Assis
Gavin Hi,

2010/5/17 Gavin McCullagh gmccull...@gmail.com:
 Hi,

 I picked up one of these cheap USB microscopes and was wondering if it
 might be usable with linux.  As it's made by Aveo, I thought the UVC
 driver might be convinced to work with it.


You should have bought the Bresser package at Lidl, that one has a uvc
camera that works very well.
 (actually the fps is clipped to 5 due to the high exposure time, but
the image is quite good)


 http://forums.whirlpool.net.au/forum-replies-archive.cfm/1258291.html
 http://www.wildyorkshire.co.uk/naturediary/docs/2009/9/20.html
 http://www.wildaboutbritain.co.uk/forums/general-equipment/17714-cheap-microscope.html
 http://www.google.com/search?q=USB%20microscope%20aldi

 I've put up some details on here:

 http://blog.gavinmc.com/?p=97

 I was thinking of adding its vendor IDs to
 drivers/media/video/uvc/uvc_driver.c and recompiling the driver.   Can
 anyone tell if that's likely to work from the above info?  Is there
 some other info I could provide?


see this line of lsusb:
bInterfaceClass   255 Vendor Specific Class

for uvc this must read Video Class,
so I'm afraid the camera is not uvc compatible.

Regards,
Paulo

 Thanks in advance,
 Gavin
 ___
 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


Re: [Linux-uvc-devel] Aldi USB Microscope

2010-05-17 Thread Paulo Assis
Hi,

2010/5/17 Gavin McCullagh gmccull...@gmail.com:
 Hi,

 On 17 May 2010 10:36, Paulo Assis pj.as...@gmail.com wrote:

 You should have bought the Bresser package at Lidl, that one has a uvc
 camera that works very well.
  (actually the fps is clipped to 5 due to the high exposure time, but
 the image is quite good)

 I might keep an eye out for that one, thanks.

 see this line of lsusb:
 bInterfaceClass       255 Vendor Specific Class

 for uvc this must read Video Class,
 so I'm afraid the camera is not uvc compatible.

 Oh well.  I don't suppose there's some other driver on linux which
 might be likely to work?

You may try gspca, it supports a very large camera array with vendor
specific interfaces.


 It's not desperately important that it work in linux, but I was hoping :-)

 Gavin


Regards,
Paulo
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


Re: [Linux-uvc-devel] Stream from multimple cameras

2010-05-16 Thread Paulo Assis
Hi,

2010/5/16  bruno.via...@free.fr:

 - Adrian Sergiu Darabant aser...@yahoo.co.uk wrote :

 My need is to stream from both cameras in the same time.
 (...)
 I tried to do that and I am succeeding up to query and map buffers but
 then when doing VIDIOC_STREAMON - the first camera starts and the
 second one always gets

 kernel: uvcvideo: Failed to submit URB 0 (-28).

 which seems to be linked with the usb bandwidth.

 Hello Adrian,
 This problem is mentioned in the Motion software FAQ: when streaming from 
 multiple USB cams, each one must be plugged to its own USB controller, not on 
 a hub, including motherboard hubs (typically the pair of connectors on top of 
 each other).
 (cf http://www.lavrsen.dk/foswiki/bin/view/Motion/FrequentlyAskedQuestions 
 first item)

 I experienced this problem on an eeepc 701 / linux: while streaming only 
 v...@1fps the two webcams (Vesta pro + SPC900) had to be plugged one on each 
 side of the netbook.
 But I could plug an external harddrive (recording both streams!) in the same 
 hub as one of the cams! Go figure that...
 Same thing on a Dell desktop PC with Hercules cams under windows XP.


 I don't know all the details about the USB transfer protocol but my
 understanding is that - the driver should request a static bandwidth
 allocation before starting streaming. Would it be possible to force
 the streaming at a lower rate - maybe loosing some frames from the
 camera but still allow multiple camera streaming ?

 Using distinct controllers is obviously just a workaround, but I have no idea 
 if this bandwidth allocation problem can be dealt with at the driver level, I 
 will leave this to competent people...


I think the problem with some cameras is that they request more
bandwidth than they actually need, so this causes this type of issue.
I've add no problem in streaming 2 QuickCam cameras from the same
controller in MJPG, but for other models/vendors it fails with the
exactly same settings.

Best Regards,
Paulo

 Best regards

 -- Bruno Viaris
 ___
 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


Re: [Linux-uvc-devel] Framerate of Quickcam Pro 9000

2010-05-08 Thread Paulo Assis
2010/5/7 Laurent Pinchart laurent.pinch...@ideasonboard.com:
Laurent,
 Hi Paulo,

 On Tuesday 04 May 2010 10:36:19 Paulo Assis wrote:
  What happens to the camera settings when the computer is rebooted? Are
  they stored in some non-volatile memory in the camera? That would be
  awesome.

 If I'm not mistaken USB keeps the power on, even during a reboot, so
 the camera should maintain the control settings.

 I'm not sure that's guaranteed by the USB standard. I believe the camera
 should be reset when the computer is restarted. Whether it will loose its
 settings might depend on the camera firmware.


In that case it may depend on the motherboard configuration.
I've tested this on my pc and the camera kept it's settings.
I've had plenty of problems with this in the past, if the camera
crashes for some reason,
a reboot won't solve it and it may also prevent a normal boot.
Just last week I notice that my pc took much longer than usual to boot
and it was also
much slower, after a little investigation I found that usb audio was the cause,
the camera had crash and couldn't be initiated.


 In any case, there's no non-volatile memory to store the controls in any of
 the consumer webcams I know of.


Yes this is true.

Regards,
Paulo
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


Re: [Linux-uvc-devel] Philips SPC530NC (0471:2034) fails

2010-05-05 Thread Paulo Assis
Hi,
Are you sure the camera supports MJPG ?
It seems to report only a uncompressed format (YUYV ?).
You can check the supported formats with luvcview, guvcview or
uvcdynctrl (libwebcam)

Best regards,
Paulo

2010/5/5 HKairpost u...@hk.airpost.net:
 u...@hk.airpost.net wrote:

 Hello,

 I have a setup where a Logitech Quickcam E 3500 (046d:09a4) works fine
 when a Philips SPC530NC (0471:2034) doesn't. Though both are mark as
 supported on http://www.ideasonboard.org/uvc/

 I'm running: Linux OpenWrt 2.6.30.10 #24 Tue Apr 6 14:59:59 CEST 2010
 mips GNU/Linux

 Here is what I get with the philips:

 Apr  6 01:26:45 OpenWrt user.info kernel: usb 1-1: new high speed USB
 device using ehci_hcd and address 2
 Apr  6 01:26:45 OpenWrt user.info kernel: usb 1-1: configuration #1
 chosen from 1 choice
 Apr  6 01:26:45 OpenWrt user.info kernel: uvcvideo: Found UVC 1.00
 device USB Video Camera (0471:2034)
 Apr  6 01:26:45 OpenWrt user.info kernel: input: USB Video Camera as
 /devices/pci:00/:00:00.1/usb1/1-1/1-1:1.0/input/input0
 Apr  6 01:26:49 OpenWrt user.info MJPG-streamer [1131]: starting
 application
 Apr  6 01:26:49 OpenWrt user.info MJPG-streamer [1131]: MJPG Streamer
 Version.: 2.0
 Apr  6 01:26:49 OpenWrt user.info MJPG-streamer [1131]: Using V4L2
 device.: /dev/video0
 Apr  6 01:26:49 OpenWrt user.info MJPG-streamer [1131]: Desired
 Resolution: 640 x 480
 Apr  6 01:26:49 OpenWrt user.info MJPG-streamer [1131]: Frames Per
 Second.: 5
 Apr  6 01:26:49 OpenWrt user.info MJPG-streamer [1131]:
 Format: MJPEG
 Apr  6 01:26:49 OpenWrt user.info MJPG-streamer [1131]: init_VideoIn
 failed
 Apr  6 01:26:53 OpenWrt user.info MJPG-streamer [1142]: starting
 application
 Apr  6 01:26:53 OpenWrt user.info MJPG-streamer [1142]: MJPG Streamer
 Version.: 2.0
 Apr  6 01:26:53 OpenWrt user.info MJPG-streamer [1142]: Using V4L2
 device.: /dev/video0
 Apr  6 01:26:53 OpenWrt user.info MJPG-streamer [1142]: Desired
 Resolution: 640 x 480
 Apr  6 01:26:53 OpenWrt user.info MJPG-streamer [1142]: Frames Per
 Second.: 5
 Apr  6 01:26:53 OpenWrt user.info MJPG-streamer [1142]:
 Format: MJPEG
 Apr  6 01:26:53 OpenWrt user.info MJPG-streamer [1142]: init_VideoIn
 failed
 Apr  6 01:26:56 OpenWrt user.info MJPG-streamer [1152]: starting
 application
 Apr  6 01:26:56 OpenWrt user.info MJPG-streamer [1152]: MJPG Streamer
 Version.: 2.0
 Apr  6 01:26:56 OpenWrt user.info MJPG-streamer [1152]: Using V4L2
 device.: /dev/video0
 Apr  6 01:26:56 OpenWrt user.info MJPG-streamer [1152]: Desired
 Resolution: 640 x 480
 Apr  6 01:26:56 OpenWrt user.info MJPG-streamer [1152]: Frames Per
 Second.: 5
 Apr  6 01:26:56 OpenWrt user.info MJPG-streamer [1152]:
 Format: MJPEG
 Apr  6 01:26:56 OpenWrt user.info MJPG-streamer [1152]: init_VideoIn
 failed

 Any pointer to solve the issue would help.

 Many thanks,
 hka


 Just want to confirm that /dev/video0 is inserted and paste the following
 additional information:

 IRQ 3/wifi0: IRQF_DISABLED is not guaranteed on shared IRQs
 i2c /dev entries driver
 Linux video capture interface: v2.00
 usbcore: registered new interface driver uvcvideo
 USB Video Class driver (v0.1.0)
 usb 1-1: new high speed USB device using ehci_hcd and address 2
 usb 1-1: configuration #1 chosen from 1 choice
 hub 1-1:1.0: USB hub found
 hub 1-1:1.0: 4 ports detected
 usb 1-1.1: new high speed USB device using ehci_hcd and address 3
 usb 1-1.1: configuration #1 chosen from 1 choice
 uvcvideo: Found UVC 1.00 device USB Video Camera (0471:2034)
 input: USB Video Camera as
 /devices/pci:00/:00:00.1/usb1/1-1/1-1.1/1-1.1:1.0/input/input0

 # lsusb -v -d 0471:2034

 Bus 001 Device 003: ID 0471:2034 Philips (or NXP) Webcam SPC530NC
 Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 ?
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  idVendor           0x0471 Philips (or NXP)
  idProduct          0x2034 Webcam SPC530NC
  bcdDevice            0.00
  iManufacturer           0
  iProduct                1 USB Video Camera
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
   bLength                 9
   bDescriptorType         2
   wTotalLength        42497
   bNumInterfaces          4
   bConfigurationValue     1
   iConfiguration          0
   bmAttributes         0x80
     (Bus Powered)
   MaxPower               98mA
   Interface Association:
     bLength                 8
     bDescriptorType        11
     bFirstInterface         0
     bInterfaceCount         2
     bFunctionClass         14 Video
     bFunctionSubClass       3 Video Interface Collection
     bFunctionProtocol       0
     iFunction               1 USB Video Camera
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        0
     bAlternateSetting       0
     bNumEndpoints   

Re: [Linux-uvc-devel] Framerate of Quickcam Pro 9000

2010-05-04 Thread Paulo Assis
Alan Hi,


 Yes, the profiles are very useful. Your program in general is very
 useful, I hope you make a stable release soon, some distros only ship
 release versions of programs (like mine for example).


The latest stable release is 1.3.1 (adds camera button support),
unfortunately some distros take quite some time to pick new releases
(maybe my fault, I usually do a new release every month or so).

 I wish the command line uvcdynctrl also supported loading/saving
 profiles (just like alsactl store / alsactl restore).

You are free to post a patch for it ;-) I'll add it to debian and send
it upstream.
I'm afraid in the next few weeks I won't have much spare time,
otherwise I could do it myself.
If you fell you can't do it, just remember me again in a couple of weeks.

 What happens to the camera settings when the computer is rebooted? Are
 they stored in some non-volatile memory in the camera? That would be
 awesome.

If I'm not mistaken USB keeps the power on, even during a reboot, so
the camera should maintain the control settings.
You would have to unplug the camera to loose the settings.
This is not always a good think, sometimes the camera may crash,
meaning that you must physically unplug it to make it work again.

Best regards,
Paulo
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


Re: [Linux-uvc-devel] Framerate of Quickcam Pro 9000

2010-04-29 Thread Paulo Assis
Alan Hi,
Can you test with guvcview (http://guvcview.berlios.de)?

Maximum frame rate also depends on the pixel format and resolution, so
choose a format and resolution that supports a high frame-rate (e.g
m...@800x600)

Regards,
Paulo

2010/4/29 Alan lameventa...@gmail.com:
 I have a problem with my camera: the framerate is too low.
 I tested the camera using mplayer and motion with different light levels.

 So I tried to fix it by following the instructions here:
 http://www.quickcamteam.net/documentation/how-to/how-to-maximize-the-frame-rate

 Unfortunately its still slow, and I think I messed up something
 because every time I run uvcdynctrl I get this error:
 [libwebcam] Unknown V4L2 private control ID encountered: 0x0A046D04
 (V4L2_CID_PRIVATE_BASE + 33844484)

 So I think at some moment I used an invalid parameter, so I thought I
 could rmmod and modprobe uvcvideo to fix it, but no. Reconnecting the
 camera doesn't help either.

 So is this an invalid parameter? If so, where is it stored, in some
 memory inside the camera?
 And how do I fix the framerate issue?

 Thanks!

 Alan
 ___
 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


Re: [Linux-uvc-devel] Multiple camera framerate.

2010-04-27 Thread Paulo Assis
Dennis,

 Can anyone suggest a way to configure the cameras at a higher framerate
 without overloading the USB bus?  Suppose I can read at 10 fps right now
 without overloading the USB bus.  I'd like to set the framerate to 15, but
 still just capture around 10.

You can grab frames at whatever speed you want, but it's the camera
framerate that will make a difference in the usb bandwidth and not the
amount of frames you get with your application.
Is the 10 fps limit achieved with compressed (MJPG) or uncompressed
(YUV) frames ?
Using compressed frames should allow for much higher framerates when
using multiple cameras. Resolution will also have an impact on the
bandwidth.
Another alternative is to add another usb controler to you system, (a
usb pci card if you are using a standard pc).
As an example using MJPG I have no problem in using 3 cameras
simultaneous (800x...@20 fps)


Best Regards,
Paulo
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


Re: [Linux-uvc-devel] Multiple camera framerate.

2010-04-27 Thread Paulo Assis
Ian

2010/4/27 Ian Latter ian.lat...@midnightcode.org:
 You can grab frames at whatever speed you want, but it's
 the camera
 framerate that will make a difference in the usb bandwidth
 and not the
 amount of frames you get with your application.

 So, if you don't take a frame from the UVC driver, it will
 simply
 continue to refresh an internal buffer with new frames from the
 camera device?

Think of it like this, the necessary bandwidth is requested by the
device and it will depend on the compression, resolution and
framerate, in fact I think some (buggy) devices will always request
the maximum bandwidth causing problems on initialization, for these
devices I think uvcvideo uses it's own algorithm to calc the necessary
bandwidth.

Also the device will always try to dispatch frames at the requested
framerate, if you don't grab them they will simply be dropped by the
driver.

Best regards,
Paulo
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


Re: [Linux-uvc-devel] MSI U130 netbook built-in 1.3M webcam doesn't work!

2010-04-15 Thread Paulo Assis
David Hi,
Maybe the camera it's not uvc compatible, you can check it with lsusb.

Best Regards,
Paulo

2010/4/15 David Song tingus...@gmail.com:
 Hi all,

 I have a MSI U130 netbook with a built-in 1.3M pixels webcam.
 Unfortunately, however, this webcam is not recognized by uvcvideo
 driver. Can anyone help me to enable it up? Thanks.
 Btw, my kernel version is 2.6.33.1.

 -David
 ___
 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


Re: [Linux-uvc-devel] uvcvideo: Failed to submit URB 0 (-28) on ARM target.

2010-04-06 Thread Paulo Assis
Franz Hi,

2010/4/6 Franz TRIERWEILER franz.trierweiler.ingeni...@gmail.com:
 Hello,

 I am trying to make jpeg/png still encoded picture from a uvcvideo
 compatible webcam with gstreamer. I do this on a Freescale iMX25 evalboard
 featuring support for the uvcvideo driver.

 I configured the gstreamer package and v4l2 / uvc support properly through
 LTIB.

 My webcam is officialy supported (0c45:62c0) by the Linux UVC driver.
 indeed, here is what I get when plugging the device:

 usb 1-1.5: new full speed USB device using fsl-ehci and address 5
 usb 1-1.5: not running at top speed; connect to a high speed hub
 usb 1-1.5: New USB device found, idVendor=0c45, idProduct=62c0
 usb 1-1.5: New USB device strings: Mfr=2, Product=1, SerialNumber=0
 usb 1-1.5: Product: USB 2.0 Camera
 usb 1-1.5: Manufacturer: Sonix Technology Co., Ltd.
 usb 1-1.5: configuration #1 chosen from 1 choice
 uvcvideo: Found UVC 1.00 device USB 2.0 Camera (0c45:62c0)
 input: USB 2.0 Camera as /class/input/input3


Everything looks good here.




 When i just try to launch the following command, then I get the following
 error:

 gst-launch-0.10 v4l2src

 Setting pipeline to PAUSED ...
 uvcvideo: Failed to submit URB 0 (-28).
 Pipeline is live and does not need PREROLL ...
 ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Error
 starting .
 Additional debug info:
 gstv4l2object.c(1886): gst_v4l2_object_start_streaming ():
 /GstPipeline:pipelin:
 system error: No space left on device

This looks like a bandwidth issue, I get a similar error if I try to
open two or three devices at the same time and the request bandwidth
is too much for the usb pipe to handle.

Are you using a usb1 or usb2 port?
Most of these ARM boards use have usb1 ports, so you can't use the
full camera capabilities (resolution/fps).


 ERROR: pipeline doesn't want to preroll.
 Setting pipeline to PAUSED ...
 Setting pipeline to READY ...
 Setting pipeline to NULL ...
 Freeing pipeline ...

 The error seems to come from the device/uvcvideo layer since this error
 clearly relates to the driver endpoints.

 My final goal is to submit such a command (with the right jpeg/png encoder):
 gst-launch-0.10 v4l2src ! pngenc ! filesink location=test.png

 Were there recent fixes to the uvcdriver (which Freescale did not report)?
 My driver version is 0.1.0. I read this in the uvc_driver.c file (from
 /linux/drivers/media/video/uvc) provided with my evalboard BSP.

 I noticed that what I want to do works fine on Ubuntu 09.04 (the kernel

Maybe you are using a usb2 port here ?


 features the uvcvideo). If I type modinfo
 /lib/modules/2.6.28-11-generic/kernel/drivers/media/video/uvc/uvcvideo.ko I
 get the following driver version:


Don't believe the reported uvc version, use the kernel version
instead, uvc is built-in the kernel since 2.6.27


 filename:
 /lib/modules/2.6.28-11-generic/kernel/drivers/media/video/uvc/uvcvideo.ko
 version:    v0.1.0
 license:    GPL

 Thus I guess that Freescale BSP uses the same driver version as Ubuntu 09.04
 does.

 If required I can send more information to help solve this issue.

 Best Regards,
 Franz

 ___
 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


Re: [Linux-uvc-devel] uvcvideo: Failed to submit URB 0 (-28) on ARM target.

2010-04-06 Thread Paulo Assis
Hi,

2010/4/6 Franz TRIERWEILER franz.trierweiler.ingeni...@gmail.com:
 Hi Paulo,

 First many thanks for your answer.

 I have doubts about using Usb1 ou Usb2 port... I asked Freescal in order to
 make sure but according to the IMX datasheet, it is a USB 2.0 port.

 What annoys me is that I read: usb 1-1: not running at top speed; connect
 to a high speed hub and I do not know how to understand this.

 usb 1-1: not running at top speed; connect to a high speed hub
 usb 1-1: New USB device found, idVendor=0c45, idProduct=62c0
 usb 1-1: New USB device strings: Mfr=2, Product=1, SerialNumber=0
 usb 1-1: Product: USB 2.0 Camera
 usb 1-1: Manufacturer: Sonix Technology Co., Ltd.
 usb 1-1: configuration #1 chosen from 1 choice
 uvcvideo: Found UVC 1.00 device USB 2.0 Camera (0c45:62c0)
 input: USB 2.0 Camera as /class/input/input2


That's definitely a usb1.1 connection (full speed) since the camera
device is usb2 (high speed) you get that type of message.


 If it is not a USB 2.0 port, is there a way through gst-launch to reduce the
 image resolution ?


I don't think resolution is the only issue here.
Usually uvc devices support two types of video stream, compressed MJPG
or/and uncompressed YUYV, when connected to a slower usb port they
just drop the uncompressed format and support MJPG only and at lower
fps/resolutions.
I've actually never tried a YUYV camera only on a usb1 port so I'm not
sure how this is handled in that case, but most likely it will drop
support for higher resolutions.

GStreamer I think defaults to yuv so you should also try setting the
input format to MJPG, e.g.:

gst-launch v4l2src ! image/jpeg,width=320,framerate=15/1,rate=15

You can use guvcview or luvcview to check out available formats and
resolutions for the camera in the ARM platform.

Best regards,
Paulo
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


Re: [Linux-uvc-devel] New camera

2010-04-05 Thread Paulo Assis
Have you read the linuxtv v4l2 wiki ?

http://www.linuxtv.org/wiki/index.php/Main_Page
http://www.linuxtv.org/wiki/index.php/Anatomy_of_a_V4L_driver
http://www.linuxtv.org/wiki/index.php/Development:_How_to_add_support_for_a_device
http://www.linuxtv.org/wiki/index.php/Development:_How_to_develop_drivers_for_USB_based_devices

Best regards,
Paulo

2010/4/4 Jose Francisco Mingorance Puga jose.mingora...@gmail.com:
 Hello guys,
 I am an engineer trying to implement the driver for a new camera which is
 not currently supported.
 However, I find out that there is a lack of information about how to proceed
 and which are the steps and interfaces to implement.
 I have spent some hours reading the mailing lists, and inspecting the whole
 source code, but, where to begin ? I know the protocol of the camera and how
 to communicate with it, I just need some help about what to do to begin
 working on it.
 Thanks in advance.

 ___
 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


Re: [Linux-uvc-devel] OmniVision / I've screwed my system

2010-04-02 Thread Paulo Assis
Jeff Hi,

2010/4/2 Jeff Van Epps lord...@lordbah.com:
 By changing some uvc_trace(UVC_TRACE_VIDEO to
 uvc_trace(UVC_TRACE_IOCTL I was able to get out this message:

 uvcvideo: No fast enough alt setting for requested bandwidth.

Humm, there is also a bandwidth quirk, this was added for some vimicro
cameras that set this wrong.

try quirks=128 instead of quirks=16

see if that helps,

Best regards,
Paulo





 That gets printed the line before the return -EIO.

 I had options trace=255 from earlier. Hunted a bit and figured I could
 probably just set options trace=65535 to get UVC_TRACE_VIDEO to work
 too. Yep, one of the calls whose param I didn't change came out this time:

 uvcvideo: Device requested 5767680 B/frame bandwidth.

 Doesn't seem to make any difference whether I leave quirks=16 in or
 remove it.

 What are alt settings?

 Where can I go from here?


 ___
 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


Re: [Linux-uvc-devel] Adjust Light Frequency Filter

2010-04-01 Thread Paulo Assis
Hi,
Try guvcview with the option --control_only, this should work along
side any other v4l2 app and you will be able to change the camera
control settings.

Best regards.
Paulo

2010/3/31 Nikhil Benesch primate...@gmail.com:
 I have a Chicony 2.0 USB Camera (04f2:b008) that almost works perfectly.
 Right now, I can get it to work perfectly in both luvsview and Empathy.
 Unfortunately, the image is too dark to be useful when the light frequency
 filter is off. Using luvsview, I can easily change this value to 50 or 60Hz
 with its GUI.
 Is there a way to implement the same fix for Empathy? The chat client
 doesn't currently provide a way to change this setting, and I'm not
 experienced enough to write a piece of software that's able to, if that's
 even possible. On Windows, I had a configuration tool that could update the
 webcam settings while I was video chatting, but I don't see something
 similar for Linux.
 In short, is there a way to change the light frequency filter settings in a
 program I didn't write?
 Thanks so much!
 ___
 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


Re: [Linux-uvc-devel] Logitech Portable Webcam C905

2010-04-01 Thread Paulo Assis
Svend Hi,,
please follow the instructions here:
http://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers

and make sure you install the kernel headers or you wont be able to
compile the drivers.

Best regards,
Paulo

2010/4/1  svenda...@yours.com:
 Hello with you ;-)

 The Logitech Portable C905 are not listet at http://linux-uvc.berlios.de/

 lsusb tells: ID 046d:080a Logitech, Inc.

 Using: make all

 sv...@linux-s5kc:/tmp/uvcvideo-553dfd853cba make all
 make -C /tmp/uvcvideo-553dfd853cba/v4l all
 make[1]: Går til katalog '/tmp/uvcvideo-553dfd853cba/v4l'
 No version yet, using 2.6.31.12-0.2-desktop
 make[1]: Forlader katalog '/tmp/uvcvideo-553dfd853cba/v4l'
 make[1]: Går til katalog '/tmp/uvcvideo-553dfd853cba/v4l'
 scripts/make_makefile.pl
 Updating/Creating .config
 Preparing to compile for kernel version 2.6.31
 File not found: /lib/modules/2.6.31.12-0.2-desktop/build/.config at
 ./scripts/make_kconfig.pl line 32, IN line 4.
 make[1]: Forlader katalog '/tmp/uvcvideo-553dfd853cba/v4l'
 make[1]: Går til katalog '/tmp/uvcvideo-553dfd853cba/v4l'
 Updating/Creating .config
 Preparing to compile for kernel version 2.6.31
 File not found: /lib/modules/2.6.31.12-0.2-desktop/build/.config at
 ./scripts/make_kconfig.pl line 32, IN line 4.
 make[1]: *** Ingen regel til at skabe mål '.myconfig' som behøves af
 'config-compat.h'. Stop.
 make[1]: Forlader katalog '/tmp/uvcvideo-553dfd853cba/v4l'
 make: *** [all] Fejl 2
 sv...@linux-s5kc:/tmp/

 Linux system: openSUSE 11.2 / Kernel  2.6.31.12-0.2-desktop / i686 / Intel
 Core i5 CPU 650 3,20GHz / Ram DRR3 8Gb

 Sorry about the Danish, but I live in Denmark ;-)

 I had just run Linux  for 2 weeks so I am new into this. Printer + scanner +
 Webcam had I not been able to run yet. But still I have hope. Today I get
 the message from my online bank that it could not be run under Linux so that
 are a serious problem I get here.

 Have a nice day.

 Yours sincerely

 Svend Aage

 Web site: http://www.killscammers.org
 If you had been Scammed or other kind of Fraud or do you know some person
 who had been that. Then take a look at the Web site.

 Free the world for Scammers. Do NOT pay them any money at all.

 If at first you don't succeed, try, try, again. Then quit, no use being a
 damn fool about things. - Quote: W.C. Fields
 ___
 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


Re: [Linux-uvc-devel] OmniVision / I've screwed my system

2010-03-31 Thread Paulo Assis
Oh, please also make sure you are not connecting the camera through a
usb hub, unfortunately usb hubs don't work very well in linux and will
cause the video stream to fail.

Reagards,
Paulo

2010/3/30 Jeff Van Epps lord...@lordbah.com:
 $ luvcview -f mjpg -s 320x240 -i 15
 luvcview 0.2.4

 SDL information:
  Video driver: x11
  A window manager is available
 Device information:
  Device path:  /dev/video0
 Stream settings:
  Frame format: MJPG
  Frame size:   320x240
  Frame rate:   15 fps
 Unable to start capture: Input/output error
 Error grabbing
 Cleanup done. Exiting ...

 --dmesg output below--

 [199009.851002] uvcvideo: Adding mapping Brightness to control f81155d0/2.
 [199009.851021] uvcvideo: Adding mapping Contrast to control f81155f8/3.
 [199009.851025] uvcvideo: Adding mapping Hue to control f8115620/6.
 [199009.851030] uvcvideo: Adding mapping Saturation to control f8115648/7.
 [199009.851034] uvcvideo: Adding mapping Sharpness to control f8115670/8.
 [199009.851039] uvcvideo: Adding mapping Gamma to control f8115698/9.
 [199009.851044] uvcvideo: Adding mapping Backlight Compensation to
 control f8115710/1.
 [199009.851049] uvcvideo: Adding mapping Gain to control f8115738/4.
 [199009.851054] uvcvideo: Adding mapping Power Line Frequency to control
 f8115760/5.
 [199009.851060] uvcvideo: Adding mapping Hue, Auto to control f8115788/16.
 [199009.851066] uvcvideo: Adding mapping Exposure, Auto to control
 f81158c8/2.
 [199009.851073] uvcvideo: Adding mapping Exposure, Auto Priority to
 control f81158f0/3.
 [199009.851080] uvcvideo: Adding mapping Exposure (Absolute) to control
 f8115918/4.
 [199009.851085] uvcvideo: Adding mapping White Balance Temperature, Auto
 to control f81157b0/11.
 [199009.851090] uvcvideo: Adding mapping White Balance Temperature to
 control f81156c0/10.
 [199009.851096] uvcvideo: Adding mapping White Balance Component, Auto
 to control f81157d8/13.
 [199009.851102] uvcvideo: Adding mapping White Balance Blue Component to
 control f81156e8/12.
 [199009.851107] uvcvideo: Adding mapping White Balance Red Component to
 control f81156e8/12.
 [199009.851114] uvcvideo: Adding mapping Focus (absolute) to control
 f8115968/6.
 [199009.851122] uvcvideo: Adding mapping Focus, Auto to control f8115af8/8.
 [199009.851129] uvcvideo: Adding mapping Zoom, Absolute to control
 f8115a08/11.
 [199009.851136] uvcvideo: Adding mapping Zoom, Continuous to control
 f8115a30/12.
 [199009.851145] uvcvideo: Adding mapping Privacy to control f8115b20/17.
 [199009.867659] uvcvideo: Probing generic UVC device 1.4.1
 [199009.867676] uvcvideo: Found format MJPEG.
 [199009.867680] uvcvideo: - 352x288 (7.5 fps)
 [199009.867683] uvcvideo: - 160x120 (15.0 fps)
 [199009.867686] uvcvideo: - 176x144 (15.0 fps)
 [199009.867689] uvcvideo: - 320x240 (15.0 fps)
 [199009.867691] uvcvideo: - 640x480 (7.5 fps)
 [199009.867699] uvcvideo: Found a Status endpoint (addr 83).
 [199009.867702] uvcvideo: Found UVC 1.00 device Monitor Webcam (05a9:2649)
 [199009.867709] uvcvideo: Added control f81155d0/2 to device 1.4.1 entity 5
 [199009.867712] uvcvideo: Added control f81155f8/3 to device 1.4.1 entity 5
 [199009.867716] uvcvideo: Added control f8115620/6 to device 1.4.1 entity 5
 [199009.867719] uvcvideo: Added control f8115648/7 to device 1.4.1 entity 5
 [199009.867722] uvcvideo: Added control f8115670/8 to device 1.4.1 entity 5
 [199009.867725] uvcvideo: Added control f8115698/9 to device 1.4.1 entity 5
 [199009.867728] uvcvideo: Added control f81156c0/10 to device 1.4.1 entity 5
 [199009.867732] uvcvideo: Added control f8115710/1 to device 1.4.1 entity 5
 [199009.867735] uvcvideo: Added control f8115760/5 to device 1.4.1 entity 5
 [199009.867739] uvcvideo: Added control f81157b0/11 to device 1.4.1 entity 5
 [199009.867748] uvcvideo: Scanning UVC chain: OT 3 - PU 5 - SU 4 - IT 1
 [199009.867756]  (- XU 7 XU 6)
 [199009.867761] uvcvideo: Found a valid video chain (1 - 3).
 [199009.871924] uvcvideo: UVC non compliance - GET_DEF(PROBE) not
 supported. Enabling workaround.
 [199009.875101] input: Monitor Webcam as
 /devices/pci:00/:00:1a.2/usb5/5-1/5-1.4/5-1.4.1/5-1.4.1:1.0/input/input10
 [199009.875152] uvcvideo: UVC device initialized.
 [199009.875193] usbcore: registered new interface driver uvcvideo
 [199009.875198] USB Video Class driver (v0.1.0)
 [199009.921399] uvcvideo: uvc_v4l2_open
 [199009.921420] uvcvideo: uvc_v4l2_ioctl(VIDIOC_QUERYCAP)
 [199009.921488] uvcvideo: uvc_v4l2_release
 [199009.959207] uvcvideo: uvc_v4l2_open
 [199009.959227] uvcvideo: uvc_v4l2_ioctl(VIDIOC_QUERYCAP)
 [199009.960290] uvcvideo: uvc_v4l2_release
 [199052.679996] uvcvideo: uvc_v4l2_open
 [199052.680038] uvcvideo: uvc_v4l2_ioctl(VIDIOC_QUERYCAP)
 [199052.680055] uvcvideo: uvc_v4l2_ioctl(VIDIOC_ENUM_FMT)
 [199052.680062] uvcvideo: uvc_v4l2_ioctl(VIDIOC_ENUM_FMT)
 [199052.680079] uvcvideo: uvc_v4l2_ioctl(VIDIOC_S_FMT)
 [199052.680086] uvcvideo: Trying format 0x47504a4d (MJPG): 320x240.
 [199052.680090] uvcvideo: Using default 

Re: [Linux-uvc-devel] Image format set with VIDIOC_S_FMT successfully on host PC, yet failed on target ARM dev-board.

2010-03-30 Thread Paulo Assis
Roger Hi,

  usb 1-1: new full speed USB device using s3c2410-ohci and address 5


I think this explains why you only have MJPG on the ARM board.
YUYV requires a higher bandwidth, so it's only available in usb2.

But MJPG should also be available with usb2 and from what I understand
you only have YUYV ?
If this is true then its a bit strange.

Best regards,
Paulo
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


Re: [Linux-uvc-devel] Fwd: Linux-uvc-devel Digest, Vol 45, Issue 18

2010-03-30 Thread Paulo Assis
Hi,

 [r...@hmws:~] lsusb -d 174f:6a31 -v | grep bInterfaceClass
   bInterfaceClass   255 Vendor Specific Class

Your device is not uvc compliant as such it cannot be supported by the
uvc driver.

Try following these instructions:

http://ubuntuforums.org/showthread.php?t=1081667

Best regards,
Paulo
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


Re: [Linux-uvc-devel] OmniVision / I've screwed my system

2010-03-30 Thread Paulo Assis
Jeff Hi,

You should have followed the v4l-dvb wiki:
http://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers

you now have mixed modules (new and old) and this is causing the errors.

get mercurial, the kernel headers and the full v4l tree from linuxtv.

from the top of the hg tree:

make rminstall
make distclean
sudo make menuconfig   --- disable fireDTV or you will end up
with errors when building
make
sudo make install
sudo make unload
sudo modprobe uvcvideo


Best regards,
Paulo

2010/3/30 Jeff Van Epps lord...@lordbah.com:
 I am having trouble getting the OmniVision webcam in the Dell SP2309W
 monitor to work under Ubuntu 9.10. Others have reported that the video
 works right out of the box but they have problems with the audio. I
 don't know why my situation would be any different, but it is.

 Bus 005 Device 006: ID 05a9:2649 OmniVision Technologies, Inc.

 I'd like to include luvcview -L output here but it has scrolled away and
 my attempts to correct the situation have left me unable to run it any
 more. It said there was one supported format, MJPG, at various
 resolutions and frame rate of variously 1/15 or 2/15. But even with -f
 mjpg it would not work. However, we probably can't debug that until I
 can fix my drivers.

 How I messed up my system: I had source downloaded a couple of months
 ago and built it

 make release
 make
 make install

 At this point a modprobe uvcvideo fails:

 FATAL: Error inserting uvcvideo
 (/lib/modules/2.6.31-21-generic/kernel/drivers/media/video/uvc/uvcvideo.ko):
 Unknown symbol in module, or unknown parameter (see dmesg)

 dmesg says:

 [165394.669479] uvcvideo: disagrees about version of symbol video_devdata
 [165394.669486] uvcvideo: Unknown symbol video_devdata
 [165394.670453] uvcvideo: disagrees about version of symbol
 video_unregister_device
 [165394.670457] uvcvideo: Unknown symbol video_unregister_device
 [165394.670751] uvcvideo: disagrees about version of symbol
 video_device_alloc
 [165394.670754] uvcvideo: Unknown symbol video_device_alloc
 [165394.671023] uvcvideo: disagrees about version of symbol
 video_register_device
 [165394.671026] uvcvideo: Unknown symbol video_register_device
 [165394.671754] uvcvideo: disagrees about version of symbol
 video_device_release
 [165394.671757] uvcvideo: Unknown symbol video_device_release

 Wanting to get back to my previous state:

 make rminstall

 and I put back the uvcvideo.ko which was present before I ever compiled
 anything. But modprobe uvcvideo now fails with:

 WARNING: Could not open
 '/lib/modules/2.6.31-21-generic/kernel/drivers/media/video/v4l1-compat.ko':
 No such file or directory
 WARNING: Could not open
 '/lib/modules/2.6.31-21-generic/kernel/drivers/media/video/videodev.ko':
 No such file or directory

 Apparently I did something wrong. How can I get back to some sane state?


 --
 Jeff Van Epps


 ___
 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


Re: [Linux-uvc-devel] OmniVision / I've screwed my system

2010-03-30 Thread Paulo Assis
Jeff Hi,

2010/3/30 Jeff Van Epps lord...@lordbah.com:
 Thanks. Just what I needed. That gets me back to where I was before.

 BTW, I wrote a poor request for help. I omitted these items:
     my kernel is 2.6.31-21-generic
    the original problem was that using Cheese 2.28.1 and all other
 programs I've tried, I got I/O error
    before I tried to fix anything, the uvcvideo driver version was 256

I wouldn't trust the driver version much, I'm not sure if this is
updated between kernel releases.


 $ luvcview -L
 luvcview 0.2.4

 SDL information:
  Video driver: x11
  A window manager is available
 Device information:
  Device path:  /dev/video0
 /dev/video0 does not support read i/o
 { pixelformat = 'MJPG', description = 'MJPEG' }
 { discrete: width = 352, height = 288 }
    Time interval between frame: 2/15,
 { discrete: width = 160, height = 120 }
    Time interval between frame: 1/15,
 { discrete: width = 176, height = 144 }
    Time interval between frame: 1/15,
 { discrete: width = 320, height = 240 }
    Time interval between frame: 1/15,
 { discrete: width = 640, height = 480 }
    Time interval between frame: 2/15,


humm, strange values here, most cameras will support several fps
values for each resolution.


 $ luvcview -f mjpg
 luvcview 0.2.4

 SDL information:
  Video driver: x11
  A window manager is available
 Device information:
  Device path:  /dev/video0
 Stream settings:
  Frame format: MJPG
  Frame size:   640x480
  Frame rate:   15/2 fps (requested frame rate 30 fps is not supported
 by device)
 Unable to start capture: Input/output error
 Error grabbing
 Cleanup done. Exiting ...

 $ luvcview -f mjpg -i 7.5
 luvcview 0.2.4

 Invalid frame rate '7.5' specified with -i. Only integers are supported.
 Aborting.


luvcview doesn't support float values, try using guvcview (
http://guvcview.berlios.de ), it should set fps automatically, and you
can change the device parameters from the gui.



 Okay, guess I have to step down the resolution.

 $ luvcview -f mjpg -s 320x240 -i 15
 luvcview 0.2.4

 SDL information:
  Video driver: x11
  A window manager is available
 Device information:
  Device path:  /dev/video0
 Stream settings:
  Frame format: MJPG
  Frame size:   320x240
  Frame rate:   15 fps
 Unable to start capture: Input/output error
 Error grabbing
 Cleanup done. Exiting ...


can you increase the driver verbosity and check dmesg output for
uvcvideo errors/warnings ?
do it like this:
create a file named uvcvideo.conf in /etc/modprobe.d
add the following line:
options uvcvideo trace=255

now run:
sudo rmmod uvcvideo
sudo modprobe uvcvideo

now launch guvcview or luvcview and check dmesg output.



 Bah.

 $ cheese -v
 Cheese 2.28.1
 Probing devices with HAL...
 Found device 05a9:2649, getting capabilities...
 Detected v4l2 device: Monitor Webcam
 Driver: uvcvideo, version: 256
 Capabilities: 0x0401

 Probing supported video formats...
 libv4l2: error turning on stream: Input/output error

 Okay, I don't know why this still saves uvcvideo version 256, same as it
 did before. Where is that coming from?


Like I said I wouldn't trust the version info much


 Most significantly, why the I/O error?


Please check dmesg, some cameras are buggy and may need a workaround
to work properly, others are so buggy that they just wont work at all.


 (Wow. menuconfig isn't at all daunting, is it? Yikes. Finally found
 FireDTV under Multimedia Support / DVB/ATSC adapters and excluded it.)

Sorry, I should have told you were to find it, I'm glad you figure it out. :-)


Regards,
Paulo


 Paulo Assis wrote:
 Jeff Hi,

 You should have followed the v4l-dvb wiki:
 http://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers

 you now have mixed modules (new and old) and this is causing the errors.

 get mercurial, the kernel headers and the full v4l tree from linuxtv.

 from the top of the hg tree:

 make rminstall
 make distclean
 sudo make menuconfig       --- disable fireDTV or you will end up
 with errors when building
 make
 sudo make install
 sudo make unload
 sudo modprobe uvcvideo




 ___
 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


Re: [Linux-uvc-devel] uvcvideo broke my vloopback module?

2010-03-05 Thread Paulo Assis
Bart Hi,
The errors you are getting are usually from old modules still laying around.
try following the v4l-dvb installation how-to:
http://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers#First_Use:_Out_with_the_Old.2C_In_with_the_New

take special attention to the Special case (compressed kernel modules)
in the Unresolved Symbols section


Best regards,
Paulo

2010/3/5 Bart Koppe b...@a-bort.org:
 Hi List,

 I'm making a media installation. One screen shows video streams from several
 webcams in the world, another screen shows you watching these streams.

 Basically i have two issues that I need to solve. One caused by the install
 (or something I did wrong during that process)
 To make my Microsoft Lifecam Cinema HD (not really a fan of MS, but that's
 what i got) stream live video I installed the dev version of uvc-video.
 After I booted my PC this morning unfortunatly vloopback stopped working.

 The other issue I could ask in a separate email, basically i can record the
 webcam output, but not stream it.

 Thanks,

 Bart



 Some outputs according vloopback (the suggestions I found elsewhere to just
 reboot don't work):

 # modprobe vloopback
 FATAL: Error inserting vloopback
 (/lib/modules/2.6.26-2-686/kernel/drivers/misc/vloopback.ko): Unknown symbol
 in module, or unknown parameter (see dmesg)

 dmesg shows:
 [ 2216.742102] vloopback: disagrees about version of symbol video_devdata
 [ 2216.742102] vloopback: Unknown symbol video_devdata
 [ 2216.742102] vloopback: disagrees about version of symbol
 video_unregister_device
 [ 2216.742102] vloopback: Unknown symbol video_unregister_device
 [ 2216.742205] vloopback: disagrees about version of symbol
 video_device_alloc
 [ 2216.742210] vloopback: Unknown symbol video_device_alloc
 [ 2216.742293] vloopback: disagrees about version of symbol
 video_register_device
 [ 2216.742298] vloopback: Unknown symbol video_register_device
 [ 2216.742370] vloopback: disagrees about version of symbol
 video_device_release
 [ 2216.742370] vloopback: Unknown symbol video_device_release

 # cat /proc/version
 Linux version 2.6.26-2-686 (Debian 2.6.26-21lenny3) (da...@debian.org) (gcc
 version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 SMP Wed Feb 10
 08:59:21 UTC 2010

 # cat /proc/modules
 nvidia 7086148 34 - Live 0xf942f000 (P)
 agpgart 28808 1 nvidia, Live 0xf8a6d000
 tun 8292 1 - Live 0xf8a5
 ppdev 6468 0 - Live 0xf8a4d000
 lp 8164 0 - Live 0xf8a4a000
 ipv6 235396 24 - Live 0xf8c73000
 powernow_k8 12036 0 - Live 0xf89fc000
 cpufreq_powersave 1856 0 - Live 0xf89e3000
 cpufreq_userspace 3172 0 - Live 0xf8945000
 cpufreq_conservative 5960 0 - Live 0xf8a0c000
 cpufreq_ondemand 6476 2 - Live 0xf89f6000
 cpufreq_stats 3776 0 - Live 0xf883
 freq_table 4224 3 powernow_k8,cpufreq_ondemand,cpufreq_stats, Live
 0xf89f9000
 fuse 42908 1 - Live 0xf8a56000
 compat_ioctl32 1248 0 - Live 0xf8918000
 loop 12748 0 - Live 0xf8a07000
 parport_pc 22500 1 - Live 0xf8a0
 parport 30988 3 ppdev,lp,parport_pc, Live 0xf89da000
 snd_hda_intel 325720 0 - Live 0xf8a9
 snd_usb_audio 70272 0 - Live 0xf8a1
 snd_usb_lib 13472 1 snd_usb_audio, Live 0xf89d5000
 shpchp 25528 0 - Live 0xf89ba000
 snd_pcm 62660 2 snd_hda_intel,snd_usb_audio, Live 0xf89e5000
 snd_seq_midi 5728 0 - Live 0xf8947000
 pci_hotplug 23460 1 shpchp, Live 0xf89a6000
 pcspkr 2432 0 - Live 0xf88b6000
 snd_seq_midi_event 6432 1 snd_seq_midi, Live 0xf898c000
 snd_rawmidi 18496 2 snd_usb_lib,snd_seq_midi, Live 0xf89b4000
 snd_hwdep 6212 1 snd_usb_audio, Live 0xf8951000
 snd_seq 41456 2 snd_seq_midi,snd_seq_midi_event, Live 0xf89c3000
 snd_timer 17800 2 snd_pcm,snd_seq, Live 0xf89ae000
 uvcvideo 51692 0 - Live 0xf897e000
 snd_seq_device 6380 3 snd_seq_midi,snd_rawmidi,snd_seq, Live 0xf894e000
 videodev 34656 1 uvcvideo, Live 0xf899c000
 snd 45636 8
 snd_hda_intel,snd_usb_audio,snd_pcm,snd_rawmidi,snd_hwdep,snd_seq,snd_timer,snd_seq_device,
 Live 0xf898f000
 v4l1_compat 11524 2 uvcvideo,videodev, Live 0xf894a000
 snd_page_alloc 7816 2 snd_hda_intel,snd_pcm, Live 0xf893e000
 soundcore 6368 1 snd, Live 0xf8942000
 ftdi_sio 44296 1 - Live 0xf8955000
 usbserial 26472 3 ftdi_sio, Live 0xf88ae000
 i2c_core 19828 2 nvidia,videodev, Live 0xf8895000
 wmi 6440 0 - Live 0xf88ab000
 button 6096 0 - Live 0xf88a8000
 evdev 8000 4 - Live 0xf884b000
 ext3 105576 2 - Live 0xf8963000
 jbd 39476 1 ext3, Live 0xf8933000
 mbcache 7108 1 ext3, Live 0xf8865000
 sd_mod 22200 4 - Live 0xf8911000
 usbhid 35904 0 - Live 0xf8907000
 hid 33184 1 usbhid, Live 0xf88fd000
 ff_memless 4392 1 usbhid, Live 0xf8892000
 ide_pci_generic 3908 0 [permanent], Live 0xf8852000
 amd74xx 7752 0 [permanent], Live 0xf8824000
 ide_core 96168 2 ide_pci_generic,amd74xx, Live 0xf891a000
 forcedeth 45072 0 - Live 0xf889b000
 ata_generic 4676 0 - Live 0xf884f000
 ahci 23596 3 - Live 0xf885e000
 libata 140448 2 ata_generic,ahci, Live 0xf88d9000
 scsi_mod 129548 2 sd_mod,libata, Live 0xf88b8000
 dock 8304 1 libata, Live 

Re: [Linux-uvc-devel] uvcvideo broke my vloopback module?

2010-03-05 Thread Paulo Assis
Bart,
In your case I would first remove the installed modules:
make rminstall

I would then check for any extra vloopback module still laying around
and remove it.

Then proceed with a new installation following the how-to,
and install vloopback from source:
http://www.lavrsen.dk/twiki/bin/view/Motion/VideoFourLinuxLoopbackDevice

Best regards,
Paulo

2010/3/5 Bart Koppe b...@a-bort.org:
 Hi Paulo,

 I now tried:
 # for file in `find /lib/modules -name *.ko`; do if [[ -e $file.gz ]];
 then echo $file.gz should be removed; fi; done
 This returns nothing.
 To be sure I also did:
 # find / -name *.ko.gz
 but it also does not return anything..

 I anyway tried to unload and then load modules. Basically I used to only
 load vloopback, now also uvcvideo. Unloading and loading in different order
 does not solve it to.

 The same message appears (which is indeed similar to the example message
 about compressed kernel modules conflicting)

 Thanks,

 bart


 On 03/05/2010 10:30 AM, Paulo Assis wrote:

 Bart Hi,
 The errors you are getting are usually from old modules still laying
 around.
 try following the v4l-dvb installation how-to:

 http://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers#First_Use:_Out_with_the_Old.2C_In_with_the_New

 take special attention to the Special case (compressed kernel modules)
 in the Unresolved Symbols section


 Best regards,
 Paulo

 2010/3/5 Bart Koppeb...@a-bort.org:


 Hi List,

 I'm making a media installation. One screen shows video streams from
 several
 webcams in the world, another screen shows you watching these streams.

 Basically i have two issues that I need to solve. One caused by the
 install
 (or something I did wrong during that process)
 To make my Microsoft Lifecam Cinema HD (not really a fan of MS, but
 that's
 what i got) stream live video I installed the dev version of uvc-video.
 After I booted my PC this morning unfortunatly vloopback stopped working.

 The other issue I could ask in a separate email, basically i can record
 the
 webcam output, but not stream it.

 Thanks,

 Bart



 Some outputs according vloopback (the suggestions I found elsewhere to
 just
 reboot don't work):

 # modprobe vloopback
 FATAL: Error inserting vloopback
 (/lib/modules/2.6.26-2-686/kernel/drivers/misc/vloopback.ko): Unknown
 symbol
 in module, or unknown parameter (see dmesg)

 dmesg shows:
 [ 2216.742102] vloopback: disagrees about version of symbol video_devdata
 [ 2216.742102] vloopback: Unknown symbol video_devdata
 [ 2216.742102] vloopback: disagrees about version of symbol
 video_unregister_device
 [ 2216.742102] vloopback: Unknown symbol video_unregister_device
 [ 2216.742205] vloopback: disagrees about version of symbol
 video_device_alloc
 [ 2216.742210] vloopback: Unknown symbol video_device_alloc
 [ 2216.742293] vloopback: disagrees about version of symbol
 video_register_device
 [ 2216.742298] vloopback: Unknown symbol video_register_device
 [ 2216.742370] vloopback: disagrees about version of symbol
 video_device_release
 [ 2216.742370] vloopback: Unknown symbol video_device_release

 # cat /proc/version
 Linux version 2.6.26-2-686 (Debian 2.6.26-21lenny3) (da...@debian.org)
 (gcc
 version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 SMP Wed Feb 10
 08:59:21 UTC 2010

 # cat /proc/modules
 nvidia 7086148 34 - Live 0xf942f000 (P)
 agpgart 28808 1 nvidia, Live 0xf8a6d000
 tun 8292 1 - Live 0xf8a5
 ppdev 6468 0 - Live 0xf8a4d000
 lp 8164 0 - Live 0xf8a4a000
 ipv6 235396 24 - Live 0xf8c73000
 powernow_k8 12036 0 - Live 0xf89fc000
 cpufreq_powersave 1856 0 - Live 0xf89e3000
 cpufreq_userspace 3172 0 - Live 0xf8945000
 cpufreq_conservative 5960 0 - Live 0xf8a0c000
 cpufreq_ondemand 6476 2 - Live 0xf89f6000
 cpufreq_stats 3776 0 - Live 0xf883
 freq_table 4224 3 powernow_k8,cpufreq_ondemand,cpufreq_stats, Live
 0xf89f9000
 fuse 42908 1 - Live 0xf8a56000
 compat_ioctl32 1248 0 - Live 0xf8918000
 loop 12748 0 - Live 0xf8a07000
 parport_pc 22500 1 - Live 0xf8a0
 parport 30988 3 ppdev,lp,parport_pc, Live 0xf89da000
 snd_hda_intel 325720 0 - Live 0xf8a9
 snd_usb_audio 70272 0 - Live 0xf8a1
 snd_usb_lib 13472 1 snd_usb_audio, Live 0xf89d5000
 shpchp 25528 0 - Live 0xf89ba000
 snd_pcm 62660 2 snd_hda_intel,snd_usb_audio, Live 0xf89e5000
 snd_seq_midi 5728 0 - Live 0xf8947000
 pci_hotplug 23460 1 shpchp, Live 0xf89a6000
 pcspkr 2432 0 - Live 0xf88b6000
 snd_seq_midi_event 6432 1 snd_seq_midi, Live 0xf898c000
 snd_rawmidi 18496 2 snd_usb_lib,snd_seq_midi, Live 0xf89b4000
 snd_hwdep 6212 1 snd_usb_audio, Live 0xf8951000
 snd_seq 41456 2 snd_seq_midi,snd_seq_midi_event, Live 0xf89c3000
 snd_timer 17800 2 snd_pcm,snd_seq, Live 0xf89ae000
 uvcvideo 51692 0 - Live 0xf897e000
 snd_seq_device 6380 3 snd_seq_midi,snd_rawmidi,snd_seq, Live 0xf894e000
 videodev 34656 1 uvcvideo, Live 0xf899c000
 snd 45636 8

 snd_hda_intel,snd_usb_audio,snd_pcm,snd_rawmidi,snd_hwdep,snd_seq,snd_timer,snd_seq_device,
 Live 0xf898f000

  1   2   3   >