Modem stopped from being detected.

2 risposte [Ultimo contenuto]
Pandya
Offline
Iscritto: 11/11/2014

I am using Trisquel 7.0 LTS and using mobile broadband (Net-Setter) to establish connection.

All is working fine. My modem detects as follows (lsusb output):

$ lsusb
Bus 001 Device 004: ID 12d1:1436 Huawei Technologies Co., Ltd. E173 3G Modem (modem-mode)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

And It is also detected at nm-applet or say by using nmcli as follows:

~$ nmcli dev list
GENERAL.DEVICE:                         ttyUSB2
GENERAL.TYPE:                           gsm
GENERAL.VENDOR:                         HUAWEI Technology
GENERAL.PRODUCT:                        HUAWEI Mobile

But I recently Run a installation script from Mobile Parter which not properly installed and hence I also run Un-installation script (Both Script are attached below) And Unfortunately in spite of uninstallation, Now modem doesn't detect.

There is change in detection and new (current) output by lsusb is:

$ lsusb
Bus 001 Device 003: ID 12d1:1446 Huawei Technologies Co., Ltd. E1552/E1800/E173 (HSPA modem)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Here you can visualize difference that is
Ealier:
Bus 001 Device 004: ID 12d1:1436 Huawei Technologies Co., Ltd. E173 3G Modem (modem-mode)
And Now:
Bus 001 Device 003: ID 12d1:1446 Huawei Technologies Co., Ltd. E1552/E1800/E173 (HSPA modem)

And now modem doesn't detect in nm-applet (nor listed by nmcli).

So, How can I reset settings to default because default Trisquel has no problem with my device. In other words which files are affected for this behaviour and How do I revert to Earlier condition ? (Otherwise I've to re-install whole OS!)

Help me to solve this.

AllegatoDimensione
Attachment.tar23.5 KB
lembas
Offline
Iscritto: 05/13/2010

Perhaps the usb-modeswitch command from the package with the same name helps?

Pandya
Offline
Iscritto: 11/11/2014

Yes, Recently I've written 12d1:1446 file under /etc/usb_modeswitch.d/ which is:

DefaultVendor= 0x12d1 
DefaultProduct=0x1446

MessageContent="55534243123456780000000000000011062000000100000000000000000000"

And I run this by command:
sudo chmod +x /usr/sbin/usb_modeswitch
sudo usb_modeswitch -I -W -c /etc/usb_modeswitch.d/12d1\:1446

Which working find cause ls usb changed from:
Bus 001 Device 003: ID 12d1:1446 Huawei Technologies Co., Ltd. E1552/E1800/E173 (HSPA modem)
Back To:
Bus 001 Device 004: ID 12d1:1436 Huawei Technologies Co., Ltd. E173 3G Modem (modem-mode)

And hence it will detect by network-manager I will able to connect.

But I have to use above command every time when I plugged in. So, I am looking for permanent solution to earlier condition as mentioned in first post (Earlier/Default Without any extra effort and without changing anything, modem detects properly)