From: Antoine Jacquet <royale@zerezo.com>
To: thomas.schorpp@gmail.com
Cc: linux-media@vger.kernel.org
Subject: Re: zr364xx: Aiptek DV8800 (neo): 08ca:2062: Fails on subsequent zr364xx_open()
Date: Sun, 14 Feb 2010 23:21:33 +0100 [thread overview]
Message-ID: <4B78776D.5050007@zerezo.com> (raw)
In-Reply-To: <4B7567CB.20609@gmail.com>
Hi,
>> Someone reported similar behavior recently, and was apparently able to
>> fix the issue by adding more delay between open/close sequences.
>
> No search tags to find it on the list, can You remember device model?
Yes, this was an off-list discussion, available here:
http://royale.zerezo.com/forum/viewtopic.php?t=355
> Didn't work, same -110 errors, sorry, no v4l-dvb git here, vdr
> production machine on 2.6.32.7.
Just checked and the differences in the zr364xx driver are minor.
Would be better if you could work on LinuxTV hg/git tree so we have the
same basis for patches.
> 1. Patch with optimized delay below, slow but works, 1st try was
> delaying subsequent msg at open sequence i=6, worked until the last 2
> open() before capture start.
>> From the windows snoopy log I sent yesterday I can see only 1-2 URBs
>> with relevant delay of ~1s but
> cannot see the sequence point.
Ok this is a bit hardcore but nice if it works.
What do you mean by "until the last 2 open()"?
Also, you may want to try with simpler tools like "dd" to do only one
clean open/close.
Ekiga/Cheese/Skype tend to do many open/close and this may not be the
ideal tools for debugging, but great to trigger the bugs ;-)
> What is error -22, can not find it in errno.h?
I think it's -EINVAL.
> 2. Picture with (640->320) lines alignment error with ekiga+cheese
> *attached*, wether cam is configured internally for 640x480 or 320x240,
> not affecting.
> setting the driver to mode=2 fails with libv4l jpeg decoding errors. I
> try to correct this.
Do you know if the Windows driver support this mode?
If so, it would be helpful to have the snoop too.
> 3. Driver oops on modprobe -r or device firmware crash, I need to unplug
> first or null pointer fault occours (mutex locks), see below
Ok that's bad, let me know if you find the issue.
Regards,
Antoine
--
Antoine "Royale" Jacquet
http://royale.zerezo.com
prev parent reply other threads:[~2010-02-14 22:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-11 9:02 zr364xx: Aiptek DV8800 (neo): 08ca:2062: Fails on subsequent zr364xx_open() thomas schorpp
2010-02-11 15:03 ` Antoine Jacquet
2010-02-12 14:38 ` thomas schorpp
2010-02-14 22:21 ` Antoine Jacquet [this message]
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=4B78776D.5050007@zerezo.com \
--to=royale@zerezo.com \
--cc=linux-media@vger.kernel.org \
--cc=thomas.schorpp@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.