You are not logged in.

#1 2009-02-18 18:59:47

Vladman
Member
Registered: 2009-01-28
Posts: 118

[solved]---Logitech, Inc. QuickCam Messanger+skype

Hello, I am trying to get my webcam to work with skype but I need some help.

(Bus 004 Device 002: ID 046d:08da Logitech, Inc. QuickCam Messanger)

It works with cheese but I get green static in skype.
So I found this wiki http://wiki.archlinux.org/index.php/Web … -messenger
and installed the qc-usb-messenger driver. Still no luck...
Also from the wiki:

If your device is created but your image looks strange (mine was nearly completely green), you probably need this.

If the application has V4L2 support but no pixelformat support (eg: cheese) then use the following command:

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

If the application only supports the older version of V4L (skype is the most popular of this kind of software) then use this command:

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

Hint: You also might want to put a line like the following into your .bashrc or .xinitrc so you don't have to type that long command all the time:

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

or

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

So if I run
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype
everything works...
if I add
export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so
to .bashrc I'm back to green static mad

What am I missing?

Last edited by Vladman (2009-02-21 04:33:04)

Offline

#2 2009-02-19 19:15:56

rafaelgp
Member
From: Leicester UK
Registered: 2009-02-16
Posts: 28
Website

Re: [solved]---Logitech, Inc. QuickCam Messanger+skype

Almost the sme problem here.
Runnning "export LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so" works nicely.
But if I add it to my .xinitrc file it doens't work.

#!/bin/sh
#
# ~/.xinitrc
#

export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so &

numlockx &

exec ck-launch-session xfce4-session

Vladman, how do you added it to your .bashrc file?

Offline

#3 2009-02-19 21:17:23

Vladman
Member
Registered: 2009-01-28
Posts: 118

Re: [solved]---Logitech, Inc. QuickCam Messanger+skype

rafaelgp wrote:

Vladman, how do you added it to your .bashrc file?

nano .bashrc

I tried it for root and user and still no luck...

Offline

#4 2009-02-19 21:55:43

rafaelgp
Member
From: Leicester UK
Registered: 2009-02-16
Posts: 28
Website

Re: [solved]---Logitech, Inc. QuickCam Messanger+skype

Solved! This is my .xinitrc

#!/bin/sh
#
# ~/.xinitrc
#

numlockx &

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

exec ck-launch-session xfce4-session

It was a syntax problem. I thouhgt & was need to be added after the export bla bla line. As usually, the ansswer was in the Arch Wiki.

Hope this can work for you too.

Offline

#5 2009-02-19 22:35:15

Vladman
Member
Registered: 2009-01-28
Posts: 118

Re: [solved]---Logitech, Inc. QuickCam Messanger+skype

Thanks for your reply Rafael, where do you add this .xinitrc file?
I put it in my /home/myuser directory and still no luck...

Offline

#6 2009-02-20 10:26:14

rafaelgp
Member
From: Leicester UK
Registered: 2009-02-16
Posts: 28
Website

Re: [solved]---Logitech, Inc. QuickCam Messanger+skype

The .xinitrc file should be at /home/USERNAME/.xinitrc

open it using nano

nano /home/USERNAME/.xinitrc

If it is empty, you don't have it, but you can create one pasting the following code and saving it:

#!/bin/sh
#
# ~/.xinitrc
#

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

Ctrl + o, Enter, Ctrl x

Check the path to v4l1compat.so is the same in your computer.

Cheers

Offline

#7 2009-02-20 17:23:51

Vladman
Member
Registered: 2009-01-28
Posts: 118

Re: [solved]---Logitech, Inc. QuickCam Messanger+skype

Path is correct, /home/USERNAME/.xinitrc was created and still no luck.
If I run
export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so
in terminal, it still not working, it only works if I run
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype

what gives?

Offline

#8 2009-02-20 18:03:14

rafaelgp
Member
From: Leicester UK
Registered: 2009-02-16
Posts: 28
Website

Re: [solved]---Logitech, Inc. QuickCam Messanger+skype

If the .xinitrc file is correct, then maybe it is not loaded when you computer boots. I dont know...

Which desktop are you using?
Do you use login manager?
Which one?
Can you post you /etc/inittab file?

Offline

#9 2009-02-20 18:44:32

Vladman
Member
Registered: 2009-01-28
Posts: 118

Re: [solved]---Logitech, Inc. QuickCam Messanger+skype

rafaelgp wrote:

If the .xinitrc file is correct, then maybe it is not loaded when you computer boots. I dont know...

Which desktop are you using?
Do you use login manager?
Which one?
Can you post you /etc/inittab file?

Maybe, I'm not sure...

desktop-gnome
yes
gdm

  GNU nano 2.0.9                                             File: /etc/inittab                                                                                                  

#
# /etc/inittab
#

#  Runlevels:
#    0    Halt
#    1(S)       Single-user
#    2    Not used
#    3    Multi-user
#    4    Not used
#    5    X11
#    6    Reboot

## Only one of the following two lines can be uncommented!
# Boot to console
#id:3:initdefault:
# Boot to X11
id:5:initdefault:

rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p

# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/agetty -8 38400 vc/1 linux
c2:2345:respawn:/sbin/agetty -8 38400 vc/2 linux
c3:2345:respawn:/sbin/agetty -8 38400 vc/3 linux
c4:2345:respawn:/sbin/agetty -8 38400 vc/4 linux
c5:2345:respawn:/sbin/agetty -8 38400 vc/5 linux
c6:2345:respawn:/sbin/agetty -8 38400 vc/6 linux

ca::ctrlaltdel:/sbin/shutdown -t3 -r now

# Example lines for starting a login manager
#x:5:respawn:/usr/bin/xdm -nodaemon
x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/opt/kde/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >& /dev/null

# End of file

Thank you for trying to help me.

Offline

#10 2009-02-21 00:52:48

rafaelgp
Member
From: Leicester UK
Registered: 2009-02-16
Posts: 28
Website

Re: [solved]---Logitech, Inc. QuickCam Messanger+skype

Looks correct. I am run out of ideas...

Can you post your .xinitrc file please?

Offline

#11 2009-02-21 02:18:29

Vladman
Member
Registered: 2009-01-28
Posts: 118

Re: [solved]---Logitech, Inc. QuickCam Messanger+skype

sure

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
exec xterm
exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice
export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so

Offline

#12 2009-02-21 03:11:05

buttons
Member
From: NJ, USA
Registered: 2007-08-04
Posts: 620

Re: [solved]---Logitech, Inc. QuickCam Messanger+skype

export before you start your session...so above "exec xterm" there

You can also put it in ~/.profile


Cthulhu For President!

Offline

#13 2009-02-21 04:31:52

Vladman
Member
Registered: 2009-01-28
Posts: 118

Re: [solved]---Logitech, Inc. QuickCam Messanger+skype

buttons wrote:

export before you start your session...so above "exec xterm" there

You can also put it in ~/.profile

Putting it in ~/.profile did the trick big_smile

Thank you Buttons and Rafael, now I can sleep at night lol

Offline

#14 2009-10-11 19:00:52

oGRE2080
Member
From: UKRAINE-NY
Registered: 2009-10-09
Posts: 63

Re: [solved]---Logitech, Inc. QuickCam Messanger+skype

Vladman wrote:

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

Hello,I also did this trick in Ubuntu and it helps me to work my logitech correct.
But few days ago I moved to Arch, and when I eun
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype
I have got these
200910111457021024x768s.th.png

Offline

Board footer

Powered by FluxBB