USB driver

Sohaib Mhmd xunilams at gmail.com
Sat Apr 25 03:45:44 EDT 2020


Sorry, do you mean vendor & product id
<https://gist.github.com/smalinux/3d6a5b000a32b97250b2d0c86b90711b#file-sma_usb-c-L8>?
Do you mean to unload/unbind for any particular one?

[root at hp kernel_mod]# lsusb
Bus 003 Device 023: ID 045e:0800 Microsoft Corp. Microsoft® Nano
Transceiver v2.0

[root at hp kernel_mod]# lsusb -t
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/14p, 480M
    |__ Port 3: Dev 23, If 0, Class=Human Interface Device, Driver=usbhid,
12M
    |__ Port 3: Dev 23, If 1, Class=Human Interface Device, Driver=usbhid,
12M
    |__ Port 3: Dev 23, If 2, Class=Human Interface Device, Driver=usbhid,
12M

On Sat, Apr 25, 2020 at 9:01 AM Greg KH <greg at kroah.com> wrote:

> On Sat, Apr 25, 2020 at 07:44:12AM +0200, Sohaib Mhmd wrote:
> > Hi everyone, I made a very simple USB driver
> > <https://gist.github.com/smalinux/3d6a5b000a32b97250b2d0c86b90711b>,
> > but the problem is that the probe and disconnect functions never was
> called.
>
> What USB device is currently attached to the ids that your driver wants
> to bind to?  Unload/unbind that and then your driver should work.
>
> greg k-h
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20200425/e7254cb9/attachment.html>


More information about the Kernelnewbies mailing list