1e41f4b71Sopenharmony_ci# USB Subsystem Changelog 2e41f4b71Sopenharmony_ci 3e41f4b71Sopenharmony_ci## cl.usb.1 Security Permission Change of the USB Driver API 4e41f4b71Sopenharmony_ci 5e41f4b71Sopenharmony_ciIn version 4.0x or later, the **ohos.permission.ACCESS_EXTENSIONAL_DEVICE_DRIVER** permission needs to be declared for the **bindDevice**, **unbindDevice**, and **queryDevices** APIs in **@ohos.driver.deviceManager**. 6e41f4b71Sopenharmony_ci 7e41f4b71Sopenharmony_cifunction unbindDevice(deviceId: number): Promise\<number>; 8e41f4b71Sopenharmony_ci 9e41f4b71Sopenharmony_cifunction unbindDevice(deviceId: number, callback: AsyncCallback<number>): void; 10e41f4b71Sopenharmony_ci 11e41f4b71Sopenharmony_cifunction bindDevice(deviceId: number, onDisconnect: AsyncCallback<number>): Promise<{deviceId: number, remote: rpc.IRemoteObject}>; 12e41f4b71Sopenharmony_ci 13e41f4b71Sopenharmony_cifunction bindDevice(deviceId: number, onDisconnect: AsyncCallback<number>): Promise<{deviceId: number, remote: rpc.IRemoteObject}>; 14e41f4b71Sopenharmony_ci 15e41f4b71Sopenharmony_cifunction queryDevices(busType?: number): Array<Readonly<Device>>; 16e41f4b71Sopenharmony_ci 17e41f4b71Sopenharmony_ci**Change Impact** 18e41f4b71Sopenharmony_ci 19e41f4b71Sopenharmony_ciBefore the change, the APIs can be called without declaring the required permission, which poses security risks. 20e41f4b71Sopenharmony_ci 21e41f4b71Sopenharmony_ciAfter the change, the APIs can be called only if the **ohos.permission.ACCESS_EXTENSIONAL_DEVICE_DRIVER** permission is declared. 22e41f4b71Sopenharmony_ci 23e41f4b71Sopenharmony_ci**Involved APIs** 24e41f4b71Sopenharmony_ci 25e41f4b71Sopenharmony_ciThe **ohos.permission.ACCESS_EXTENSIONAL_DEVICE_DRIVER** permission is required for calling the following APIs: 26e41f4b71Sopenharmony_cibindDevice 27e41f4b71Sopenharmony_ciunbindDevice 28e41f4b71Sopenharmony_ciqueryDevices 29e41f4b71Sopenharmony_ci 30e41f4b71Sopenharmony_ci**Adaptation Guide** 31e41f4b71Sopenharmony_ci 32e41f4b71Sopenharmony_ciApply for the **ohos.permission.ACCESS_EXTENSIONAL_DEVICE_DRIVER** permission when calling the related APIs. 33