Re: [PATCH] USB: qcserial: Add support for Quectel EC20 Mini PCIe module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Petr Štetiar <ynezz@xxxxxxx> writes:

> It seems like this device has same vendor and product IDs as G2K
> devices, but it has different number of interfaces(4 vs 5) and also
> different interface layout which makes it currently unusable:
>
> 	usbcore: registered new interface driver qcserial
> 	usbserial: USB Serial support registered for Qualcomm USB modem
> 	usb 2-1.2: unknown number of interfaces: 5

Yuck! Couldn't they at least use a unique device ID for things with
completely different layouts, when all interfaces are vendor specific?
Too much to ask, obviously.

> +	case 4:
> +		/* Don't claim the QMI/net interface */
> +		altsetting = -1;
> +		break;
> +	}

I guess this means that we need to add an interface count quirk to the
qmi_wwan driver as well?  I assume there are devices out there with the
same device ID, the same ff/ff/ff interface descriptors, but with
QMI/net on interface #0.

Could you post the complete lsusb output?  I believe it is important to
document that for the future in case we have to redo this later.  Which
is likely given the experiences so far - there might be other devices
using the same ID with yet another layout.



Bjørn
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux