README for fcusb2 driver
========================

Revision:   0.9.3
Date:  2015-10-03


Kernel compatibility
--------------------
This source package is usable with kernel 2.6.26 until 2.6.39, 
kernel 3.0 until 3.19 and kernel 4.0 until 4.2 (tested until 4.2).

Beginning with revision 0.7.0 this source package can be used for
these microarchitectures:
  * 32bit (usually named as i386 or i686)
  * 64bit (usually named as amd64)

Since kernel 2.6.38 the module 'capifs' were removed from the kernel.
Software which use this module do not run anymore. 'fcpci' do not need
this module and can be used without any dependency to this obsolete
module.

Tools for compiling
-------------------
The makefiles needs the following tools: make, gcc, coreutils, libc6,
binutils and module-init-tools (package names of Debian).

Essentially you need also the kernel header package for the exactly
same version as your running kernel, e.g. linux-header-2.6.38-1-amd64.

For custom kernels you must use the complete kernel source package,
which must be full configured and precompiled with your kernel config,
if you don't have a custom kernel-header package for your kernel
version.

Compiler version
----------------
Before you compile your fcusb2 driver please check the compiler
version used for the kernel with the command:

       dmesg | head -n1

and use the same compiler for compiling your fcusb2 driver!


Installation
------------
1) change to user ROOT

2) unpack the file fcusb2-driver-$VERSION.tar.bz2
   and change into the directory fcusb2-driver-$VERSION

3) create the module for your kernel

       make

4) install the created module

       make install

5) load the installed module

       depmod -a `uname -r`
       modprobe -v fcusb2

Since version 0.8.0 with 'make install' the command 'depmod -a' will
be executed directly.


Firmware selection
------------------
AVM had produced three versions of FRITZCARD! USB. Depending 
from the version you need a special firmware version. You find 
the different firmware files in the 'frm' directory.

	ID            version               firmware file
	----------    ------------------    -------------
	"057c/c00"    FRITZCARD!USB         not needed

	"057c/1000"   FRITZCARD!USB v2.0    fus2base.frm

	"057c/1900"   FRITZCARD!USB v2.1    fus3base.frm

You can check the ID with the command 'lsusb'.


Maintainer
----------
I am a normal user, who uses fritzcards since 1993. I use this
patched sources for myself and give it back "AS IS", without
any warrenty and without any support. Use it on your own risk!


(Joachim Wiedorn)
