Linux: Fedora 10 - WebCam D - Link DSB - C320 330K (pixels) + skype 2.0

Linux: Fedora 10 - WebCam D - Link DSB - C320 330K (pixels) + skype 2.0

Linux: Fedora 10 - WebCam D - Link DSB - C320 330K (pixels) + skype 2.0_第1张图片

lsusb:


shell> lsusb
2001:f115
D-Link Corp. [hex]

Dmesg:


shell> dmesg

usb 5-1: new full speed USB device using uhci_hcd and address 22
usb 5-1: configuration #1 chosen from 1 choice
usb 5-1: New USB device found, idVendor=2001, idProduct=f115
usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 5-1: Product: B-C120.
usb 5-1: Manufacturer: D-Link INC.
gspca: probing 2001:f115
pac207: Pixart Sensor ID 0x27 Chips ID 0x00
pac207: Pixart PAC207BCA Image Processor and Control Chip detected (vid/pid 0x2001:0xF115)
gspca: probe ok
usbcore: registered new interface driver pac207
pac207: registered

1) Installing softwares:


shell> sudo yum install libv4l skype -y

What's libv4l?


libv4l is a collection of libraries which adds a thin abstraction layer on
top of video4linux2 devices. The purpose of this (thin) layer is to make it
easy for application writers to support a wide variety of devices without
having to write seperate code for different devices in the same class.

2) Creating a new executable:



shell> sudo vi /usr/local/bin/webcamSkype

Add these 2 lines below:

#!/bin/bash
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype

What's v4l1compat.so?


v4l1compat.so is a wrapper of libv4l which adds v4l2 device compatibility to v4l1
applications ( like skype).

3) Setting permissions:



shell> sudo chown your_linux_login:your_linux_login /usr/local/bin/webcamSkype
shell> sudo chmod u+x /usr/local/bin/webcamSkype

Starting application:



Now you can just call webcamSkype from shell or create a launcher from your desktop.

i.e:

shell> webcamSkype

Linux: Fedora 10 - WebCam D - Link DSB - C320 330K (pixels) + skype 2.0_第2张图片
Tags: d-link dsb c320, fedora, fedora 10, gspca, libv4l, linux, linux-media, pac207, skype, v4l, v4l2, video4linux, webcam

Comments

(Anonymous)

Problems, can u help me

WARNING: "snd_aci_cmd" [/root/v4l-dvb/v4l/radio-miropcm20.ko] undefined!
WARNING: "snd_aci_get_aci" [/root/v4l-dvb/v4l/radio-miropcm20.ko] undefined!
WARNING: "__kmalloc_track_caller" [/root/v4l-dvb/v4l/dvb-core.ko] undefined!
WARNING: "__kmalloc_track_caller" [/root/v4l-dvb/v4l/dabusb.ko] undefined!
make[2]: Leaving directory `/usr/src/linux-headers-2.6.28-19-generi c'
./scripts/rmmod.pl check

i use ubuntu 9.04, please if u know, what should be do, i appreciate, thnks

你可能感兴趣的:(Linux: Fedora 10 - WebCam D - Link DSB - C320 330K (pixels) + skype 2.0)