Command to make it appears as /dev/ttyUSB0
So according to that comment we should consider this (and probably also the 2 endpoint variants) as "vendor-specific modem interfaces". I wonder if you get any ttyUSBx port responding to AT commands if you do:
Code:
modprobe option
echo 12d1 1c05 >/sys/bus/usb-serial/drivers/option1/new_id
echo 12d1 1c05 >/sys/bus/usb-serial/drivers/option1/new_id
Some minicom commands that can help you changing the settings of the modem
minicom -s (configure, change here the option "Serial port setup" -> "A - Serial Device :" to /dev/ttyUSB0
exit
type in your commands
example: AT^U2DIAG?
example2: AT^U2DIAG=276
Commands supported
Huawei AT-commands
note: Some devices like the Huawei K3715 seem to require AT-commands to be typed in capital letters!
There are a couple of options for disabling and re-enabling the following USB-components of Huawei USB-modems:
AT^U2DIAG=n
On some models it is possible to read the present value of the parameter n by sending command:
AT^U2DIAG?
*) note: Smartcard (SC) and network adaptor (N) are not present in many Huawei devices. Using an AT-command that activates SC or N on a device without these components, will result in errors and so will be noneffective.
Modems supporting AT^U2DIAG? command: E173, E1750 ,E160E Modems not supporting AT^U2DIAG? command: E160, K3565
Also on some models it is possible to display a list of devices present in a USB-stick, by sending a command:
AT^GETPORTMODE
There are a couple of options for disabling and re-enabling the following USB-components of Huawei USB-modems:
- modem (M)
- NAND-flashmemory drive (CD)
- microSD-drive (SD)
- PC UI interface (UI)
- network adaptor (N)
- smartcard (SC)
AT^U2DIAG=n
On some models it is possible to read the present value of the parameter n by sending command:
AT^U2DIAG?
n | M | CD | SD | UI | N | SC | remarks | supported by | not supported by |
0 | + | + | E160, E1750 | ||||||
1 | + | + | |||||||
3 | + | + | + | won't work on devices without SC* | |||||
5 | + | + | + | won't work on devices without N* | |||||
9 | + | + | + | won't work on devices without N & SC* | |||||
10 | + | + | + | won't work on devices without SC* | |||||
12 | + | + | + | won't work on devices without N* | |||||
255 | + | + | + | + | ? | ? | reset to factory defaults | E160, E160E, K3565, K3715 | E176, E1762, E1750, E173 |
256 | + | + | + | for most devices: everything enabled except the flashmemory; microSD-drive will be available under Windows even without drivers installed | E160, E160E, E173, E1750, E1762, K3565, K3715 | E176 | |||
257 | + | + | + | ||||||
259 | + | + | + | + | won't work on devices without SC* | E173u-2, E176 | |||
261 | + | + | + | + | won't work on devices without N & SC* | ||||
265 | + | + | + | + | won't work on devices without N & SC* | ||||
266 | + | + | + | + | won't work on devices without SC* | ||||
267 | + | + | + | won't work on devices without N* | |||||
268 | + | + | + | + | won't work on devices without N* | E1750, K3565, E173 | |||
276 | + | + | + | + | + | ? | reset to factory defaults | E1762, K3565, K3765, E173, E1750 |
*) note: Smartcard (SC) and network adaptor (N) are not present in many Huawei devices. Using an AT-command that activates SC or N on a device without these components, will result in errors and so will be noneffective.
Modems supporting AT^U2DIAG? command: E173, E1750 ,E160E Modems not supporting AT^U2DIAG? command: E160, K3565
Also on some models it is possible to display a list of devices present in a USB-stick, by sending a command:
AT^GETPORTMODE
Nenhum comentário:
Postar um comentário