#756889 openocd: USB 0403:6001 incorrectly assigned to plugdev; is FTDI serial converter

Package:
openocd
Source:
openocd
Description:
Open on-chip JTAG/SWD debug solution for embedded target devices
Submitter:
Daniel Dickinson
Date:
2014-08-17 09:21:08 UTC
Severity:
normal
#756889#5
Date:
2014-08-03 04:14:02 UTC
From:
To:
Product:Vendor 0403:6001 is incorrectly assigned to plugdev by openocd udev rules.

This is in fact a generic FTDI serial convert product:vendor and as such should be
assigned to 'dialout' as with all other ttyUSB devices.

In openOCD it is listed as a 'Caloa Systems USB-A9260-C02 Bus Pirate' because apparently
that particuly device maker neglected to use their own product:vendor numbers.

Regards,

Daniel

#756889#10
Date:
2014-08-17 09:09:54 UTC
From:
To:
Package: openocd
Followup-For: Bug #756889
from openocd udev file.

Currently, openocd is changing group for all the following generic FTDI devices:
"""
0403  Future Technology Devices International, Ltd
        6001  FT232 USB-Serial (UART) IC
        6010  FT2232C Dual USB-UART/FIFO IC
        6011  FT4232H Quad HS USB-UART/FIFO IC
        6014  FT232H Single HS USB-UART/FIFO IC
"""

While I agree that it is unfortunate that some JTAG adapters abuse the generic PID,
I think that it is safe to say that these devices are generic enough to be owned
by the "plugdev" group vs. the really specific "dialout".

Other rules-files seem to agree with me, and for example
/lib/udev/rules.d/77-mm-usb-serial-adapters-greylist.rules says:
"""
# FTDI-based serial adapters
#   FTDI does USB to serial converter ICs; and it's very likely that they'll
#   never do modems themselves, so it should be safe to add a rule only based
#   on the vendor Id.
ATTRS{idVendor}=="0403", ENV{ID_MM_DEVICE_MANUAL_SCAN_ONLY}="1"
"""

Thus, I'm inclined to mark this bug as wontfix and keep the status-quo.

Cheers, Luca