Hotplug with multiple arduino boards only shows a single slot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Triaged
|
Medium
|
Unassigned |
Bug Description
When I plug in multiple arduino boards, I still only get one slot: core:usb20-serial. When I try to flash them from the arduino IDE, one of them randomly gives a “permission denied” error. In general, the last one you plug in is the one you can access, but sometimes it changes.
This is how the devices are show in lsusb:
Bus 001 Device 011: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
Bus 001 Device 010: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
This is how it's auto-connected to the arduino snap:
$ snap connections arduino
Interface Plug Slot Notes
content[
content[
content[
content[
home arduino:home :home -
network arduino:network :network -
network-bind arduino:
raw-usb arduino:raw-usb :raw-usb manual
removable-media arduino:
serial-port arduino:serial-port :usb20-serial -
unity7 arduino:unity7 :unity7 -
x11 arduino:x11 :x11 -
$ snap interface serial-port
name: serial-port
summary: allows accessing a specific serial port
plugs:
- arduino
- s4a
slots:
- snapd:usb20-serial (allows accessing a specific serial port)
Though they show up as /dev/ttyUSB0 and /dev/ttyUSB1
summary: |
- Hotplug with multiple arduino boards + Hotplug with multiple arduino boards only shows a single slot |
tags: | added: hotplug |
Can you run `udevadm monitor`, plug the boards and collect the log?