Next: , Previous: Code, Up: Top


5 Troubleshooting

This section of the manual is to guide users when they encounter problems with kacq.

5.1 kacq fails to start

5.1.1 look at the error message

Try to start kacq from a terminal and look at what is printed on the screen. It will most likely point to what is not working.

5.1.2 /dev/comedi0 or /dev/comedi1 is missing

If you use only one card, there should be only /dev/comedi0 there but if you have two cards, you should find /dev/comedi0 and /dev/comedi1. If they are missing, this suggests that comedi drivers were not loaded or install properly. One possibility is that the computer has rebooted with a different kernel that does not load comedi drivers. You can know which kernel you are running by typing uname -a. A wrong kernel can booted if the Gnu/Linux distribution has done an automatic update and installed a new kernel as the default kernel.

5.1.3 user does not have read and write permissions on /dev/comedi0 or /dev/comedi1

By default, when the computer reboot the owner of these files will be set to root. You need to give read and write permission to the current user on these files. Try su -; chown myusername /dev/comedi0. The best is to run a shell script that sets the right permission automatically when the computer boots, as shown in the installation section.