Menu

#183 M3 2023 Macs are not showing with dfu-util list command

none
invalid
nobody
None
2023-11-21
2023-11-20
Zohaib J
No

I've a M3 2023 mac in DFU mode and it is not showing up in dfu-util -l but it is showing in mac USB Tree. I guess the new macs (2023 M3) has KIS DFU which dfu-util doesn't support as of now.

Discussion

  • Tormod Volden

    Tormod Volden - 2023-11-20

    What is KIS? In any case, I don't think the mac DFU mode has anything to do with the USB standard DFU device specification.

    If you install usbutils from homebrew, does it show up in lsusb?

     
  • Tormod Volden

    Tormod Volden - 2023-11-20

    What is the verbose output in lsusb, using the -v option (and the -d option to limit it to the device in question)? Please copy-paste the output here.

     
    👍
    1
  • Tormod Volden

    Tormod Volden - 2023-11-20

    The USB DFU standard requires a USB interface with:

          bInterfaceClass       254 Application Specific Interface
          bInterfaceSubClass      1 Device Firmware Update
    

    and a specific descriptor:

          Device Firmware Upgrade Interface Descriptor:
            bLength                             9
            bDescriptorType                    33
    

    If those are not present, the device is not USB DFU standard compliant. It can still be some kind of "Device Firmware Update" via USB, but e.g. a proprietary protocol.

     
    • Zohaib J

      Zohaib J - 2023-11-20

      With the help of libimobiledevice libirecovery I can fetch the device. I know its a different project but that is just for the reference.

       
  • Tormod Volden

    Tormod Volden - 2023-11-20

    Please copy-paste the text output from the verbose output in lsusb, using the -v option (and the -d option to limit it to the device in question), like lsusb -v -d 05ac:1881 so that we have it for reference.

    Screenshots are not searchable and not helpful for the visually impaired.

    It looks like Apple doesn't even call it "DFU" in the low-level details, but "USB Debug".

     
    • Zohaib J

      Zohaib J - 2023-11-21

      lsusb -v -d 05ac:1881

      USB:

      USB 3.1 Bus:
      
        Host Controller Driver: AppleT8103USBXHCI
      
      USB 3.1 Bus:
      
        Host Controller Driver: AppleT8103USBXHCI
      
          Debug USB:
      
            Product ID: 0x1881
            Vendor ID: 0x05ac (Apple Inc.)
            Version: 4.00
            Speed: Up to 480 Mb/s
            Manufacturer: Apple Inc.
            Location ID: 0x00100000 / 1
            Current Available (mA): 500
            Current Required (mA): 100
            Extra Operating Current (mA): 0
      
      USB 3.0 Bus:
      
        Host Controller Driver: AppleEmbeddedUSBXHCIFL1100
        PCI Device ID: 0x1100 
        PCI Revision ID: 0x0010 
        PCI Vendor ID: 0x1b73
      
       

      Last edit: Zohaib J 2023-11-21
  • Tormod Volden

    Tormod Volden - 2023-11-21

    Thanks but unfortunately that is not from the real lsusb from the usbutils package. It looks like you are using the one from the "lsusb" package, which should have been removed from the HomeBrew repository in my opinion because it is just a lousy wrapper around a macOS command, and doesn't provide the same informtion as the real lsusb.

     
  • Tormod Volden

    Tormod Volden - 2023-11-21
     
    • Zohaib J

      Zohaib J - 2023-11-21
      lsusb -v -d 05ac:1881      
      
      Bus 000 Device 001: ID 05ac:1881  
      Device Descriptor:
        bLength                18
        bDescriptorType         1
        bcdUSB               2.00
        bDeviceClass          255 [unknown]
        bDeviceSubClass       255 [unknown]
        bDeviceProtocol       255 
        bMaxPacketSize0        64
        idVendor           0x05ac 
        idProduct          0x1881 
        bcdDevice            4.00
        iManufacturer           1 
        iProduct                2 
        iSerial                 0 
        bNumConfigurations      1
        Configuration Descriptor:
          bLength                 9
          bDescriptorType         2
          wTotalLength       0x0043
          bNumInterfaces          1
          bConfigurationValue     1
          iConfiguration          0 
          bmAttributes         0xc0
            Self Powered
          MaxPower              100mA
          Interface Descriptor:
            bLength                 9
            bDescriptorType         4
            bInterfaceNumber        0
            bAlternateSetting       0
            bNumEndpoints           7
            bInterfaceClass       255 [unknown]
            bInterfaceSubClass    255 [unknown]
            bInterfaceProtocol    255 
            iInterface              0 
            Endpoint Descriptor:
              bLength                 7
              bDescriptorType         5
              bEndpointAddress     0x81  EP 1 IN
              bmAttributes            2
                Transfer Type            Bulk
                Synch Type               None
                Usage Type               Data
              wMaxPacketSize     0x0200  1x 512 bytes
              bInterval               4
            Endpoint Descriptor:
              bLength                 7
              bDescriptorType         5
              bEndpointAddress     0x01  EP 1 OUT
              bmAttributes            2
                Transfer Type            Bulk
                Synch Type               None
                Usage Type               Data
              wMaxPacketSize     0x0200  1x 512 bytes
              bInterval               4
            Endpoint Descriptor:
              bLength                 7
              bDescriptorType         5
              bEndpointAddress     0x82  EP 2 IN
              bmAttributes            2
                Transfer Type            Bulk
                Synch Type               None
                Usage Type               Data
              wMaxPacketSize     0x0200  1x 512 bytes
              bInterval               4
            Endpoint Descriptor:
              bLength                 7
              bDescriptorType         5
              bEndpointAddress     0x02  EP 2 OUT
              bmAttributes            2
                Transfer Type            Bulk
                Synch Type               None
                Usage Type               Data
              wMaxPacketSize     0x0200  1x 512 bytes
              bInterval               4
            Endpoint Descriptor:
              bLength                 7
              bDescriptorType         5
              bEndpointAddress     0x83  EP 3 IN
              bmAttributes            2
                Transfer Type            Bulk
                Synch Type               None
                Usage Type               Data
              wMaxPacketSize     0x0200  1x 512 bytes
              bInterval               4
            Endpoint Descriptor:
              bLength                 7
              bDescriptorType         5
              bEndpointAddress     0x03  EP 3 OUT
              bmAttributes            2
                Transfer Type            Bulk
                Synch Type               None
                Usage Type               Data
              wMaxPacketSize     0x0200  1x 512 bytes
              bInterval               4
            Endpoint Descriptor:
              bLength                 7
              bDescriptorType         5
              bEndpointAddress     0x84  EP 4 IN
              bmAttributes            2
                Transfer Type            Bulk
                Synch Type               None
                Usage Type               Data
              wMaxPacketSize     0x0200  1x 512 bytes
              bInterval               4
      Device Qualifier (for other device speed):
        bLength                10
        bDescriptorType         6
        bcdUSB               2.00
        bDeviceClass          255 [unknown]
        bDeviceSubClass       255 [unknown]
        bDeviceProtocol       255 
        bMaxPacketSize0        64
        bNumConfigurations      1
      can't get debug descriptor: No such file or directory
      Device Status:     0x0001
        Self Powered
      
       

      Last edit: Zohaib J 2023-11-21
  • Tormod Volden

    Tormod Volden - 2023-11-21

    Thanks! It is good to have for reference.
    This also confirms that this isn't a USB DFU device:

          bInterfaceClass       255 [unknown]
          bInterfaceSubClass    255 [unknown]
    
     
  • Tormod Volden

    Tormod Volden - 2023-11-21
    • labels: macOS -->
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1 @@
    -I'veM3 2023 mac in DFU mode and it is not showing up in dfu-util -l but it is showing in mac USB Tree. I guess the new macs (2023 M3) has KIS DFU which dfu-util doesn't support as of now. 
    +I've a M3 2023 mac in DFU mode and it is not showing up in dfu-util -l but it is showing in mac USB Tree. I guess the new macs (2023 M3) has KIS DFU which dfu-util doesn't support as of now. 
    
    • status: open --> invalid
    • assigned_to: Tormod Volden --> nobody
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB