Tank server
tank_server
The tank is controlled using a back end or deamon called tank_server. This is required because the low level drivers and hardware are not stateful and everytime they are restarted the stages forget everything (like where they are). So the deamon controls the stages and runs all the time and the scanning software tells the deamon what to do.
Hopefully the computer "hammock" has been left running and the tank_server deamon is normally just left running all the time. However if there has been a power cut or a computer crash this might not be the case. Worst of all someone has performed an unwanted software update and the daemon can't run.
First install the driver:
- Login as root
- insmod copleycan.ko
Then run the tank_server deamon:
- Login as root
- cd /home/scan/source/hardware/tank/copleycandriver/copleycan_0.4.0/
- tank_server &
If someone has updated the software and it doesn't run then the deamon needs to be rebuilt:
- Login as root
- cd /home/scan/source/hardware/tank/copleycandriver/copleycan_0.4.0/
- make ; make install
- tank_server &
Also if the kernel was updated then you will have to rebuild the driver [untested]:
- Login as root
- cd /home/scan/source/hardware/tank/copleycandriver/copleycan_0.4.0
- make clean ; make ; make install
- insmod copleycan.ko
If this doesn't work then you need Matt or Steve to sort it out.