Platforms to show: All Mac Windows Linux Cross-Platform

Back to LinuxUSBBusMBS class.

LinuxUSBBusMBS.Buses as LinuxUSBBusMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method USB MBS USB Plugin 11.3 ❌ No ❌ No ✅ Yes ❌ No Desktop, Console & Web
Returns the buses list.

This function allows you to query the current buses and devices.
No device is opened and you just read through libusb data structures.

LinuxUSBBusMBS.RescanBusses as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method USB MBS USB Plugin 14.2 ❌ No ❌ No ✅ Yes ❌ No Desktop, Console & Web
Finds all USB busses on system.

RescanBusses will find all of the busses on the system.
Returns the number of changes since previous call to this function (total of new busses and busses removed).

The plugin performs RescanBusses and RescanDevices automatically on application launch.

LinuxUSBBusMBS.RescanDevices as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method USB MBS USB Plugin 14.2 ❌ No ❌ No ✅ Yes ❌ No Desktop, Console & Web
Find all devices on all USB devices.

RescanDevices will find all of the devices on each bus.
This should be called after RescanBusses.
Returns the number of changes since the previous call to this function (total of new device and devices removed).

The plugin performs RescanBusses and RescanDevices automatically on application launch. So you can call RescanDevices at any time.

Some examples using this method:

The items on this page are in the following plugins: MBS USB Plugin.


💬 Ask a question or report a problem
The biggest plugin in space...