Support Center

How to Remove a Kernel Driver

Overview

Due to the architecture of macOS, when a kernel driver binds to a device it blocks Serial's built-in support for that device, forcing Serial to use the kernel driver. Therefore, a problematic or outdated kernel driver can affect your experience using Serial. To determine which driver is being used to access your device, see How can I tell which driver is being used to access a device? .

Remove a Driver

It is not possible to remove Apple's kernel drivers without disabling some system security measures. As a result we only recommend attempting to remove third party kernel drivers.

Follow the steps below to remove a third-party kernel driver:

  1. Identify the driver: How can I tell which driver is being used to access a device?

  2. Do not attempt to remove drivers with "com.apple" in the bundle identifier.
    Instead, see How to Disable a Kernel Driver .

  3. Save your work in any open applications, quit Serial and any other applications that may be using a serial port, and unplug any serial port devices as there is always the risk of a system crash while modifying the kernel.

  4. Open Terminal.app for command line access to your Mac.

  5. Unload the driver by typing sudo kextunload -b "bundle-id" where "bundle-id" is the bundle identifier of the driver you obtained above.

  6. Locate the driver on your disk by typing kextfind -b "bundle-id" where "bundle-id" is the bundle identifier of the driver you obtained above.

  7. Reveal the file in the Finder by typing open -R "driver-path" where "driver-path" is the path revealed by the kextfind command above.

  8. Move the file somewhere else or drag it to the trash.

  9. Reboot your machine to ensure stability.