Questions tagged [usb-modeswitch]

switch mode of "multi-state" USB devices

Several new USB devices have their proprietary Windows drivers onboard, most of them WAN dongles.

When plugged in for the first time, they act like a flash storage and start installing the Windows driver from there.

If the driver is already installed, it makes the storage device disappear and a new device, mainly composite with modem ports, shows up.

On Linux, in most cases the drivers are available as kernel modules, such as "usbserial" or "option". However, the device shows up as "usb-storage" by default.

usb_modeswitch can send a provided bulk message (most likely a mass storage command) to the device which is known to initiate the mode switching

10 questions
5
votes
1 answer

Connecting the Raspberry Pi 3 with a 3G dongle (Qualcomm Modem)

I recently bought a 3G dongle for a project I'm working on. I want my Raspberry Pi to be able to receive SMS messages and respond to them. I got a HSDPA 3g dongle with a 7.2mbps connection. I've set up the dongle on Windows with an A1 (not sure if…
anthrx
  • 161
  • 1
  • 3
  • 12
5
votes
1 answer

USB Dongle Recognition in Android - Beaglebone

Issue : Some of the Huawei USB Dongles not recognized by Android JellyBean4.1.2 in Beaglebone. In Detail : I am working with BeagleBone running on Android JellyBean4.1.2 . Huawei - E1731 [Locked] , Huawei - E303D [Locked] are working fine in…
Don Chakkappan
  • 7,397
  • 5
  • 44
  • 59
3
votes
1 answer

Call and Play wav file using usb modem c#

I have written a code to dial a number using USB modem connected and want to play a .wav file on the serial port connected. My code is making the call but when I try to transfer voice using AT command it always through the exception some time…
Pawan Agrawal
  • 412
  • 8
  • 26
3
votes
0 answers

How to do USB mode switch on Windows

I am working on LTE USB modem driver installation. While plugin USB device it detect as CD-ROM and we need to switch it to USB modem before installing windows modem driver on the device. How does one go about executing a USB switch mode on…
Kalpesh Gedia
  • 127
  • 2
  • 8
1
vote
1 answer

Raspberry PI 4 + Huawei E3372 - Send AT commands

I'm trying to send AT commands to a Huawei E3372 USB Dongle but I haven't figured out how to mount correctly. If I do lsusb, I get the following: Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 045e:00cb…
Laurent
  • 1,465
  • 2
  • 18
  • 41
1
vote
0 answers

3G dongle switch to modem after the network interfaces loaded

I have a Raspberry Pi with a 3G Dongle connected. I want to automatically switch in modem mode + load the ppp interface during the boot. I use usb_modeswitch to automatically switch in modem mode during the boot and it works. And wvdial is well…
tibeoh
  • 460
  • 6
  • 11
1
vote
0 answers

USB modeswitch target mode, endpoint not found error

So I did a script on linux, and now I am try to run it on my banana pi (with bananian) and I got some problems. I use usb modeswitch to change the mode of my modem. But now my modem goes directly in target mode, and then I can not change it anymore.…
Max Taylor
  • 129
  • 3
  • 15
0
votes
1 answer

wvdial NO CARRIER error

I've been trying to connect Huawei E3131 to my Raspberry pi. So far I've installed ppp, usb_modeswitch and wvdial. Here is my wvdial.conf partially generated by wvdialconf and partially changed by myself: [Dialer Defaults] Modem =…
0
votes
0 answers

Getting Hotplug react when plugging 3G netstick (with mdev)

I'm trying to get a device running embedded linux V-2.6.31 to automatically recognize when a Huawei 3G usb stick is plugged to it, run usb_modeswitch, and communicate with the module. it seems that usb_modeswitch doesn't work well in a system that…
Gilad
  • 1
0
votes
1 answer

3G USB modem switches back to storage mode after connection is lost

I configured a 3G modem (Novatel Wireless U679 (Ovation MC679)) on a Raspberry Pi running Raspian OS. To switch the modem from storage mode (1410:5059) to modem mode (1410:7031), I use the following command: sudo eject /dev/sr0 I then use Sakis3G…
SBD
  • 41
  • 1
  • 8