You are not logged in.
Hello, I have been trying to use the Arduino IDE with one of my Arduino clones, I have installed it from the script at the Arduino website and mainly the arduino package, which displays the UI properly. But for both of them the port is not getting recognized.
I have done everything in the Arch Wiki article about Arduino, including adding my user to a couple groups.
If I use
lsusbI get:
Bus 001 Device 002: ID 1a86:7523 QinHeng Electronics CH340 serial converterWhich seems to be the proper device and driver. But when I use dmesg it shows some weird behaviour I don't understand and I hope someone can help me:
[ 1209.984186] usb 1-2: USB disconnect, device number 2
[ 1210.133867] kauditd_printk_skb: 8 callbacks suppressed
[ 1210.133871] audit: type=1131 audit(1635716193.190:516): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=brltty-device@sys-devices-pci0000:00-0000:00:08.1-0000:05:00.3-usb1-1\x2d2 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 1210.133875] audit: audit_lost=972 audit_rate_limit=0 audit_backlog_limit=64
[ 1210.133877] audit: kauditd hold queue overflow
[ 1210.888202] audit: type=1131 audit(1635716193.943:517): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=brltty@-sys-devices-pci0000:00-0000:00:08.1-0000:05:00.3-usb1-1\x2d2 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 1210.888208] audit: audit_lost=973 audit_rate_limit=0 audit_backlog_limit=64
[ 1210.888209] audit: kauditd hold queue overflow
[ 1213.279474] usb 1-2: new full-speed USB device number 4 using xhci_hcd
[ 1213.433955] usb 1-2: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.54
[ 1213.433969] usb 1-2: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 1213.433973] usb 1-2: Product: USB2.0-Serial
[ 1213.439739] ch341 1-2:1.0: ch341-uart converter detected
[ 1213.453952] usb 1-2: ch341-uart converter now attached to ttyUSB0
[ 1214.069656] audit: type=1130 audit(1635716197.126:518): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=brltty-device@sys-devices-pci0000:00-0000:00:08.1-0000:05:00.3-usb1-1\x2d2 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 1214.069661] audit: audit_lost=974 audit_rate_limit=0 audit_backlog_limit=64
[ 1214.069663] audit: kauditd hold queue overflow
[ 1214.112549] audit: type=1130 audit(1635716197.166:519): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=brltty@-sys-devices-pci0000:00-0000:00:08.1-0000:05:00.3-usb1-1\x2d2 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 1214.119604] usb 1-2: usbfs: interface 0 claimed by ch341 while 'brltty' sets config #1
[ 1214.123120] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[ 1214.123163] ch341 1-2:1.0: device disconnected
[ 1215.286052] input: BRLTTY 6.4 Linux Screen Driver Keyboard as /devices/virtual/input/input32
[ 1221.448577] kauditd_printk_skb: 2 callbacks suppressed
[ 1221.448580] audit: type=1101 audit(1635716204.502:520): pid=22135 uid=1000 auid=1000 ses=2 subj==unconfined msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="santiago" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 1221.448584] audit: audit_lost=976 audit_rate_limit=0 audit_backlog_limit=64
[ 1221.448585] audit: kauditd hold queue overflow
[ 1221.449319] audit: type=1110 audit(1635716204.502:521): pid=22135 uid=1000 auid=1000 ses=2 subj==unconfined msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_env,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 1221.449325] audit: audit_lost=977 audit_rate_limit=0 audit_backlog_limit=64
[ 1221.449326] audit: kauditd hold queue overflow
[ 1221.452027] audit: type=1105 audit(1635716204.505:522): pid=22135 uid=1000 auid=1000 ses=2 subj==unconfined msg='op=PAM:session_open grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 1221.452033] audit: audit_lost=978 audit_rate_limit=0 audit_backlog_limit=64
[ 1221.452034] audit: kauditd hold queue overflowI notice that it gets assigned to ttyUSB0, which from what I know it's what the Arduino IDE is expecting to use, but then gets moved to some BRLTTY virtual device or something like that? I don't really understand that.
Any help would be really appreciated. Thanks! ![]()
Offline
Offline
Oh, that was simple! I just had to uninstall the package:
sudo pacman -R brlttyI think I see why it wasn't working now, I don't really remember installing that specific package. But thanks a lot ![]()
Offline