Closed ali1234 closed 4 years ago
Also I haven't extensively tested this. It seems to work though...
Added systemd unit for network:
sudo cp cxadcnc.service /etc/systemd/system
sudo systemctl reenable cxadcnc
sudo systemctl start cxadcnc
Now you can read samples over the network eg:
netcat 127.0.0.1 4444 | hd
This basically makes the module do everything automatically.
Unmanaged install:
After this step you need to reload configs. Easiest way to do this is just reboot. Now the module will be loaded and chardev will be created automatically after every reboot, with the correct permissions and options from cxadc.conf. The cx88 modules will also be blacklisted so they don't load automatically.
A DKMS configuration is also supplied which allows the module to be automatically rebuilt whenever the kernel is updated. This is a bit harder to set up manually, but would allow the module to be packaged in a PPA or similar (I haven't figured out exactly the correct way of doing this yet.)
I have not updated the README.