Welcome new user! You can search existing questions and answers without registering, but please register to post new questions and receive answers. Note that due to large amounts of spam attempts, your first three posts will be manually moderated, so please be patient.
We have moved to a new forum at http://jevois.usc.edu, please check it out. The forum at jevois.org/qa will not allow new user registrations but is maintained alive for its useful past questions and answers.
Welcome to JeVois Tech Zone, where you can ask questions and receive answers from other members of the community.

How to use quietcmd to stop the JeVois modul to send OK after receiving a command via hard serial

0 votes
Hi,

I do not want to get an OK via Hardserial, if I send a command from the Arduino to the JeVois modul. I found something telling me that I can use quietcmd (if true, no OK will be send). In the JeVois inventor this parameter is frozen. How can I use it ?

I tried to use it in the parameter and script files, but it did not function. I found no better description in the JeVois manual. Did I made a mistake? Please give me a good descrition how I can set quietcmd to true.

Regards

Peter
asked Feb 24, 2019 in Programmer Questions by Peter (580 points)

1 Answer

0 votes
To enable this, you need to create an empty file BOOT:quietcmd on your microSD to suppress sending 'OK' back to the user after every successful command received at the command line. Recommended for advanced users only.

In the console of JeVois inventor, you can type:

shell touch /boot/quietcmd

to achieve this. The JeVois command 'shell' sends everything that follows to a linux shell running on the camera. The linux command 'touch' updates the time stamp of a file, and creates an empty file if one did not already exist.

Note that the inventor requires OK to work. So, quit the inventor, unplug and re-plug JeVois, and you should be in quiet mode now. To delete the file, you will have to insert your microSD into a computer and delete the file from the BOOT partition.
answered Feb 25, 2019 by JeVois (46,580 points)
I tried to use the shell command in the Inventor, you wrote to me. It did not function. Then I used the microSD card in my computer but I only found 4 Files: README, script, uEnv and uImage.
In the uInv file I wrote the command quitecmd. Look here:
# uEnv.txt - command-line arguments passed to JeVois kernel during boot
#
# Uncomment (remove the leading # sign) one and only one of the three possible boot modes below:
#



# Use this for quiet boot (production mode):
bootargs=loglevel=0 init=/init rootfstype=ext4 root=/dev/mmcblk0p2 rootwait
quietcmd

# Use this for mild debug mode to the 4-pin hardware serial port:
#bootargs=earlyprintk=ttyS0,115200 loglevel=8 initcall_debug=0 console=ttyS0,115200 init=/init rootfstype=ext4 root=/dev/mmcblk0p2 rootwait


# Use this for extra verbose debug mode to the 4-pin hardware serial port:
#bootargs=earlyprintk=ttyS0,115200 loglevel=8 initcall_debug=1 console=ttyS0,115200 init=/init rootfstype=ext4 root=/dev/mmcblk0p2 rootwait

It did not function too.
Where is my mistake? Can you tell me where and how I have to write in the command quietcmd? In another directory or in another file structure?

Need your help. Thank you.
Peter
Again how to use quietcmd
...