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



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

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
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值