Re: video: USB webcam fails since kernel 3.2

From: Jonathan Nieder
Date: Sun Jun 17 2012 - 13:12:28 EST


(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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/