Gentoo 2006.0 - spcagui with Logitech Quickcam Messenger
Update March 23, 2007
Hello,
This is wriiten as a coobook for me, principally.
I jot down the hints howto make my Logitech quickam Messenger
runs on my linux box, aka Gentoo. I have made it run under Fedora Fc6.
After making spcagui running, I checked that other video progs are running (amsn,kopete,gqcam, SDLcam …). See at the end.
1) Install:
- As of 2 days ago, I made an update for my Gentoo system (problem with dbus).
- Make sure that the kernel has v4linux, usb checked (the gspcav1 provides it, but…).
- gspcav1 (media-video/gspcav1-20070110).
# emerge gspcav1
- spcagui.
I have taken a binary copy of spcagui, I don’t remember where.
When running spcagui, in user mode without root privileges, it shows only the main X window, without a popup window which contains the button photo snapshot button and other ajustments.
That why, I download the source at
http://mxhaard.free.fr/spca50x/Download/spcagui20060127.tar.gz
, extract to a directory and compile it.
The source needs sdl-image.h so:
# emerge sdl-image libsdl
( media-libs/sdl-image-1.2.5-r1)
do make and make install.
2) Addendum:
# gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.1.1-r3/work/gcc-4.1.1/configure –prefix=/usr –bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.1.1 –includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include –datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1 –mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/man –infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/info –with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4 –host=i686-pc-linux-gnu –build=i686-pc-linux-gnu –disable-altivec –enable-nls –without-included-gettext –with-system-zlib –disable-checking –disable-werror –enable-secureplt –disable-libunwind-exceptions –disable-multilib –disable-libmudflap –disable-libssp –disable-libgcj –enable-languages=c,c++,fortran –enable-shared –enable-threads=posix –enable-__cxa_atexit –enable-clocale=gnu
Thread model: posix
gcc version 4.1.1 (Gentoo 4.1.1-r3)
————————————————————————
# uname -a
Linux localhost 2.6.18-gentoo-r5 #1 Sun Dec 24 02:11:17 CET 2006 i686 AMD Sempron(tm) Processor 3000+ AuthenticAMD GNU/Linux
————————– ——————————————-
lsmod
Module Size Used by
usbmouse 4096 0
quickcam 88648 0
spca5xx 640336 0
snd_usb_audio 68096 2
snd_usb_lib 13056 1 snd_usb_audio
gspca 607952 0
usblp 10240 0
nvidiafb 35868 0
generic 4612 0 [permanent]
eth1394 14596 0
sx8 12940 0
DAC960 56648 0
cciss 45188 0
cpqarray 15460 0
sr_mod 11556 0
sg 25628 0
jfs 139228 0
reiserfs 174720 0
ohci1394 26032 0
ieee1394 73144 2 eth1394,ohci1394
ohci_hcd 25476 0
uhci_hcd 23564 0
usb_storage 86432 0
usbhid 31328 0
localhost ~ #
ps. the modules quickcam-messenger, v4l1-compat,v4l2-common, doesn’t appear here, because, they are compiled with the kernel.
———————————————————————-
# localhost ~ # lsusb
Bus 001 Device 001: ID 0000:0000
Bus 002 Device 004: ID 0d8d:0652 Promotion & Display Technology, Ltd
Bus 002 Device 005: ID 04f9:018c Brother Industries, Ltd
Bus 002 Device 003: ID 05fe:0011 Chic Technology Corp. Browser Mouse
Bus 002 Device 002: ID 046d:08da Logitech, Inc. QuickCam Messanger
Bus 002 Device 001: ID 0000:0000
Bus 002 Device 006: ID 058f:9360 Alcor Micro Corp.
—————————————————————–
Check if I have /dev/video0, which is link:
dev/video0 -> v4l/video0—————————————————————–
Click on image to enlarge

I have tested gqcam, which was running correctly before the update of dbus.
It’s turns out that , qgcam needs /dev/video.
ln -s /dev/v4l/video0 /dev/video.
After creating the previous link, gqcam is ruuning again.
—————————————————————————–
xawtv, SDLcam,amsn,kopete are running ok.
—————————————————————————–
That’s all.