Difference between revisions of "USB Webcam"

From ThinkWiki
Jump to: navigation, search
(added category)
 
(4 intermediate revisions by 3 users not shown)
Line 6: Line 6:
 
* under Linux 2.6.32-rc5 is working out of the box.
 
* under Linux 2.6.32-rc5 is working out of the box.
  
For quick camera testing I have found [http://moinejf.free.fr/svv.c svv] to be very useful. If problems arise it is also worth having a look at the GSPCA driver [http://moinejf.free.fr/ maintainer's website].
+
For quick camera testing I have found [http://moinejf.free.fr/svv.c svv] to be very useful.
 +
 
 +
If problems arise it is also worth having a look at the GSPCA driver [http://moinejf.free.fr/ maintainer's website].
 
|}
 
|}
  
On a 64-bit machine Skype shall be started something similar like
 
  
  # LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype
+
Skype uses the old V4L1 interface which requires the '''v4l1compat''' library to be preloaded. The command for this would simply be:
 +
 
 +
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype
 +
 
 +
instead of just
 +
 
 +
skype
 +
 
 +
Or, on a Debian/Ubuntu 64-bit machine, Skype should be started thus:
 +
 
 +
  LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype
 +
 
 +
 
 +
You can replace the commands of your Skype menu item from 'skype' to one of the lines above.
  
if you would like to use the webcam for video.
+
[[Category:External Accessories]]

Latest revision as of 10:45, 6 October 2020

Usb webcam.gif

Installing the Lenovo USB Webcam (type 40Y8519, Webpage at Lenovo Products)

  • under Linux 2.6.31.1 required the gspca vc032x module to be built from an external developer tree,
  • under Linux 2.6.32-rc5 is working out of the box.

For quick camera testing I have found svv to be very useful.

If problems arise it is also worth having a look at the GSPCA driver maintainer's website.


Skype uses the old V4L1 interface which requires the v4l1compat library to be preloaded. The command for this would simply be:

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

instead of just

skype

Or, on a Debian/Ubuntu 64-bit machine, Skype should be started thus:

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


You can replace the commands of your Skype menu item from 'skype' to one of the lines above.