Re: [PATCH] USB: Mass Storage: Add MediaTek MT6276M device entry

From: Josua Dietze
Date: Wed Feb 29 2012 - 02:36:14 EST


Am 29.02.2012 07:03, schrieb Meng Zhang:
Thanks for your comment, I've tested some other products and found
their entries in /lib/udev/rules.d/40-usb_modeswitch.rules. So, does
usb_modeswitch comes with latest distributions by default?

Yes, it does. In most cases it is a prerequisite of Network Manager AFAIK.

The most-used mode switch entry in unusual_devs.h is there for historical reasons, from a time when usb_modeswitch was not included with distributions yet. I'm talking about "usb_stor_huawei_e220_init".

If people want to access the installer drive for some reason, it's not possible if the kernel does the mode switch without giving a choice.
With usb_modeswitch, it's a matter of a small configuration edit.

Josua Dietze
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/