Logitech Quickcam Messenger is not usable
- Lucid (10.04)
- Bug #22070
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Lee Jones | ||
Lucid |
Fix Released
|
Medium
|
Lee Jones | ||
Maverick |
Fix Released
|
Medium
|
Lee Jones | ||
linux-source-2.6.15 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Lucid |
Invalid
|
Undecided
|
Unassigned | ||
Maverick |
Invalid
|
Undecided
|
Unassigned | ||
linux-source-2.6.20 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Lucid |
Invalid
|
Undecided
|
Unassigned | ||
Maverick |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The Logitech Quickcam Messenger (USB) is not able to be used. It is supported
in the linux kernel by the 'quickcam' module (http://
which is included in Ubuntu's kernel packages.
However, the camera never becomes available whether it is plugged in before or
after boot.
"lsusb" shows the camera:
Bus 003 Device 002: ID 046d:08f0 Logitech, Inc.
The expected behaviour is that the 'quickcam' module should load, and then the
/dev/video* devices should be automatically created. These devices are then
available for use by applications such as gnomemeeting and xawtv.
Both parts of this are failing for me. First of all, the module is not being
loaded automatically. Secondly, even if I 'modprobe' quickcam manually or add
it to /etc/modules and reboot, no /dev/video* devices are created. I know the
module is actually loading because it is visible with 'lsmod'. The following
dmesg output is produced by loading this module:
usbcore: registered new driver quickcam
FYI, this is not a duplicate of bug #21191 ("Logitech QuickCam 4000 Pro is not
supported") because different kernel modules are involved ('quickcam' instead of
'pwc'.)
Matt Zimmerman (mdz) wrote : | #1 |
Fraser Hanson (fraser-hanson) wrote : | #2 |
(In reply to comment #1)
Thanks for looking into this, Matt. I agree, it's not supported by this same
module. Apparently the link I posted was to another kernel module that is also
called quickcam.ko, but it is not the official kernel one.
BTW, I have gotten this hardware working using the module at
http://
1. Edit the quickcam.sh script to accept ID 046d:08f0 as a valid device
2. Apply this patch:
--- qc-usb-
+++ qc-usb-
@@ -233,7 +233,11 @@
pos = (unsigned long)src;
while ((long)size > 0) {
physaddr = kvirt_to_pa(pos);
- if (remap_
+ if (remap_
+ start,
+ physaddr >> PAGE_SHIFT,
+ PAGE_SIZE,
+ PAGE_SHARED))
return -EAGAIN;
start += PAGE_SIZE;
pos += PAGE_SIZE;
The resulting quickcam.ko module works fine with this camera.
I suppose this is not Ubuntu's problem though, I guess you'll probably just wait
for it to be supported in the official kernel source.
Ben Collins (ben-collins) wrote : | #3 |
This bug has been fixed in the latest kernel in our Dapper release. There are no
plans to fix this in breezy.
Maurice (m1625) wrote : | #4 |
Based on some positive reports in our community forums, I purchased a Logitech Quickam Messenger webcam. I have now spent nearly two days exploring every solution my feeble mind can think of! I have come to the following conclusions, all this under a fully updated Feisty:
1.spcaxx cource code downloaded from Synaptic will not compile, at least I haven't had any success so far
2 EasyCam2 downloaded from Synaptic will not work, a makefile error message is displayed on startup
3. Ekiga will not recognize the webcam, although it shows up in Feisty's Hardware listing.
4.qc-usb-
5. The error messages thrown by the latter indicate that my computer, an HP Pavillion Media Centre, suffers from a BIOS APIC error 40.
I wonder whether this APIC error is what is causing the compile difficulties with the other source listings? Is it not possible to do a noapic boot?
If only I could fix the APIC error, I believe life would become much more simple! Many thanks, Maurice
Andrew Fenn (andrewfenn) wrote : | #5 |
This is broken again, in edgy, in fiesty.
Changed in linux-source-2.6.20: | |
assignee: | nobody → ben-collins |
Jonathan Ernst (jonathan.ernst) wrote : | #6 |
and gutsy
Jonathan Ernst (jonathan.ernst) wrote : | #7 |
Under gutsy using the latest quickcam module from http://
Please add this module to Ubuntu (I guess you'll have to change the name to avoid conflicts with the other quickcam module).
Bus 007 Device 002: ID 046d:08f6 Logitech, Inc.
Andrew Fenn (andrewfenn) wrote : | #8 |
The quickcam messenger is still broken in Gutsy. Perhaps we could get this working out of the box for hardy?
Linux andrew-desktop 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux
Ben Caldwell (benny-caldwell) wrote : | #9 |
This webcam is still not supported out of the box in Hardy.
I've just compiled the qc-usb-
The module compiled from this source is called qcmessenger.ko so the name conflict mentioned above is no longer a problem.
I'm a novice when it comes to linux drivers, is it worth packaging this for Hardy or should the V4L guys just be approached about including the driver upstream?
Leann Ogasawara (leannogasawara) wrote : | #10 |
Hi Ben,
Getting this driver upstream would be the best case scenario. Mainly because the Ubuntu kernel is rebased frequently with upstream so if this were upstream the Ubuntu kernels would automatically have this driver. It's a lot of extra work for the kernel team to maintain out of tree drivers so they typically require upstream submission first before considering to maintain out of tree drivers.
I'm curious though what your dmesg output looks like in Hardy after you've plugged the camera in. Also, lsusb output wouldn't hurt either.
Also, just to see if this is still an issue with the upcoming Intrepid Ibex 8.10 release, if you'd be willing to test the latest Alpha for Intrepid (you should be able to test via a LiveCD) that would be great. Information regarding the latest Alpha release can be found here - http://
Finally, against 2.6.20 this will be closed as this does not qualify for a Stable Release Update - http://
Thanks.
Changed in linux: | |
status: | New → Incomplete |
Changed in linux-source-2.6.20: | |
status: | New → Won't Fix |
Ben Caldwell (benny-caldwell) wrote : | #11 |
Hi Leann,
With the qcmessenger driver unloaded and temporarily blacklisted to stop it loading again, the output from dmesg is:
...
[ 4880.228709] usb 2-1: new full speed USB device using uhci_hcd and address 5
[ 4880.415533] usb 2-1: configuration #1 chosen from 1 choice
...
and output from lsusb:
...
Bus 002 Device 005: ID 046d:08f6 Logitech, Inc.
...
With the qcmessenger driver removed from the blacklist and the camera plugged, dmesg output is:
...
[ 5148.810751] usb 2-1: new full speed USB device using uhci_hcd and address 6
[ 5149.002534] usb 2-1: configuration #1 chosen from 1 choice
[ 5149.147413] qcmessenger [55.385792]: ----------LOADING QUICKCAM MODULE------------
[ 5149.147425] qcmessenger [55.385806]: struct quickcam size: 4752
[ 5149.147497] qcmessenger: QuickCam USB camera found (driver version QuickCam Messenger/
[ 5149.147505] qcmessenger: Kernel:
[ 5149.147513] qcmessenger [55.385894]: poisoning qc in qc_usb_init
[ 5149.159122] qcmessenger [55.397517]: E00A contains 08F6
[ 5149.159133] qcmessenger: Sensor VV6450 detected
[ 5149.160423] input: Quickcam snapshot button as /devices/
[ 5149.178389] qcmessenger [55.416814]: Quickcam snapshot button registered on usb-0000:
[ 5149.178868] qcmessenger: Registered device: /dev/video0
[ 5149.179145] usbcore: registered new interface driver qcmessenger
...
I am downloading the Ibex alpha and should find the time to test and report my results here in the next few days.
Ben
Ben Caldwell (benny-caldwell) wrote : | #12 |
This is still an issue in Intrepid.
I have tested with the live cd and a new installation of Intrepid Alpha 3.
dmesg output still looks like this:
[ 313.209555] usb 2-1: new full speed USB device using uhci_hcd and address 3
[ 313.405928] usb 2-1: configuration #1 chosen from 1 choice
Changed in linux: | |
assignee: | nobody → ubuntu-kernel-team |
importance: | Undecided → Medium |
status: | Incomplete → Triaged |
Leann Ogasawara (leannogasawara) wrote : | #13 |
The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:
1) If you are comfortable installing packages on your own, the linux-image-
--or--
2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://
Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.
Ben Caldwell (benny-caldwell) wrote : | #14 |
I've upgraded my test install of Intrepid - looks like this is still an issue.
uname -r:
2.6.27-1-generic
dmesg:
[ 287.720173] quickcam_messenger: Logitech Quickcam Messenger USB v0.01
[ 287.720173] usbcore: registered new interface driver QCM
lsusb:
Bus 002 Device 004: ID 046d:08f6 Logitech, Inc. Quickcam Messenger Plus
I used camorama to test and it failed with "Could not connect to video device (/dev/video0). Please check connection."
Also, I found that the quickcam_messenger module wasn't loaded on plugging, I had to manually modprobe it. Perhaps this is a problem limited to my installation - but it was a clean install of alpha 3 that I've just run apt-get dist-upgrade on.
I'm happy to help, just let me know if there is anything else you require.
Ben
Otomo (otomo) wrote : | #15 |
I've upgraded to Intrepid too, but the cam didn't work yet.
2.6.27-4-generic
dmesg
[93811.960303] quickcam: QuickCam USB camera found (driver version QuickCam USB 0.6.6 $Date: 2006/11/04 08:38:14 $)
lsusb
Bus 004 Device 003: ID 046d:08f6 Logitech, Inc. Quickcam Messenger Plus
I tested with a few programs but no one detects it.
Derek7 (enrico-vittorini) wrote : | #16 |
lsusb
Bus 002 Device 003: ID 046d:08f6 Logitech, Inc. Quickcam Messenger Plus
dmesg:
5419.799627] usb 2-1: USB disconnect, address 3
[ 5426.492023] usb 2-1: new full speed USB device using ohci_hcd and address 4
[ 5426.711608] usb 2-1: configuration #1 chosen from 1 choice
[ 5426.714405] quickcam: QuickCam USB camera found (driver version QuickCam USB 0.6.6 $Date: 2006/11/04 08:38:14 $)
[ 5426.714422] quickcam: Kernel:
xawtv
This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.27-7-generic)
xinerama 0: 1280x1024+0+0
WARNING: No DGA direct video mode for this display.
can't open /dev/video0: No such file or directory
v4l-conf had some trouble, trying to continue anyway
v4l2: open /dev/video0: No such file or directory
v4l2: open /dev/video0: No such file or directory
v4l: open /dev/video0: No such file or directory
no video grabber device available
LupoCri (cri-iw2nzx) wrote : | #17 |
Hi! I have also the same problem.
lsusb
Bus 003 Device 004: ID 046d:08f6 Logitech, Inc. Quickcam Messenger Plus
dmesg
[ 510.056128] usb 3-1: USB disconnect, address 3
[ 527.904075] usb 3-1: new full speed USB device using uhci_hcd and address 4
[ 528.137235] usb 3-1: configuration #1 chosen from 1 choice
[ 528.140929] quickcam: QuickCam USB camera found (driver version QuickCam USB 0.6.6 $Date: 2006/11/04 08:38:14 $)
[ 528.140950] quickcam: Kernel:
xawtv
This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.27-7-generic)
xinerama 0: 1024x768+0+0
WARNING: No DGA direct video mode for this display.
can't open /dev/video0: No such file or directory
v4l-conf had some trouble, trying to continue anyway
v4l2: open /dev/video0: Nessun file o directory
v4l2: open /dev/video0: Nessun file o directory
v4l: open /dev/video0: Nessun file o directory
no video grabber device available
Thanks,
Cri.
Derek7 (enrico-vittorini) wrote : | #18 |
yeah!| same problem here!!!!
loonatic (albert-friendly) wrote : | #19 |
I can confirm it's still not working in Intrepid (Ubuntu 8.10).
Linux kernel 2.6.27-7-generic (2.6.27-
The USB id's are detected, the quickcam kernel module loaded, but no /dev/video* device
Kernel log shows:
[ 16.921947] quickcam: QuickCam USB camera found (driver version QuickCam USB 0.6.6 $Date: 2006/11/04 08:38:14 $)
[ 16.921952] quickcam: Kernel:
[ 16.927008] usbcore: registered new interface driver quickcam
ls -al /dev/video*
ls: cannot access /dev/video*: No such file or directory
mihai.ile (mihai.ile) wrote : | #20 |
I can confirm this on candidate images for Intrepid RC
Oct 22 23:16:00 ubuntu kernel: [ 3278.301482] quickcam: QuickCam USB camera found (driver version QuickCam USB 0.6.6 $Date: 2006/11/04 08:38:14 $)
Oct 22 23:16:00 ubuntu kernel: [ 3278.301503] quickcam: Kernel:
Oct 22 23:16:00 ubuntu kernel: [ 3278.310143] usbcore: registered new interface driver quickcam
Oct 22 23:16:00 ubuntu kernel: [ 3278.361539] usbcore: registered new interface driver snd-usb-audio
ubuntu@ubuntu:~$ ls -al /dev/video*
ls: cannot access /dev/video*: No such file or directory
ubuntu@ubuntu:~$
loonatic (albert-friendly) wrote : | #21 |
2.6.27-13 hasn't fixed it either.
It does work with 2.6.26.7 and the qc-usb-messenger driver 1.8 (qcmessenger.ko).
However, that drivers can't be used in 2.6.27, plus the 2.6.27 kernel claims to support the webcam.
I've fetched and compiled:
Added some of my own debug statements (USER_OPT=-DDEBUG barfed up compile errors)
quickcam: QuickCam USB camera found (driver version QuickCam USB 0.6.6 $Date: 2006/11/04 08:38:14 $)
quickcam: Kernel:
quickcam: qc_stv_
quickcam: qc_stv_set(): TEST_BUGR(
quickcam: qc_stv_set(): TEST_OK
quickcam: ret=1=usb_
quickcam: SIZE(sensors)=4
quickcam: Testing sensor #0
quickcam: qc_get_
quickcam: qc_get_i2c(): TEST_BUGR(
quickcam: qc_get_i2c(): TEST_BUGR OK
quickcam: qc_stv_
quickcam: qc_stv_set(): TEST_BUGR(
quickcam: qc_stv_set(): TEST_OK
quickcam: ret=-32=
quickcam: Failed qc_stv_set()=-32
quickcam: qc_get_i2c(): qc_stv_set(qc, STV_REG23, 1) failed
quickcam: qc_get_i2c failed, code=-32
quickcam: qc_get_i2c() failed in SIZE(sensors) loop at 0
usbcore: registered new interface driver quickcam
It seems to fail in usb_control_msg() for request 0x04, type 0x40, value 1059, index 0.
I'm kinda stranded there cause I haven't got the foggiest idea what that means and how to check if the webcam possibly doesn't understand that request nor what request should be sent instead.
I hope this extra info helps someone in tracking down the problem.
loonatic (albert-friendly) wrote : | #22 |
Expanding on a driver working for 2.6.26.7:
Instead of using the 0.6.6 driver that Ubuntu uses, i've used the driver that did work with previous kernels:
http://
Get rid of the various sem_getcount() calls, patches can be found from various sources, like:
http://
make all
insmod ./qcmessenger.ko
and voila:
[ 2359.948163] qcmessenger: QuickCam USB camera found (driver version QuickCam Messenger/
[ 2359.948172] qcmessenger: Kernel:2.6.26.7 bus:4 class:FF subclass:FF vendor:046D product:08F6
[ 2359.948183] qcmessenger [ 3.272230]: poisoning qc in qc_usb_init
[ 2359.952998] qcmessenger [ 3.276804]: E00A contains 08F6
[ 2359.952998] qcmessenger: Sensor VV6450 detected
[ 2359.954060] input: Quickcam snapshot button as /devices/
[ 2359.958612] qcmessenger [ 3.282952]: Quickcam snapshot button registered on usb-0000:
[ 2359.958666] qcmessenger: Registered device: /dev/video1
[ 2359.958738] usbcore: registered new interface driver qcmessenger
No support for v4l2, but v4l in Ekiga works.
loonatic (albert-friendly) wrote : | #23 |
- patch to qc-usb-messenger-1.8: a working driver/kernel module for 2.6.27 for the Logitech Quickcam Messenger webcam Edit (15.0 KiB, text/x-diff)
Good news and bad news.
I've managed to get my quickcam messenger (0x08f6) working, but with the qc-usb-
I've spent an hour or so comparing the sources to see if I can fix the 0.6.6
driver, but it ain't as simple as applying the same fixes or some simple
fixes to qc_stv_set() or somesuch.
See above (https:/
I haven't got the hardware specs, which leaves me out of my depth to see the relevant differences
between both drivers.
Ubuntu (based on qc-usb-0.6.6, sensors: hdcs1000, hdcs1020, pb0100, vv6410):
0x046D:0x0840 QuickCam Express
0x046D:0x0850 LEGO cam / QuickCam Web
0x046D:0x0870 Dexxa WebCam USB
0x046D:0x08F6 Logitech QuickCam Messenger
but in fact, the Messenger won't work with this driver.
qc-usb-
0x046D:0x08F0 QuickCam Messenger
0x046D:0x08F5 QuickCam Communicate
0x046D:0x08F6 QuickCam Messenger (new)
0x046D:0x08DA QuickCam Messenger (new)
Will work, get the sources here: http://
Then apply the patch i've attached here:
patch -p1 < qc-usb-
make all
insmod ./qcmessenger.ko
You will get a V4L device (not a V4L2) and it works in xawtv and Ekiga.
The other bad news is that the current Skype version (2.0.0.72) will crash when you will try to use the webcam.
Other people experienced the same, looks like there's no fix for that (yet).
Florian Schweikert (kelvan) wrote : | #24 |
Quickcam Ultra Vision doesn't work.
Kernel: 2.6.27-7
Oct 26 13:15:26 kelvan-desktop kernel: [ 1351.070686] pwc: Philips webcam module version 10.0.13 loaded.
Oct 26 13:15:26 kelvan-desktop kernel: [ 1351.070702] pwc: Supports Philips PCA645/646, PCVC675/680/690, PCVC720[
/840.
Oct 26 13:15:26 kelvan-desktop kernel: [ 1351.070709] pwc: Also supports the Askey VC010, various Logitech Quickcams, Samsung MPC-C10 and
MPC-C30,
Oct 26 13:15:26 kelvan-desktop kernel: [ 1351.070715] pwc: the Creative WebCam 5 & Pro Ex, SOTEC Afina Eye and Visionite VCS-UC300 and VCS
-UM100.
Oct 26 13:15:26 kelvan-desktop kernel: [ 1351.079857] usbcore: registered new interface driver Philips webcam
Oct 26 13:15:26 kelvan-desktop kernel: [ 1351.236195] uvcvideo: Failed to query (1) UVC control 1 (unit 0) : -110 (exp. 26).
Oct 26 13:15:27 kelvan-desktop kernel: [ 1352.237191] uvcvideo: Failed to query (1) UVC control 1 (unit 0) : -110 (exp. 26).
Oct 26 13:15:28 kelvan-desktop kernel: [ 1353.236195] uvcvideo: Failed to query (1) UVC control 1 (unit 0) : -110 (exp. 26).
Oct 26 13:15:29 kelvan-desktop kernel: [ 1354.236323] uvcvideo: Failed to query (1) UVC control 1 (unit 0) : -110 (exp. 26).
Oct 26 13:15:30 kelvan-desktop kernel: [ 1355.237323] uvcvideo: Failed to query (1) UVC control 1 (unit 0) : -110 (exp. 26).
Oct 26 13:15:31 kelvan-desktop kernel: [ 1355.976578] uvcvideo: Failed to query (135) UVC control 2 (unit 2) : -110 (exp. 2).
Oct 26 13:15:31 kelvan-desktop kernel: [ 1356.264203] uvcvideo: Failed to query (1) UVC control 1 (unit 0) : -110 (exp. 26).
Oct 26 13:15:32 kelvan-desktop kernel: [ 1357.264181] uvcvideo: Failed to query (1) UVC control 1 (unit 0) : -110 (exp. 26).
Oct 26 13:15:33 kelvan-desktop kernel: [ 1358.260186] uvcvideo: Failed to query (1) UVC control 1 (unit 0) : -110 (exp. 26).
Oct 26 13:15:34 kelvan-desktop kernel: [ 1359.261321] uvcvideo: Failed to query (1) UVC control 1 (unit 0) : -110 (exp. 26).
/dev/video0 is there, but not usable
Derek7 (enrico-vittorini) wrote : | #25 |
@LOONATIC
i followed you instruction but when i type "make all" in gives:
/home/enrico/
/home/enrico/
make[2]: *** [/home/
make[1]: *** [_module_
make[1]: Leaving directory `/usr/src/
make: *** [qcmessenger.ko] Error 2
PRDR (d2-ymail) wrote : | #26 |
Derek:
I get something similar, it might have something to do with the message that the shell scripts "quickcam.sh" gives:
[!] Kernel compiler and gcc seem to be different versions.
The only version that gets mentioned by the script is 4.3.2, though...
I have no idea how to fix that, but I thought the info might help others...
I have done a fresh install of the intrepid beta, with all updates...
Andrew Fenn (andrewfenn) wrote : | #27 |
Anyone know why this isn't supported in the UVC video driver which is including upstream in the linux kernel?
Perhaps it would be better to ask on the UVC video mailing list why this isn't the case and try to get it included there. Doing so would be much better for all distributions of Linux.
UVC video website: http://
Riccardo Murri (rmurri) wrote : | #28 |
@loonatic: could not get my webcam (046d:08da) to work with your patch - but the quickcam-1.8 sources worked ok with the Hardy kernel.
However, after a while I found out that the Intrepid kernel actually supports the 046d:08da webcam, but the apps I was using for testing need fixing as stated in https:/
with the LD_PRELOAD trick from bug #260918, my quickcam messenger works perfectly.
Gawell (gossetga) wrote : | #29 |
I got the same as Derek I think. (mine is 046d:08f6 Logitech, Inc. Quickcam Messenger Plus)
@PRDR, I have this message too, but I think it doesn't matter, just press enter (but you'll probably get our error...)
here is what I got:
gawell@
--2008-11-04 17:50:46-- http://
Résolution de proxyweb.utc.fr... 195.83.155.55
Connexion vers proxyweb.
requête Proxy transmise, en attente de la réponse... 200 OK
Longueur: 168690 (165K) [application/
Saving to: `qc-usb-
100%[==
2008-11-04 17:50:47 (6,02 MB/s) - « qc-usb-
gawell@
gawell@
gawell@
patching file qc-driver.c
patching file qc-memory.c
gawell@
make -C "/lib/modules/
make[1]: entrant dans le répertoire « /usr/src/
test -e include/
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /home/gawell/
make -f scripts/
gcc -Wp,-MD,
/home/gawell/
/home/gawell/
PRDR (d2-ymail) wrote : | #30 |
@Gawell: I know, I get the errors. I was wondering (out of utter ignorance, of course) if those errors could be due to some kind of incompatibility between versions of gcc (whatever that might mean).
philips (brandon-ifup) wrote : | #31 |
- add-support-for-all-quickcam-messengers-of-the-same-family.patch Edit (1.7 KiB, text/x-diff)
Could you try this patch against the Kernel and see if it makes your camera work? qc-usb-
PRDR (d2-ymail) wrote : | #32 |
I'd be glad to try the patch and report back, but I would need instructions (hopefully fool-proof instructions...)
Apfelfrisch (n-refle) wrote : | #33 |
First I've to say sorry for my bad English. I hope everybody can understand ;-)
I have try to patch philips patch against the kernel.
What I've done:
apt-get install linux-source
cd /usr/src
sudo -s
tarf xvfj linux-source-
cd linux-source-2.6.27
patch -p1 < add-support-
cp /boot/config-
make menuconfig //Load configfile .config and save
make-kpkg clean
fakeroot make-kpkg --initrd --append-
Compiling works fine after I disabled virtualization (https:/
-------
Failed to process /etc/kernel/
dpkg: Fehler beim Bearbeiten von linux-image-
Unterprozess post-installation script gab den Fehlerwert 2 zurück
Fehler traten auf beim Bearbeiten von:
linux-
E: Sub-process /usr/bin/dpkg returned an error code (1)
-------
I ignored the massage and installed linux-headers. After reboot /dev/video0 exist and the webcam workes fine with camorama.
Ekiga still wont work:
-------
libv4l2: error getting capabilities: Invalid argument.
-------
Apfelfrisch (n-refle) wrote : | #34 |
Edit:
Works with Ekiga to, when I use V4L...
Daniel van Gerpen (dvg) wrote : | #35 |
Hi,
I followed the same steps, got a /dev/video0, but both camorama and cheese eventually become stuck without ever showing a frame.
Nov 22 14:28:10 newton kernel: [ 551.074454] usb 7-2.6: USB disconnect, address 9
Nov 22 14:28:10 newton kernel: [ 551.100205] usbvideo: USB camera disconnected.
Nov 22 14:28:12 newton kernel: [ 553.064158] usb 7-2.6: new full speed USB device using ehci_hcd and address 10
Nov 22 14:28:12 newton kernel: [ 553.158024] usb 7-2.6: configuration #1 chosen from 1 choice
Nov 22 14:28:12 newton kernel: [ 553.166601] videodev: "QCM USB Camera" has no release callback. Please fix your driver for proper sysfs support, see http://
Nov 22 14:28:12 newton kernel: [ 553.166607] usbvideo: QCM on /dev/video0: canvas=320x240 videosize=320x240
Nov 22 14:28:12 newton kernel: [ 553.166647] input: QCM button as /devices/
Nov 22 14:28:13 newton pulseaudio[7548]: alsa-util.c: Device hw:1 doesn't support 44100 Hz, changed to 22050 Hz.
Nov 22 14:28:13 newton pulseaudio[7548]: alsa-util.c: Device hw:1 doesn't support 2 channels, changed to 1.
from "strace camorama":
open("/dev/video0", O_RDWR) = 15
ioctl(15, EXT2_IOC_GETVERSION or VIDIOCGCAP, 0x7fff47670820) = 0
ioctl(15, SONYPI_IOCSBLUE or VIDIOCGWIN, 0x7fff47670870) = 0
ioctl(15, VIDIOCSWIN, 0x7fff47670870) = 0
ioctl(15, SONYPI_IOCSBLUE or VIDIOCGWIN, 0x7fff47670870) = 0
ioctl(15, VIDIOCGPICT, 0x7fff4767085c) = 0
mmap(NULL, 233472, PROT_READ|
ioctl(15, VIDIOCGMBUF, 0x7fff47670898) = 0
mmap(NULL, 460800, PROT_READ|
ioctl(15, VIDIOCMCAPTURE, 0x7fff47670920) = 0
[...]
ioctl(15, SONYPI_IOCGBATFLAGS or VIDIOCSPICT, 0x7fff4767085c) = 0
ioctl(15, SONYPI_IOCGBATFLAGS or VIDIOCSPICT, 0x7fff4767085c) = 0
ioctl(15, SONYPI_IOCGBATFLAGS or VIDIOCSPICT, 0x7fff4767085c) = 0
ioctl(15, SONYPI_IOCGBATFLAGS or VIDIOCSPICT, 0x7fff4767085c) = 0
ioctl(15, SONYPI_IOCGBATFLAGS or VIDIOCSPICT, 0x7fff4767085c) = 0
[...]
ioctl(15, VIDIOCSYNC <unfinished ...>
PS: Whats the proper way to just build the patched quickcam module without having to install a complete kernel?
PRDR (d2-ymail) wrote : | #36 |
Hi:
I followed the steps posted in https:/
1$ apt-get source linux-image-$(uname -r)
2$ cd linux-2.6.27
3$ cp /boot/config-
4$ patch -p1 < ../add-
5$ make ubuntu/
The compilation process seems to have gone fine, only a few warnings:
5$ make ubuntu/
HOSTCC scripts/
HOSTCC scripts/
HOSTCC scripts/
scripts/
scripts/
scripts/
scripts/
HOSTCC scripts/
SHIPPED scripts/
SHIPPED scripts/
SHIPPED scripts/
HOSTCC scripts/
In file included from scripts/
scripts/
scripts/
scripts/
scripts/
scripts/
In file included from scripts/
scripts/
scripts/
HOSTLD scripts/
scripts/
CHK include/
UPD include/
CHK include/
UPD include/
SYMLINK i...
PRDR (d2-ymail) wrote : | #37 |
Well, I definitely must be doing something wrong... I just took a look a the patch, and it actually patches files that do not have anything to do with what I compiled. In fact, there is another module called "quickcam_
I do not know how to prevent this loading of the quickcam module, and I do not know if the quickcam_messenger alone would work...
Compiling (after patching):
1$ make drivers/
CHK include/
CHK include/
CALL scripts/
CC [M] drivers/
MODPOST 2 modules
CC drivers/
LD [M] drivers/
and installing:
2$ cp drivers/
doesn't seem to make a difference.
philips (brandon-ifup) wrote : | #38 |
@PRDR Can you try just booting fresh and running `insmod drivers/
Changed in linux: | |
assignee: | ubuntu-kernel-team → sconklin |
status: | Triaged → In Progress |
Renato Golin (rengolin) wrote : | #39 |
Compiling the qc-usb-
/qc-driver.c:1619: error: request for member ‘counter’ in something not a structure or union
(and in tens of other lines). It's the macro sem_getcount(
#define sem_getcount(sem) atomic_
Probably the structure has changed in the new kernel...
Other error: qc-driver.c:2898: error: ‘struct video_device’ has no member named ‘type’
All of that I could "comment out" as most of that was debug messages or "not-so-important" parts of the structure, but the following error I couldn't get around:
qc-memory.c:207: error: implicit declaration of function ‘mem_map_reserve’
qc-memory.c:225: error: implicit declaration of function ‘mem_map_unreserve’
My system is an up-to-date Ubuntu 8.10:
$ uname -a
Linux jobim 2.6.27-9-generic #1 SMP Thu Nov 20 21:57:00 UTC 2008 i686 GNU/Linux
econan (emresaglam) wrote : | #40 |
I had the same issue, but I posted in a duplicate bug (#209901)
exactt closed that ticket by <a href="https:/
I now have a video device created by udev. This is good. However I can only get a black picture from the camera using xawtv or camorama.
I also get a ioctl error which I believe is related: ioctl: VIDIOC_
Thanks for pointing me to the right direction exactt :)
venky80 (venky80) wrote : | #41 |
ya my bug https:/
I remember this cam working in earlier editions of ubuntu, so basically somewhere it lost support
AFarris01 (afarris01) wrote : | #42 |
I'd just like to add that my QuickCam Messenger does not work either in the Jaunty (kernel 2.6.28-11)
I've tried several solutions to get it to work in the mean time, but nothing has worked so far.
dmesg:
May 27 02:30:57 BEC-LIN kernel: [33022.185658] usb 1-3.5: new full speed USB device using ehci_hcd and address 10
May 27 02:30:57 BEC-LIN kernel: [33022.297468] usb 1-3.5: configuration #1 chosen from 1 choice
May 27 02:30:58 BEC-LIN pulseaudio[5557]: alsa-util.c: Device hw:2 doesn't support 48000 Hz, changed to 22050 Hz.
May 27 02:30:58 BEC-LIN pulseaudio[5557]: alsa-util.c: Device hw:2 doesn't support 6 channels, changed to 1.
lsusb:
Bus 001 Device 011: ID 046d:08f5 Logitech, Inc. QuickCam Messenger Communicate
Once the alphas for Karmic start rolling out, i'll test it there and see if it works
Petar Velkovski (pvelkovski) wrote : | #43 |
I have Quickcam Messenger Plus and it's not working.
lsusb:
Bus 004 Device 004: ID 046d:08f6 Logitech, Inc. Quickcam Messenger Plus
uname -a
Linux aurora 2.6.30-9-generic #10-Ubuntu SMP Fri Jun 12 16:01:02 UTC 2009 i686 GNU/Linux
I am on 2.6.30 kernel because of the intel graphic bug.
Surfing the Internet I found this link:
http://
It's a solution for QuickCam Messenger
Bus 008 Device 003: ID 046d:08f0 Logitech, Inc. QuickCam Messenger
The solution uses a patch for the 2.6.28 kernel used in jaunty. I can't try it on my computer because of the unofficial updates of X.org (X.org won't start with 2.6.28 any more). So everyone with Quickcam Messenger and kernel 2.6.28 should try the solution and report the results here. Also it would be nice if our kernel team can work out how to make a patch (used in the solution mentioned above) so that It can work with kernel 2.6.30 too.
Petar Velkovski (pvelkovski) wrote : | #44 |
In my previous post I forgot to mention that dmesg gives
..
[ 839.348027] usb 4-2: new full speed USB device using uhci_hcd and address 4
[ 839.595175] usb 4-2: configuration #1 chosen from 1 choice
So no driver is really loaded when my webcam is plugged.
nobswolf (nobs-nobswolf) wrote : | #45 |
Is there also a workaround for:
046d:08f6 Logitech, Inc. Quickcam Messenger Plus
Of course it would be perfect if it would finally run out of the box. But for now it would be nice to tweak a little to get photos and videos from the cam. Is there a howto to set it up "manually"?
PRDR (d2-ymail) wrote : | #46 |
Thanks Peter for pointing us to that link:
#43 Petar Velkovski wrote on 2009-07-16:
Surfing the Internet I found this link:
http://
The driver finally compiled again right away (kubuntu jaunty kernel, all updates made), and the camera (ID 046d:08f6) now works just as it used to work in the past.
I guess it's these people's patch. I wonder why that patch can not be included in the upstream kernel...
Changed in linux (Ubuntu): | |
assignee: | Steve Conklin (sconklin) → nobody |
Leann Ogasawara (leannogasawara) wrote : | #47 |
Setting this back to Triaged as this is no longer assigned (ie In Progress) to a kernel dev.
Changed in linux (Ubuntu): | |
status: | In Progress → Triaged |
Petar Velkovski (pvelkovski) wrote : | #48 |
Logitech Quickcam Messenger Plus with ID 046d:08f6 is now officially working in linux kernel 2.6.31 (RC version)
All you have to do is download linux kernel 2.6.31rc7 from
http://
Skype works without any modifications, Ekiga Softphone too, but Cheese doesn't.
Peter Meiser (meiser79) wrote : | #49 |
I'm facing a problem with Quickcam Messenger (046d:08f0) under Karmic. Two modules, gspca_stv06xx and quickcam_messenger, try to handle this webcam.
From my point of view, gspca_stv06xx works better (tested with Ekiga, Skype and Cheese). The quickcam_messenger will also be removed in 2.6.32, see http://
Could CONFIG_
Changed in linux-source-2.6.15 (Ubuntu): | |
assignee: | Ben Collins (ben-collins) → nobody |
Changed in linux-source-2.6.20 (Ubuntu): | |
assignee: | Ben Collins (ben-collins) → nobody |
Jeremy Foshee (jeremyfoshee) wrote : | #50 |
This bug report was marked as Triaged a while ago but has not had any updated comments for quite some time. Please let us know if this issue remains in the current Ubuntu release, http://
[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]
tags: | added: kj-triage |
Changed in linux (Ubuntu): | |
status: | Triaged → Incomplete |
exactt (giesbert) wrote : | #51 |
still having problems (only black image) with Logitech QuickCam Messenger (046d:08f5) with latest Lucid Lynx AMD64.
dmesg reports:
[ 1890.120037] usb 2-2: new full speed USB device using ohci_hcd and address 3
[ 1890.352662] usb 2-2: configuration #1 chosen from 1 choice
[ 1890.399873] Linux video capture interface: v2.00
[ 1890.412142] gspca: main v2.7.0 registered
[ 1890.431672] STV06xx: Probing for a stv06xx device
[ 1890.431681] gspca: probing 046d:08f5
[ 1890.431688] STV06xx: Configuring camera
[ 1890.431692] STV06xx: st6422 sensor detected
[ 1890.431697] STV06xx: Initializing camera
[ 1890.781570] gspca: probe ok
[ 1890.851283] usbcore: registered new interface driver snd-usb-audio
[ 1890.852472] usbcore: registered new interface driver STV06xx
[ 1890.852482] STV06xx: registered
Changed in linux (Ubuntu): | |
status: | Incomplete → New |
Lee Jones (lag) wrote : | #52 |
Do the following on your Ubuntu machine:
1. Pull up a terminal
2. Type "modprobe -l | grep quickcam_messenger"
3. Report you findings back here please
I'll try and help you resolve this.
Changed in linux (Ubuntu): | |
assignee: | nobody → Lee Jones (lag) |
Lee Jones (lag) wrote : | #53 |
Also:
2.1 modprobe -l | grep gspca_stv
Changed in linux (Ubuntu): | |
status: | New → In Progress |
Lee Jones (lag) wrote : | #54 |
exactt, your dmesg looks okay to me.
Try and use a couple of different applications; Cheese, Ekiga, Skype and Tellico.
Changed in linux (Ubuntu): | |
status: | In Progress → Triaged |
Lee Jones (lag) wrote : | #55 |
I believe this device to be fully supported and working within the current kernel.
I'm going to put this one to bed.
If anyone has any major objections, please contact me.
Changed in linux (Ubuntu): | |
status: | Triaged → Fix Released |
exactt (giesbert) wrote : | #56 |
hi,
sorry for the late response. here my results:
the cam works in maverick giving the following dmesg output:
[ 243.190070] usb 2-1: new full speed USB device using uhci_hcd and address 2
[ 243.457316] STV06xx: Probing for a stv06xx device
[ 243.457320] gspca: probing 046d:08f5
[ 243.457323] STV06xx: Configuring camera
[ 243.457325] STV06xx: st6422 sensor detected
[ 243.457327] STV06xx: Initializing camera
[ 243.742773] input: STV06xx as /devices/
[ 243.742973] gspca: video1 created
[ 243.742981] gspca: found int in endpoint: 0x82, buffer_len=1, interval=16
[ 243.743026] STV06xx: Probing for a stv06xx device
[ 243.743032] gspca: probing 046d:08f5
[ 243.743050] STV06xx: Probing for a stv06xx device
[ 243.743054] gspca: probing 046d:08f5
[ 243.743093] usbcore: registered new interface driver STV06xx
[ 243.743098] STV06xx: registered
[ 243.802233] usbcore: registered new interface driver snd-usb-audio
and it doesn't work in lucid giving just a black picture and the following dmesg output:
[ 1800.420047] usb 2-1: new full speed USB device using ohci_hcd and address 5
[ 1800.655303] usb 2-1: configuration #1 chosen from 1 choice
[ 1800.658161] STV06xx: Probing for a stv06xx device
[ 1800.658167] gspca: probing 046d:08f5
[ 1800.658173] STV06xx: Configuring camera
[ 1800.658176] STV06xx: st6422 sensor detected
[ 1800.658181] STV06xx: Initializing camera
[ 1801.002234] gspca: probe ok
[ 1801.002406] STV06xx: Probing for a stv06xx device
[ 1801.002411] gspca: probing 046d:08f5
tested on lucid AMD64 with skype(black), cheese(black) and ekiga(green garbage)
exactt (giesbert) wrote : | #57 |
forgot the requested information....
:~$ modprobe -l | grep quickcam_messenger
kernel/
:~$ modprobe -l | grep gspca_stv
kernel/
exactt (giesbert) wrote : | #58 |
of course for lucid,,,
Lee Jones (lag) wrote : | #59 |
Excellent, thanks exactt.
What version of Lucid is that dmesg from?
Lee Jones (lag) wrote : | #60 |
If you're not using the latest version of Lucid, could you please try it?
32bit:
http://
64bit:
http://
Yözen Hernández (yhernand) wrote : | #61 |
I was wondering, exactt, what hardware are you using? I've been seeing this problem on my girlfriend's desktop, which is using an nVidia-based motherboard.
I can't give you all the exact lspci output right now, but I was beginning to suspect the problem might have something to do with the chipset. The same webcam works on two Intel-based machines and my own ATI-based machine, all of them running the latest version of Lucid, all up to date (yes, I even tried again after the last kernel update).
I'll send the lspci, dmesg, and error output as soon as I get a chance, but so far this seems to be an issue only on her machine.
Lee Jones (lag) wrote : | #62 |
Now that's an interesting.
Any further information that you can provide would be useful.
Thanks Yozen.
Lee Jones (lag) wrote : | #63 |
Okay, with regards to:
[ 1800.658161] STV06xx: Probing for a stv06xx device
[ 1800.658167] gspca: probing 046d:08f5
[ 1800.658173] STV06xx: Configuring camera
[ 1800.658176] STV06xx: st6422 sensor detected
[ 1800.658181] STV06xx: Initializing camera
[ 1801.002234] gspca: probe ok
[ 1801.002406] STV06xx: Probing for a stv06xx device
[ 1801.002411] gspca: probing 046d:08f5
This output looks fine to me.
I receive something very similar from my own (working in Lucid) cam.
I think the graphics route would be a good one to take.
Would it be possible for you to test your camera on other machines running the same (most up to date) version of Lucid, which have different graphics chipsets?
exactt (giesbert) wrote : | #64 |
alright guys. just tested on a none-nvidia-chipset lucid x64. some results a with the other maschine running lucid x64. the other one actually had a nvidia chipset.
kernel is: 2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 20:05:27 UTC 2010 x86_64 GNU/Linux
:~$ lspci
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge Alternate
00:02.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (ext gfx port 0)
00:0a.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 5)
00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode] (rev 40)
00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 41)
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40)
00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host controller (rev 40)
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge (rev 40)
00:14.5 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI2 Controller
00:15.0 PCI bridge: ATI Technologies Inc Device 43a0
00:16.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:16.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:18.0 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Link Control
01:00.0 VGA compatible controller: ATI Technologies Inc RV630 [Radeon HD 2600XT]
01:00.1 Audio device: ATI Technologies Inc RV630/M76 audio device [Radeon HD 2600 Series]
02:00.0 SATA controller: JMicron Technology Corp. JMB361 AHCI/IDE (rev 02)
02:00.1 IDE interface: JMicron Technology Corp. JMB361 AHCI/IDE (rev 02)
03:07.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller (rev c0)
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
the only major thing both maschines is in common is, that they use AMD processors and run the 64-bit version of lucid.
anything else i can provide?
Lee Jones (lag) wrote : | #65 |
I'm assuming the problem is still the same with both machines?
When you tested both kernels in #56 did you only change the kernel, or the entire OS?
exactt (giesbert) wrote : | #66 |
sorry for the confusion:
over all there are 3 maschines:
one running latest Maverick (cam works)
two running lucid (cam works on neither of the both)
all are running 64-bit version
hope that helps...
Yözen Hernández (yhernand) wrote : | #67 |
- Output of lspci -vvv Edit (11.7 KiB, text/plain)
And here's what I promised from my side from my girlfriend's desktop. I will attach the output of lspci -vvv, dmesg output when the webcam is attached, and dmesg when attempting to use the cam.
I will include lsusb output for the webcam here inline:
Bus 002 Device 005: ID 046d:08f5 Logitech, Inc. QuickCam Messenger Communicate
and this is the message produced by *any* program trying to use the webcam, always from l4v:
libv4l2: error turning on stream: Input/output error
This is all on an x86_64 machine running Ubuntu Linux 10.4.1 with KDE, on a quad-core AMD processor with an nVidia MCP61 based chipset.
Yözen Hernández (yhernand) wrote : | #68 |
- dmesg output when plugging in camera and attempting to use it with cheese Edit (1.2 KiB, text/plain)
dmesg output when camera is plugged in, and then an attempt is made to use it.
Cheese was used in this instance, in the following two ways:
LD_PRELOAD=
and as just
cheese
Forcing use of the 32-bit library for v4lcompat.so (as recommended with skype -- just in case!), still gives the libv4l message given in my previous comment.
Lee Jones (lag) wrote : | #69 |
And I'm assuming the two Lucid ones are running different graphics chipsets? Hence we can dismiss the graphics theory?
Okay, I have a new kernel for you to try. It won't make your camera work, but it will provide lots of debug which I want you to send to me. Remove your camera, dpgk the kernel in and boot into it. On reboot, plug your camera in and try to test your camera with Ekigna. See what happens and load up your /var/log/messages and /var/log/kern.log files when you've finished.
The kernel is available here:
http://
Lee Jones (lag) wrote : | #70 |
I have another thread to follow.
What (else) do you have plugged into your USB ports?
Are you using a USB hub?
Try this:
1. Unplug everything from all of your USB ports (except mouse)
2. Plug in your camera
3. Start up Cheese or Ekiga
Did that work?
@ exactt:
Have you ever seen "gspca: usb_submit_urb alt 1 err -28"?
Do you receive that error with the kernel I just provided for you?
I will be interesting to see your logs from my bespoke kernel.
Yözen Hernández (yhernand) wrote : | #71 |
@Lee
I'll try to get you the requested info with the new kernel in a bit.
There are several things plugged into usb, including a bluetooth dongle, a printer, a mouse, a keyboard, and the occasional ipod. No hub here.
However, the webcam works flawlessly when the computer is booted into Windows on this machine, with all of those devices plugged in simultaneously. There might be something with how the kernel is handling usb bandwidth on this and other boards, but we'll save that for when I get the debugging output.
Thanks for the help, I'll get back to you in a few.
Yözen Hernández (yhernand) wrote : | #72 |
Whoops, looks like something might be wrong with that kernel image
This happens when you try to install it:
(Reading database ... 326215 files and directories currently installed.)
Unpacking linux-image-
Done.
dpkg-deb (subprocess): short read in buffer_copy (failed to write to pipe in copy)
dpkg-deb: subprocess paste returned error exit status 2
dpkg: error processing linux-image-
short read in buffer_copy (backend dpkg-deb during `./lib/
Running postrm hook script /usr/sbin/
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
Found Windows 7 (loader) on /dev/sda1
Found Microsoft Windows XP Professional on /dev/sdb1
done
Errors were encountered while processing:
linux-
In case there's something wrong with the download, here's the md5sum I got:
dc75edc2c10c1df
Lee Jones (lag) wrote : | #73 |
Whoops! It looks like something went wrong with the upload.
I'll rectify that now.
Can you re-try please?
Yözen Hernández (yhernand) wrote : | #74 |
OK, news: I successfully installed your provided kernel on that machine, rebooted without the camera plugged in, unplugged everything except keyboard and mouse, did
tail -f /var/log/messages
and tee'd that to another file, then plugged in the camera. This happened:
Oct 8 09:11:18 lilypad kernel: [ 621.850038] usb 2-8: new full speed USB device using ohci_hcd and address 8
Oct 8 09:11:18 lilypad kernel: [ 622.083800] usb 2-8: configuration #1 chosen from 1 choice
Oct 8 09:11:18 lilypad kernel: [ 622.167463] Linux video capture interface: v2.00
Oct 8 09:11:18 lilypad kernel: [ 622.182881] gspca: main v2.7.0 registered
Oct 8 09:11:18 lilypad kernel: [ 622.199060] Lee - <NULL> - Enter
Oct 8 09:11:18 lilypad kernel: [ 622.199110] Lee - ^C - Enter
Oct 8 09:11:18 lilypad kernel: [ 622.199113] STV06xx: Probing for a stv06xx device
Oct 8 09:11:18 lilypad kernel: [ 622.199117] Lee - ^C - Enter
Oct 8 09:11:18 lilypad kernel: [ 622.199119] gspca: probing 046d:08f5
Oct 8 09:11:18 lilypad kernel: [ 622.199124] Lee - ^C - Enter
Oct 8 09:11:18 lilypad kernel: [ 622.199126] STV06xx: Configuring camera
Oct 8 09:11:18 lilypad kernel: [ 622.199129] Lee - <NULL> - Enter
Oct 8 09:11:18 lilypad kernel: [ 622.199131] STV06xx: st6422 sensor detected
Oct 8 09:11:18 lilypad kernel: [ 622.199134] Lee - <NULL> - Enter
Oct 8 09:11:18 lilypad kernel: [ 622.199136] STV06xx: Initializing camera
Oct 8 09:11:18 lilypad kernel: [ 622.450062] Lee - <NULL> - Enter
Oct 8 09:11:18 lilypad kernel: [ 622.450165] PGD aa4b9067 PUD a4290067 PMD 0
Oct 8 09:11:18 lilypad kernel: [ 622.450186] CPU 2
Oct 8 09:11:18 lilypad kernel: [ 622.450189] Modules linked in: gspca_stv06xx(+) gspca_main videodev v4l1_compat v4l2_compat_ioctl32 rfcomm sco bridge binf
mt_misc stp bnep l2cap vboxnetflt vboxdrv snd_hda_codec_via ipt_REJECT ipt_LOG xt_limit xt_tcpudp ipt_addrtype xt_state snd_hda_intel snd_hda_codec snd_hwdep
snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy ip6table_filter snd_seq_oss ip6_tables snd_seq_midi nf_nat_irc snd_rawmidi nf_conntrack_irc snd_seq_midi_eve
nt nf_nat_ftp nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 snd_seq nf_conntrack_ftp nf_conntrack snd_timer snd_seq_device iptable_filter ppdev nvidia(P) btusb ip_
tables lp snd parport_pc psmouse vga16fb edac_core soundcore vgastate serio_raw bluetooth i2c_nforce2 edac_mce_amd snd_page_alloc usblp x_tables parport fbco
n tileblit font bitblit softcursor uvesafb usbhid hid floppy sata_nv forcedeth pata_amd
Oct 8 09:11:18 lilypad kernel: [ 622.450286] Pid: 9542, comm: modprobe Tainted: P 2.6.32-26-generic #45 MCP61M05
Oct 8 09:11:18 lilypad kernel: [ 622.450291] RIP: 0010:[<
Oct 8 09:11:18 lilypad kernel: [ 622.450299] RSP: 0018:ffff8800a4
Oct 8 09:11:18 lilypad kernel: [ 622.450303] RAX: ffffffff8170c16a RBX: ffffffff81999fc0 RCX: 0000000000000002
Oct 8 09:11:18 lilypad kernel: [ 622.450307] RDX: 0000000000001440 RSI: ffffffffffffffff RDI: 0000000000001440
Oct 8 09:11:18 lilypad kernel: [ 622.450310] RBP: ffff8800a4327978 R08: 0000000000000073 R09: 0000000000000000
Oct 8 09:11:18 lilypad kernel:...
Changed in linux-source-2.6.20 (Ubuntu Lucid): | |
status: | New → Invalid |
Changed in linux-source-2.6.15 (Ubuntu Lucid): | |
status: | New → Invalid |
Changed in linux (Ubuntu Lucid): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Lee Jones (lag) |
Changed in linux-source-2.6.20 (Ubuntu Maverick): | |
status: | Won't Fix → Fix Released |
status: | Fix Released → Invalid |
Changed in linux-source-2.6.15 (Ubuntu Maverick): | |
status: | Fix Released → Invalid |
importance: | Medium → Undecided |
Lee Jones (lag) wrote : | #75 |
I'm going to build you another set of kernels.
Once you've installed then ensure you issue this command before you run your tests again.
echo 7 7 7 7 | sudo tee -a /proc/sys/
That will allow all of the debug prints to be reflected in the logs.
Give it another 30 mins or so (or check make sure all the time stamps are up to date) and re download your kernels.
http://
Thanks for your help. :)
Lee Jones (lag) wrote : | #76 |
Okay, they're ready.
Lee Jones (lag) wrote : | #77 |
When you paste your output again, would you be kind enough to either upload it as an attachment rather than pasting it in please?
Yözen Hernández (yhernand) wrote : | #78 |
- dmesg output using kernel provided by Lee. Edit (70.2 KiB, text/plain)
Sure, sorry about before!
OK attached is the entire dmesg output (this stuff didn't seem to be logged right to /var/log/messages or /var/log/dmesg).
If there's anything else I can provide, machine's still on, booted to this kernel, cam plugged in.
The camera was recognized, by the way, with no crash in modprobe like last time.
Lee Jones (lag) wrote : | #79 |
With regards to:
> [ 287.134873] gspca: usb_submit_urb alt 1 err -28
ERR -28 =: #define ENOSPC 28 /* No space left on device */
USB returns -ENOSPC when its bandwidth has been used up.
This is an issue with the USB subsystem, rather than GSPCA.
Normally when -ENOSPC is returned, the receiving driver goes into low bandwidth mode, however ST6422 doesn't have a low bandwidth mode. Here lies our problem. I'll have to do some more investigation on it next week. The real problem is Lucid is LTS, making it very hard to add any workarounds or code which may cause regression. I'll have a word with the maintainer and see if we can come up with something.
Yözen Hernández (yhernand) wrote : | #80 |
I've heard that part mentioned in the past, about USB bandwidth being used up, but I just think its curious that its basically happening only on this board (for me)!
Thanks for your help, though, and whatever you guys come up with, I'm sure it'll be a great help and I know it took a lot to get here. Thanks.
Lee Jones (lag) wrote : | #81 |
Yes, it will only happen to the ST6422, as most 'boards' have a secondary "Low-Bandwidth Mode" to switch to when -ENOSPC is received from the USB subsystem. However, the ST6422 lacks this functionality. As I say, the real issue is in the USB subsystem. This has been addressed in the latest kernels i.e. Maverick.
Leave it with me and I'll see what I can do.
Lee Jones (lag) wrote : | #82 |
Did you try the new kernel with only the cam plugged in?
What was the output?
Lee Jones (lag) wrote : | #83 |
I have some more news from one of the ST6422 kernel devs.
Apparently, it's a fluke that this works in Maverick.
I am in the process of writing a patch to write the wrongs.
Watch this space.
Yözen Hernández (yhernand) wrote : | #84 |
Sorry Lee, but I think that the output you're referring to is what I had posted in comment #78. That was with only the cam plugged in (except keyboard and mouse, unless you wanted me to unplug one or both of those as well).
Re: the patch -- great news!
Lee Jones (lag) wrote : | #85 |
Ah, so #78 was with only the cam plugged in?
No problem.
Lee Jones (lag) wrote : | #86 |
Okay, I have applied the patch to Lucid.
Can you try it for me, then post your logs here please?
Yözen Hernández (yhernand) wrote : | #87 |
- dmesg_lee_kernel_patched Edit (54.5 KiB, text/plain)
Lee, sorry for the long response. I've got word back about the camera situation. The new kernel patches appear to have worked! Although the camera does not work as a microphone (but I think this may have been intentional on your part? If I'm not mistaken, your custom kernel has no usb sound drivers).
In any case, attached is the dmesg output, including that while the camera was used (about 3 times).
Lee Jones (lag) wrote : | #88 |
The USB sound drivers are contained in the *.deb file:
./lib/
Can you plug your camera in and send me your resulting /var/log/udev file please?
I am in the process of compiling you some more kernels, I'll let you know when they are ready for testing (should be 30-60mins).
Yözen Hernández (yhernand) wrote : | #89 |
- var_log_udev_lee_kernel Edit (265.7 KiB, text/plain)
OK I've installed the new kernel you posted and got the udev log you wanted.
Also, I figured out what was wrong with the usb audio: I had blacklisted it on that machine before on advice I had seen somewhere else regarding webcam issues! It should be fine now.
I also have the dmesg output and will post that too if you need it.
Lee Jones (lag) wrote : | #90 |
So, did everything work with the new kernel? Video and audio?
Can you send me the log please?
Yözen Hernández (yhernand) wrote : | #91 |
- dmesg output with latest kernel, while running Skype. Edit (240.5 KiB, text/plain)
Sorry again for the delay. I don't actually have much physical access to this machine and do most things remotely and by instructing someone else.
OK, so here's the dmesg output, taken while the camera was being used with Skype.
Video is chopped in half horizontally: top half has video, bottom half is black. Quickcam does not show up as a capture device, so there is no way for Skype or something to capture audio.
Checking lsmod shows that snd_usb_audio is indeed loaded, but it still doesn't work.
Lee Jones (lag) wrote : | #92 |
At least we are moving forward. Half is better than none.
I think I'll make the patch less aggressive, this may give you your other half of the picture back.
Have a quick go at testing it for video, then we'll work on the sound.
Once tested, if you can post your entire /var/log/kern.log it would be much appreciated.
Kernels:
http://
Yözen Hernández (yhernand) wrote : | #93 |
- kern.log, trimmed Edit (4.3 MiB, text/plain)
OK so I had to trim /var/kern/log a bit...because it ballooned up to 400+ MB. Hope that its ok that I cut it down to about 4.3MB. It was pretty much repeating itself after that point.
Also there was absolutely no video this time (and no audio, but I know you said we'd work on that later).
Lee Jones (lag) wrote : | #94 |
You did the right thing by trimming the log. :)
I don't know why video didn't work at all this time. All I did was to revert the changes back to when you saw a full picture. I'll make you a couple more kernels and stick them up at the following URL:
http://
You will notice that they have 100, 200 and 300 near the end of the file name.
If you can try all 3 for your architecture and report back the results, I'd be much obliged.
Yözen Hernández (yhernand) wrote : | #95 |
Sure hope the clue as to why video didn't work wasn't at around megabyte 399 or something! (Also, typo in my previous comment: of course I meant /var/log/kern.log)
OK, I will post my results as soon as I get them for all three kernels. This may take a while so maybe by/before the weekend.
Thanks!
Lee Jones (lag) wrote : | #96 |
No rush.
I have also ordered a camera with a STV06xx in it.
If you still have the issue by the time it arrives, as least I can debug it locally. :)
Yözen Hernández (yhernand) wrote : | #97 |
- /var/log/kern.log for 100 kernel, including messages when using Skype Edit (474.7 KiB, text/plain)
Well, as promised, here are the /var/log/kern.log's for each of those kernels. Also, as for the video and audio in each one, the results are as follows:
100: Full video, no problems. Audio did not work (device never recognized by Pulseaudio).
200: Half video screen. Audio did not work (device never recognized by Pulseaudio).
300: Only a small sliver of video across the top made it through. Audio did not work (device never recognized by Pulseaudio).
So the audio never worked, but at least in the 100, video seems to have worked perfectly.
I will attach each file successively.
Yözen Hernández (yhernand) wrote : | #98 |
Yözen Hernández (yhernand) wrote : | #99 |
Lee Jones (lag) wrote : | #100 |
I've been working with another developer who has a great deal of experience in this area. He has recently submitted a patch-set upstream. We are currently waiting for a verdict.
If you wish to follow the thread you can find the relevant start point here:
https:/
Lee Jones (lag) wrote : | #101 |
This should now be fixed.
Changed in linux (Ubuntu Lucid): | |
status: | In Progress → Fix Released |
arkaitzswagman (arkaitzswagman) wrote : | #102 |
Hello,
sorry if I missed it, but I did not find the patch mentioned for maverick, and the way to implement it. Thanks for any help!
(quicktime messenger plus webcam on maverick with 2.6.36-27)
Lee Jones (lag) wrote : | #103 |
arkaitzswagman (arkaitzswagman) wrote : | #104 |
Thank you Lee Jones,
I should have mentioned earlier that I am not a programmer, just a basic user trying to get this camera working. That is to say, I am not aware of relations between git community files and ubuntu repositories automatic kernel updates and I probably got something wrong.
Here is what I did with the 13 files you gave me the adress of:
replace files from the http://
make
sudo make install
It does not work either (I still don't have any "video*" in /dev/)
Thanks for any further help! :)
Lee Jones (lag) wrote : | #105 |
No, that won't work.
Can you send me your dmsg output?
arkaitzswagman (arkaitzswagman) wrote : | #106 |
here:
[17606.745052] usb 2-2: USB disconnect, address 5
[17611.913097] usb 2-2: new full speed USB device using ohci_hcd and address 6
[17612.295869] gspca_stv06xx: disagrees about version of symbol gspca_frame_add
[17612.295876] gspca_stv06xx: Unknown symbol gspca_frame_add (err -22)
[17612.296581] gspca_stv06xx: disagrees about version of symbol gspca_dev_probe
[17612.296584] gspca_stv06xx: Unknown symbol gspca_dev_probe (err -22)
Lee Jones (lag) wrote : | #107 |
Well I'm not entirely sure how old your out-of-tree version of GSPCA is, but I would have thought it's pretty old. All recent GSPCA development has been completed in the kernel tree and is available in the latest kernels. By issuing "make install" you deleted the most recent kernel modules (contained in /lib/modules/
arkaitzswagman (arkaitzswagman) wrote : | #108 |
Hi,
it does not seem like I have an old module,
In ...
/lib/modules/
I found :
-rw-r--r-- 1 root root 35308 2011-02-23 01:51 gspca_stv06xx.ko
Thanks
arkaitzswagman (arkaitzswagman) wrote : | #109 |
nevermind previous comment...
will do what suggested
Thks
arkaitzswagman (arkaitzswagman) wrote : | #110 |
Hi,
It is still not working with latest modules on 2.6.35.27 kernel on this computer (mobo Asus m2n-x) BUT it is recognized:
987.501408] usb 1-9.2: new full speed USB device using ehci_hcd and address 6
[ 988.337249] Linux video capture interface: v2.00
[ 988.382897] gspca: v2.12.0 registered
[ 988.514240] gspca_stv06xx: disagrees about version of symbol gspca_frame_add
[ 988.514248] gspca_stv06xx: Unknown symbol gspca_frame_add (err -22)
[ 988.514448] gspca_stv06xx: disagrees about version of symbol gspca_frame_add
[ 988.514456] gspca_stv06xx: Unknown symbol gspca_frame_add (err -22)
[ 988.515555] gspca_stv06xx: disagrees about version of symbol gspca_dev_probe
[ 988.515559] gspca_stv06xx: Unknown symbol gspca_dev_probe (err -22)
[ 988.515831] gspca_stv06xx: disagrees about version of symbol gspca_dev_probe
[ 988.515835] gspca_stv06xx: Unknown symbol gspca_dev_probe (err -22)
[ 988.516738] gspca_stv06xx: disagrees about version of symbol gspca_frame_add
[ 988.516742] gspca_stv06xx: Unknown symbol gspca_frame_add (err -22)
[ 988.517415] gspca_stv06xx: disagrees about version of symbol gspca_dev_probe
[ 988.517422] gspca_stv06xx: Unknown symbol gspca_dev_probe (err -22)
[ 988.665081] usbcore: registered new interface driver snd-usb-audio
AND
it is working perfectly on my netbook (nb30)
It is probably due to a hardware problem, as I have been experiencing several issues with this computer (though never with USB, that's why I allowed myself to point out this issue with the webcam)
Thanks a lot anyway for your support!
Lee Jones (lag) wrote : | #111 |
It still appears that your GSPCA loadable modules aren't agreeing with your kernel version. I doubt they are from the same kernel version, hence the "Unknown symbol" and "disagrees about". There should be no ambiguity between versions.
arkaitzswagman (arkaitzswagman) wrote : | #112 |
Hi,
I am a bit lost!
I reinstalled linux headers 2.6.35.27 via synaptics, I thought this would update gspca modules.
Could you briefly describe/send me a link on how/ I should proceed to install the latest module/ make sure I have it running?
Do I have to compile something? only the "stv006x" part, all the gspca module, ...?
Should I just download the files from git and copy them in:
/lib/modules/
or /sys/module/
/sys/module/
I am loading 2.6.35.27 headers on start up, but I still have previous ones installed (2.6.35.22 and 2.6.35.25). Would that be likely to fix ambiguities to uninstall these headers?
Thanks for your help
Lee Jones (lag) wrote : | #113 |
This should do it:
sudo apt-get install linux-image-
arkaitzswagman (arkaitzswagman) wrote : | #114 |
Thanks but this version (2.6.35-28) is not in the official Ubuntu 10.10 rep.
I don't know if I should upgrade then, and if upgrading, why just to 35-28 as there are some newer versions.
I'm afraid of messing up the relatively stable system I have if I add the kernel team repository without much knowing about what I'm doing.
Lee Jones (lag) wrote : | #115 |
In which case, download the *.deb
sudo aptitude download linux-image-
Extract it
dpkg -x linux-image-
And copy the modules you need from the extracted deb
cp /tmp/lib/
You can see if they updated correctly using modinfo
modinfo gspca_stv06xx
arkaitzswagman (arkaitzswagman) wrote : | #116 |
It did not work :
modinfo gspca_stv06xx
filename: /lib/modules/
license: GPL
description: STV06XX USB Camera Driver
author: Erik Andrén
srcversion: E909E7274670A81
alias: usb:v046Dp08F6d
alias: usb:v046Dp08F5d
alias: usb:v046Dp08F0d
alias: usb:v046Dp0870d
alias: usb:v046Dp0850d
alias: usb:v046Dp0840d
depends: gspca_main
vermagic: 2.6.35-27-generic SMP mod_unload modversions 686
parm: dump_bridge:Dumps all usb bridge registers at startup (bool)
parm: dump_sensor:Dumps all sensor registers at startup (bool)
dmesg:
usb 1-9.4: new full speed USB device using ehci_hcd and address 7
[ 147.303639] gspca_stv06xx: disagrees about version of symbol gspca_frame_add
[ 147.303648] gspca_stv06xx: Unknown symbol gspca_frame_add (err -22)
[ 147.304348] gspca_stv06xx: disagrees about version of symbol gspca_dev_probe
[ 147.304351] gspca_stv06xx: Unknown symbol gspca_dev_probe (err -22)
Lee Jones (lag) wrote : | #117 |
I'd say this is unrelated to this bug.
You'd be better off creating another (newer) one and someone will pick it up.
arkaitzswagman (arkaitzswagman) wrote : | #118 |
Yes, I will do that, but as I said, I 'm skeptikal about the nature of my problems (hardware/
I have kernel panics, non human readable MCE, and a bunch of errors written in white or red appearing on first boots...
However, just for your interest, it seems to work a bit better today though I did not do anything special : no disagreement about version between stv06xx and gspca, just a bandwidth problem!
Thanks
Lee Jones (lag) wrote : | #119 |
Well the bandwidth problem is solved in a latter kernel.
You'd have to upgrade your distribution to make use of it though.
The quickcam module does not declare support for this particular device:
alias: usb:v046Dp0840d *dc*dsc* dp*ic*isc* ip* *dc*dsc* dp*ic*isc* ip* *dc*dsc* dp*ic*isc* ip*
alias: usb:v046Dp0850d
alias: usb:v046Dp0870d
This may be because the driver in fact does not support it yet.