* Question about your reversion of the udev Huawei modem rule
@ 2010-01-05 21:36 Martin Pitt
2010-01-07 2:20 ` Dan Williams
0 siblings, 1 reply; 2+ messages in thread
From: Martin Pitt @ 2010-01-05 21:36 UTC (permalink / raw)
To: linux-hotplug
Hey Dan,
in [1] you reverted a previous commit [2] to fix the Huawei E1550 GSM
modem in udev (using modem-modeswitch) with the rationale that "other
manufacturers have completely different methods for killing their fake
driver CD". However, the rule was tested on that actual hardware, and
it worked fine.
I'm interested in why this rule was bad, and what should be done
instead?
Thanks,
Martin
[1] http://git.kernel.org/?p=linux/hotplug/udev.git;a=commitdiff;hä993fab2f218234f06743bcc127dda61a45711b
[2] http://git.kernel.org/?p=linux/hotplug/udev.git;a=commit;hS842b53820a0f0b2b0ff5b28caf01e3f7e26f22
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Question about your reversion of the udev Huawei modem rule
2010-01-05 21:36 Question about your reversion of the udev Huawei modem rule Martin Pitt
@ 2010-01-07 2:20 ` Dan Williams
0 siblings, 0 replies; 2+ messages in thread
From: Dan Williams @ 2010-01-07 2:20 UTC (permalink / raw)
To: linux-hotplug
On Tue, 2010-01-05 at 22:36 +0100, Martin Pitt wrote:
> Hey Dan,
>
> in [1] you reverted a previous commit [2] to fix the Huawei E1550 GSM
> modem in udev (using modem-modeswitch) with the rationale that "other
> manufacturers have completely different methods for killing their fake
> driver CD". However, the rule was tested on that actual hardware, and
> it worked fine.
Lets use the *correct* method for ejecting a device instead of using one
manufacturer's method with another manufacturer's device. 'rezero' is
*NOT* the correct method for ejecting Huawei devices. It doesn't really
matter whether it works or not.
usb_modeswitch has working methods for ejecting the E1550 (at least they
certainly work for me). Rezero is Option NV specific and can/will cause
undesirable results on other manufacturer's equipment. ZTE devices
specifically can be affected by this and do not react well, confusing
both the device and the kernel USB stack in the process.
I should think it would be clear that we shouldn't be using 'rezero'
with devices for which its not intended, but instead to use the method
that all other Huawei devices use (usb_stor_huawei_e220_init from
drivers/usb/storage/initializers.c).
The E1550 has a new USB ID that's not found in unusual_devs.h; just add
the ID there, or start using usb_modeswitch.
Dan
> I'm interested in why this rule was bad, and what should be done
> instead?
>
> Thanks,
>
> Martin
>
> [1] http://git.kernel.org/?p=linux/hotplug/udev.git;a=commitdiff;hŠ993fab2f218234f06743bcc127dda61a45711b
> [2] http://git.kernel.org/?p=linux/hotplug/udev.git;a=commit;hS842b53820a0f0b2b0ff5b28caf01e3f7e26f22
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-07 2:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-05 21:36 Question about your reversion of the udev Huawei modem rule Martin Pitt
2010-01-07 2:20 ` Dan Williams
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).