Bug 4853 - Modem HSPA DWM-156 3.01LA is not recognized by usb_modeswitch
Summary: Modem HSPA DWM-156 3.01LA is not recognized by usb_modeswitch
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 2
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard: MGA2TOO
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-08 18:40 CET by Luzemário Dantas
Modified: 2014-02-07 22:29 CET (History)
6 users (show)

See Also:
Source RPM: usb_modeswitch-1.2.1-1.mga2.i586
CVE:
Status comment:


Attachments

Description Luzemário Dantas 2012-03-08 18:40:41 CET
Description of problem:

Newer D-Link 3G modem DWM-156 (v3.01LA) is not automagically recognized by usb_modeswitch.


Version-Release number of selected component (if applicable):
usb_modeswitch-1.1.7-1.mga1.i586

How reproducible:
Just plug newer D-Link HSPA DWM-156 modem. Only CD-Rom part is recognized. (Tested with firmware 3.01LA)


Steps to Reproduce:
1.Plug the modem
2.Device is recognized as a CD-ROM (vendor 0x7d1, product 0xa804)
3.Usb_modeswitch does not switch to modem
Comment 1 Luzemário Dantas 2012-03-08 19:08:58 CET
Steps to fix this bug:

1. Edit '/lib/udev/rules.d/40-usb_modeswitch.rules' with any text editor you like;

2. Copy and paste lines 79 and 80. Change lines copied to below (or add a new entry if you like typing -- do not change original ones):

# D-Link DWM-156 HSUPA 3.75G USB Modem v3.01LA
ATTRS{idVendor}=="07d1", ATTRS{idProduct}=="a804", RUN+="usb_modeswitch '%b/%k'"

3. Create the file /usr/share/usb_modeswitch/07d1:a804 and fill in the lines with the content below:

########################################################
# D-Link DWM-156 HSUPA 3.75G USB Modem v3.01LA

DefaultVendor= 0x07d1
DefaultProduct=0xa804

TargetVendor=  0x07d1
TargetProduct= 0x7e11

MessageContent="5553424312345678000000000000061b000000020000000000000000000000"

CheckSuccess=20


6. Reload udev rules with 'udevadm control --reload-rules'

7. Remove and insert the 3G modem again. The device /dev/ttyUSB0 will be created.

8. (For Mageia team only) Report it upstream to make it known.
Manuel Hiebel 2012-03-08 19:17:31 CET

CC: (none) => dmorganec, eandry, mageia, thierry.vignaud

Comment 2 Luzemário Dantas 2012-03-08 19:24:34 CET
x64 version is affected as well.
Comment 3 Jani Välimaa 2012-03-10 10:49:03 CET
As you have the needed HW, could you report this to upstream?

CC: (none) => jani.valimaa

Comment 4 Luzemário Dantas 2012-05-23 22:11:34 CEST
Jani,

Some words from usb_modeswitch mantainer:

>I can see that on this system the version of usb_modeswitch is a bit old. I'm at 1.2.3 now.
>Also, there is usually a second package which contains the device configurations (usb-modeswitch-data).

>To see all currently supported configurations, have a look at the most recent data package available from the original site:

>http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-data-20120120.tar.bz2

>Maybe the Mageia system needs to update packages ...

>Regards,
>Josh

Can you confirm if this package is already in Mageia 2?
Comment 5 Marja Van Waes 2012-05-26 13:07:31 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 6 Luzemário Dantas 2012-05-29 20:47:06 CEST
Bug confirmed with Mageia 2. Device is recognized, but invalid serial port is used. 'chat' never gets response from modem.

Maybe usb_modeswitch 1.2.3 can solve it.

Keywords: NEEDINFO => (none)
Version: Cauldron => 2
Source RPM: usb_modeswitch-1.1.7-1.mga1.i586 => usb_modeswitch-1.2.1-1.mga2.i586

Sander Lepik 2012-05-29 22:02:38 CEST

CC: (none) => sander.lepik
Version: 2 => Cauldron
Whiteboard: (none) => MGA2TOO

Comment 7 Colin Guthrie 2012-06-03 20:42:48 CEST
Both usb_modeswitch and the data suppliment are now updated in cauldron. I'll ask on the mailing list as to whether we can backport this or if it is too "high risk" (personally I think it should be OK).
Jani Välimaa 2012-07-29 16:35:44 CEST

CC: jani.valimaa => (none)

Comment 8 Florian Hubold 2014-02-07 22:29:08 CET
Does this issue still occur with Mageia 3? If so, please reopen. This bug has been filed against Mageia 2, which has reached End Of Life.

As you changed version to Cauldron, you should be using usb_modeswitch-2.0.1 which should have the correct data:

Core Release:usb_modeswitch-2.0.1-2.mga4.x86_64
Core Release:usb_modeswitch-data-20130807-2.mga4.noarch

Status: NEW => RESOLVED
CC: (none) => doktor5000
Version: Cauldron => 2
Resolution: (none) => OLD


Note You need to log in before you can comment on or make changes to this bug.