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
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.
CC: (none) => dmorganec, eandry, mageia, thierry.vignaud
x64 version is affected as well.
As you have the needed HW, could you report this to upstream?
CC: (none) => jani.valimaa
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?
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
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 => 2Source RPM: usb_modeswitch-1.1.7-1.mga1.i586 => usb_modeswitch-1.2.1-1.mga2.i586
CC: (none) => sander.lepikVersion: 2 => CauldronWhiteboard: (none) => MGA2TOO
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).
CC: jani.valimaa => (none)
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 => RESOLVEDCC: (none) => doktor5000Version: Cauldron => 2Resolution: (none) => OLD