Welcome!

Please read this important information about MX sources lists.
News
  • MX Linux on social media: here
  • Mepis support still here
Current releases
  • MX-17 beta 1 release info here
  • MX-16.1 release info here
  • antiX-17 release info here
    New users
    • Please read this first, and don't forget to add system and hardware information to posts!
    • Read Forum Rules

Broadband USB Modem not switching to modem mode

Questions about Networking that deals with wireless cards, ethernet, modems, samba and anything else related to these, including software help. Tutorials for any of these can be posted too.

Remember to provide relevant info in your posts, such as the following information:

Version of Mepis being used
Card Manufacturer (i.e. Linksys)
Card Model (i.e. WMP54G)
Type: (PCI or PCMCIA)
Current Kernel in use on their system (i.e. 2.6.10)
Udev or Hotplug
Exact steps taken to get the card working if it is not immediately recognized by MEPIS.
Message
Author
cuscotravelservices
Forum Regular
Forum Regular
Posts: 122
Joined: Sat Jun 28, 2014 11:21 pm

Re: Broadband USB Modem not switching to modem mode

#11 Postby cuscotravelservices » Sat Sep 20, 2014 10:43 am

Hi All,

Could this problem be the reason my Huawei E3131 USB Broadband Modem is not recognised?

Code: Select all

Bus 003 Device 003: ID 12d1:14fe Huawei Technologies Co., Ltd.

[    1.237609] usbcore: registered new interface driver usbfs
[    1.237631] usbcore: registered new interface driver hub
[    1.250487] usbcore: registered new device driver usb
[    1.264857] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[    1.264862] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.264865] usb usb1: Product: UHCI Host Controller
[    1.264868] usb usb1: Manufacturer: Linux 3.12-0.bpo.1-686-pae uhci_hcd
[    1.264871] usb usb1: SerialNumber: 0000:00:10.0
[    1.265490] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    1.265495] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.265498] usb usb2: Product: UHCI Host Controller
[    1.265501] usb usb2: Manufacturer: Linux 3.12-0.bpo.1-686-pae uhci_hcd
[    1.265504] usb usb2: SerialNumber: 0000:00:10.1
[    1.276162] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    1.276167] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.276171] usb usb3: Product: EHCI Host Controller
[    1.276174] usb usb3: Manufacturer: Linux 3.12-0.bpo.1-686-pae ehci_hcd
[    1.276177] usb usb3: SerialNumber: 0000:00:10.4
[    1.331703] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[    1.331707] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.331711] usb usb4: Product: UHCI Host Controller
[    1.331714] usb usb4: Manufacturer: Linux 3.12-0.bpo.1-686-pae uhci_hcd
[    1.331717] usb usb4: SerialNumber: 0000:00:10.2
[    1.332391] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
[    1.332395] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.332399] usb usb5: Product: UHCI Host Controller
[    1.332402] usb usb5: Manufacturer: Linux 3.12-0.bpo.1-686-pae uhci_hcd
[    1.332405] usb usb5: SerialNumber: 0000:00:10.3
[    1.900030] usb 2-1: new low-speed USB device number 2 using uhci_hcd
[    2.078066] usb 2-1: New USB device found, idVendor=045e, idProduct=07f8
[    2.078075] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.078079] usb 2-1: Product: Wired Keyboard 600
[    2.078082] usb 2-1: Manufacturer: Microsoft
[    2.114776] usbcore: registered new interface driver usbhid
[    2.114783] usbhid: USB HID core driver
[    2.117077] input: Microsoft Wired Keyboard 600 as /devices/pci0000:00/0000:00:10.1/usb2/2-1/2-1:1.0/input/input2
[    2.118760] hid-generic 0003:045E:07F8.0001: input,hidraw0: USB HID v1.11 Keyboard [Microsoft Wired Keyboard 600] on usb-0000:00:10.1-1/input0
[    2.128190] input: Microsoft Wired Keyboard 600 as /devices/pci0000:00/0000:00:10.1/usb2/2-1/2-1:1.1/input/input3
[    2.128360] hid-generic 0003:045E:07F8.0002: input,hidraw1: USB HID v1.11 Device [Microsoft Wired Keyboard 600] on usb-0000:00:10.1-1/input1
[  625.864028] usb 3-1: new high-speed USB device number 3 using ehci-pci
[  626.000821] usb 3-1: New USB device found, idVendor=12d1, idProduct=14fe
[  626.000827] usb 3-1: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[  626.000831] usb 3-1: Product: HUAWEI Mobile
[  626.000834] usb 3-1: Manufacturer: HUAWEI
[  626.068638] usb-storage 3-1:1.0: USB Mass Storage device detected
[  626.069574] scsi4 : usb-storage 3-1:1.0
[  626.069739] usb-storage 3-1:1.1: USB Mass Storage device detected
[  626.069909] scsi5 : usb-storage 3-1:1.1
[  626.070016] usbcore: registered new interface driver usb-storage


On my Laptop with Mint 16 KDE it is recognised as follows.

Code: Select all

Bus 001 Device 006: ID 12d1:1506 Huawei Technologies Co., Ltd. E398 LTE/UMTS/GSM Modem/Networkcard

[  640.939494] usbcore: registered new interface driver ipheth
[ 2042.334507] usb 1-1.2: new high-speed USB device number 5 using ehci-pci
[ 2042.427792] usb 1-1.2: New USB device found, idVendor=12d1, idProduct=14fe
[ 2042.427801] usb 1-1.2: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[ 2042.427806] usb 1-1.2: Product: HUAWEI Mobile
[ 2042.427809] usb 1-1.2: Manufacturer: HUAWEI
[ 2042.429603] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[ 2042.429750] scsi7 : usb-storage 1-1.2:1.0
[ 2042.429914] usb-storage 1-1.2:1.1: USB Mass Storage device detected
[ 2042.430009] scsi8 : usb-storage 1-1.2:1.1
[ 2043.632153] usb 1-1.2: USB disconnect, device number 5
[ 2048.954754] usb 1-1.2: new high-speed USB device number 6 using ehci-pci
[ 2049.048055] usb 1-1.2: New USB device found, idVendor=12d1, idProduct=1506
[ 2049.048059] usb 1-1.2: New USB device strings: Mfr=3, Product=2, SerialNumber=0
[ 2049.048060] usb 1-1.2: Product: HUAWEI Mobile
[ 2049.048061] usb 1-1.2: Manufacturer: HUAWEI
[ 2049.049834] usb-storage 1-1.2:1.4: USB Mass Storage device detected
[ 2049.049878] scsi9 : usb-storage 1-1.2:1.4
[ 2049.049951] usb-storage 1-1.2:1.5: USB Mass Storage device detected
[ 2049.049984] scsi10 : usb-storage 1-1.2:1.5
[ 2049.055661] usbcore: registered new interface driver usbserial
[ 2049.055679] usbcore: registered new interface driver usbserial_generic
[ 2049.055690] usbserial: USB Serial support registered for generic
[ 2049.060070] usbcore: registered new interface driver option
[ 2049.060365] usbserial: USB Serial support registered for GSM modem (1-port)
[ 2049.060881] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB0
[ 2049.061016] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB1
[ 2049.061134] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB2
[ 2049.068306] usb 1-1.2: MAC-Address: 58:2c:80:13:92:63
[ 2049.068582] cdc_ncm 1-1.2:1.1 wwan0: register 'cdc_ncm' at usb-0000:00:1a.0-1.2, Mobile Broadband Network Device, 58:2c:80:13:92:63
[ 2049.069773] usbcore: registered new interface driver cdc_ncm


Thanks, Michael.

User avatar
lucky9
Forum Veteran
Forum Veteran
Posts: 11380
Joined: Wed Jul 12, 2006 5:54 am

Re: Broadband USB Modem not switching to modem mode

#12 Postby lucky9 » Sat Sep 20, 2014 12:32 pm

http://www.mepis.org/docs/en/index.php?title=Aircard

Nowadays I do this from memory. But if I changed Modems I'd go back to the wiki.
Yes, even I am dishonest. Not in many ways, but in some. Forty-one, I think it is.
--Mark Twain

cuscotravelservices
Forum Regular
Forum Regular
Posts: 122
Joined: Sat Jun 28, 2014 11:21 pm

Re: Broadband USB Modem not switching to modem mode

#13 Postby cuscotravelservices » Sat Sep 20, 2014 9:25 pm

Hi again All,

My problem appears to be very similar to that of Mike P.

The modem is correctly detected in the Live USB (XFCE) environment which uses the 204-8~bpo70+1 version of libudev1 and udev. I could get it to connect also.

The installed environment, using LXDE which was installed after the upgrades, is using the 204-14~bpo70+1 version of libudev1 and udev.

My USB ID list had the necessary details and updating it didn't make any difference.

The 40-usb_modeswitch.rules file was fine too.

The following ModeSwitch packages are installed but according to Mint 16 and http://www.draisberghof.de/usb_modeswitch/ there are later versions available.

usb-modeswitch 1.2.3+repack0-1
usb-modeswitch-data 20120815-2

Should the above be upgraded?

How do I safely downgrade libudev1 and udev to 204-8~bpo70+1 ?

udev is dependent on libudev1. So, should that be downgraded first?

Will the following 2 commands do the trick?

Code: Select all

apt-get install udev=204-8~bpo70+1
apt-get install libudev1=204-8~bpo70+1


Before I attempt the commands, do I need to add http://snapshot.debian.org/package/syst ... bpo70%2B1/ as a Repository to Synaptic?

Thanks, Michael.

User avatar
kmathern
Forum Veteran
Forum Veteran
Posts: 9036
Age: 59
Joined: Wed Jul 12, 2006 2:26 pm

Re: Broadband USB Modem not switching to modem mode

#14 Postby kmathern » Sat Sep 20, 2014 10:57 pm

I wouldn't bother adding the snapshot repo, I would wget download them and install them with dpkg.

The libudev1 & udev packages come from the systemd source. Five other MX14 packages are also from the same systemd source and should probably also be downgraded to keep them all at the same version.
(I don't know if m_pav did that or if he just downgraded libudev1 & udev)

These are the seven systemd packages that were installed originally:

Code: Select all

$ grep 204-7~bpo70+1 /usr/local/share/mx/installed.txt
ii  libgudev-1.0-0:i386                  204-7~bpo70+1                      i386         GObject-based wrapper library for libudev
ii  libsystemd-daemon0:i386              204-7~bpo70+1                      i386         systemd utility library
ii  libsystemd-id128-0:i386              204-7~bpo70+1                      i386         systemd 128 bit ID utility library
ii  libsystemd-journal0:i386             204-7~bpo70+1                      i386         systemd journal utility library
ii  libsystemd-login0:i386               204-7~bpo70+1                      i386         systemd login utility library
ii  libudev1:i386                        204-7~bpo70+1                      i386         libudev shared library
ii  udev                                 204-7~bpo70+1                      i386         /dev/ and hotplug management daemon


This will wget download all seven of the systemd packages, you can run the commands as a regular user. I would create a separate directory just for the .deb files.

Code: Select all

URL="http://snapshot.debian.org/archive/debian/20140324T100604Z/pool/main/s/systemd/"; DEB="_204-8%7Ebpo70%2B1_i386.deb"
for i in libgudev-1.0-0 libsystemd-daemon0 libsystemd-id128-0 libsystemd-journal0 libsystemd-login0 libudev1 udev; do wget $URL$i$DEB; done


To install them, cd into the directory with the .deb files and run

Code: Select all

su -c 'dpkg -i *.deb'


After you downgrade them, you should go into Synaptic and pin them so they don't get upgraded again.
Last edited by kmathern on Sun Sep 21, 2014 8:49 am, edited 1 time in total.

cuscotravelservices
Forum Regular
Forum Regular
Posts: 122
Joined: Sat Jun 28, 2014 11:21 pm

Re: Broadband USB Modem not switching to modem mode

#15 Postby cuscotravelservices » Sat Sep 20, 2014 11:28 pm

kmathern wrote:These are the seven systemd packages that were installed originally:

Code: Select all

$ grep 204-7~bpo70+1 /usr/local/share/mx/installed.txt
ii  libgudev-1.0-0:i386                  204-7~bpo70+1                      i386         GObject-based wrapper library for libudev
ii  libsystemd-daemon0:i386              204-7~bpo70+1                      i386         systemd utility library
ii  libsystemd-id128-0:i386              204-7~bpo70+1                      i386         systemd 128 bit ID utility library
ii  libsystemd-journal0:i386             204-7~bpo70+1                      i386         systemd journal utility library
ii  libsystemd-login0:i386               204-7~bpo70+1                      i386         systemd login utility library
ii  libudev1:i386                        204-7~bpo70+1                      i386         libudev shared library
ii  udev                                 204-7~bpo70+1                      i386         /dev/ and hotplug management daemon


grep 204-7~bpo70+1 /usr/local/share/mx/installed.txt didn't have any output for me.

grep 204-8~bpo70+1 /usr/local/share/mx/installed.txt produced the following.

Code: Select all

ii  libgudev-1.0-0:i386                  204-8~bpo70+1                      i386         GObject-based wrapper library for libudev
ii  libsystemd-login0:i386               204-8~bpo70+1                      i386         systemd login utility library
ii  libudev1:i386                        204-8~bpo70+1                      i386         libudev shared library
ii  udev                                 204-8~bpo70+1                      i386         /dev/ and hotplug management daemon


So, should I just wget those 4 files?

Thanks, Michael.

User avatar
kmathern
Forum Veteran
Forum Veteran
Posts: 9036
Age: 59
Joined: Wed Jul 12, 2006 2:26 pm

Re: Broadband USB Modem not switching to modem mode

#16 Postby kmathern » Sat Sep 20, 2014 11:45 pm

cuscotravelservices wrote:
kmathern wrote:These are the seven systemd packages that were installed originally:

Code: Select all

$ grep 204-7~bpo70+1 /usr/local/share/mx/installed.txt
ii  libgudev-1.0-0:i386                  204-7~bpo70+1                      i386         GObject-based wrapper library for libudev
ii  libsystemd-daemon0:i386              204-7~bpo70+1                      i386         systemd utility library
ii  libsystemd-id128-0:i386              204-7~bpo70+1                      i386         systemd 128 bit ID utility library
ii  libsystemd-journal0:i386             204-7~bpo70+1                      i386         systemd journal utility library
ii  libsystemd-login0:i386               204-7~bpo70+1                      i386         systemd login utility library
ii  libudev1:i386                        204-7~bpo70+1                      i386         libudev shared library
ii  udev                                 204-7~bpo70+1                      i386         /dev/ and hotplug management daemon


grep 204-7~bpo70+1 /usr/local/share/mx/installed.txt didn't have any output for me.

grep 204-8~bpo70+1 /usr/local/share/mx/installed.txt produced the following.

Code: Select all

ii  libgudev-1.0-0:i386                  204-8~bpo70+1                      i386         GObject-based wrapper library for libudev
ii  libsystemd-login0:i386               204-8~bpo70+1                      i386         systemd login utility library
ii  libudev1:i386                        204-8~bpo70+1                      i386         libudev shared library
ii  udev                                 204-8~bpo70+1                      i386         /dev/ and hotplug management daemon


So, should I just wget those 4 files?

Thanks, Michael.


The 204-7~bpo70+1 version was what was in the original MX-14 release, MX-14.2 came with the 204-8~bpo70+1 version.

Btw a better grep command might have been

Code: Select all

grep 204-.*~bpo70 /usr/local/share/mx/installed.txt


It looks like MX-14.2 didn't come with libsystemd-daemon0, libsystemd-id128-0 or libsystemd-journal0, so yeah, I'd leave them out.


edit: I changed the wget command in my last post to make it easier to choose the downloads you want.

cuscotravelservices
Forum Regular
Forum Regular
Posts: 122
Joined: Sat Jun 28, 2014 11:21 pm

Re: Broadband USB Modem not switching to modem mode

#17 Postby cuscotravelservices » Sat Jan 17, 2015 5:35 pm

Hi Folks,

I'm looking to upgrade MX14.2 to 14.3 but I notice that the latest version, for the libgudev-1.0-0, libsystemd-login0, libudev1 and udev packages, remains unchanged at 204-14~bpo70+1 but there is no mention of the bug, that I and Mike P (m_pav) have experienced, on the related Debian Packages pages.

Will Locking those 4 packages cause any problems for the migration from 14.2 to 14.3.

Thanks, Michael.

User avatar
m_pav
Forum Guide
Forum Guide
Posts: 2570
Age: 50
Joined: Sun Aug 06, 2006 3:02 pm

Re: Broadband USB Modem not switching to modem mode

#18 Postby m_pav » Thu Jan 22, 2015 1:13 am

I took my live-USB personal build fully updated, fresh install to testing machine, downloaded and downgraded all 7 udev related packages to the earlier version using Kents 2-line script from his post above, rebooted and the USB modem was functional, however, there were more errors on insertion than before.
Mike P

Regd Linux User #472293
(Mine)Lenovo T560, i7-6600U, 16GB, 2.0TB SSHD, MX16 64-bit
(Wifes) Asus M4A88TD-M, AMD Phenom II x4 955 CPU, nVidia GF610, 6Gb, 500GB+320GB, MX16 + KDE
(Kids) Intel NUC, J1900, 4GB, 64GB SSD, MX16


Return to “Networking”

Who is online

Users browsing this forum: No registered users and 1 guest