Skip to content

Instantly share code, notes, and snippets.

@RobertCNelson
Last active September 20, 2021 23:23
Show Gist options
  • Select an option

  • Save RobertCNelson/3328396d07a6294519d7fbdcbc64eae7 to your computer and use it in GitHub Desktop.

Select an option

Save RobertCNelson/3328396d07a6294519d7fbdcbc64eae7 to your computer and use it in GitHub Desktop.
root@BeagleBone:/home/debian# gt load bbb-acm-ncm-rndis.scheme g1
root@BeagleBone:/home/debian# show-gadgets
ID 1d6b:0104 'g1'
UDC musb-hdrc.0
bcdUSB 2.00
bDeviceClass 0x00
bDeviceSubClass 0x00
bDeviceProtocol 0x00
bMaxPacketSize0 64
idVendor 0x1d6b
idProduct 0x0104
bcdDevice 4.04
Language: 0x409
Manufacturer BeagleBoard.org
Product BeagleBoneBlack
Serial Number BBBSERIALNUM
Function, type: acm instance: usb0
port_num 0
Function, type: ncm instance: usb0
dev_addr 72:a:91:fe:b5:b9
host_addr 2e:19:e9:e:4a:b5
ifname usb0
qmult 5
Function, type: rndis instance: usb0
dev_addr 2a:36:82:dd:c5:71
host_addr 72:17:5d:8b:5a:a7
ifname usb1
qmult 5
Configuration: 'c' ID: 1
MaxPower 244
bmAttributes 0x80
Language: 0x409
configuration BeagleBone Composite
acm.usb0 -> acm usb0
ncm.usb0 -> ncm usb0
rndis.usb0 -> rndis usb0
debian@beaglebone:~$ show-gadgets
ID 1d6b:0104 'g_multi'
UDC musb-hdrc.0
bcdUSB 2.00
bDeviceClass 0x00
bDeviceSubClass 0x00
bDeviceProtocol 0x00
bMaxPacketSize0 64
idVendor 0x1d6b
idProduct 0x0104
bcdDevice 4.04
Language: 0x409
Manufacturer BeagleBoard.org
Product BeagleBoneBlack
Serial Number 2516BBBK2626
Function, type: acm instance: usb0
port_num 0
Function, type: mass_storage instance: usb0
stall 0
nluns 1
lun 0:
cdrom 0
ro 1
nofua 1
removable 1
file /var/cache/doc-beaglebone-getting-started/beaglebone-getting-started-2019-10-31.img
Function, type: ncm instance: usb0
dev_addr b0:d5:cc:fc:3:2
host_addr b0:d5:cc:fc:3:1
ifname usb1
qmult 5
Function, type: rndis instance: usb0
dev_addr b0:d5:cc:fc:3:fe
host_addr b0:d5:cc:fc:3:ff
ifname usb0
qmult 5
Configuration: 'c' ID: 1
MaxPower 244
bmAttributes 0x80
Language: 0x409
configuration BeagleBone Composite
acm.usb0 -> acm usb0
mass_storage.usb0 -> mass_storage usb0
ncm.usb0 -> ncm usb0
rndis.usb0 -> rndis usb0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment