Re: [PATCH] USB: serial: option: add Fibocom FM135-GL variants

From: Bolan Wang(Bolan)
Date: Wed Mar 06 2024 - 03:45:48 EST



> The option driver will bind because you have matched only on Class ff "{ USB_DEVICE_INTERFACE_CLASS(0x2cb7, 0x01a1, 0xff) }"
> There are other macros that you could possibly use but I can't tell you which since you have not shown an usb-device listing for the device.
> You can also blacklist an interface (RSV). The option driver source is full of examples of macro use and combinations.


Hi Lars:

The InterfaceNumber of the adb interface is 05, so the following code can blacklist an interface (RSV)? Is this appropriate for adb interface?

+ { USB_DEVICE_INTERFACE_CLASS(0x2cb7, 0x0115, 0xff),
.driver_info = RSVD(5) }, /* Fibocom FM135 (laptop MBIM) */


thanks
bolan