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

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

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

Read the postinst message of libv4l, the LD_PRELOAD stuff is required also for mplayer IIRC
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:46 pm    Post subject: Reply with quote

more info:
Code:
 
tux linux # xawtv -hwscan
This is xawtv-3.95, running on Linux/x86_64 (2.6.30-gentoo-r5)
looking for available devices
port 57-72
    type : Xvideo, image scaler
    name : Radeon Textured Video
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:52 pm    Post subject: Reply with quote

ssuominen wrote:
Read the postinst message of libv4l, the LD_PRELOAD stuff is required also for mplayer IIRC


ok this is the message:
Quote:
* Messages for package media-libs/libv4l-0.5.3:

*
* libv4l includes wrapper libraries for compatibility and pixel format
* conversion, which are especially useful for users of the gspca usb
* webcam driver in kernel 2.6.27 and higher.
*
* To add v4l2 compatibility to a v4l application 'myapp', launch it via
* LD_PRELOAD=/usr/lib64/libv4l/v4l1compat.so myapp
* To add automatic pixel format conversion to a v4l2 application, use
* LD_PRELOAD=/usr/lib64/libv4l/v4l2convert.so myapp


i tried passing those code lines before xawtv, camorama or mplayer but the same message comes up that i dont have a /dev/video0, which i dont, i have a /dev/video1394-0.

what to do? is there a configuration step i missed to create that location?
Back to top
View user's profile Send private message
h2sammo
Veteran
Veteran


Joined: 11 Mar 2009
Posts: 1025
Location: Michigan

PostPosted: Fri Oct 09, 2009 3:07 pm    Post subject: Reply with quote

alsamixer now picks up the camera as my sound USB device (thats another problem as now i dont have sound in my headphones) as seen here:
http://omploader.org/vMmllMg

so the camera is pickup up, but i still get the above mentioned errors
Back to top
View user's profile Send private message
h2sammo
Veteran
Veteran


Joined: 11 Mar 2009
Posts: 1025
Location: Michigan

PostPosted: Mon Oct 12, 2009 12:52 pm    Post subject: Reply with quote

cani get some help please
Back to top
View user's profile Send private message
USTruck
Guru
Guru


Joined: 21 Aug 2005
Posts: 423
Location: La Louviere (Belgique)

PostPosted: Sat Oct 24, 2009 10:22 am    Post subject: Reply with quote

Hello,

Please verify that your user are on 'video' group's.

Kernel : verify that all v4l are defined (modules are suffisant) , v4l USB too and verify alsa settings about usb sound

make.conf : emerge ufed
ufed are one utility to see all USE flags defined by your profile (eselect profile list to see ) and in your make.conf
This utility present all USE flags with graphical interface and you be able to see ebuild use a flag and what he enable or disable.

After change :
emerge -uDN world --with-bdeps y
revdep-rebuild

Attention some application needs a route under your firewall/router (port/ip to your pc) to have acces with webcam
Back to top
View user's profile Send private message
USTruck
Guru
Guru


Joined: 21 Aug 2005
Posts: 423
Location: La Louviere (Belgique)

PostPosted: Sun Oct 25, 2009 9:55 am    Post subject: Reply with quote

Hello,

I just install skype for test, it's work in my side

verify that your user are under 'video' and 'usb' groups
usb -> access usb peripheral
video -> access webcam peripheral

Verfiy your kernel config,
Enable : video for linux ; enable video for linux api 1 (build in kernel)
under video capture adapters ; enable all (modules) and under v4l usb enable all (modules)
I don't know wich modules are used by your peripheral, when it's work you are able to remove unwanted modules
recompile your kernel, install and reboot

Verify your use flags : libv4l2, v4l, v4l2, ....
To be sure, emerge ufed
ufed help you to see all use flags and select or deselect it, it provide a small description of use flags and major package impacted by this use flag

for your info my emerge --info

Quote:
Portage 2.1.6.13 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r5-x86_64-AMD_Phenom-tm-_II_X4_920_Processor-with-gentoo-1.12.11.1
Timestamp of tree: Sat, 24 Oct 2009 19:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash: 4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python: 2.6.2-r1
dev-util/ccache: 2.4-r7
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.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6a
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mtune=barcelona"
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 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -mtune=barcelona"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.ovh.net/gentoo-distfiles/ ftp://gentoo.imj.fr/pub/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ "
LANG="fr_BE.utf8"
LC_ALL="fr_BE.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="fr"
MAKEOPTS="-j5"
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.europe.gentoo.org/gentoo-portage"
USE="32bit 3dnow 3dnowext 64bit 7zip X a52 aac acl acpi addbookmarks addressbook akode akonadi alias alisp alsa amarok amarok2 amazon amd64 amr amrnb amrwb archive audacious audiofile auth autoreplace autotrace bash-completion bdf berkdb bittorrent bluetooth bookmarks branding bzip2 cairo cdda cdparanoia cdr chm cli cmake connectionstatus consolekit contactnotes corefonts coverage cpudetection cracklib crypt css cups cupsddk dbus device-mapper dhcpcd disk-partition divx djvu downloadorder dts dv dvb dvbplayer dvd dvdr dvi edit eds emboss emovix enca encode esd eselect examples exif external-ffmpeg extra extrafilters extras fam fame fat ffmpeg firefox flac flash fontconfig foomaticdb fortran fpx gdbm geoip geolocation gif gimp glib glibc-compat20 glitz gnokii gocr gphoto2 gpm gps graphviz gs gstreamer gtk gzip hal hddtemp hdri history htmltidy iconv id3 id3tag image imagemagick ipv6 isdnlog jabber java java6 javascript jbig jingle jpeg jpeg2k justify kate kcal kde kde3 kdecards kdepim kdm kexi kig-scripting kino kipi konqueror kontact lame libmms libnotify libsamplerate libv4l2 lm_sensors lzo mad maps matroska md5sum mdb meanwhile mediaplayer midi mikmod mjpeg mmap mmx mmxext mng modules mp2 mp3 mp3tunes mp4 mpeg mplayer msn mudflap multilib musepack ncurses netmeeting network nfs nfsv3 nfsv4 nls nowlistening npp nptl nptlonly nsplugin nss ntfs ogg ogg123 ogm openal opencore-amr openct openexr opengl openmp osc osdmenu pam pascal pcf pcre pcsc-lite pdf perl pidgin pkcs11 plib pmu png postscript povray ppds privacy ps pvr python q32 qt-webkit qt3 qt3support qt4 qtdesigner qtscript quicktime radio rar raw readline realmedia recode reflection rss sametime scanner screenshot sdl semantic-desktop session setup setup-plugin sharedmem shm shorten skype slang smartcard smp sms sndfile solver spell spl sql sqlite sqlite3 srt sse sse2 sse3 sse4a ssl startup-notification submenu subtitles svg svgz symlink sysfs syslog tcl tcpd templates tga themes theora threads thumbnail thunar tidy tiff tk transcode truetype twolame unicode unzip usb v4l v4l2 vcd vcdinfo vcdx videos visualization vorbis wav wavpack webkit webpresence wma wmf wmp wxwidgets x x264 xanim xface xine xinerama xml xorg xulrunner xv xvid xvmc zip zlib" ALSA_CARDS="hda-intel cmipci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route 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 deflate 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_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Update your system (emerge -uDN world --with-bdeps y)
I use --with-bdeps y to be sure that all package (include binary deps) are covered


Try skype (without preload)
Back to top
View user's profile Send private message
h2sammo
Veteran
Veteran


Joined: 11 Mar 2009
Posts: 1025
Location: Michigan

PostPosted: Sat Nov 07, 2009 10:01 pm    Post subject: Reply with quote

Code:
 bobby@localhost ~ $ lsmod
Module                  Size  Used by
gspca_stv06xx          22672  0
gspca_main             25064  1 gspca_stv06xx
videodev               39232  1 gspca_main
v4l1_compat            16876  1 videodev
v4l2_compat_ioctl32    10792  1 videodev
radeon                376288  2
drm                   174144  3 radeon
snd_pcm_oss            44192  0
snd_mixer_oss          19432  1 snd_pcm_oss
snd_seq_oss            32128  0
snd_seq_midi_event      7592  1 snd_seq_oss
snd_seq                57280  4 snd_seq_oss,snd_seq_midi_event
snd_usb_audio          99744  0
snd_usb_lib            18280  1 snd_usb_audio
snd_rawmidi            24032  1 snd_usb_lib
snd_seq_device          7420  3 snd_seq_oss,snd_seq,snd_rawmidi
forcedeth              60500  0
snd_hwdep               8848  1 snd_usb_audio


the quickcam module is gspca_stv06xx and it is loaded. i used ufed (wonderful utility) and added libv4l2, v4l, v4l2 to my useflags.

i still get no webcam device seen by skype or anything else for that matter, no change from my previous posts... if anyone has any other ideas i would be very appreciative.
Back to top
View user's profile Send private message
ziggysquatch
Apprentice
Apprentice


Joined: 16 Nov 2004
Posts: 172
Location: /USA/Minnesota

PostPosted: Sun Nov 08, 2009 4:29 pm    Post subject: Reply with quote

I used the uvc module so I think mine was a bit different. I also had to add people to the video group in order for apps to see the camera. works under skype very well.
Back to top
View user's profile Send private message
h2sammo
Veteran
Veteran


Joined: 11 Mar 2009
Posts: 1025
Location: Michigan

PostPosted: Sun Nov 08, 2009 5:46 pm    Post subject: Reply with quote

ok im getting somewhere. i switched to kernel 2.6.31. and enabled v4l and the logitech quickam driver in kernel. also enabled uvc drivers as part of kernel.

skype and xawtv detect my cam but show a dark screen now :)

Code:
 bobby@localhost ~ $ xawtv
This is xawtv-3.95, running on Linux/x86_64 (2.6.31-gentoo)
WARNING: v4l-conf is compiled without DGA support.
/dev/video0 [v4l2]: no overlay support
v4l-conf had some trouble, trying to continue anyway
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-*-lucidatypewriter-bold-r-normal-*-14-*-*-*-m-*-iso8859-*,           -*-courier-bold-r-normal-*-14-*-*-*-m-*-iso8859-*,          -gnu-unifont-bold-r-normal--16-*-*-*-c-*-*-*,        -efont-biwidth-bold-r-normal--16-*-*-*-*-*-*-*,                 -*-*-bold-r-normal-*-16-*-*-*-m-*-*-*,                 -*-*-bold-r-normal-*-16-*-*-*-c-*-*-*,                         -*-*-*-*-*-*-16-*-*-*-*-*-*-*,*" to type FontSet
Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-*-lucidatypewriter-bold-r-normal-*-14-*-*-*-m-*-iso8859-*,           -*-courier-bold-r-normal-*-14-*-*-*-m-*-iso8859-*,          -gnu-unifont-bold-r-normal--16-*-*-*-c-*-*-*,        -efont-biwidth-bold-r-normal--16-*-*-*-*-*-*-*,                 -*-*-bold-r-normal-*-16-*-*-*-m-*-*-*,                 -*-*-bold-r-normal-*-16-*-*-*-c-*-*-*,                         -*-*-*-*-*-*-16-*-*-*-*-*-*-*, *" to type FontSet
ioctl: VIDIOC_G_STD(std=0x7f79028b89fa [PAL_B1,PAL_H,PAL_I,PAL_D,PAL_D1,PAL_K,PAL_M,PAL_60,?,SECAM_B,SECAM_D,SECAM_H,?ATSC_8_VSB,(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)]): Invalid argument
no way to get: 384x288 32 bit TrueColor (LE: bgr-)


Code:
bobby@localhost ~ $ skype
Starting the process...
Skype Xv: Xv ports available: 16
Skype XShm: XShm support enabled
Skype Xv: Using Xv port 57


any ideas? how should i troubleshoot this further?
Back to top
View user's profile Send private message
h2sammo
Veteran
Veteran


Joined: 11 Mar 2009
Posts: 1025
Location: Michigan

PostPosted: Sun Nov 08, 2009 8:29 pm    Post subject: Reply with quote

mplayer shows webcam properly as follows:

Code:
 
bobby@localhost ~ $ LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so mplayer tv:// -tv driver=v4l:device=/dev/video0
MPlayer SVN-r29463-4.3.4 (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
=================================================================
 WARNING: YOU ARE USING V4L DEMUXER WITH V4L2 DRIVERS!!!
 As the V4L1 compatibility layer is broken, this may not work.
 If you encounter any problems, use driver=v4l2 instead.
 Bugreports on driver=v4l with v4l2 drivers will be ignored.
=================================================================
Selected device: Camera
 Capabilites: capture
 Device type: 1
 Supported sizes: 162x120 => 324x240
 Inputs: 1
  0: STV06xx:  (tuner:0, norm:pal)
Using input 'STV06xx'
ioctl get tuner failed: Invalid argument
Selected input hasn't got a tuner!
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 162 x 120 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 162x120 => 162x120 Planar YV12
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
==========================================================================
Audio: no sound
Starting playback...
  MJP: returning! 0%  0%  0.0% 0 0

Exiting... (Quit)


cant figure out how to get skype to display it though.
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 Previous  1, 2
Page 2 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