Article Discussion Edit History 

Installation



== Download ==  If you build from source, you you'd like the latest version of the driver, you'll need to check the driver out of Subversion:    svn co http://svn.mediati.org/svn/r5u870/trunk r5u870  Stable releases can be checked out of SVN using the STABLE_CURRENT tag instead of trunk. Descargar == == Si construir desde el código fuente, lo que te gustaría la última versión del conductor, tendrá que comprobar que el conductor de Subversion: svn co http://svn.mediati.org/svn/r5u870 / trunk r5u870 versiones estables se pueden comprobar de SVN usando el STABLE_CURRENT etiqueta en vez de tronco. A tarball of the latest stable version is also available here (version 0.11.1). Un tarball de la última versión estable también está disponible aquí (versión 0.11.1). Instructions for packages are mentioned below. Instrucciones de paquetes se mencionan a continuación.

[edit] Installation

This section describes the steps required to install the driver from source, so you can get up and running with your favorite webcam-utilising applications!

[edit] Packages

If you're looking on installation instructions from packages, please see r5u870/Packages.

[edit] Prerequisites

You will need:

  • Either kernel headers, or complete kernel source for your target kernel. Your kernel must be version 2.6.17 or newer.
  • Tools to compile the driver - normally in the build-essentials package or similar. This includes gcc, make, autotools, etc.
  • A webcam supported by the driver (see above).
  • A brain.

[edit] Compiling

Change the current working directory into the directory in which you have placed the module sources, and execute:

$ make

You can pass KDIR=<path> to specify a specific kernel location, as such:

$ make KDIR=/usr/linux-2.6.23-rc1/

[edit] Installing

To install the driver onto the system, simply run:

# make install

If you ran make with a different kernel path, you should specify it on the command line when installing, too.

Installed modules will be automatically probed for supported devices by the udev coldplug component at boot, and the driver should be automatically loaded on subsequent reboots.

If this is not the case, just add the modulename into a file inside of /etc/modules.d, to load the device on boot.

[edit] Loading the driver

If you installed the driver, you can just run:

modprobe r5u870

If you wish to load the driver without installing it, you must load the prerequisite modules:

modprobe usbcam
modprobe videodev
modprobe video-buf
modprobe v4l1-compat
modprobe v4l2-common
modprobe compat_ioctl32		(on 64-bit platforms)

You must also copy the microcode files (r5u870_*.fw) to /lib/firmware.

Then you may load the module manually:

insmod r5u870.ko