Page 2 of 2

Re: TP-Link MA180

Posted: 19 Sep 2012, 17:40
by LOM
wifi_help wrote:

Code: Select all

# insmod usbserial vendor=0x2357 product=0x0201 
and then my devices /dev/ttyUSB[0-4] appear

Do you believe I should definitely use the `option' drive with the TP-Link? These are the modules available from OpenWRT:

The option driver is preferred, it is faster than usbserial and should not attach to the storage interface so you will get 4 ttyUSB devices instead of 5, ttyUSB2 is then your modem interface.

TP-Link is not directly supported in the option driver so you'll have to add your stick as a new id:

echo "2357 0201" > /sys/bus/usb-serial/drivers/option1/new_id

and insmod the option driver.

Your proc/bus/usb/devices file will now show the option driver being attached to the interfaces.

Re: TP-Link MA180

Posted: 19 Sep 2012, 19:45
by Josh
Thanks, LOM, I was about to write pretty much the same.


Some additional remarks:

- the "option" driver uses (and depends on) the "usb_wwan" module

- you can add your ID only after the module is loaded

Re: TP-Link MA180

Posted: 12 Jun 2021, 17:04
by barbaro11
Hi guys.

I use the tplink ma180 as 3g internet dongle for a sun-powered webserver.
I only have one issue.
I read that TTYUSB2 is the modem port and one of 0,1,3 tty ports should work as service ports.

In particular, I need to read remotely the sms without remove the sim card.

The problem is that when I try to communicate using AT commands the only way is to disconnect the modem and communicate only through the ttyUSB2 to pick back the smss.

Are available other options to retrieve sms using other ttys ports instead tty2?

Regards
Barbaro

Re: TP-Link MA180

Posted: 13 Jun 2021, 04:20
by LOM
barbaro11 wrote: 12 Jun 2021, 17:04 Are available other options to retrieve sms using other ttys ports instead tty2?
Probably not since the other tty ports are for diag and NMEA and most likely don't speak any AT or a very limited AT subset.
Use the dongle in direct net mode through the qmi_wwan interface so that you can be remotely connected while reading SMS on the modem port.

The dongles interface layout:
MI_00 TP-LINK HS-USB Diagnostics
MI_01 TP-LINK HS-USB NMEA
MI_02 USB Mass Storage Device
MI_03 TP-LINK HS-USB Modem
MI_04 TP-Link Wireless HS-USB Ethernet Adapter (qmi_wwan)