:ESP32 보드를 ubuntu PC 와 USB 연결시 dmesg 를 통해 아래와 같은 메시지가 출력 되네요.
> 드라이버가 연결이 될 것처럼 보이다가 disconnect 되네요.
$ sudo dmesg
[ 2805.061854] usb 1-10: new full-speed USB device number 8 using xhci_hcd
[ 2805.188920] usb 1-10: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.64
[ 2805.188936] usb 1-10: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 2805.188945] usb 1-10: Product: USB Serial
[ 2805.191496] ch341 1-10:1.0: ch341-uart converter detected
[ 2805.192239] usb 1-10: ch341-uart converter now attached to ttyUSB0
[ 2805.746329] input: BRLTTY 6.4 Linux Screen Driver Keyboard as /devices/virtual/input/input19
[ 2805.747439] usb 1-10: usbfs: interface 0 claimed by ch341 while 'brltty' sets config #1
[ 2805.747867] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[ 2805.747893] ch341 1-10:1.0: device disconnected <--- 요기
▶ brltty 패키지 제거하기
: brltty 는 시각 장애인을 위해 화면 내용을 읽어주는 braille display라는 장비를 운용하기 위한 데몬이라고 나오네요.
$ sudo apt remove brltty
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libcapstone4 libgpiod2 libhidapi-hidraw0 libjaylink0 libjim0.79 libusb-0.1-4
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
brltty
0 upgraded, 0 newly installed, 1 to remove and 145 not upgraded.
After this operation, 8,294 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 253569 files and directories currently installed.)
Removing brltty (6.4-4ubuntu3) ...
Processing triggers for man-db (2.10.2-1) ...
> ESP32 장치 재연결 테스트 ("OK")
[ 3152.570925] usb 1-10: USB disconnect, device number 8
[ 3156.976511] usb 1-10: new full-speed USB device number 9 using xhci_hcd
[ 3157.103558] usb 1-10: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.64
[ 3157.103574] usb 1-10: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 3157.103583] usb 1-10: Product: USB Serial
[ 3157.106188] ch341 1-10:1.0: ch341-uart converter detected
[ 3157.106932] usb 1-10: ch341-uart converter now attached to ttyUSB0
참고용 자료입니다.
반응형