#***************************************************************************
#                        INSTALL  -  description
#                             -------------------
#    copyright            : (C) 2003 by Robert Penz
#    email                : robert.penz@outertech.com
#***************************************************************************

#***************************************************************************
#*                                                                         *
#*   This program is free software; you can redistribute it and/or modify  *
#*   it under the terms of the GNU General Public License as published by  *
#*   the Free Software Foundation; either version 2 of the License, or     *
#*   (at your option) any later version.                                   *
#*                                                                         *
#***************************************************************************

The install is quite simple, so that currently there is no automatic install.

###*###*###
###  1  ###
extract the archive, what you apparently already did ;-)

###*###*###
###  2  ###
you need the source of your current running kernel.
/lib/modules/`uname -r`/build/include needs to point at it. if you're not 
sure if it points to the righ kernel just type: ls -la /lib/modules/`uname 
-r`/build if its the correct kernel source all is ok. ;-)

###*###*###
###  3  ###
$ make

and as root

###*###*###
###  4  ###
# make install

###*###*###
###  5  ###
now we can load the kernel module just with typing

# modprobe cdemu

no message should be given by this command

for you Debian users (maybe others), you might have to run `update-modules` 
first

###*###*###
###  6  ###
after the install you just need to call cdemu to get the help screen of the 
userspace program

If you're using devfs, then nodes will show up in /dev/cdemu/ automagically.  
If you're using udev, you might want to add this to /etc/udev/rules.d/99cdemu:
KERNEL="cdemu*", NAME="cdemu/%n", SYMLINK="%n"
and the following to /etc/udev/permissions.d/99cdemu:
cdemu/*:root:root:0664
otherwise you'll get a bunch of nodes showing up in /dev/ instead of 
/dev/cdemu/
If you're using just a static /dev, then each time you load cdemu the major 
number may change.  See /proc/devices for the current major number.  You can 
also load cdemu with the 'cdemu_major' parameter to control the major used.

ps: Any bug reports, comments, feature requests wished.
