Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Logitech quickcam not recognized
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
h2sammo
Veteran
Veteran


Joined: 11 Mar 2009
Posts: 1025
Location: Michigan

PostPosted: Fri Jul 24, 2009 2:00 pm    Post subject: Logitech quickcam not recognized Reply with quote

i tried skype and it did not pick it up.

i randomly fired up xawtv (cant rememebr why) and it shows feed from the camera (my face on the screen). what info do you need from me so i can get some help on this?

thx
Back to top
View user's profile Send private message
g.e.n.t.u.x.
Guru
Guru


Joined: 21 Aug 2006
Posts: 410
Location: Berlin

PostPosted: Fri Jul 24, 2009 5:49 pm    Post subject: Reply with quote

hey gentooser

in you post is not clearly what you want. i think you are sure your cam is running but skype isnt show the input

regards gentux
Back to top
View user's profile Send private message
h2sammo
Veteran
Veteran


Joined: 11 Mar 2009
Posts: 1025
Location: Michigan

PostPosted: Fri Jul 24, 2009 6:02 pm    Post subject: Reply with quote

i dont know if my cam is recognized properly by gentoo
Back to top
View user's profile Send private message
g.e.n.t.u.x.
Guru
Guru


Joined: 21 Aug 2006
Posts: 410
Location: Berlin

PostPosted: Fri Jul 24, 2009 6:04 pm    Post subject: Reply with quote

try
Code:
cat /dev/video
and push the tab button. if it is filled with an additional 0 than your driver works.

if not than post
Code:
lsusb
please
Back to top
View user's profile Send private message
h2sammo
Veteran
Veteran


Joined: 11 Mar 2009
Posts: 1025
Location: Michigan

PostPosted: Fri Jul 24, 2009 6:10 pm    Post subject: Reply with quote

cat /dev/video

i press tab, i get

cat /dev/video0

so then my driver works. can you recommend some software with which to test the the camera, or help me troubleshoot why skype wont pick it up?
Back to top
View user's profile Send private message
g.e.n.t.u.x.
Guru
Guru


Joined: 21 Aug 2006
Posts: 410
Location: Berlin

PostPosted: Fri Jul 24, 2009 6:22 pm    Post subject: Reply with quote

camorama and vlc then are your tools.

what shows the video dveice sektion in your skype gui options?
Back to top
View user's profile Send private message
h2sammo
Veteran
Veteran


Joined: 11 Mar 2009
Posts: 1025
Location: Michigan

PostPosted: Fri Jul 24, 2009 6:57 pm    Post subject: Reply with quote

Code:
bobby@tux ~ $ skype
Skype V4L: Failed to set picture size (320x240)
Skype V4L: Failed to set picture size (324x248)
Skype V4L: Failed to set picture size (352x288)
Skype V4L: Failed to set picture size (160x120)
Skype V4L: Failed to set picture size (176x144)
Skype V4L: Failed to set picture size (640x480)
Skype V4L: Failed to set picture size (1024x576)
Skype V4L: Failed to find suitable capture size for 320x240
Skype V4L: Could not find a suitable capture format
Starting the process...
Skype Xv: Xv ports available: 16
Skype XShm: XShm support enabled
Skype Xv: Using Xv port 57
Aborted


my usb logitech shows as my camera option, but when i press the "test" option skype crashes wu\ith that message
Back to top
View user's profile Send private message
h2sammo
Veteran
Veteran


Joined: 11 Mar 2009
Posts: 1025
Location: Michigan

PostPosted: Fri Aug 28, 2009 12:11 am    Post subject: Reply with quote

any more help on this?
i would like to use my camera
Back to top
View user's profile Send private message
tuber
Apprentice
Apprentice


Joined: 12 Nov 2004
Posts: 267

PostPosted: Fri Aug 28, 2009 5:15 pm    Post subject: Reply with quote

It's a longshot, but try
Code:
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype
Back to top
View user's profile Send private message
h2sammo
Veteran
Veteran


Joined: 11 Mar 2009
Posts: 1025
Location: Michigan

PostPosted: Fri Aug 28, 2009 5:51 pm    Post subject: Reply with quote

Code:
 
bobby@tux ~ $ LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype
ERROR: ld.so: object '/usr/lib/libv4l/v4l1compat.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/libv4l/v4l1compat.so' from LD_PRELOAD cannot be preloaded: ignored.
Skype V4L: Failed to set picture size (320x240)
Skype V4L: Failed to set picture size (324x248)
Skype V4L: Failed to set picture size (352x288)
Skype V4L: Failed to set picture size (160x120)
Skype V4L: Failed to set picture size (176x144)
Skype V4L: Failed to set picture size (640x480)
Skype V4L: Failed to set picture size (1024x576)
Skype V4L: Failed to find suitable capture size for 320x240
Skype V4L: Could not find a suitable capture format
Starting the process...
Skype Xv: Xv ports available: 16
Skype XShm: XShm support enabled
Skype Xv: Using Xv port 57
Aborted
Back to top
View user's profile Send private message
tuber
Apprentice
Apprentice


Joined: 12 Nov 2004
Posts: 267

PostPosted: Fri Aug 28, 2009 6:06 pm    Post subject: Reply with quote

Try installing media-libs/libv4l, then try again.
Back to top
View user's profile Send private message
h2sammo
Veteran
Veteran


Joined: 11 Mar 2009
Posts: 1025
Location: Michigan

PostPosted: Fri Aug 28, 2009 10:10 pm    Post subject: Reply with quote

emerged it all right, then:

Code:
 bobby@tux ~ $ LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype
ERROR: ld.so: object '/usr/lib/libv4l/v4l1compat.so' from LD_PRELOAD cannot be preloaded: ignored.
Skype V4L: Failed to set picture size (320x240)
Skype V4L: Failed to set picture size (324x248)
Skype V4L: Failed to set picture size (352x288)
Skype V4L: Failed to set picture size (160x120)
Skype V4L: Failed to set picture size (176x144)
Skype V4L: Failed to set picture size (640x480)
Skype V4L: Failed to set picture size (1024x576)
Skype V4L: Failed to find suitable capture size for 320x240
Skype V4L: Could not find a suitable capture format
Starting the process...
Skype Xv: Xv ports available: 16
Skype XShm: XShm support enabled
Skype Xv: Using Xv port 57
Aborted
Back to top
View user's profile Send private message
h2sammo
Veteran
Veteran


Joined: 11 Mar 2009
Posts: 1025
Location: Michigan

PostPosted: Fri Sep 04, 2009 2:20 pm    Post subject: Reply with quote

bump
Back to top
View user's profile Send private message
g.e.n.t.u.x.
Guru
Guru


Joined: 21 Aug 2006
Posts: 410
Location: Berlin

PostPosted: Sat Sep 05, 2009 7:27 am    Post subject: Reply with quote

what for an graphiccard u use and with which driver? in my thought skype must start with and without an plugged webcam and/or headset. its curios. how use flags u choose for the skype emerge?
Back to top
View user's profile Send private message
h2sammo
Veteran
Veteran


Joined: 11 Mar 2009
Posts: 1025
Location: Michigan

PostPosted: Sun Sep 06, 2009 3:54 pm    Post subject: Reply with quote

Code:
 bobby@tux ~ $ emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r5-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-gentoo-1.12.11.1
Timestamp of tree: Sun, 09 Aug 2009 16:30:21 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.6.2-r1
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sa                                        ndbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/ud                                        ev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats                                         --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus doc dri dvd                                         dvdr eds emboss encode esd evo fam firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg k                                        de ldap libnotify mad mikmod mmx mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pd                                        f perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startu                                        p-notification svg sysfs tcpd tiff truetype unicode usb v4l v4l2 vorbis x264 xml xorg xulrunner xv xvid zlib" ALSA_CAR                                        DS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel int                                        el8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix d                                        share dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate ro                                        ute share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_                                        file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock def                                        late dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime                                        _magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICE                                        S="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"                                         USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE                                        _COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


remember, skype starts just fine. the problem is not skype, the problem is my webcam not being recognized.
Back to top
View user's profile Send private message
g.e.n.t.u.x.
Guru
Guru


Joined: 21 Aug 2006
Posts: 410
Location: Berlin

PostPosted: Sun Sep 06, 2009 5:51 pm    Post subject: Reply with quote

try
Code:
emerge -N world
after setting additional v4l v4l2 to VIDEO_CARDS.
Back to top
View user's profile Send private message
Rob Paxon
n00b
n00b


Joined: 27 Mar 2006
Posts: 26

PostPosted: Sun Sep 06, 2009 6:15 pm    Post subject: Reply with quote

I have an older Logitech QuickCam Pro 4000 which uses the pwc driver, which in turn relies on v4l 1. Flash 9 only supported v4l 1 devices and not v4l 2 devices. Now Flash 10 supports only v4l 2 devices and not v4l 1 devices. Perhaps neither are able to or are not designed to be able to access the compatability library if that indeed applies (rather than being a matter for the v4l layer to handle).

That is, of course, if you even have a v4l 1 cam.
Back to top
View user's profile Send private message
h2sammo
Veteran
Veteran


Joined: 11 Mar 2009
Posts: 1025
Location: Michigan

PostPosted: Sun Oct 04, 2009 4:08 pm    Post subject: Reply with quote

update on this, new kernel, pls direct me again, i should be able to get to work with this kernel:

Code:
 bobby@tux ~ $ xawtv
This is xawtv-3.95, running on Linux/x86_64 (2.6.30-gentoo-r5)
WARNING: v4l-conf is compiled without DGA support.
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


Code:
 bobby@tux ~ $ cat /dev/video
cat: /dev/video: No such file or directory
bobby@tux ~ $ cat /dev/video1394-0
cat: /dev/video1394-0: Permission denied


Code:
 tux bobby # cat /dev/video1394-0
cat: /dev/video1394-0: Invalid argument
tux bobby # lsusb
Bus 002 Device 002: ID 047d:102d Kensington
Bus 002 Device 003: ID 046d:08f0 Logitech, Inc. QuickCam Messenger
Bus 002 Device 001: ID 1d6b:0001 
Bus 001 Device 001: ID 1d6b:0002


/etc/X11/xorg.conf

Code:
 Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
EndSection

Section "Files"
EndSection

Section "ServerFlags"
Option "AllowEmptyInput" "off"
EndSection

Section "Module"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "Auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
Option "Emulate3Buttons"
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "Monitor"
Identifier "BenQ"
EndSection

Section "Device"
Identifier "ATI Radeon X1950 Pro"
Driver "radeon"
 Option "backingstore" "true"
 Option "AllowGLXWithComposite" "true"
EndSection

Section "Screen"
Identifier "Screen1"
Device "ATI Radeon X1950 Pro"
Monitor "BenQ"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Back to top
View user's profile Send private message
h2sammo
Veteran
Veteran


Joined: 11 Mar 2009
Posts: 1025
Location: Michigan

PostPosted: Sun Oct 04, 2009 4:45 pm    Post subject: Reply with quote

if i search for "quickcam" in menuconfig, i find this:
Code:
 
Symbol: USB_QUICKCAM_MESSENGER [=n]                                x 
  x Prompt: USB Logitech Quickcam Messenger                            x 
  x   Defined at drivers/media/video/usbvideo/Kconfig:40               x 
  x   Depends on: HAS_IOMEM && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 &&  x 
  x   Location:                                                        x 
  x     -> Device Drivers                                              x 
  x       -> Multimedia devices                                        x 
  x         -> Video capture adapters (VIDEO_CAPTURE_DRIVERS [=y])     x 
  x           -> V4L USB devices (V4L_USB_DRIVERS [=y])                x 
  x   Selects: VIDEO_USBVIDEO


i cannot locate this usb_quickcam option for the life of me.

where is this logitech driver in the kernel? so i can enable it?
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Sun Oct 04, 2009 4:54 pm    Post subject: Reply with quote

The in-kernel Quickcam and Quickcam Express driver is called "stv06xx". And needs libv4l installed. For full features use 2.6.31.
Back to top
View user's profile Send private message
h2sammo
Veteran
Veteran


Joined: 11 Mar 2009
Posts: 1025
Location: Michigan

PostPosted: Sun Oct 04, 2009 5:14 pm    Post subject: Reply with quote

and this is what happens when i try to emerge qc-usb:

http://omploader.org/vMmhhbw
Back to top
View user's profile Send private message
h2sammo
Veteran
Veteran


Joined: 11 Mar 2009
Posts: 1025
Location: Michigan

PostPosted: Sun Oct 04, 2009 5:24 pm    Post subject: Reply with quote

and this is i try qc-usb-messenger

http://omploader.org/vMmhhcw
Back to top
View user's profile Send private message
h2sammo
Veteran
Veteran


Joined: 11 Mar 2009
Posts: 1025
Location: Michigan

PostPosted: Sun Oct 04, 2009 5:32 pm    Post subject: Reply with quote

ssuominen wrote:
The in-kernel Quickcam and Quickcam Express driver is called "stv06xx". And needs libv4l installed. For full features use 2.6.31.


ok i found it and enabled is as module.

how do i know its enabled and how can i test it? i still get this after kernel modification:
Code:
 
bobby@tux ~ $ xawtv
This is xawtv-3.95, running on Linux/x86_64 (2.6.30-gentoo-r5)
WARNING: v4l-conf is compiled without DGA support.
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
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Sun Oct 04, 2009 5:42 pm    Post subject: Reply with quote

Install,

Code:
emerge media-libs/libv4l


Check that kernel module is loaded,

Code:

dmesg
lsmod (If it's a module.)


Try to load xawtv,

Code:

LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so xawtv


OR

Code:

LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so xawtv


But xawtv is ooold, try camorama, guvcview or cheese for example.

And possible a reboot if you didn't, to let "udev" to start from fresh.
Back to top
View user's profile Send private message
h2sammo
Veteran
Veteran


Joined: 11 Mar 2009
Posts: 1025
Location: Michigan

PostPosted: Sun Oct 04, 2009 6:17 pm    Post subject: Reply with quote

Code:
 tux linux # lsmod
Module                  Size  Used by
gspca_stv06xx          22768  0
gspca_main             25224  1 gspca_stv06xx
videodev               39360  1 gspca_main
v4l1_compat            17004  1 videodev
v4l2_compat_ioctl32    10888  1 videodev
snd_pcm_oss            44544  0
snd_mixer_oss          19560  1 snd_pcm_oss
snd_seq_oss            32320  0
snd_seq_midi_event      7624  1 snd_seq_oss
snd_seq                57792  4 snd_seq_oss,snd_seq_midi_event
radeon                376800  2
drm                   174656  3 radeon
snd_hda_codec_realtek   261100  1
snd_hda_intel          29032  0
snd_usb_audio         100416  0
snd_hda_codec          62920  2 snd_hda_codec_realtek,snd_hda_intel
snd_usb_lib            18376  1 snd_usb_audio
snd_pcm                82192  4 snd_pcm_oss,snd_hda_intel,snd_usb_audio,snd_hda_codec
snd_rawmidi            24288  1 snd_usb_lib
snd_seq_device          7420  3 snd_seq_oss,snd_seq,snd_rawmidi
forcedeth              60852  0
snd_timer              23384  2 snd_seq,snd_pcm
snd_hwdep               8880  1 snd_usb_audio
snd                    69832  13 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_hda_codec_realtek,snd_hda_intel,snd_usb_audio,snd_hda_co    dec,snd_pcm,snd_rawmidi,snd_seq_device,snd_timer,snd_hwdep
snd_page_alloc         10008  2 snd_hda_intel,snd_pcm

tux linux # LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so xawtv
This is xawtv-3.95, running on Linux/x86_64 (2.6.30-gentoo-r5)
WARNING: v4l-conf is compiled without DGA support.
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

tux linux # LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so xawtv
This is xawtv-3.95, running on Linux/x86_64 (2.6.30-gentoo-r5)
WARNING: v4l-conf is compiled without DGA support.
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


Code:
 bobby@tux ~ $ mplayer tv:// -tv driver=v4l:width=352:height=288:device=/dev/video0MPlayer SVN-r29463-4.3.2 (C) 2000-2009 MPlayer Team

Playing tv://.
TV file format detected.
Selected driver: v4l
 name: Video 4 Linux input
 author: Alex Beregszaszi
 comment: under development
unable to open '/dev/video0': No such file or directory


Exiting... (End of file)


its not seeing /dev/video0, that seems to be re-occurring error. i dont have /dev/video0 but i do have /dev/video1394-0. what does that mean?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum