I have an old crappy usb webcam + mic:
Bus 004 Device 002: ID 0c45:608f Microdia PC Camera (SN9C103 + OV7630)
On OpenSuse 11.4 32bit, the mic worked out of the box, but there was no video. Following are the steps to make it work.
- Install v4l-tools:
sudo zypper install v4l-tools
- Try launching Cheese with the following command to check if it works:
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so cheese
- If the video is upside down (it was for me)
export LIBV4LCONTROL_FLAGS=3
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so cheese
- Create a custom launcher for cheese:
sudo nano /usr/bin/cheese-launcher
…and copy/paste the two lines from above
cheese-launcher
#!/bin/bash
export LIBV4LCONTROL_FLAGS=3
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so cheese
… make it executable:
sudo chmod +x /usr/bin/cheese-launcher
- Control Center -> Main Menu, edit the launcher for cheese and change the command from ‘cheese’ to ‘cheese-launcher’.