From: Jean-Francois Moine <moinejf@free.fr>
To: Kyle Baker <kyleabaker@gmail.com>
Cc: linux-media@vger.kernel.org
Subject: Re: Microsoft VX-1000 Microphone Drivers Crash in x86_64
Date: Mon, 12 Jul 2010 10:18:02 +0200 [thread overview]
Message-ID: <20100712101802.08527e82@tele> (raw)
In-Reply-To: <AANLkTinnNhJ-DoFWfU8U5NuTj_p48SefYzWWAxZqiUb-@mail.gmail.com>
On Sun, 11 Jul 2010 17:18:53 -0400
Kyle Baker <kyleabaker@gmail.com> wrote:
> Is the previous maintainer, Michel Xhaard, still working on this
> driver at all? I wonder if he might be able to help identify the
> problem or narrow it down.
>
> Which function is called when I open Cheese or other video
> applications? Initializing the webcam appears to be correct, however,
> sd_start() or the one that starts the video capture appears to be
> toggling or changing some setting. If I knew of a way, I would insert
> more debug messages to help pinpoint the place where the microphone
> breaks along with some boolean to show that its working or not.
Hi,
Michel Xhaard gave me all the gspca stuff and stopped working on it two
years ago. He did not even tell me which of his webcams were working
with gspca v2...
The video capture is started in sd_start(). Checking all sequences
again, I found that the GPIO is also set near line 1752. May you comment
it and test?
msleep(100);
// reg_w1(gspca_dev, 0x02, 0x62);
break;
Otherwise, here is a way to know the exact bad USB exchange.
First, in sonixj.c, add a long delay in the register write functions
just before the debug messages:
- line 1350
msleep(1000); // add this
PDEBUG(D_USBO, "reg_w1 [%04x] = %02x", value, data);
- line 1365
msleep(1000); // add this
PDEBUG(D_USBO, "reg_w [%04x] = %02x %02x ..",
value, buffer[0], buffer[1]);
After installation, connect the webcam and set the gspca debug level to
0xcf:
echo 0xcf > /sys/module/gspca_main/parameters/debug
Check if the webcam microphone is working, and look at the kernel
messages by:
tail -f /var/log/messages
Then, start the video capture. You should see each USB exchange in the
'tail' window. When the audio stops, the bad exchange is the one just
printed...
If the audio stopped before any exchange, this could mean that something
went wrong when setting the alternate setting or on URB creation.
BTW, your webcam is connected to a USB 1.1 port with the driver
ohci_hcd. Have you some USB 2.0 port that you could use?
Best regards.
--
Ken ar c'hentañ | ** Breizh ha Linux atav! **
Jef | http://moinejf.free.fr/
next prev parent reply other threads:[~2010-07-12 8:17 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-05 21:40 Microsoft VX-1000 Microphone Drivers Crash in x86_64 Kyle Baker
2010-07-07 5:44 ` Jean-Francois Moine
2010-07-07 6:57 ` Kyle Baker
2010-07-07 9:06 ` Jean-Francois Moine
2010-07-07 21:32 ` Kyle Baker
2010-07-08 10:14 ` Jean-Francois Moine
2010-07-08 22:54 ` Kyle Baker
2010-07-09 18:03 ` Jean-Francois Moine
2010-07-09 21:04 ` Kyle Baker
2010-07-10 9:36 ` Jean-Francois Moine
2010-07-11 2:30 ` Kyle Baker
2010-07-11 13:50 ` Jean-Francois Moine
[not found] ` <AANLkTinnNhJ-DoFWfU8U5NuTj_p48SefYzWWAxZqiUb-@mail.gmail.com>
2010-07-12 8:18 ` Jean-Francois Moine [this message]
2010-07-12 9:28 ` Kyle Baker
2010-07-12 11:21 ` Jean-Francois Moine
2010-07-12 23:01 ` Kyle Baker
2010-07-13 19:13 ` Jean-Francois Moine
2010-07-13 23:59 ` Kyle Baker
2010-07-14 3:01 ` Kyle Baker
[not found] ` <AANLkTikt6QOsrSB3XlgpjQm5wgtfFXlaiqyWsTFDH6PF@mail.gmail.com>
[not found] ` <20100714123145.01259845@tele>
2010-07-14 10:59 ` Kyle Baker
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=20100712101802.08527e82@tele \
--to=moinejf@free.fr \
--cc=kyleabaker@gmail.com \
--cc=linux-media@vger.kernel.org \
/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