Everything compiles fine and programs like cheese are flipped but I cannot get skype to flip the image even with LD_PRELOAD. Granted, I am running a 64 bit system so my distro (Arch Linux) offers custom PKGBUILDS for skype<http://aur.archlinux.org/packages.php?ID=7914>and libv4l <http://aur.archlinux.org/packages.php?ID=20859> on 64-bit systems so that could be the problem as well.
On Wed, Jun 9, 2010 at 4:40 AM, Hans de Goede <hdego...@redhat.com> wrote: > Hi, > > Thanks for providing the requested information. I've just made > a new (test) release of v4l-utils (which includes libv4l) which > contains your laptop info in its upside down table, and as such > should fix (work around) the upside down issue for you. > > You can download this new version here: > http://people.fedoraproject.org/~jwrdegoede/v4l-utils-0.8.1-test.tar.gz > > 1. Install > =========== > > Howto install and test v4l-utils depends on your system. There are > different instructions for if you have a 32 bit system or a 64 bit system. > which is using multilib. A 64 bit system without multilib is the same as > a 32 bit system. > > To find out what you have do: > ls -d /usr/lib64 > > If this command gives a "No such file or directory" error, use the > Non multilib instructions, if the second command is successfull, you have > multilib, > to find out which version (dubbed Fedora and Ubuntu multilib, because those > are > the most well known examples, do): > > ls -d /usr/lib32 > If this command gives a "No such file or directory" error, use the Fedora > multilib > instructions. If this command succeeds use the Ubuntu multilib > instructions. Note > the ubuntu multilib instructions also apply to gentoo. > > Non multilib instructions: > ------------------------------- > tar xvfz v4l-utils-<version>.tar.gz > cd v4l-utils-<version>/lib > make PREFIX=/usr > sudo make install PREFIX=/usr > > Fedora Multilib instructions: > ----------------------------------- > Basic 64 bit install: > tar xvfz v4l-utils-<version>.tar.gz > cd v4l-utils-<version>/lib > make PREFIX=/usr LIBDIR=/usr/lib64 > sudo make install PREFIX=/usr LIBDIR=/usr/lib64 > > If you also want to use 32 bit apps (such as skype), you > will need to have the 32 bit libc headers installed, on Fedora > this can be done like this: > Fedora 10-: "sudo yum install glibc-devel.i386" > Fedora 11: "sudo yum install glibc-devel.i586" > Fedora 12+: "sudo yum install glibc-devel.i686" > Then do: > make clean > make PREFIX=/usr CFLAGS=-m32 LDFLAGS=-m32 > sudo make install PREFIX=/usr > > Ubuntu Multilib instructions: > ----------------------------------- > tar xvfz v4l-utils-<version>.tar.gz > cd v4l-utils-<version>/lib > make PREFIX=/usr > sudo make install PREFIX=/usr > > If you also want to use 32 bit apps (such as skype), you > will need to have the 32 bit libc headers installed, on Ubuntu > this can be done like this: > sudo apt-get install libc6-dev-i386 > On gentoo this can be done like this: > sudo emerge -v app-emulation/emul-linux-x86-compat > Then do: > make clean > make PREFIX=/usr CFLAGS=-m32 LDFLAGS=-m32 LIBDIR=/usr/lib32 > sudo make install PREFIX=/usr LIBDIR=/usr/lib32 > > > 2. Testing > ======== > You have a chance that your webcam app use libv4l or have an appropriate > script starting it. In that case you don't have to do anything. Just run > the application. This is the most common situation with Ubuntu and Fedora > packages. If your problem remains unsolved, then your app might not use > libv4l. > In that case start the application from a terminal like this: > > Non multilib: > ---------------- > LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so <your favorite webcam app> > > Note on Ubuntu sometimes skype is using a wrapper script, so if skype > does not work try: > LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype.real > > Fedora multilib: > -------------------- > For 64 bit applications (allmost all apps): > LD_PRELOAD=/usr/lib64/libv4l/v4l1compat.so <your favorite webcam app> > > For 32 bit applications (you only need it for proprietary softwares, which > don't have a 64 bit version, like skype): > LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype > > Ubuntu multilib: > -------------------- > For 64 bit applications (allmost all apps): > LD_PRELOAD=/usr/lib64/libv4l/v4l1compat.so skype > > For 32 bit applications (you only need it for proprietary softwares, which > don't have a 64 bit version, like skype): > LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype > > Note on Ubuntu sometimes skype is using a wrapper script, so if skype > does not work try: > LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype.real > > > > Please let me know if this version of v4l-utils turns the image the > right way up for you. > > Thanks & Regards, > > Hans >
_______________________________________________ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel