TIP_How_to_use_openwengo_when_you_got_a_tv_card
Please format this article according to the guidelines and Wikification suggestions, then remove this notice {{Wikify}} from the article
Contents |
Introduction
Untill Ekiga gets up to speed , I think that openwengo is the best video conferencing and telephone application. one annoying bug with current openwengo 0.99rev2237 is that you may only use /dev/video0 as your webcam. I have a tv card that is mapped to that path.
I start out reading this: writing udev rules
Step 1: Get more info on your webcam
lsusb
Bus 005 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle Bus 005 Device 002: ID 0d8c:0001 C-Media Electronics, Inc. Bus 005 Device 001: ID 0000:0000 Bus 004 Device 001: ID 0000:0000 Bus 003 Device 003: ID 040a:0002 Kodak Co. DVC-325 Bus 003 Device 002: ID 046d:c508 Logitech, Inc. Bus 003 Device 001: ID 0000:0000 Bus 002 Device 002: ID 045e:00db Microsoft Corp. Bus 002 Device 001: ID 0000:0000 Bus 001 Device 005: ID 0bda:0107 Realtek Semiconductor Corp. Bus 001 Device 001: ID 0000:0000
Step 2: Using the info
go ahead and write a rule file:
nano /etc/udev/rules.d/10-local.rules
KERNEL=="video[0-9]*", BUS=="usb", SYSFS{idVendor}=="040a", SYSFS{idProduct}=="0002", NAME="v4l/video0" , SYMLINK="video0" , GROUP="webcam"
Step 3: Securing the webcam
groupadd webcam gpasswd -a USER webcam
Step 4: Switch it on
udevcontrol reload_rules udevstart
Step 5: Getting info about your tv card
su udevinfo -a -p /sys/class/video4linux/<video card number>
I just cicked TAB and choose video0 and got the info about the TV card. you may want to run this on another device by choosing a different name.
looking at device '/class/video4linux/video0':
KERNEL=="video0"
SUBSYSTEM=="video4linux"
SYSFS{card}=="10"
SYSFS{name}=="BT878 video _Hauppauge _bt878__"
SYSFS{dev}=="81:0"
looking at device '/devices/pci0000:00/0000:00:08.0':
ID=="0000:00:08.0"
BUS=="pci"
DRIVER=="bttv"
SYSFS{modalias}=="pci:v0000109Ed0000036Esv00000070sd000013EBbc04sc00i00"
SYSFS{local_cpus}=="1"
SYSFS{irq}=="11"
SYSFS{class}=="0x040000"
SYSFS{subsystem_device}=="0x13eb"
SYSFS{subsystem_vendor}=="0x0070"
SYSFS{device}=="0x036e"
SYSFS{vendor}=="0x109e"
looking at device '/devices/pci0000:00': ID=="pci0000:00" BUS=="" DRIVER==""
Step 6: Write the rule
KERNEL=="video[0-9]*", BUS=="pci", SYSFS{device}=="0x036e", SYSFS{vendor}=="0x109e", SYSFS{dev}=="81:0", NAME="v4l/video1", SYMLINK="video1 TV_card_878", GROUP="tv"
As you can see I choose to give this device a group named TV. you will need to follow step 3 to create this group and add the user. I also added a second soft link named TV_card_878 so I can indentify it quick.
Browse categories > Applications > Multimedia > Audio > Voice
Browse categories > Gentoo Linux Wiki > Wiki maintenance > Wikify
Created by NickStallman.net, His Dark Materials - The Golden Compass, Luxury Homes Australia
Real estate agents should be using interactive floor plans.
