README file for TurboSight Linux drivers

NOTE: this document assumes that all prerequisite packages like kerner headers
and build tools are already installed in your Linux system.
For Ubuntu:
sudo apt-get install git build-essential linux-headers-generic \
ncurses-dev libproc-processtable-perl fakeroot\

Most of the steps require root access to and basic knowledge of Linux system.

Create directory, for example /root/tbs and copy the following file to it:

- linux-tbs-drivers.tar.bz2 (S2API Linix driver for TurboSight TBS 6921)

I.1 extract linux-tbs-drivers.tar.bz2 archive:

# tar xjvf linux-tbs-drivers.tar.bz2

I.2 go to driver package directory:

# cd linux-tbs-drivers

I.3 depending on your kernel version and if the kernel is x86 or 
x86_64 (check output of 'uname -a') do:

- for x86 kernel 3.x (x86 32 bit installations of kernel 3.x):

# ./v4l/

- for x86 kernel 2.6.x (x86 32 bit installations of kernel 2.6.x):

# ./v4l/

- for any x86_64 kernel (x86 64 bit installations of Linux):

# ./v4l/

I.4 build and install the driver:
# cd ..
# make && make install

I.5 reboot in order to load the newly installed driver:

# shutdown -r now

I.6 after reboot check that the newly installed driver is loaded correctly:

# dmesg | grep cx23885

if everything is OK, the output from the above command should be similar to:

cx23885 driver version 0.0.2 loaded
cx23885[0]: subsystem: 6921:8888, board: TurboSight TBS 6921 [card=31,autodetected]
cx25840 4-0044: cx23885 A/V decoder found @ 0x88 (cx23885[0])
cx25840 4-0044: firmware: requesting v4l-cx23885-avcore-01.fw
cx25840 4-0044: loaded v4l-cx23885-avcore-01.fw firmware (16382 bytes)
cx23885_dvb_register() allocating 1 frontend(s)
cx23885[0]: cx23885 based dvb card
DVB: registering new adapter (cx23885[0])
cx23885_dev_checkrevision() Hardware revision = 0xb0
input: cx23885 IR (TurboSight TBS 6921) as /devices/pci0000:00/0000:00:0c.0/0000:03:00.0/input/input5