Same problem here.MaxDamage wrote:I'm not able to access the page http://home.mag.cx/messenger/ Is it down?
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"
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."
}
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/video0Looks 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>

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 #

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
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

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;
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."
}