Logitech QuickCam Messenger
Version 0.5 worked like a charm. I saw my image in Gyach buth the other only saw a black box. But I think it was becouse I had the port closed in my firewall. I'll try later if it is solved.
Camorama crashed until I ran it as root. Now with 0.7 drivers I can run it as normal user without problems.
I get 10fps at 320x200. I think in windows I get faster. Not really sure. Will check later.
The box says the camera is capable of 640x480 @ 30fps. Well, I think the linux drivers need more work to be done. But for my current needs, it's working very good. Thanx to the developer!
My girlfriend gave me the camera last 28 as a birthday present, and without those drivers I'd had to bring it back to the shop. I'm really happy.
Camorama crashed until I ran it as root. Now with 0.7 drivers I can run it as normal user without problems.
I get 10fps at 320x200. I think in windows I get faster. Not really sure. Will check later.
The box says the camera is capable of 640x480 @ 30fps. Well, I think the linux drivers need more work to be done. But for my current needs, it's working very good. Thanx to the developer!
My girlfriend gave me the camera last 28 as a birthday present, and without those drivers I'd had to bring it back to the shop. I'm really happy.
Same problem here.MaxDamage wrote:I'm not able to access the page http://home.mag.cx/messenger/ Is it down?
I think it's down.
I can't belive it. I hope the project resurge in a few days.
Meanwhile, here is a mirror to the latest driver: http://mgtroyas.home.dyndns.org/qc-usb- ... 0.8.tar.gz
*** EDIT ***
There is a mirror that'll do better the job than my home pc.
http://www.ee.oulu.fi/~tuukkat/quickcam/messenger/
Meanwhile, here is a mirror to the latest driver: http://mgtroyas.home.dyndns.org/qc-usb- ... 0.8.tar.gz
*** EDIT ***
There is a mirror that'll do better the job than my home pc.
http://www.ee.oulu.fi/~tuukkat/quickcam/messenger/
Last edited by MaxDamage on Wed Jan 19, 2005 9:31 pm, edited 1 time in total.
QuickCam Messenger VendorId:ProductId 046D:08F0
qc-usb (with kernel 2.4) from here
http://www.ee.oulu.fi/~tuukkat/quickcam/quickcam.html
works for 046d:08f0 Logitech, Inc.
while that from a portage qc-usb-0.6.2 does not
http://www.ee.oulu.fi/~tuukkat/quickcam/quickcam.html
works for 046d:08f0 Logitech, Inc.
while that from a portage qc-usb-0.6.2 does not
Much like moa333, I get this with version 0.8:
I then happened to check my /var/log/messages and found this:
What happened is that I recompiled a I new kernel before actually rebooting with it and compiled quickcam while the old kernel was in use, so when I rebooted with the new kernel, it came up with that problem. After realizing that I re-emerged the package and now /var/log/messages reports:
Which I think is somewhat normal. I will keep playing with this a little later and see if I can get any further. It should at least help out the other lad with the "invalid module format" error.
Thanks everyone for keeping at this I had lost all hope for getting this working and on a whim checked this thread again and found that some of you have succeeded ! I am queuing up to be next in line hopefully !
Cheers,
TightCode
Code: Select all
# modprobe quickcam
FATAL: Error inserting quickcam (/lib/modules/2.6.10-gentoo-r6/drivers/usb/quickcam.ko): Invalid module formatCode: Select all
Jan 21 15:00:07 echobox quickcam: version magic '2.6.9-gentoo-r1 SMP preempt PENTIUM4 4KSTACKS gcc-3.3' should be '2.6.10-gentoo-r6 SMP preempt PENTIUM4 4KSTACKS gcc-3.3'Code: Select all
an 21 15:59:51 echobox quickcam [51.103219]: ----------LOADING QUICKCAM MODULE------------
Jan 21 15:59:51 echobox quickcam [51.103484]: struct quickcam size: 3924
Jan 21 15:59:51 echobox quickcam: QuickCam USB camera found (driver version QuickCam Messenger/Communicate USB $Date: 2004/12/30 10:00:00 $)
Jan 21 15:59:51 echobox quickcam: Kernel:2.6.10-gentoo-r6 bus:1 class:FF subclass:FF vendor:046D product:08F0
Jan 21 15:59:51 echobox quickcam [51.107244]: poisoning qc in qc_usb_init
Jan 21 15:59:51 echobox quickcam [51.107863]: E00A contains 08F0
Jan 21 15:59:51 echobox quickcam: Sensor VV6450 detected
Jan 21 15:59:51 echobox quickcam [51.108258]: Quickcam snapshot button registered on usb-0000:00:1d.7-6.4/input0
Jan 21 15:59:51 echobox quickcam: Registered device: /dev/video0
Jan 21 15:59:51 echobox usbcore: registered new driver quickcam
Jan 21 15:59:56 echobox wait_for_sysfs[21236]: either wait_for_sysfs (udev 045) needs an update to handle the device '/class/video4linux/video0' properly (no device symlink) or the sysfs-support of your device's driver needs to be fixed, please report to <linux-hotplug-devel@lists.sourceforge.net>
Jan 21 15:59:56 echobox devfsd[1264]: error calling: "unlink" in "GLOBAL"
Thanks everyone for keeping at this I had lost all hope for getting this working and on a whim checked this thread again and found that some of you have succeeded ! I am queuing up to be next in line hopefully !
Cheers,
TightCode
Well, I'm sorry I can't help much, as far as I'm concerned it worked almost out of the box as soon as I installed the drivers.
Anyway, here's a proof it works fine.
http://soulsbane.ath.cx/images/My%20Log ... 321792.png
I haven't played much with the resolution and all.
Anyway, here's a proof it works fine.
http://soulsbane.ath.cx/images/My%20Log ... 321792.png
I haven't played much with the resolution and all.
Oh I believe you that it works. What are you using to grab frames from it ? I have tried:
- camorama: crashes with:
VIDIOCSYNC: Function not implemented
- camE: exits with:
camE: * taking shot
ioctl VIDIOCSYNC: Function not implemented
no image captured
- camserv: gives a black rectangle with the time.
So I am still finding a way to get something out, at least the machine sees it and recognizes it now. Thanks for any and all help.
Cheers,
TightCode
- camorama: crashes with:
VIDIOCSYNC: Function not implemented
- camE: exits with:
camE: * taking shot
ioctl VIDIOCSYNC: Function not implemented
no image captured
- camserv: gives a black rectangle with the time.
So I am still finding a way to get something out, at least the machine sees it and recognizes it now. Thanks for any and all help.
Cheers,
TightCode
When I boot and the module is loaded via modules-autoload I get those errors.
Then I rmmod the module and run the quickcam.sh script to install it again, and then everything is solved.
Perhaps the script does something with permissions that the loading of the module at boot time doesn't. I'll investigate it further. But as a quick fix this could be of help.
Then I rmmod the module and run the quickcam.sh script to install it again, and then everything is solved.
Perhaps the script does something with permissions that the loading of the module at boot time doesn't. I'll investigate it further. But as a quick fix this could be of help.
Alright, here's how I got it working, with the ebuild and version 0.8
First, we need to make sure we have a portage overlay. So open up your make.conf and modify it if you need to
Make sure you have a line somewhere that says something like
If can be whatever you want, but we'll assume you want it at that location. Now, we'll want to create the actual directories
Alright. Now we need to create the ebuild. First we'll open up the file
Then we paste all that text into it
We save the file, close it.
There's one last step we need to do before emerging it At this point the package should download so you need an internet connection.
Alright! Now we try to emerge it (btw, don't be stupid like me and make sure your /usr/src/linux symlink actually links to the kernel you're currently using)
Everything should be alright now if you didn't receive any error message. We're now going to try loading up the module.
If you have coldplug installed, now would be a good time to restart it
Then you'll most probably need to change the permissions on the new video device which was just created, this should automatically be done every other time you start an X session (of course, replace 'm0x' with your current user, and video0 with video1 if you already had something like a capture card)
Now it should be ready and operational, let's try it with camorama
It should be working fine by now! If you want it to be loaded by default at boot time I would suggest installing coldplug and having it run at that moment (rc-update add coldplug default), or just put "quickcam" in the /etc/modules.autoload.d/kernel-2.6.
I hope this is useful to those of you who have had problems getting this to work, I welcome any feedback whatsoever about this little howto.
First, we need to make sure we have a portage overlay. So open up your make.conf and modify it if you need to
Code: Select all
nano -w /etc/make.confCode: Select all
PORTDIR_OVERLAY="/usr/local/portage"Code: Select all
mkdir /usr/local/portage/media-video/qc-usb-messenger/ -pCode: Select all
nano -w /usr/local/portage/media-video/qc-usb-messenger/qc-usb-messenger-0.8.ebuildCode: Select all
inherit kernel-mod eutils
DESCRIPTION="Logitech USB Quickcam Messenger Linux Driver Modules"
HOMEPAGE="http://home.mag.cx/messenger/"
SRC_URI="http://www.ee.oulu.fi/~tuukkat/quickcam/messenger/${P}.tar.gz"
IUSE=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
DEPEND="virtual/linux-sources"
src_compile() {
emake KERNEL_DIR=${KERNEL_DIR} all || die
}
src_install() {
insinto /lib/modules/${KV}/drivers/usb
if kernel-mod_is_2_6_kernel; then
doins quickcam.ko
else
doins quickcam.o
fi
dobin /usr/bin/qcset
dodoc README* APPLICATIONS COPYING CREDITS TODO FAQ
insinto /usr/share/doc/${PF}
doins quickcam.sh debug.sh freeshm.sh
}
pkg_postinst() {
if kernel-mod_is_2_4_kernel; then
/usr/sbin/update-modules
fi
einfo "The driver is based on qc-usb-0.6.2, but I have removed the support"
einfo "for all cameras except Quickcam Messenger in this source, since I"
einfo "don't have any other cameras at home."
einfo "The kernel module for quickcam.{o,ko} is installed for the"
einfo "kernel linked by /usr/src/linux."
}
There's one last step we need to do before emerging it At this point the package should download so you need an internet connection.
Code: Select all
ebuild /usr/local/portage/media-video/qc-usb-messenger/qc-usb-messenger-0.8.ebuild digestCode: Select all
emerge -v qc-usb-messengerCode: Select all
modules-update
modprobe quickcamCode: Select all
/etc/init.d/coldplug restartCode: Select all
chown m0x /dev/v4l/video0Code: Select all
emerge -v camorama
camorama -d=/dev/v4l/video0I hope this is useful to those of you who have had problems getting this to work, I welcome any feedback whatsoever about this little howto.
Howto is good and understandable (from my point of view).
I am just wondering about a message in my logfiles which i get when i plug the camera into the usb port:
And another problem:
canorama quits unexpectedly when i try to run it with the given options.
Alex
I am just wondering about a message in my logfiles which i get when i plug the camera into the usb port:
Looks like a warning message from udev. Will have a look at this problem later.Jan 27 12:28:34 [wait_for_sysfs] either wait_for_sysfs (udev 045) needs an update to handle the device '/class/video4linux/video0' properly (no device symlink) or the sysfs-support of your device's driver needs to be fixed, please report to <linux-hotplug-devel@lists.sourceforge.net>
And another problem:
canorama quits unexpectedly when i try to run it with the given options.
Alex
- WyriHaximus
- n00b

- Posts: 56
- Joined: Thu Jan 08, 2004 1:11 pm
- Location: koedijk(alkmaar), The Netherlands
- Contact:
Hi thnxs very much for that but I got only one problem:m0x wrote:Alright, here's how I got it working, with the ebuild and version 0.8
First, we need to make sure we have a portage overlay. So open up your make.conf and modify it if you need toMake sure you have a line somewhere that says something likeCode: Select all
nano -w /etc/make.confIf can be whatever you want, but we'll assume you want it at that location. Now, we'll want to create the actual directoriesCode: Select all
PORTDIR_OVERLAY="/usr/local/portage"Alright. Now we need to create the ebuild. First we'll open up the fileCode: Select all
mkdir /usr/local/portage/media-video/qc-usb-messenger/ -pThen we paste all that text into itCode: Select all
nano -w /usr/local/portage/media-video/qc-usb-messenger/qc-usb-messenger-0.8.ebuildWe save the file, close it.Code: Select all
inherit kernel-mod eutils DESCRIPTION="Logitech USB Quickcam Messenger Linux Driver Modules" HOMEPAGE="http://home.mag.cx/messenger/" SRC_URI="http://www.ee.oulu.fi/~tuukkat/quickcam/messenger/${P}.tar.gz" IUSE="" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" DEPEND="virtual/linux-sources" src_compile() { emake KERNEL_DIR=${KERNEL_DIR} all || die } src_install() { insinto /lib/modules/${KV}/drivers/usb if kernel-mod_is_2_6_kernel; then doins quickcam.ko else doins quickcam.o fi dobin /usr/bin/qcset dodoc README* APPLICATIONS COPYING CREDITS TODO FAQ insinto /usr/share/doc/${PF} doins quickcam.sh debug.sh freeshm.sh } pkg_postinst() { if kernel-mod_is_2_4_kernel; then /usr/sbin/update-modules fi einfo "The driver is based on qc-usb-0.6.2, but I have removed the support" einfo "for all cameras except Quickcam Messenger in this source, since I" einfo "don't have any other cameras at home." einfo "The kernel module for quickcam.{o,ko} is installed for the" einfo "kernel linked by /usr/src/linux." }
There's one last step we need to do before emerging it At this point the package should download so you need an internet connection.Alright! Now we try to emerge it (btw, don't be stupid like me and make sure your /usr/src/linux symlink actually links to the kernel you're currently using)Code: Select all
ebuild /usr/local/portage/media-video/qc-usb-messenger/qc-usb-messenger-0.8.ebuild digestEverything should be alright now if you didn't receive any error message. We're now going to try loading up the module.Code: Select all
emerge -v qc-usb-messengerIf you have coldplug installed, now would be a good time to restart itCode: Select all
modules-update modprobe quickcamThen you'll most probably need to change the permissions on the new video device which was just created, this should automatically be done every other time you start an X session (of course, replace 'm0x' with your current user, and video0 with video1 if you already had something like a capture card)Code: Select all
/etc/init.d/coldplug restartNow it should be ready and operational, let's try it with camoramaCode: Select all
chown m0x /dev/v4l/video0It should be working fine by now! If you want it to be loaded by default at boot time I would suggest installing coldplug and having it run at that moment (rc-update add coldplug default), or just put "quickcam" in the /etc/modules.autoload.d/kernel-2.6.Code: Select all
emerge -v camorama camorama -d=/dev/v4l/video0
I hope this is useful to those of you who have had problems getting this to work, I welcome any feedback whatsoever about this little howto.
Someone any idee how to slove that?tux qc-usb-messenger-0.8 # modprobe quickcam
FATAL: Error inserting quickcam (/lib/modules/2.6.9-rc4-love1/drivers/usb/quickcam.ko): Unknown symbol in module, or unknown parameter (see dmesg)
tux qc-usb-messenger-0.8 # dmesg
quickcam: Unknown symbol remap_page_range
quickcam: Unknown symbol remap_page_range
tux qc-usb-messenger-0.8 #
Grtz,
WyriHaximus
Thanks for posting. It worked for me pretty much out of the box. I had a lot of trouble with the quick cam zoom and had to return it. But the drivers m0x listed worked GREAT. Once I get the sound working i'll be in great shape.
Ged tha mi bochd tha mi uasal; buidheachas do Dhia is ann de chlann 'Ill Eathain mi.
- WyriHaximus
- n00b

- Posts: 56
- Joined: Thu Jan 08, 2004 1:11 pm
- Location: koedijk(alkmaar), The Netherlands
- Contact:
Try removing the .ko file and emerging again. Perhaps the module is incompatible with the Love sources?WyriHaximus wrote:No body a solution for my problem? Ifso please post it.
Grtz,
WyriHaximus
BTW I wanted to notice http://home.mag.cx/messenger/ is up again. No new version of the drivers, anyway. But the ebuild posted before works like a charm. I haven't got any permissions problems aymore.
I'm running Gentoo on an amd64-machine (gentoo-dev-sources 2.6.9-rc14), this is what I did to get it running --GURU ALERT--
- plug it in.
- download and tar http://home.mag.cx/messenger/source/qc- ... 0.8.tar.gz
- run quickcam.sh
- press Enter
- ignore the error messages, even the one about not able to find a webcam
- keep pressing Enter
- enjoy
My question now is...why is it still masked (missing keyword)? ~amd64 should at least be available
Sorry, I don't understand...
The module is failing to load via modprobe when usink kernel 2.6.11. It says:
I've googled around, and a similar error happens with the ATI binary drivers. There is a patch for them, but as the quickcam module development seems to be freezed, I hope somebody fixes it. Perhaps the normal qc-usb module has the same problem, and the fix is aplicable to the messenger one.
**EDIT**
WyriHaximus, just noticed this is the same problem as you reported. So now all of us are in the same situation. If you made it work, please post how you did it. Thanx.
Code: Select all
marcos@Mutsumi ~ $ sudo modprobe quickcam
FATAL: Error inserting quickcam (/lib/modules/2.6.11-gentoo-r3/drivers/usb/quickcam.ko): Unknown symbol in module, or unknown parameter (see dmesg)Code: Select all
marcos@Mutsumi ~ $ dmesg | grep quickcam
quickcam: Unknown symbol remap_page_range
**EDIT**
WyriHaximus, just noticed this is the same problem as you reported. So now all of us are in the same situation. If you made it work, please post how you did it. Thanx.
- WyriHaximus
- n00b

- Posts: 56
- Joined: Thu Jan 08, 2004 1:11 pm
- Location: koedijk(alkmaar), The Netherlands
- Contact:
Problem solved:
I edited the patch that qc-usb applies to the sources so it could be applied to the qc-usb-messenger ones:
Supossing your overlay is /usr/local/portage save it as /usr/local/portage/media-video/qc-usb-messenger/files/0.8-linux-2.6.11.patch
Here is the ebuild edited to use the patch:
Overwrite the /usr/local/portage/media-video/qc-usb-messenger/qc-usb-messenger-0.8.ebuild file with this one.
And that's it. Hope it works for you.
I edited the patch that qc-usb applies to the sources so it could be applied to the qc-usb-messenger ones:
Code: Select all
--- qc-usb-messenger-0.8/qc-memory.c-old 2005-02-24 19:40:37.000000000 -0500
+++ qc-usb-messenger-0.8/qc-memory.c 2005-02-24 19:41:12.000000000 -0500
@@ -233,7 +233,11 @@
pos = (unsigned long)src;
while ((long)size > 0) {
physaddr = kvirt_to_pa(pos);
- if (remap_page_range(vma, start, physaddr, PAGE_SIZE, PAGE_SHARED))
+ if (remap_pfn_range(vma,
+ start,
+ physaddr >> PAGE_SHIFT,
+ PAGE_SIZE,
+ PAGE_SHARED))
return -EAGAIN;
start += PAGE_SIZE;
pos += PAGE_SIZE;
Here is the ebuild edited to use the patch:
Code: Select all
inherit kernel-mod eutils
DESCRIPTION="Logitech USB Quickcam Messenger Linux Driver Modules"
HOMEPAGE="http://home.mag.cx/messenger/"
SRC_URI="http://www.ee.oulu.fi/~tuukkat/quickcam/messenger/${P}.tar.gz"
IUSE=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
DEPEND="virtual/linux-sources"
src_unpack() {
cd ${S}
unpack ${A}
epatch ${FILESDIR}/${PV}-linux-2.6.11.patch
}
src_compile() {
emake KERNEL_DIR=${KERNEL_DIR} all || die
}
src_install() {
insinto /lib/modules/${KV}/drivers/usb
if kernel-mod_is_2_6_kernel; then
doins quickcam.ko
else
doins quickcam.o
fi
dobin /usr/bin/qcset
dodoc README* APPLICATIONS COPYING CREDITS TODO FAQ
insinto /usr/share/doc/${PF}
doins quickcam.sh debug.sh freeshm.sh
}
pkg_postinst() {
if kernel-mod_is_2_4_kernel; then
/usr/sbin/update-modules
fi
einfo "The driver is based on qc-usb-0.6.2, but I have removed the support"
einfo "for all cameras except Quickcam Messenger in this source, since I"
einfo "don't have any other cameras at home."
einfo "The kernel module for quickcam.{o,ko} is installed for the"
einfo "kernel linked by /usr/src/linux."
}
And that's it. Hope it works for you.


