From: Jean-Francois Moine <moinejf@free.fr>
To: Xavion <xavion.0@gmail.com>, Hans de Goede <hdegoede@redhat.com>
Cc: "Linux Kernel (Media) ML" <linux-media@vger.kernel.org>
Subject: Re: My Microdia (SN9C201) webcam doesn't work properly in Linux anymore
Date: Wed, 7 Mar 2012 16:32:24 +0100 [thread overview]
Message-ID: <20120307163224.412b4d2f@tele> (raw)
In-Reply-To: <CAKnx8Y4z6Ai14RRdG6zd=CEDfHqfNr6Mx=x=XtfU9=KZEwmaNA@mail.gmail.com>
On Wed, 7 Mar 2012 09:59:28 +1100
Xavion <xavion.0@gmail.com> wrote:
> >> root@Desktop /etc/motion # tail /var/log/kernel.log
> >> Mar 6 08:34:17 Desktop kernel: [ 7240.125167] gspca_main: ISOC
> >> data error: [0] len=0, status=-18
> >> ...
> >
> > Hmm, error -18 is EXDEV, which according to
> > Documentation/usb/error-codes.txt is:
> >
> > -EXDEV ISO transfer only partially completed
> > (only set in iso_frame_desc[n].status, not
> > urb->status)
> >
> > I've seen those before, and I think we should simply ignore them rather then
> > log an error for them. Jean-Francois, what do you think?
>
> I'll let you guys decide what to do about this, but remember that I'm
> here to help if you need more testing done. If you want my opinion,
> I'd be leaning towards trying to prevent any errors that appear
> regularly.
Hi,
It seems that the webcams handled by the driver sn9c20x work the same
as the ones handled by sonixj. In this last driver, I adjust the JPEG
compression to avoid the errors "USB FIFO full", and I think that these
errors also raise the URB error -18 with the sn9c20x. I will need some
time to put a same code into the sn9c20x, then I'd be glad to have it
tested.
There was an other problem in the driver sonixj: the end of frame
marker was not always at the right place. Xavion, as you have
ms-windows, may you do some USB traces with this system? I need a
capture sequence of about 15 seconds (not more) with big luminosity
changes.
> This isn't even the proper SXGA resolution, which is supposed to be
> 1280x1024. The Sonix website claims that their SN9C201 webcam can
> provide up to a 1.3 MP (SXGA) video size! Do you happen to know of
> any inexpensive webcams that are capable of true SXGA in Linux?
>
> `--> lsusb | grep Cam
> Bus 001 Device 006: ID 0c45:627b Microdia PC Camera (SN9C201 + OV7660)
The sensor ov7660 can do VGA only (640x480).
Otherwise, I uploaded a new gspca test version (2.15.3) with the JPEG compression control (default 80%). May you try it?
--
Ken ar c'hentañ | ** Breizh ha Linux atav! **
Jef | http://moinejf.free.fr/
next prev parent reply other threads:[~2012-03-07 15:30 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAKnx8Y7BAyR8A5r-eL13MVgZO2DcKndP3v-MTfkQdmXPvjjGJg@mail.gmail.com>
2012-03-03 0:23 ` My Microdia (SN9C201) webcam doesn't work properly in Linux anymore Xavion
2012-03-03 7:48 ` Hans de Goede
2012-03-04 0:25 ` Xavion
2012-03-04 7:25 ` Jean-Francois Moine
2012-03-04 21:58 ` Xavion
2012-03-05 8:33 ` Hans de Goede
2012-03-05 12:03 ` Jean-Francois Moine
2012-03-05 14:43 ` Hans de Goede
2012-03-05 17:27 ` Jean-Francois Moine
2012-03-06 0:44 ` Xavion
2012-03-06 9:40 ` Hans de Goede
2012-03-06 22:59 ` Xavion
2012-03-06 23:44 ` Theodore Kilgore
2012-03-08 5:15 ` Xavion
2012-03-08 6:16 ` Theodore Kilgore
2012-03-08 23:19 ` Xavion
2012-03-07 15:32 ` Jean-Francois Moine [this message]
2012-03-08 5:34 ` Xavion
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120307163224.412b4d2f@tele \
--to=moinejf@free.fr \
--cc=hdegoede@redhat.com \
--cc=linux-media@vger.kernel.org \
--cc=xavion.0@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox