I use "ADRV9009-W/PCBZ + A10 SOCFPGA KIT Board". When A10 SocFpga start into Linux OS ,IIO Daemon was launched automatically by “ /etc/init.d/iiod ”,
1) My aim is to disable this IIOD auto-running when Linux start-up, then when needed we start IIOD manually . How to implement this ?
2) Another queyr : does IIOD provide executing logs, coz I want to check its log info. For example IIOD has print as " INFO("New client connected from %s\n", inet_ntoa(caddr.sin_addr)); "
How can I check these logs ? (maybe I want to add my own log for further debug~) .
Thanks for clarify
OK. I had fixed my issue in this ticket.
for question (1) - just run " /etc/init.d# ./iiod stop " to stop IIOD manually.
for question (2) - I just change " iiod script " to bring IIOD launch on front, instead of on background !!
-- #if start-stop-daemon -S -b -q -m -p /var/run/iiod.pid -x /usr/sbin/iiod -- $IIOD_OPTS; then++ if start-stop-daemon -S -m -p /var/run/iiod.pid -x /usr/sbin/iiod -- $IIOD_OPTS; then
THEN I can check iiod 's running logs now. This ticket can be marked as "ANSWERED".
sorry for interrupt if any