M
M
Michael2018-11-27 18:09:46
ubuntu
Michael, 2018-11-27 18:09:46

How to disable a driver for a device in Linux?

Can't get usb device interface. The error is like this:

Failed to claim interface 0: Device or resource busy (16)

I realized that I need to disable the "standard" driver for the device in order to free it for my needs. How to do it in Ubuntu?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
pfg21, 2018-11-27
@pfg21

lsmod - find the module of the unnecessary driver
modprobe -r - remove the module
at the simplest
if for a long time then create a file for example /etc/modprobe.d/drop_my_mod
and enter
blacklist %mod_name% into it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question