I have a this USB USDPA 7.2Mbps Wireless Data Card with a SIM card.
I want to use it on Linux Debian to send SMS.
When I do lsusb, this is my Device:
Bus 001 Device 005: ID 05c6:1000 Qualcomm, Inc. Mass Storage Device
I have tried to use modswitch with the help of this article
sudo usb_modeswitch -W -v 05c6 -p 1000 -K
Take all parameters from the command line
- usb_modeswitch: handle USB devices with multiple modes
- Version 2.5.2 (C) Josua Dietze 2017
- Based on libusb1/libusbx
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x05c6
DefaultProduct= 0x1000
StandardEject=1
Look for default devices ...
found USB ID 1d6b:0003
found USB ID 04b4:0510
found USB ID 1af3:0001
found USB ID 05c6:1000
vendor ID matched
product ID matched
found USB ID 1d6b:0002
Found devices in default mode (1)
Access device 002 on bus 001
Get the current device configuration ...
Current configuration number is 1
Use interface number 0
with class 8
Use endpoints 0x01 (out) and 0x81 (in)
USB description data (for identification)
Manufacturer: Qualcomm, Incorporated
Product: Qualcomm CDMA Technologies MSM
Serial No.: 351602000025260
Sending standard EJECT sequence
Looking for active drivers ...
OK, driver detached
Set up interface 0
Use endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
OK, message successfully sent
Read the response to message 1 (CSW) ...
Response successfully read (13 bytes), status 0
Trying to send message 2 to endpoint 0x01 ...
OK, message successfully sent
Read the response to message 2 (CSW) ...
Response successfully read (13 bytes), status 0
Trying to send message 3 to endpoint 0x01 ...
OK, message successfully sent
Read the response to message 3 (CSW) ...
Response successfully read (13 bytes), status 1
Trying to send message 4 to endpoint 0x01 ...
OK, message successfully sent
Read the response to message 4 (CSW) ...
Response successfully read (13 bytes), status 1
Reset response endpoint 0x81
Reset message endpoint 0x01
Could not reset endpoint (probably harmless): -4
Device is gone, skip any further commands
-> Run lsusb to note any changes. Bye!
)
This is the result of the command sudo usb_modeswitch -W -v 05c6 -p 1000 -K:
sudo usb_modeswitch -W -v 05c6 -p 1000 -K
Take all parameters from the command line
* usb_modeswitch: handle USB devices with multiple modes
* Version 2.5.2 (C) Josua Dietze 2017
* Based on libusb1/libusbx
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x05c6
DefaultProduct= 0x1000
StandardEject=1
Look for default devices ...
found USB ID 1d6b:0003
found USB ID 04b4:0510
found USB ID 1af3:0001
found USB ID 05c6:1000
vendor ID matched
product ID matched
found USB ID 1d6b:0002
Found devices in default mode (1)
Access device 002 on bus 001
Get the current device configuration ...
Current configuration number is 1
Use interface number 0
with class 8
Use endpoints 0x01 (out) and 0x81 (in)
USB description data (for identification)
-------------------------
Manufacturer: Qualcomm, Incorporated
Product: Qualcomm CDMA Technologies MSM
Serial No.: 351602000025260
-------------------------
Sending standard EJECT sequence
Looking for active drivers ...
OK, driver detached
Set up interface 0
Use endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
OK, message successfully sent
Read the response to message 1 (CSW) ...
Response successfully read (13 bytes), status 0
Trying to send message 2 to endpoint 0x01 ...
OK, message successfully sent
Read the response to message 2 (CSW) ...
Response successfully read (13 bytes), status 0
Trying to send message 3 to endpoint 0x01 ...
OK, message successfully sent
Read the response to message 3 (CSW) ...
Response successfully read (13 bytes), status 1
Trying to send message 4 to endpoint 0x01 ...
OK, message successfully sent
Read the response to message 4 (CSW) ...
Response successfully read (13 bytes), status 1
Reset response endpoint 0x81
Reset message endpoint 0x01
Could not reset endpoint (probably harmless): -4
Device is gone, skip any further commands
-> Run lsusb to note any changes. Bye!
</code></pre>
<p>Now, <code>lsusb</code> show this device:</p>
<pre class="lang-bsh prettyprint-override"><code>Bus 001 Device 005: ID 05c6:6000 Qualcomm, Inc. Siemens SG75
</code></pre>
<p>Did it work? Is it persistent?</p>
<pre class="lang-bsh prettyprint-override"><code>$ ls /dev/ | grep USB
ttyUSB0
ttyUSB1
ttyUSB2
ttyUSB3
</code></pre>
<ul>
<li>Where should I start please?</li>
</ul>
<p>Does this card have a specific driver for linux?</p>