From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Didier 'OdyX' Raboud" Date: Thu, 18 Mar 2010 16:48:40 +0000 Subject: Functionality overlap between udev's modem-modeswitch and usb-modeswitch about 19d2:2000 Message-Id: <201003181748.41270.didier@raboud.com> MIME-Version: 1 Content-Type: multipart/mixed; boundary="nextPart4111417.NhIAO1CrC9" List-Id: To: linux-hotplug@vger.kernel.org --nextPart4111417.NhIAO1CrC9 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 th= at=20 his 3G dongle was not "switched" anymore [0]. After some investigation, I=20 strongly suspect that udev's modem-modeswitch and usb-modeswitch have a=20 conflicting functionality overlap. =46rom /lib/udev/rules.d/61-mobile-action.rules : > # modem-modeswitch does not work with these devices, the fake CD-ROM need= s to=20 be ejected >=20 > # ZTE MF6xx > ACTION=3D=3D"add", ENV{ID_CDROM}=3D=3D"1", ENV{ID_VENDOR_ID}=3D=3D"19d2",= =20 ENV{ID_MODEL_ID}=3D=3D"2000", RUN+=3D"/usr/bin/eject %k" =46rom /lib/udev/rules.d/40-usb_modeswitch.rules : > # ZTE devices > ATTRS{idVendor}=3D=3D"19d2", ATTRS{idProduct}=3D=3D"2000", RUN+=3D"usb_mo= deswitch=20 '%b/%k'" It seems (to me) that those lines should be removed from udev (as usb-modes= witch=20 provides a generic switching facility for more than "just" 19d2:2000. What is your opinion thereabout ? Thanks in advance and best regards,=20 OdyX [0] http://bugs.debian.org/574270 =2D-=20 Didier Raboud, proud Debian Maintainer (DM). CH-1020 Renens didier@raboud.com --nextPart4111417.NhIAO1CrC9 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iJwEAAECAAYFAkuiWWgACgkQ884eR6Y9JhRp7QP/TUeUY9eYguu0szClLoPoxJEm 7OBHYSRe2jq88goUyO4dq+JEjMbn6HMjCyZNljUlXO3zg5biKErvpiX4ahY47x+0 zU4v8rBixj42cxET7KZzguOJHgeFM6CqDtDP4s3otPXIEOttlwPcrM/CloFjFLeS oQibeqK/bdqfZ8cuxCo= =PUEP -----END PGP SIGNATURE----- --nextPart4111417.NhIAO1CrC9--