[opensuse] brltty Prevents Arduino to Access Serial Port
Hi all, I have ESP8266 NodeMCU (Arduino) device attached via USB port on openSUSE Leap 15 laptop. Arduino IDE (from https://downloads.arduino.cc/arduino-1.8.8-linux64.tar.xz) shoud have accessed it (via serial port: /dev/ttyUSB0) automatically, but it failed. dmesg said: -------------------- ... [ 9453.175187] ---[ end trace 073159a74b1f43ff ]--- [12104.746651] usb 3-1: new full-speed USB device number 9 using xhci_hcd [12104.926058] usb 3-1: New USB device found, idVendor=10c4, idProduct=ea60 [12104.926063] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [12104.926066] usb 3-1: Product: CP2102 USB to UART Bridge Controller [12104.926069] usb 3-1: Manufacturer: Silicon Labs [12104.926071] usb 3-1: SerialNumber: 0001 [12104.934447] cp210x 3-1:1.0: cp210x converter detected [12104.936387] usb 3-1: cp210x converter now attached to ttyUSB0 [12105.884270] usb 3-1: usbfs: interface 0 claimed by cp210x while 'brltty' sets config #1 [12105.885172] cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0 [12105.885207] cp210x 3-1:1.0: device disconnected [12109.381111] input: BRLTTY 5.5 Linux Screen Driver Keyboard as /devices/virtual/input/input20 -------------------- $ tail -f /var/log/messages: http://paste.opensuse.org/view/simple/87354116 $ lsusb ... Bus 003 Device 009: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP2102/CP2109 UART Bridge Controller [CP210x family] Arduino IDE finally could access the serial port after removing brltty (brltty-5.5-lp150.3.5.x86_64) package (or simply by stopping the brltty@-dev-bus-usb-003-009.service?) -------------------- $ dmesg (after removing brltty package) ... [12104.746651] usb 3-1: new full-speed USB device number 9 using xhci_hcd [12104.926058] usb 3-1: New USB device found, idVendor=10c4, idProduct=ea60 [12104.926063] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [12104.926066] usb 3-1: Product: CP2102 USB to UART Bridge Controller [12104.926069] usb 3-1: Manufacturer: Silicon Labs [12104.926071] usb 3-1: SerialNumber: 0001 [12104.934447] cp210x 3-1:1.0: cp210x converter detected [12104.936387] usb 3-1: cp210x converter now attached to ttyUSB0 [12105.884270] usb 3-1: usbfs: interface 0 claimed by cp210x while 'brltty' sets config #1 [12105.885172] cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0 [12105.885207] cp210x 3-1:1.0: device disconnected [12109.381111] input: BRLTTY 5.5 Linux Screen Driver Keyboard as /devices/virtual/input/input20 [12822.469854] usb 3-1: USB disconnect, device number 9 [12875.486696] usb 3-1: new full-speed USB device number 10 using xhci_hcd [12875.666073] usb 3-1: New USB device found, idVendor=10c4, idProduct=ea60 [12875.666079] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [12875.666082] usb 3-1: Product: CP2102 USB to UART Bridge Controller [12875.666084] usb 3-1: Manufacturer: Silicon Labs [12875.666087] usb 3-1: SerialNumber: 0001 [12875.674444] cp210x 3-1:1.0: cp210x converter detected [12875.676463] usb 3-1: cp210x converter now attached to ttyUSB0 -------------------- Should I fill a bug (against brltty package)? Best regards, -- Andi Sugandi. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Andi Sugandi wrote:
Hi all,
I have ESP8266 NodeMCU (Arduino) device attached via USB port on openSUSE Leap 15 laptop.
Arduino IDE (from https://downloads.arduino.cc/arduino-1.8.8-linux64.tar.xz) shoud have accessed it (via serial port: /dev/ttyUSB0) automatically, but it failed. dmesg said:
Hmm, shouldn't the Arduinos connect via /dev/ttyACM? Or has this changed? (I don't have one around here to check...) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hi, On Thu, Jan 24, 2019 at 4:53 PM Peter Suetterlin <pit@astro.su.se> wrote:
Hmm, shouldn't the Arduinos connect via /dev/ttyACM? Or has this changed? (I don't have one around here to check...)
Maybe because ESP8266 uses `CP2102/CP2109 UART Bridge Controller` that the cp210x driver tends (or always?) to attach the device to /dev/ttyUSB0. CMIIW. Thanks. -- Andi Sugandi. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Andi Sugandi
-
Peter Suetterlin