Huawei 3G dongles not switching: incompatible usb_modeswitch in 13.2 repos

In 13.2-OSS repo, package usb_modeswitch-2.1.1-2.3.1.x86_64 is incompatible with matching package usb_modeswitch-data-2.1.1-2.3.1.noarch.

A workaround is installing usb_modeswitch-data-2.1.1-2.1.6.noarch (from 13.2RC1).

With the 13.2 setup, Huawei 3G dongles do NOT switch out of CD-mode and the 3G modem is not seen by the kernel.
Tested with E173g dongle, but should affect all comparable models.

See bug http://bugzilla.opensuse.org/show_bug.cgi?id=903753

Fixed with usb_modeswitch-2.2.0-7.1.x86_64 in the Hardware repo.

This means that it is necessary to add an extra repository?

I did a fresh install of 13.2 and in my repos this version of usb_modeswitch is not present.

Anyway, it is quite easy to resolve this issue.

  1. Manually, from command line, you need to issue this command:
usb_modeswitch -v 12d1 -p 14c1 -V 12d1 -P 1446 -M '55534243123456780000000000000011062000000100000000000000000000'
  1. Automatically, through a new udev rule:
    create a file in /etc/udev/rules.d/ (e.g. /etc/udev/rules.d/80-3G-dongle.rules)
    insert into this file this text
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="14c1", RUN+="/usr/sbin/usb_modeswitch -v 12d1 -p 14c1 -V 12d1 -P 1446 -M '55534243123456780000000000000011062000000100000000000000000000'"

to activate immediately run

udevadm control --reload-rules

or reboot.

Tested with Vodafone K4605 dongle: others dongle will have different parameters! Google around! (a starting point could be http://www.draisberghof.de/usb_modeswitch/device_reference.txt)

Bye!

Not actually; one may decide to download the .rpm from the HW repository and install manually. It will be updated once a newer version will appear in the 13.2 update repo.