'2021/09/16'에 해당되는 글 5건

  1. 2021.09.16 rpi stretch lirc irrecord 실패
  2. 2021.09.16 minicom 로그 저장하기
  3. 2021.09.16 socat을 이용한 ttyUSB to TCP
  4. 2021.09.16 lirc 제조사별 키코드
  5. 2021.09.16 minicom timestamp
embeded/raspberry pi2021. 9. 16. 19:18

머가 문제일까..

 

[링크 : https://raspberrypi.stackexchange.com/questions/104008/lirc-irrecord-wont-record-buster-mode2-works]

 

+

stretch가 문제가 아니라

decoded에 문제가 있는지 raw로 하니 잘 된다.

'embeded > raspberry pi' 카테고리의 다른 글

rpi 4 lirc tx, rx  (0) 2021.09.23
rpi USB 메모리 스틱처럼 만들기? rpi zero  (0) 2021.09.17
lirc 제조사별 키코드  (0) 2021.09.16
lirc를 이용한 리모컨 신호 복제  (0) 2021.09.13
rpi 에서 ir 읽기  (0) 2021.09.11
Posted by 구차니
프로그램 사용/minicom2021. 9. 16. 16:20

통신을 주고 받으면서 해당 내용을 파일로 저장하는 기능.

ctrl-a,z 에서 "Capture on/off.....L" 을 눌러 들어가면

+-------------------------------------------------------------------+
|                      Minicom Command Summary                      |
|                                                                   |
|              Commands can be called by CTRL-A <key>               |
|                                                                   |
|               Main Functions                  Other Functions     |
|                                                                   |
| Dialing directory..D  run script (Go)....G | Clear Screen.......C |
| Send files.........S  Receive files......R | cOnfigure Minicom..O |
| comm Parameters....P  Add linefeed.......A | Suspend minicom....J |
| Capture on/off.....L  Hangup.............H | eXit and reset.....X |
| send break.........F  initialize Modem...M | Quit with no reset.Q |
| Terminal settings..T  run Kermit.........K | Cursor key mode....I |
| lineWrap on/off....W  local Echo on/off..E | Help screen........Z |
| Paste file.........Y  Timestamp toggle...N | scroll Back........B |
| Add Carriage Ret...U                                              |
|                                                                   |
|             Select function or press Enter for none.              |
+-------------------------------------------------------------------+

 

저장할 파일명을 물어본다. minicom을 실행한 현재 디렉토리를 기준으로 저장된다.

+-----------------------------------------+
|Capture to which file?                   |
|> minicom.cap                            |
+-----------------------------------------+

'프로그램 사용 > minicom' 카테고리의 다른 글

minicom lf에 cr 붙이기  (0) 2023.01.05
minicom 16진수로 보기  (0) 2022.08.25
minicom timestamp  (0) 2021.09.16
minicom 폭 늘리기  (0) 2021.01.28
/dev/tty 를 sudo 쓰지 않고 사용하기  (0) 2020.09.24
Posted by 구차니
Linux2021. 9. 16. 16:15

라즈베리에 달린 USB 시리얼을 아래와 같이 실행해주고

$ socat /dev/ttyUSB0,raw,echo=0 tcp-listen:8888,reuseaddr

 

putty에서 raw 소켓으로 붙이니

 

양방향으로 소켓을 통해 전송이 가능하다.

로그인은 하고 usbtty로 붙이려면 어떻게 하면 되려나?

[링크 : https://unix.stackexchange.com/questions/201757/]

'Linux' 카테고리의 다른 글

bash multiple session history  (0) 2021.10.01
특정 pts에서 프로그램 실행하기  (0) 2021.09.27
리눅스 콘솔에서 gmail 통해 메일 보내기는 실패 ㅠㅠ  (0) 2021.09.15
linux sw raid  (0) 2021.08.30
glibc 버전 얻기  (0) 2021.07.09
Posted by 구차니
embeded/raspberry pi2021. 9. 16. 15:57

'embeded > raspberry pi' 카테고리의 다른 글

rpi USB 메모리 스틱처럼 만들기? rpi zero  (0) 2021.09.17
rpi stretch lirc irrecord 실패  (0) 2021.09.16
lirc를 이용한 리모컨 신호 복제  (0) 2021.09.13
rpi 에서 ir 읽기  (0) 2021.09.11
rpi 3b update, install 실패  (0) 2021.09.10
Posted by 구차니
프로그램 사용/minicom2021. 9. 16. 13:01

minicom에서 "Timestamp toggle...N" 을 누르면

별다른 티를 내지 않고 그냥 나가버리는데

+-------------------------------------------------------------------+
|                      Minicom Command Summary                      |
|                                                                   |
|              Commands can be called by CTRL-A <key>               |
|                                                                   |
|               Main Functions                  Other Functions     |
|                                                                   |
| Dialing directory..D  run script (Go)....G | Clear Screen.......C |
| Send files.........S  Receive files......R | cOnfigure Minicom..O |
| comm Parameters....P  Add linefeed.......A | Suspend minicom....J |
| Capture on/off.....L  Hangup.............H | eXit and reset.....X |
| send break.........F  initialize Modem...M | Quit with no reset.Q |
| Terminal settings..T  run Kermit.........K | Cursor key mode....I |
| lineWrap on/off....W  local Echo on/off..E | Help screen........Z |
| Paste file.........Y  Timestamp toggle...N | scroll Back........B |
| Add Carriage Ret...U                                              |
|                                                                   |
|             Select function or press Enter for none.              |
+-------------------------------------------------------------------+

 

한번 누를 때 마다 다음과 같은 시간 포맷으로 출력된다.

개인적으로는 ms 단위까지 표현해주는게 좋음.

U-Boot
[2021-09-16 14:23:35] U-Boot
[2021-09-16 14:23:55.603] U-Boot 

 

[링크 : https://stackoverflow.com/questions/54377832/extended-timestamp-as-default-in-minicom]

[링크 : https://askubuntu.com/questions/905655/not-able-to-add-timestamp-to-minicom-readings]

 

'프로그램 사용 > minicom' 카테고리의 다른 글

minicom lf에 cr 붙이기  (0) 2023.01.05
minicom 16진수로 보기  (0) 2022.08.25
minicom 로그 저장하기  (0) 2021.09.16
minicom 폭 늘리기  (0) 2021.01.28
/dev/tty 를 sudo 쓰지 않고 사용하기  (0) 2020.09.24
Posted by 구차니