You are not logged in.
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
What am I missing?
Last edited by Vladman (2009-02-21 04:33:04)
Offline
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
Vladman, how do you added it to your .bashrc file?
nano .bashrc
I tried it for root and user and still no luck...
Offline
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
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
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
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
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
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
Looks correct. I am run out of ideas...
Can you post your .xinitrc file please?
Offline
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
export before you start your session...so above "exec xterm" there
You can also put it in ~/.profile
Cthulhu For President!
Offline
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
Thank you Buttons and Rafael, now I can sleep at night lol
Offline
Offline