# Pending thanks to commits 78ef77fc and 517ca744 to # git://git.debian.org/collab-maint/usb-modeswitch.git tag 535445 pending thanks
Le jeudi 2 juillet 2009 10:57:03 Matej Zagiba, vous avez écrit :
> Package: usb-modeswitch
> Version: 1.0.2-1
> Severity: normal
>
> Sony Ericsson MD400 device require special "sony" procedure to successfully
> change mode. Current entry for "Sony Ericsson MD400" does not use this
> special procedure.
>
> Current (incorrect) entry:
> SUBSYSTEM=="usb", SYSFS{idVendor}=="0fce", SYSFS{idProduct}=="d0e1",
> RUN+="/usr/sbin/usb_modeswitch --default-vendor 0x0fce --default-product
> 0xd0e1"
>
> Correct entry:
> SUBSYSTEM=="usb", SYSFS{idVendor}=="0fce", SYSFS{idProduct}=="d0e1",
> RUN+="/usr/sbin/usb_modeswitch --default-vendor 0x0fce --default-product
> 0xd0e1 -O 1"
>
> Note: Although in version 1.0.2 usb_modeswitch --help states:
>
> -O, --sonyMode apply a special procedure
>
> long option does not work in this version.
>
>
> Matej Zagiba
Hi Matej, and thanks for your report,
You are completely right on both your sayings. First, the long options were
badly reported both in --help and in the manpage. Second, the script that
mangles usb_modeswitch.conf (mkrules.py) was lacking support for those single
options (--sony-mode, --sierra-mode and --huawei-mode).
I commited a fix for all those in the git repository (see the top of the
mail).
These fixes will be part of next upload.
Thanks for your report again !
Best regards,
OdyX
--
Didier Raboud, proud Debian user.
CH-1802 Corseaux
[email protected]
signature.asc
Description: This is a digitally signed message part.

