From: "Didier 'OdyX' Raboud" <didier@raboud.com>
To: linux-hotplug@vger.kernel.org
Subject: Functionality overlap between udev's modem-modeswitch and usb-modeswitch about 19d2:2000
Date: Thu, 18 Mar 2010 16:48:40 +0000 [thread overview]
Message-ID: <201003181748.41270.didier@raboud.com> (raw)
[-- 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 --]
next reply other threads:[~2010-03-18 16:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-18 16:48 Didier 'OdyX' Raboud [this message]
2010-03-18 17:16 ` Functionality overlap between udev's modem-modeswitch and Kay Sievers
2010-03-18 23:54 ` Dan Williams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201003181748.41270.didier@raboud.com \
--to=didier@raboud.com \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).