16.10.2012 Views

antrax Datentechnik GmbH - antrax.de

antrax Datentechnik GmbH - antrax.de

antrax Datentechnik GmbH - antrax.de

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>antrax</strong> <strong>Datentechnik</strong> <strong>GmbH</strong><br />

info@<strong>antrax</strong>.<strong>de</strong> - www.<strong>antrax</strong>.<strong>de</strong><br />

Install the drivers permanently<br />

Use the install.sh script to to use the kernel modules on your YADE-Board permanently and to<br />

install the "uvccapture" program.<br />

CAUTION: this script interferes at a sensitive part of the system.<br />

Existing drivers will be overwritten. It is recommen<strong>de</strong>d to safe a backup of these drivers. To do<br />

this, copy all files from "/lib/modules/2.6.24-rc5-rt1/kernel/drivers/media/vi<strong>de</strong>o/" for example<br />

to a USB stick!<br />

# ./install.sh<br />

/lib/modules/2.6.24-rc5-rt1/modules.<strong>de</strong>p: OK<br />

cp modules.<strong>de</strong>p /lib/modules/2.6.24-rc5-rt1/modules.<strong>de</strong>p<br />

mkdir /lib/modules/2.6.24-rc5-rt1/kernel/drivers/usb/media<br />

cp uvcvi<strong>de</strong>o.ko /lib/modules/2.6.24-rc5-rt1/kernel/drivers/usb/media/uvcvi<strong>de</strong>o.ko<br />

cp v4l1-compat.ko /lib/modules/2.6.24-rc5-rt1/kernel/drivers/media/vi<strong>de</strong>o/<br />

cp v4l2-common.ko /lib/modules/2.6.24-rc5-rt1/kernel/drivers/media/vi<strong>de</strong>o/<br />

cp v4l2-int-<strong>de</strong>vice.ko /lib/modules/2.6.24-rc5-rt1/kernel/drivers/media/vi<strong>de</strong>o/<br />

cp vi<strong>de</strong>o<strong>de</strong>v.ko /lib/modules/2.6.24-rc5-rt1/kernel/drivers/media/vi<strong>de</strong>o/<br />

cp uvccapture /usr/bin<br />

#<br />

Now it is possible to load the driver of the webcam with one single command: "modprobe".<br />

# modprobe uvcvi<strong>de</strong>o<br />

usbcore: registered new interface driver usbfs<br />

usbcore: registered new interface driver hub<br />

usbcore: registered new <strong>de</strong>vice driver usb<br />

Linux vi<strong>de</strong>o capture interface: v2.00<br />

usbcore: registered new interface driver uvcvi<strong>de</strong>o<br />

USB Vi<strong>de</strong>o Class driver (v0.1.0)<br />

#<br />

If you do not want to overwrite current drivers, it is possible to copy the new drivers to a own<br />

directory and to load them as <strong>de</strong>scribed above or for example write a script for future use.<br />

- 4 -<br />

Hasenbrink 4, 32052 Herford, Germany Tel. +49 (0) 5221 929660 Fax +49 (0) 5221 9296628

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!