From: Jean-Francois Moine <moinejf@free.fr>
To: "Németh Márton" <nm127@freemail.hu>,
"Stéphane Marguet" <smarguet@gmail.com>
Cc: V4L Mailing List <linux-media@vger.kernel.org>
Subject: Re: gspca_pac7302: sporatdic problem when plugging the device
Date: Mon, 11 Jan 2010 09:10:30 +0100 [thread overview]
Message-ID: <20100111091030.298cedd7@tele> (raw)
In-Reply-To: <4B4A386D.3080106@freemail.hu>
[-- Attachment #1: Type: text/plain, Size: 365 bytes --]
Sorry, I forgot to attach the patch.
> In some usbsnoop files I have, the index 0x48 is not loaded. May you
> try the attached patch (skip the index 0x48 and remove the delay).
>
> (Stéphane, est-ce que tu peux voir aussi ce que ça donne chez toi?)
Regards.
--
Ken ar c'hentañ | ** Breizh ha Linux atav! **
Jef | http://moinejf.free.fr/
[-- Attachment #2: pac7302.pat --]
[-- Type: application/octet-stream, Size: 826 bytes --]
diff -r 8c11be4edf33 linux/drivers/media/video/gspca/pac7302.c
--- a/linux/drivers/media/video/gspca/pac7302.c Sun Jan 10 20:36:53 2010 +0100
+++ b/linux/drivers/media/video/gspca/pac7302.c Mon Jan 11 09:01:24 2010 +0100
@@ -388,7 +388,7 @@
0xa4, 0xb8, 0xe0, 0x2a, 0xf6, 0x00, 0x00, 0x00,
0x00, 0x1e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0xfc, 0x00, 0xf2, 0x1f, 0x04, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0xc0, 0xc0, 0x10, 0x00, 0x00,
+ SKIP, 0x00, 0x00, 0xc0, 0xc0, 0x10, 0x00, 0x00,
0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x40, 0xff, 0x03, 0x19, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
@@ -419,7 +419,6 @@
PDEBUG(D_ERR, "reg_w_buf(): "
"Failed to write registers to index 0x%x, error %i",
index, ret);
- msleep(4); /* don't go too quickly */
return ret;
}
next prev parent reply other threads:[~2010-01-11 8:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-10 16:58 gspca_pac7302: sporatdic problem when plugging the device Németh Márton
2010-01-10 19:48 ` Jean-Francois Moine
2010-01-10 20:28 ` Németh Márton
2010-01-11 8:09 ` Jean-Francois Moine
2010-01-11 8:10 ` Jean-Francois Moine [this message]
2010-01-11 18:07 ` Németh Márton
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=20100111091030.298cedd7@tele \
--to=moinejf@free.fr \
--cc=linux-media@vger.kernel.org \
--cc=nm127@freemail.hu \
--cc=smarguet@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