[Bug 278407] With two FDTI devices connected, only the first is usable

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 17 Apr 2024 13:23:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278407

            Bug ID: 278407
           Summary: With two FDTI devices connected, only the first is
                    usable
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: usb
          Assignee: usb@FreeBSD.org
          Reporter: theraven@FreeBSD.org

I have two (identical) FDTI devices (Arty A7 FPGA boards) connected to the same
system.  If I connect either of them, I can connect to /dev/cuaU1 with a serial
terminal (picocom, minicom) and it works fine.  If I connect the second, this
keeps working and /dev/cuaU2 shows up.  The serial terminal program can open
and configure this device, but it does not see any output.

usbconfig output for the two:

```
ugen0.2: <Digilent Digilent USB Device> at usbus0, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=ON (500mA)

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0200 
  bDeviceClass = 0x0000  <Probed by interface class>
  bDeviceSubClass = 0x0000 
  bDeviceProtocol = 0x0000 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x0403 
  idProduct = 0x6010 
  bcdDevice = 0x0700 
  iManufacturer = 0x0001  <Digilent>
  iProduct = 0x0002  <Digilent USB Device>
  iSerialNumber = 0x0003  <210319B7C64C>
  bNumConfigurations = 0x0001 

# usbconfig dump_device_desc ugen0.3
ugen0.3: <Digilent Digilent USB Device> at usbus0, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=ON (500mA)

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0200 
  bDeviceClass = 0x0000  <Probed by interface class>
  bDeviceSubClass = 0x0000 
  bDeviceProtocol = 0x0000 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x0403 
  idProduct = 0x6010 
  bcdDevice = 0x0700 
  iManufacturer = 0x0001  <Digilent>
  iProduct = 0x0002  <Digilent USB Device>
  iSerialNumber = 0x0003  <210319B9B222>
  bNumConfigurations = 0x0001 

```

-- 
You are receiving this mail because:
You are the assignee for the bug.