Blog

Why USB-MIDI ports change names after reconnection

Learn why a USB-MIDI port gets a different name after unplugging, and how to identify the right input and check that notes still arrive.

Kevin DoyleHardware tests 5 min read

You unplug a USB-MIDI keyboard, connect it again, and the port appears under a different name. Or two entries look almost identical, and you are not sure which one is the keyboard you want. A changed name does not necessarily mean the device is broken.

The name shown to a browser comes from the device and the computer's MIDI system. It can change when the computer detects the device differently after reconnection. Use the MIDI Test to check which input sends notes and whether the connection is working.

Check the MIDI port

  1. Connect the keyboard directly to the computer, if possible, and open the MIDI Test in a browser that supports it. MIDI Test does not work in Safari.
  2. Allow the browser to access MIDI devices if it asks. If you have several MIDI devices, unplug the ones you are not testing for now.
  3. Find the keyboard's input in the device list. Play a few notes and look for incoming MIDI messages. The test can show notes, velocity, knobs, pedals, and other messages from a controller.
  4. Unplug the keyboard, wait a few seconds, and reconnect it to the same USB port. If the list does not update, reload the page and check again.
  5. Compare the name and test the input again. Repeat with another USB port only if you need to find out whether the connection path changes the name.

Use one device at a time when names are similar. Playing a single key while watching the incoming messages is more reliable than guessing from the port label alone.

What the result means

The name changes, but notes still arrive

The computer and browser can still communicate with the keyboard. The displayed name is an identifier, not a health report. The operating system may list the device differently after it is discovered again, especially if you use another USB port, hub, adapter, or driver.

Several entries have similar names

A controller may expose separate MIDI inputs or outputs, and multiple devices can share a generic product name. Check one entry at a time by playing a key and watching which one reports the message. For more on distinguishing similarly named devices, see Why two MIDI devices have almost the same name.

The port appears, but no messages arrive

The browser can see an input, but it is not receiving the notes you are playing. You may have selected an output instead of an input, another MIDI device may be the active one, or the keyboard may not be sending data. Check the device list and try one connected controller at a time.

The port does not appear

The browser is not exposing the input to the test. Check the browser's MIDI permission, the USB connection, and whether the computer detects the device. Safari is not supported by MIDI Test, so try a different browser on a computer.

How to fix a changing or missing port

  1. Reconnect to the same USB port. A different port, dock, or hub can change how the computer identifies a device. Connect directly to the computer for a quick check, and wait a few seconds for the device to be detected.
  2. Check browser permission. Open the site controls beside the address bar and allow MIDI access for the page, if that option is shown. Reload the page after changing the permission.
  3. Close other MIDI software temporarily. Quit a digital audio workstation, music app, or another browser tab that may be using the device, then reopen the test. Some drivers or applications handle ports in ways that prevent another program from opening them at the same time.
  4. Check whether the computer detects the keyboard. In Windows 11, right-click Start, open Device Manager, and look under Sound, video and game controllers or Software devices. On macOS, open Applications › Utilities › Audio MIDI Setup and inspect the MIDI Studio window. The exact listing depends on the device and its driver.
  5. Try another cable or USB port. Use a cable that supports data, not just charging. If the keyboard works through one port but not another, check the port, hub, or adapter rather than relying on the name alone.
  6. Restart the computer, then check for driver updates. If the device still disappears or sends no messages, install the current driver or firmware supplied for the keyboard and your operating system. Avoid removing a driver if you do not have a way to reinstall it.

Why the port name can change

USB devices identify themselves to the computer, and the operating system makes that information available to applications. When you reconnect a device, the computer may enumerate it again, meaning it creates a fresh entry for the device. A different USB socket or hub can also give the system a different connection path. Depending on the device, driver, operating system, and browser, the name shown to the page may be slightly different.

Some keyboards also expose multiple MIDI ports for different purposes. A name can include a port number or a generic label that does not clearly say which function it serves. The test helps you identify an input by the messages it receives, but it cannot change how the operating system names that port.

If the port name changes but the expected notes and controls arrive, you can keep using it. If it repeatedly vanishes, produces no input on any computer, or disconnects when the cable moves, test a different cable and contact the keyboard maker or a repair shop.