Re: PATCH: Ignore card reader interface on Huawei E1750

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

 



Michal Malý <madcatxster@xxxxxxxxx> writes:

> my Huawei 3G modem has an embedded Smart Card reader which causes
> trouble when the modem is being detected (a bunch of "<warn>
> (ttyUSBx): open blocked by driver for more than 7 seconds!" in
> messages.log). This trivial patch corrects the problem for me. The
> modem identifies itself as "12d1:1406 Huawei Technologies Co.,
> Ltd. E1750" in lsusb although the description on the body says "Model
> E173u-1"

This is surprising because the first thing option_probe() does is:

	/* Never bind to the CD-Rom emulation interface	*/
	if (iface_desc->bInterfaceClass == 0x08)
		return -ENODEV;


so it shouldn't ever bind to any storage functions.  Unless it is a
vendor specific storage function, of course...

> +	{ USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E1750, 0xff, 0xff, 0xff),
> +		.driver_info = (kernel_ulong_t) &net_intf2_blacklist },

Does this mean that intf #2 is actually a storage function using
ff/ff/ff class codes?


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