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 />

"ko" here stands for "kernel object" and is a binary snippet that is hooked into the kernel as as<br />

a module.<br />

To do so, you have to follow a certain or<strong>de</strong>r, otherwise it will not work!<br />

At first the USB interfaces need to be activated, then load the existing modules for USB and<br />

I²C 1 on the YADE-Board. Thereafter, use the command insmod to load the modules one by<br />

one.<br />

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

# echo O1 >> /<strong>de</strong>v/at91sam9260_gpio.32<br />

# modprobe usbcore<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 />

# modprobe ohci-hcd<br />

at91_ohci at91_ohci: AT91 OHCI<br />

at91_ohci at91_ohci: new USB bus registered, assigned bus number 1<br />

at91_ohci at91_ohci: irq 20, io mem 0x00500000<br />

usb usb1: configuration #1 chosen from 1 choice<br />

hub 1-0:1.0: USB hub found<br />

hub 1-0:1.0: 2 ports <strong>de</strong>tected<br />

# usb 1-2: new full speed USB <strong>de</strong>vice using at91_ohci and address 2<br />

usb 1-2: configuration #1 chosen from 1 choice<br />

# insmod v4l1-compat.ko<br />

# modprobe i2c-core<br />

# insmod vi<strong>de</strong>o<strong>de</strong>v<br />

insmod: can't open 'vi<strong>de</strong>o<strong>de</strong>v': No such file or directory<br />

# insmod vi<strong>de</strong>o<strong>de</strong>v.ko<br />

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

# insmod v4l2-common.ko<br />

# insmod v4l2-int-<strong>de</strong>vice.ko<br />

# insmod uvcvusb 1-2: USB disconnect, address 2<br />

# insmod uvcvi<strong>de</strong>o.ko<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 />

1 the I²C module is used by the v4l2-common module. Both can be left asi<strong>de</strong> for this<br />

<strong>de</strong>scription without any problems.<br />

- 2 -<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!