Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 2017 09:15:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-usb@FreeBSD.org
Subject:   [Bug 220852] [cdce] [usb] raspberry pi or anything that can emulate Ethernet gadget over usb mac id not read
Message-ID:  <bug-220852-17-ScguluZvdZ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-220852-17@https.bugs.freebsd.org/bugzilla/>
References:  <bug-220852-17@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220852

--- Comment #7 from Bipin Chandra <bipin@xbipin.com> ---
(In reply to Hans Petter Selasky from comment #5)

usbconfig -d 0.2 dump_curr_config_desc

ugen0.2: <RNDISEthernet Gadget Linux 4.9.37+ with 20980000.usb> at usbus0,
cfg=3D0 md=3DHOST spd=3DHIGH (480Mbps) pwr=3DON (2mA)


 Configuration index 0

    bLength =3D 0x0009
    bDescriptorType =3D 0x0002
    wTotalLength =3D 0x004b
    bNumInterfaces =3D 0x0002
    bConfigurationValue =3D 0x0002
    iConfiguration =3D 0x0000  <no string>
    bmAttributes =3D 0x00c0
    bMaxPower =3D 0x0001

    Additional Descriptor

    bLength =3D 0x08
    bDescriptorType =3D 0x0b
    bDescriptorSubType =3D 0x00
     RAW dump:
     0x00 | 0x08, 0x0b, 0x00, 0x02, 0x02, 0x06, 0x00, 0x06


    Interface 0
      bLength =3D 0x0009
      bDescriptorType =3D 0x0004
      bInterfaceNumber =3D 0x0000
      bAlternateSetting =3D 0x0000
      bNumEndpoints =3D 0x0001
      bInterfaceClass =3D 0x0002  <Communication device>
      bInterfaceSubClass =3D 0x0002
      bInterfaceProtocol =3D 0x00ff
      iInterface =3D 0x0004  <RNDIS Communications Control>

      Additional Descriptor

      bLength =3D 0x05
      bDescriptorType =3D 0x24
      bDescriptorSubType =3D 0x00
       RAW dump:
       0x00 | 0x05, 0x24, 0x00, 0x10, 0x01


      Additional Descriptor

      bLength =3D 0x05
      bDescriptorType =3D 0x24
      bDescriptorSubType =3D 0x01
       RAW dump:
       0x00 | 0x05, 0x24, 0x01, 0x00, 0x01


      Additional Descriptor

      bLength =3D 0x04
      bDescriptorType =3D 0x24
      bDescriptorSubType =3D 0x02
       RAW dump:
       0x00 | 0x04, 0x24, 0x02, 0x00


      Additional Descriptor

      bLength =3D 0x05
      bDescriptorType =3D 0x24
      bDescriptorSubType =3D 0x06
       RAW dump:
       0x00 | 0x05, 0x24, 0x06, 0x00, 0x01


     Endpoint 0
        bLength =3D 0x0007
        bDescriptorType =3D 0x0005
        bEndpointAddress =3D 0x0082  <IN>
        bmAttributes =3D 0x0003  <INTERRUPT>
        wMaxPacketSize =3D 0x0008
        bInterval =3D 0x0009
        bRefresh =3D 0x0000
        bSynchAddress =3D 0x0000


    Interface 1
      bLength =3D 0x0009
      bDescriptorType =3D 0x0004
      bInterfaceNumber =3D 0x0001
      bAlternateSetting =3D 0x0000
      bNumEndpoints =3D 0x0002
      bInterfaceClass =3D 0x000a  <CDC-data>
      bInterfaceSubClass =3D 0x0000
      bInterfaceProtocol =3D 0x0000
      iInterface =3D 0x0005  <RNDIS Ethernet Data>

     Endpoint 0
        bLength =3D 0x0007
        bDescriptorType =3D 0x0005
        bEndpointAddress =3D 0x0081  <IN>
        bmAttributes =3D 0x0002  <BULK>
        wMaxPacketSize =3D 0x0200
        bInterval =3D 0x0000
        bRefresh =3D 0x0000
        bSynchAddress =3D 0x0000

     Endpoint 1
        bLength =3D 0x0007
        bDescriptorType =3D 0x0005
        bEndpointAddress =3D 0x0001  <OUT>
        bmAttributes =3D 0x0002  <BULK>
        wMaxPacketSize =3D 0x0200
        bInterval =3D 0x0000
        bRefresh =3D 0x0000
        bSynchAddress =3D 0x0000

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220852-17-ScguluZvdZ>