* Functionality overlap between udev's modem-modeswitch and usb-modeswitch about 19d2:2000
@ 2010-03-18 16:48 Didier 'OdyX' Raboud
2010-03-18 17:16 ` Functionality overlap between udev's modem-modeswitch and Kay Sievers
2010-03-18 23:54 ` Dan Williams
0 siblings, 2 replies; 3+ messages in thread
From: Didier 'OdyX' Raboud @ 2010-03-18 16:48 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1: Type: Text/Plain, Size: 1144 bytes --]
Hi udev upstreams !
(please keep me and the Debian bug CC'ed).
I am the Debian maintainer for usb-modeswitch and I got a user reporting that
his 3G dongle was not "switched" anymore [0]. After some investigation, I
strongly suspect that udev's modem-modeswitch and usb-modeswitch have a
conflicting functionality overlap.
From /lib/udev/rules.d/61-mobile-action.rules :
> # modem-modeswitch does not work with these devices, the fake CD-ROM needs to
be ejected
>
> # ZTE MF6xx
> ACTION=="add", ENV{ID_CDROM}=="1", ENV{ID_VENDOR_ID}=="19d2",
ENV{ID_MODEL_ID}=="2000", RUN+="/usr/bin/eject %k"
From /lib/udev/rules.d/40-usb_modeswitch.rules :
> # ZTE devices
> ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="2000", RUN+="usb_modeswitch
'%b/%k'"
It seems (to me) that those lines should be removed from udev (as usb-modeswitch
provides a generic switching facility for more than "just" 19d2:2000.
What is your opinion thereabout ?
Thanks in advance and best regards,
OdyX
[0] http://bugs.debian.org/574270
--
Didier Raboud, proud Debian Maintainer (DM).
CH-1020 Renens
didier@raboud.com
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 316 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Functionality overlap between udev's modem-modeswitch and
2010-03-18 16:48 Functionality overlap between udev's modem-modeswitch and usb-modeswitch about 19d2:2000 Didier 'OdyX' Raboud
@ 2010-03-18 17:16 ` Kay Sievers
2010-03-18 23:54 ` Dan Williams
1 sibling, 0 replies; 3+ messages in thread
From: Kay Sievers @ 2010-03-18 17:16 UTC (permalink / raw)
To: linux-hotplug
On Thu, Mar 18, 2010 at 17:48, Didier 'OdyX' Raboud <didier@raboud.com> wrote:
> Hi udev upstreams !
>
> (please keep me and the Debian bug CC'ed).
>
> I am the Debian maintainer for usb-modeswitch and I got a user reporting that
> his 3G dongle was not "switched" anymore [0]. After some investigation, I
> strongly suspect that udev's modem-modeswitch and usb-modeswitch have a
> conflicting functionality overlap.
>
> From /lib/udev/rules.d/61-mobile-action.rules :
>
>> # modem-modeswitch does not work with these devices, the fake CD-ROM needs to
> be ejected
>>
>> # ZTE MF6xx
>> ACTION="add", ENV{ID_CDROM}="1", ENV{ID_VENDOR_ID}="19d2",
> ENV{ID_MODEL_ID}="2000", RUN+="/usr/bin/eject %k"
>
> From /lib/udev/rules.d/40-usb_modeswitch.rules :
>
>> # ZTE devices
>> ATTRS{idVendor}="19d2", ATTRS{idProduct}="2000", RUN+="usb_modeswitch
> '%b/%k'"
>
> It seems (to me) that those lines should be removed from udev (as usb-modeswitch
> provides a generic switching facility for more than "just" 19d2:2000.
>
> What is your opinion thereabout ?
If Dan has no objections, we are ready to delete modem-modeswitch from
the udev tree.
Kay
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Functionality overlap between udev's modem-modeswitch and
2010-03-18 16:48 Functionality overlap between udev's modem-modeswitch and usb-modeswitch about 19d2:2000 Didier 'OdyX' Raboud
2010-03-18 17:16 ` Functionality overlap between udev's modem-modeswitch and Kay Sievers
@ 2010-03-18 23:54 ` Dan Williams
1 sibling, 0 replies; 3+ messages in thread
From: Dan Williams @ 2010-03-18 23:54 UTC (permalink / raw)
To: linux-hotplug
On Thu, 2010-03-18 at 18:16 +0100, Kay Sievers wrote:
> On Thu, Mar 18, 2010 at 17:48, Didier 'OdyX' Raboud <didier@raboud.com> wrote:
> > Hi udev upstreams !
> >
> > (please keep me and the Debian bug CC'ed).
> >
> > I am the Debian maintainer for usb-modeswitch and I got a user reporting that
> > his 3G dongle was not "switched" anymore [0]. After some investigation, I
> > strongly suspect that udev's modem-modeswitch and usb-modeswitch have a
> > conflicting functionality overlap.
> >
> > From /lib/udev/rules.d/61-mobile-action.rules :
> >
> >> # modem-modeswitch does not work with these devices, the fake CD-ROM needs to
> > be ejected
> >>
> >> # ZTE MF6xx
> >> ACTION="add", ENV{ID_CDROM}="1", ENV{ID_VENDOR_ID}="19d2",
> > ENV{ID_MODEL_ID}="2000", RUN+="/usr/bin/eject %k"
> >
> > From /lib/udev/rules.d/40-usb_modeswitch.rules :
> >
> >> # ZTE devices
> >> ATTRS{idVendor}="19d2", ATTRS{idProduct}="2000", RUN+="usb_modeswitch
> > '%b/%k'"
> >
> > It seems (to me) that those lines should be removed from udev (as usb-modeswitch
> > provides a generic switching facility for more than "just" 19d2:2000.
> >
> > What is your opinion thereabout ?
People seem to have a hard time understanding that "Mobile Action" and
"Option" are not the companies as ZTE and Huawei, unfortunately. I
don't really understand that.
However, some of that confusion comes from having duplicate mode
switching tools.
> If Dan has no objections, we are ready to delete modem-modeswitch from
> the udev tree.
usb_modeswitch still doesn't do the Mobile Action cable stuff. So I'll
spin modem-modeswitch into a standalone tool that *only* switches the
mobile action cables. Then we can remove the confusion and just use
usb_modeswitch.
Dan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-03-18 23:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-18 16:48 Functionality overlap between udev's modem-modeswitch and usb-modeswitch about 19d2:2000 Didier 'OdyX' Raboud
2010-03-18 17:16 ` Functionality overlap between udev's modem-modeswitch and Kay Sievers
2010-03-18 23:54 ` 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).