Functionality overlap between udev's modem-modeswitch and usb-modeswitch about 19d2:2000

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx

Attachment: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux