From: Tim Bird <tim.bird@am.sony.com>
To: Jim Paris <jim@jtan.com>
Cc: Antonio Ospite <ospite@studenti.unina.it>,
linux-media@vger.kernel.org, moinejf@free.fr
Subject: Re: [Fwd: How to debug problem with Playstation Eye webcam?]
Date: Tue, 1 Sep 2009 16:10:12 -0700 [thread overview]
Message-ID: <4A9DA9D4.6010506@am.sony.com> (raw)
In-Reply-To: <20090829163211.GA23792@psychosis.jim.sh>
Jim and Antonio,
Thanks very much for the suggestions! I got it working with
luvcview! See below for some details.
Jim Paris wrote:
> Antonio Ospite wrote:
>> before doing any further investigation about code in 2.6.29.4, forgive
>> the silly question: is using a more recent kernel/driver an option for
>> you?
>>
>> I've just tried latest code from v4l-dvb and it "just works" with the
>> applications I use. You can get the mercurial repository here
>> http://linuxtv.org/hg/v4l-dvb
>>
>> I know that there was a regression in 2.6.30 (not sure about 2.6.29.4)
>> and a patch has been sent by Jim Paris to fix it, I don't know if it is
>> already in a 2.6.30.x release, tho. The change is this one:
>> http://patchwork.kernel.org/patch/42114/
>
> I believe 2.6.29.4 should be okay. However, the Fedora folks might
> have pulled some newer patches which also added the bug. You might
> try a stock 2.6.29.4 kernel instead of Fedora's, or just apply the
> patch that Antonio refers to (if thta's the problem).
I found that Fedora 11 did indeed have the code that the patch fixes.
That is, it was using a payload length of 2040 instead of 2048.
I downloaded the fedora kernel source and rebuilt the kernel
with the patch applied.
> If your kernel does have the same bug, the symptoms would be as you
> described, with the camera's red LED turning on during an attempted
> capture. Do you get the red LED?
Yes, I get the red LED.
> You would also probably see the same problem, regardless of kernel
> version, if the camera were connected to a full-speed instead of
> high-speed USB port.
I checked, and the USB port is high speed and the camera connects
at high speed.
usbtree reports:
/: Bus 05.Port 1: Dev 1, Class=root_hub, Drv=uhci_hcd/2p, 12M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Drv=uhci_hcd/2p, 12M
|_ Port 2: Dev 2, If 0, Prod=Dell USB Mouse, Class=HID, Drv=usbhid, 1.5M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Drv=uhci_hcd/2p, 12M
|_ Port 2: Dev 2, If 0, Prod=DELL USB Keyboard, Class=HID, Drv=usbhid, 1.5M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Drv=uhci_hcd/2p, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Drv=ehci_hcd/8p, 480M
|_ Port 8: Dev 10, If 0, Prod=USB Camera-B4.04.27.1, Class=vend., Drv=ov534, 480M
|_ Port 8: Dev 10, If 1, Prod=, Class=audio, Drv=snd-usb-audio, 480M
|_ Port 8: Dev 10, If 2, Prod=, Class=audio, Drv=snd-usb-audio, 480M
>> I tested the driver with "mplayer" and "luvcview" during development,
>> and I am now using it with "cheese", I've never run v4l-test.
>
> Agreed. luvcview is probably the easiest to test with, and I can
> provide command lines for mplayer, ffmpeg, etc, if necessary.
I had 2 test programs. One runs OK and one still hangs (probably
a bug on my part since I'm new with v4l.)
Cheese and luvcview work great.
Thanks very much for your help!
-- Tim
=============================
Tim Bird
Architecture Group Chair, CE Linux Forum
Senior Staff Engineer, Sony Corporation of America
=============================
prev parent reply other threads:[~2009-09-01 23:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-29 1:10 [Fwd: How to debug problem with Playstation Eye webcam?] Andy Walls
2009-08-29 15:35 ` Antonio Ospite
2009-08-29 16:32 ` Jim Paris
2009-09-01 23:10 ` Tim Bird [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=4A9DA9D4.6010506@am.sony.com \
--to=tim.bird@am.sony.com \
--cc=jim@jtan.com \
--cc=linux-media@vger.kernel.org \
--cc=moinejf@free.fr \
--cc=ospite@studenti.unina.it \
/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