minicom 获取Android 串口kernel 日志

suggest to use minicom as serial port program on PC side since putty got some issue on connection ubuntu Linux.

at very 1st time:

$ sudo vim /etc/minicom/minirc.dfl
pu port             /dev/ttyUSB3

pu rtscts           No


to access to /dev/ttyUSB3, you need add your login username to dialout group and re-login

$ sudo usermod -a -G dialout $USER  #把当前用户加入到 dialout组
$ su $USER -l #切换到$USER 用户并且载入 -l 载入其环境变量
$ minicom
to capture the output of minicom to serial.log

$ minicom -C serial.log  #参数 -C保存Log 到文件serial.log


to Quit from minicom
Ctrl+A, then Q,
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值