$ dfu-util -l
dfu-util 0.11
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2021 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
dfu-util: Cannot open DFU device 13d3:5405 found on devnum 2 (LIBUSB_ERROR_ACCESS)
Found DFU: [0483:df11] ver=0200, devnum=38, cfg=1, intf=0, path="1-6", alt=2, name="@SPI Flash: Library/0x00020000/030*064Kg", serial="DEVO-7E ??????Q"
Found DFU: [0483:df11] ver=0200, devnum=38, cfg=1, intf=0, path="1-6", alt=1, name="@SPI Flash: Config/0x00002000/030*04Kg", serial="DEVO-7E ??????Q"
Found DFU: [0483:df11] ver=0200, devnum=38, cfg=1, intf=0, path="1-6", alt=0, name="@Internal Flash /0x08003000/00*001Ka,244*001Kg", serial="DEVO-7E ??????Q"
For the unknow characters, seems to be some chinese characters (from journalctl):
abr 16 16:52:44 fedora kernel: usb 1-6: new full-speed USB device number 39 using xhci_hcd
abr 16 16:52:44 fedora kernel: usb 1-6: New USB device found, idVendor=0483, idProduct=df11, bcdDevice= 2.00
abr 16 16:52:44 fedora kernel: usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
abr 16 16:52:44 fedora kernel: usb 1-6: Product: STM32 DFU
abr 16 16:52:44 fedora kernel: usb 1-6: Manufacturer: STMicroelectronics
abr 16 16:52:44 fedora kernel: usb 1-6: SerialNumber: DEVO-7E ⅒䷿д㘅Q
abr 16 16:52:44 fedora mtp-probe[688994]: checking bus 1, device 39: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6"
abr 16 16:52:44 fedora mtp-probe[688994]: bus: 1, device: 39 was not an MTP device
abr 16 16:52:44 fedora mtp-probe[688995]: checking bus 1, device 39: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6"
abr 16 16:52:44 fedora mtp-probe[688995]: bus: 1, device: 39 was not an MTP device
where K_SUFFIX is "Kg", but this device has a section "Ka".
I know zero to none of dfu, what problems could cause a section not ending on Kg? Can this code be improved to support those sections?