| Section 1 | Installing LAMPS |
| Section 2 | Installing the CAMAC hardware |
| Section 3 | Installing the driver |
The command rpm -qa|less
can be used to check. If any of these components is missing you must get it from the installation
DVD. You need
the root password for doing this.
For use by multiple users on the same PC you can install in /usr/local/bin. This is a good choice for a data acquisition PC. The limitation is that you wont be able to freely change user.F to suit a particular experiment.
You can install in a directory of your choice (multiple independent installations on the same PC is also OK). In that case you are free to edit user.F as required without worrying about conflict with another experiment.
tar zxvf lamps-gtk2-DDMMYY.tgz
. This will create several directories.make. (Do make clean
if you want to remove an old installtion) There should be no warnings or errors../lamps will launch the program (if you edit your .bash_profile to have PATH=$PATH:$HOME/bin:./ then
the command lamps will work).

7. If the connection is wrong, the system will not work, but there is no harm done. Just check the connections again.
Login as lamps.
Create and change to the driver directory (cd /home/lamps/driver).
/home/lamps/driver/cc2002_load
Jun 3 09:33:11 hp1 kernel: Driver cc2000: Registered Device cc2000 major no 254
Jun 3 09:33:11 hp1 kernel: PCI: Found IRQ 11 for device 00:10.0
Jun 3 09:33:11 hp1 kernel: Driver cc2000: IO Address de00 dc00 da00
Module Size Used by Tainted: PF
cc2000 7380 0 (unused)
1. Download one of the driver tgz files which you thing will work (driverFC8.tgz is likely to work on newer Ubuntu and Suse systems) in /home/lamps/driver. Unpack with: tar zxvf driver_any.tgz
2. Login as root
3. On most installations the kernel source files will already be present, but if not you have to installl them from the installation DVD
3. Compile the driver with the help of the make file provided. (Just type make)
For older RedHat versions where no make file is provided, use the command:
cc -O2 -D__KERNEL__ -I /lib/modules/`uname -r`/build/include -c cc2002.c
4. There should be no errors and cc2002.o should be created. (If the kernel source
is not correctly installed there will be a lot of error messages.)