View previous topic :: View next topic |
Author |
Message |
g-virus n00b

Joined: 26 Aug 2017 Posts: 66
|
Posted: Thu Apr 18, 2019 8:46 pm Post subject: [SOLVED] Huawei e173s-6 no serial interface available |
|
|
Hello. I'm trying to work with my Huawei e173s-6 via serial port. The modem is unlocked. I've installed usb_modeswitch, changed config to
Code: |
# Configuration for the usb_modeswitch package, a mode switching tool for
# USB devices providing multiple states or modes
#
# Evaluated by the wrapper script /usr/sbin/usb_modeswitch_dispatcher
#
# To enable an option, set it to "1", "yes" or "true" (case doesn't matter)
# Everything else counts as "disable"
# Disable automatic mode switching globally (e.g. to access the original
# install storage)
DisableSwitching=0
# Disable check for MBIM module presence and configuration globally (to aid
# special embedded environments). Available as per-device parameter
# 'NoMBIMCheck'
DisableMBIMGlobal=0
# Enable logging (results in a extensive report file in /var/log, named
# "usb_modeswitch_<interface-name>" and probably others
EnableLogging=1
# Optional increase of "delay_use" for the usb-storage driver; there are hints
# that a recent kernel default change to 1 sec. may lead to problems, particu-
# larly with USB 3.0 ports. Set this to at least 3 (seconds) in that case.
# Does nothing if the current system value is same or higher
#SetStorageDelay=4
# If the configuration for your Huawei modem uses the standard switching method,
# you can globally set an alternative method here which provides a different mode:
# either plain serial PPP (for older modems) or NCM which integrates nicely
# with recent Linux distributions, possibly avoiding configuration through a
# modem built-in web page. All other modems are not affected.
# Available as per-device parameter 'AltHuaweiMode'
HuaweiAltModeGlobal=1
|
When I plug in the modem, lsusb shows the following:
Code: |
Bus 003 Device 019: ID 12d1:1001 Huawei Technologies Co., Ltd. E161/E169/E620/E800 HSDPA Modem
|
Seems like everything ok, but no any /dev/ttyUSB* in /dev directory.
I've tried to do that
Code: |
# modprobe usbserial
# modprobe -v usbserial vendor=0x12d1 product=0x1001
|
but there is no effect. Does somebody know how to get it work with serial?
Thank you in advance
Last edited by g-virus on Thu Apr 25, 2019 10:11 am; edited 1 time in total |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 47088 Location: 56N 3W
|
Posted: Thu Apr 18, 2019 8:56 pm Post subject: |
|
|
g-virus,
usbserial is a parent to lots of lower level things.
Code: | <M> USB driver for GSM and CDMA modems | looks like a good choice.
If that's not enough put your entire kernel .config file onto pastebin site please. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
g-virus n00b

Joined: 26 Aug 2017 Posts: 66
|
Posted: Thu Apr 25, 2019 10:11 am Post subject: |
|
|
NeddySeagoon wrote: | g-virus,
usbserial is a parent to lots of lower level things.
Code: | <M> USB driver for GSM and CDMA modems | looks like a good choice.
If that's not enough put your entire kernel .config file onto pastebin site please. |
I'm sorry I didn't answer a long time. Yes, it works with this module! Thank you for the idea. I didn't try to look for some modules missing because I forgot that my usb-serial converter uses different module. Now I can see three ttyUSB0-1-2 in /dev directory, so it works, thank you again |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|