Welcome new user! You can search existing questions and answers without registering, but please register to post new questions and receive 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

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.


asked Feb 24 in Programmer Questions by Peter (340 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 by JeVois (38,060 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

# 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.
Again how to use quietcmd