'Use picocom - sending request
I'm sorry, but I don't understand how use picocom to send a request/command to the device. Official doc: http://linux.die.net/man/8/picocom
I want to be IN the OS I reach, I connect to an Arduino YUN using linux OS inside and I want to be root on it, it's probably easy, I'm already connected but I don't understand what I have to do!
vado@ubuntu:~$ picocom -b 115200 /dev/ttyACM0
picocom v1.4
port is : /dev/ttyACM0
flowcontrol : none
baudrate is : 115200
parity is : none
databits are : 8
escape is : C-a
noinit is : no
noreset is : no
nolock is : no
send_cmd is : ascii_xfr -s -v -l10
receive_cmd is : rz -vv
Terminal ready
Terminal ready and I can do nothing, I can't entering command line or whatever. I tried to do ce escape think with C-a but I don't understand at all how enter C-a...
Need help, please. Thank you.
Solution 1:[1]
With picocom you can communicate to a serial device.
Once you open it, you have something similar to the arduino serial monitor but every character you type is directly sent to the arduino.
You can use putty if you don't like picocom commands.
The escape commands C-a means: CRTL+A
To quit picocom, first press CRTL+A followed by a regular x.
Solution 2:[2]
Press ctrl button and then without releasing it press a and then q. It will exit the picocom application.
Solution 3:[3]
I found I have to do it this way. Hold "Ctrl" and "a". Then release. Then hold "Ctrl" and "x".
Solution 4:[4]
To quit while running in tmux, users who use Ctrl-a as a prefix.
C-a, a, C-x
Ctrl-a and release it. One more 'a' and release it. Ctrl-x and then it will quit.
Solution 5:[5]
After the terminal is ready, you will need to hold "ctrl+a" then press "c" to enable local echo. It will help you to see the commands you are sending and also the response
Solution 6:[6]
You can type Ctrl+A, followed by Ctrl+ H to see the available commands Picocom commands
*** Picocom commands (all prefixed by [C-a])
*** [C-x] : Exit picocom
*** [C-q] : Exit without reseting serial port
*** [C-b] : Set baudrate
*** [C-u] : Increase baudrate (baud-up)
*** [C-d] : Decrease baudrate (baud-down)
*** [C-i] : Change number of databits
*** [C-j] : Change number of stopbits
*** [C-f] : Change flow-control mode
*** [C-y] : Change parity mode
*** [C-p] : Pulse DTR
*** [C-t] : Toggle DTR
*** [C-g] : Toggle RTS
*** [C-|] : Send break
*** [C-c] : Toggle local echo
*** [C-w] : Write hex
*** [C-s] : Send file
*** [C-r] : Receive file
*** [C-v] : Show port settings
*** [C-h] : Show this message
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Charlie Salts |
| Solution 2 | samuel05051980 |
| Solution 3 | Forrest Erickson |
| Solution 4 | sam |
| Solution 5 | Asif |
| Solution 6 |
