Open main menu

CDOT Wiki β

Changes

Video Capture Station

5,432 bytes added, 22:43, 25 October 2010
Troubleshooting
You can now run ./freeseer
[fsoss@fsoss2 src]$
 
Copy the file src/modprobe.d/vga2usb.conf to /etc/modprobe.d/ directory
[root@fsoss2 modprobe.d]# cp /home/fsoss/freeseer-1.9.7/src/modprobe.d/vga2usb.conf /etc/modprobe.d/
[root@fsoss2 modprobe.d]#
=== Video Capturing Hardware driver Installation ===
* install Download the appropriate device driver for Fedora 13:** [http://www.epiphan.com/downloads/linux/vga2usb-3.24.9.12-2.6.34.7-56.fc13.x86_64.tbz 64-bit vga2usb kernel driverfor fedora 13]** [http://www.epiphan.com/downloads/linux/vga2usb-3.24.9.12-2.6.34.7-56.fc13.i686.tbz 32-bit vga2usb kernel driver for fedora 13]* The file should be downloaded to the Downloads directory* Unpack the file vga2usb-3.24.9.12-2.6.34.7-56.fc13.x86_64.tbz [fsoss@fsoss2 ~]$ pwd /home/fsoss [fsoss@fsoss2 ~]$ mkdir vga2usb [fsoss@fsoss2 ~]$ cd vga2usb [fsoss@fsoss2 vga2usb]$ tar xvfj ../Downloads/vga2usb-3.24.9.12-2.6.34.7-56.fc13.x86_64.tbz ./ ./drvwrapper_lib.h ./drvwrapper.h ./Config.mak ./v2u_id.h ./.drvwrapper.o.cmd ./Module.symvers ./vga2usb_bins.o ./README ./drvwrapper_lib.c ./.drvwrapper_lib.o.cmd ./drvwrapper_lib.o ./vga2usb.ko ./Makefile ./.vga2usb.mod.o.cmd ./.vga2usb.o.cmd ./.vga2usb.ko.cmd ./drvwrapper.c ./vga2usb.mod.c ./.tmp_versions/ ./.tmp_versions/vga2usb.mod ./vga2usb.mod.o ./modules.order ./drvwrapper.o ./vga2usb.o* Copy the kernel module vga2usb.ko to /lib/modules/2.6.34.7-56/ [root@fsoss2 2.6.34.7-56.fc13.x86_64]# pwd /lib/modules/2.6.34.7-56.fc13.x86_64 [root@fsoss2 2.6.34.7-56.fc13.x86_64]# cp /home/fsoss/vga2usb/vga2usb.ko . [root@fsoss2 2.6.34.7-56.fc13.x86_64]# depmod -a * configure vga2usb loadable module parameters:** edit the file /etc/modprobe.d/vga2usb.conf (copy from freeseer's download)*** comment out the line "options vga2usb num_frame_buffers=2"*** add the line "options vga2usb v4l_num_buffers=2" (note: v4l_num_buffers is from drvwrapper_lib.h) ===Troubleshooting=== After installing the device driver for vga2usb, plug in the USB cable connected to the VGA2USB device and you should see the following message pop up in the system log file /var/log/messages:  Oct 24 11:08:30 f13 kernel: usb 1-3: new high speed USB device using ehci_hcd and address 2 Oct 24 11:08:31 f13 kernel: usb 1-3: New USB device found, idVendor=5555, idProduct=1110 Oct 24 11:08:31 f13 kernel: usb 1-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0 Oct 24 11:08:31 f13 kernel: Epiphan Systems frame grabber driver version 3.24.9.12 loaded Oct 24 11:08:31 f13 kernel: VGA2USB is now attached to vga2usb-192 Oct 24 11:08:31 f13 kernel: usbcore: registered new interface driver vga2usb Oct 24 11:08:31 f13 kernel: usb 1-3: USB disconnect, address 2 Oct 24 11:08:31 f13 kernel: vga2usb: Disconnect Oct 24 11:08:32 f13 kernel: usb 1-3: new high speed USB device using ehci_hcd and address 3 Oct 24 11:08:32 f13 kernel: usb 1-3: New USB device found, idVendor=5555, idProduct=1110 Oct 24 11:08:32 f13 kernel: usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Oct 24 11:08:32 f13 kernel: usb 1-3: Product: VGA to USB Oct 24 11:08:32 f13 kernel: usb 1-3: Manufacturer: Epiphan Oct 24 11:08:32 f13 kernel: usb 1-3: SerialNumber: V2U68595 Oct 24 11:08:33 f13 kernel: VGA2USB is now attached to vga2usb-192 Connect the vga connector on the VGA2USB device to an VGA output and run the freeseer application, you should see the following debugging messages: [rchan@f13 src]$ ./freeseer Video directory exists. 2010-10-25 23:06:33 freeseer: <INFO> Logger initialized. 2010-10-25 23:06:33 freeseer: <DEBUG> Video output resolution changed to 800x600 2010-10-25 23:06:33 freeseer: <INFO> Core initialized 2010-10-25 23:06:33 freeseer: <DEBUG> Available video sources: ['desktop', 'usb', 'firewire'] 2010-10-25 23:06:33 freeseer: <DEBUG> pulsesrc is available. 2010-10-25 23:06:33 freeseer: <DEBUG> alsasrc is available. 2010-10-25 23:06:33 freeseer: <DEBUG> Available audio sources: ['pulsesrc', 'alsasrc'] 2010-10-25 23:06:33 freeseer: <DEBUG> Available talk titles: 2010-10-25 23:06:33 freeseer: <DEBUG> T103 - Thanh Ha - Intro to Freeseer 2010-10-25 23:06:33 freeseer: <INFO> Video Preview Activated 2010-10-25 23:06:33 freeseer: <DEBUG> Video source changed to desktop using 2010-10-25 23:06:33 freeseer: <DEBUG> loading pulsesrc 2010-10-25 23:06:33 freeseer: <DEBUG> pulsesrc loaded. 2010-10-25 23:07:07 freeseer: <DEBUG> Available video devices for usb: ['/dev/video0'] 2010-10-25 23:07:07 freeseer: <DEBUG> Video source changed to usb using /dev/video0 freeseer directory exists. 2010-10-25 23:07:09 freeseer: <DEBUG> Video output resolution changed to 800x600 freeseer directory exists. 2010-10-25 23:07:11 freeseer: <DEBUG> Video output resolution changed to 800x600 2010-10-25 23:07:18 freeseer: <DEBUG> Set record name to 2010-10-25_-_2307_-_T103_-_Thanh_Ha_-_Intro_to_Freeseer.ogg libv4l2: error getting capabilities: Unknown error 515 2010-10-25 23:07:18 freeseer: <INFO> Recording started 2010-10-25 23:07:18 freeseer: <DEBUG> Error: Could not get/set settings from/on resource.v4l2_calls.c(98): gst_v4l2_get_capabilities (): /GstPipeline:player/GstV4l2Src:vidsrc: system error: Unknown error 515 2010-10-25 23:07:18 freeseer: <DEBUG> v4l2src failed, falling back to v4lsrc 2010-10-25 23:42:12 freeseer: <INFO> Recording stopped 2010-10-25 23:42:14 freeseer: <INFO> Exiting freeseer... 2010-10-25 23:42:14 freeseer: <INFO> Recording stopped [rchan@f13 src]$ Please note that freeseer can't find v4l2src and fall back to v4lsrc. Why was it failing to use v4l2src?
1
edit