pe, 2012-06-15 kello 23:41 -0500, Jonathan Nieder kirjoitti:
> Martin-Éric Racine wrote:
> > usb 1-7: new high-speed USB device number 3 using ehci_hcd
> [...]
> > usb 1-7: New USB device found, idVendor=0ac8, idProduct=0321
> > usb 1-7: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> > usb 1-7: Product: USB2.0 Web Camera
> > usb 1-7: Manufacturer: Vimicro Corp.
> [...]
> > Linux media interface: v0.10
> > Linux video capture interface: v2.00
> > gspca_main: v2.14.0 registered
> > gspca_main: vc032x-2.14.0 probing 0ac8:0321
> > usbcore: registered new interface driver vc032x
>
> The device of interest is discovered.
>
> > gspca_main: ISOC data error: [36] len=0, status=-71
> > gspca_main: ISOC data error: [65] len=0, status=-71
> [...]
> > gspca_main: ISOC data error: [48] len=0, status=-71
> > video_source:sr[3246]: segfault at 0 ip (null) sp ab36de1c error 14 in cheese[8048000+21000]
> > gspca_main: ISOC data error: [17] len=0, status=-71
>
> (The above data error spew starts around t=121 seconds and continues
> at a rate of about 15 messages per second. The segfault is around
> t=154.)
> The vc032x code hasn't changed since 3.4.1, so please report your
> symptoms to Jean-François Moine <[email protected]>, cc-ing
> [email protected], [email protected], and either
> me or this bug log so we can track it. Be sure to mention:
>
> - steps to reproduce, expected result, actual result, and how the
> difference indicates a bug (should be simple enough in this case)
1. Ensure that user 'myself' is a member of the 'video' group.
2. Launch the webcam application Cheese from the GNOME desktop.
Expected result: Cheese displays whatever this laptop's camera sees.
Actual result: Cheese crashes while attempting to access the camera.
> - how reproducible the bug is (100%?)
100%
> - which kernel versions you have tested and result with each (what is
> the newest kernel version that worked?)
It probably was 3.1.0 or some earlier 3.2 release (the upcoming Debian
will release with 3.2.x; 3.4 was only used here for testing purposes),
but I wouldn't know for sure since I don't use my webcam too often.
> - a log from booting and reproducing the bug, or a link to one
See http://bugs.debian.org/677533
> - any other weird symptoms or observations
When testing the camera using the closed-source Skype 4.x compiled for
Debian, the video preferences dialog shows that a USB 2.0 camera is
found at /dev/video0. However, no image is shown. This would confirm the
assumption that the issue lies with the kernel video driver, rather than
with the Gstreamer framework that Cheese uses to access the camera.
> Hopefully someone upstream will have ideas for commands to run or
> patches to apply to further track down the cause.
Let's indeed hope so. Thanks for providing these instructions!
Regards,
Martin-Éric
(cc-ing Hans de Goede, the new gspca maintainer. Sorry I missed that before.)
>> Martin-Éric Racine wrote:
>>> usb 1-7: new high-speed USB device number 3 using ehci_hcd
[...]
>>> usb 1-7: Product: USB2.0 Web Camera
>>> usb 1-7: Manufacturer: Vimicro Corp.
[...]
>>> gspca_main: v2.14.0 registered
>>> gspca_main: vc032x-2.14.0 probing 0ac8:0321
[...]
>>> gspca_main: ISOC data error: [36] len=0, status=-71
>>> gspca_main: ISOC data error: [65] len=0, status=-71
[...]
>>> gspca_main: ISOC data error: [48] len=0, status=-71
>>> video_source:sr[3246]: segfault at 0 ip (null) sp ab36de1c error 14 in cheese[8048000+21000]
>>> gspca_main: ISOC data error: [17] len=0, status=-71
Thanks again.
If you get a chance to test Hans's media-for_v3.5 branch, that would
be interesting. It works like so:
0. prerequisites:
apt-get install git build-essential
1. get the kernel history, if you don't already have it:
git clone \
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
2. fetch gspca updates:
cd linux
git remote add gspca \
git://linuxtv.org/hgoede/gspca.git
git fetch gspca
3. configure, build, test:
git checkout gspca/media-for_v3.5
cp /boot/config-$(uname -r) .config; # current configuration
scripts/config --disable DEBUG_INFO
make localmodconfig; # optional: minimize configuration
make deb-pkg; # optionally with -j<num> for parallel build
dpkg -i ../<name of package>; # as root
reboot
... test test test ...
I ask because there have been some gspca core fixes cooking that are
not part of the 3.4.y tree, though none of them looks especially
relevant.
Hope that helps,
Jonathan
Jonathan Nieder wrote:
> (cc-ing Hans de Goede, the new gspca maintainer. Sorry I missed
> that before.)
Actually cc-ing this time. Sorry for the noise.
>> Martin-Éric Racine wrote:
>>> usb 1-7: new high-speed USB device number 3 using ehci_hcd
[...]
>>> usb 1-7: Product: USB2.0 Web Camera
>>> usb 1-7: Manufacturer: Vimicro Corp.
[...]
>>> gspca_main: v2.14.0 registered
>>> gspca_main: vc032x-2.14.0 probing 0ac8:0321
[...]
>>> gspca_main: ISOC data error: [36] len=0, status=-71
>>> gspca_main: ISOC data error: [65] len=0, status=-71
[...]
>>> gspca_main: ISOC data error: [48] len=0, status=-71
>>> video_source:sr[3246]: segfault at 0 ip (null) sp ab36de1c error 14 in cheese[8048000+21000]
>>> gspca_main: ISOC data error: [17] len=0, status=-71
Thanks again.
If you get a chance to test Hans's media-for_v3.5 branch, that would
be interesting. It works like so:
0. prerequisites:
apt-get install git build-essential
1. get the kernel history, if you don't already have it:
git clone \
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
2. fetch gspca updates:
cd linux
git remote add gspca \
git://linuxtv.org/hgoede/gspca.git
git fetch gspca
3. configure, build, test:
git checkout gspca/media-for_v3.5
cp /boot/config-$(uname -r) .config; # current configuration
scripts/config --disable DEBUG_INFO
make localmodconfig; # optional: minimize configuration
make deb-pkg; # optionally with -j<num> for parallel build
dpkg -i ../<name of package>; # as root
reboot
... test test test ...
I ask because there have been some gspca core fixes cooking that are
not part of the 3.4.y tree, though none of them looks especially
relevant.
Hope that helps,
Jonathan