usb_modeswitch is hangs on manual switch

I have 3.2.27 Linux kernel with Busybox. I am using Raspberry PI. When I pluging my Huawei E303c dmesg showing

[    4.569781] usb 1-1.2: new high-speed USB device number 5 using dwc_otg
[    4.681078] usb 1-1.2: New USB device found, idVendor=12d1, idProduct=14fe
[    4.690885] usb 1-1.2: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[    4.701143] usb 1-1.2: Product: HUAWEI Mobile
[    4.708326] usb 1-1.2: Manufacturer: HUAWEI
[    4.718185] scsi0 : usb-storage 1-1.2:1.0
[    4.726518] scsi1 : usb-storage 1-1.2:1.1
[    5.720951] scsi 0:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
[    5.738561] scsi 1:0:0:0: Direct-Access     HUAWEI   SD Storage       2.31 PQ: 0 ANSI: 2
[    5.755514] sd 1:0:0:0: [sda] Attached SCSI removable disk

The option kernel module is already running but usb-storage module not running. But when I enter usb_modeswitch -v 0x12d1 -p 0x14fe -H it's hangs like

Looking for default devices ...
 Found default devices (1)
Accessing device 002 on bus 002 ...
Using endpoints 0x04 (out) and 0x83 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
 OK, driver found ("usb-storage")
 OK, driver "usb-storage" detached

Can anyone give me a solution,


This has solve my issue

usb_modeswitch -c /etc/usb_modeswitch.conf -W -I

modprobe option
modprobe ppp_generic

My /etc/usb_modeswitch.conf looks like

# Huawei E303c
DefaultVendor= 0x12d1

TargetVendor=  0x12d1


MessageEndpoint= 0x01

Need Your Help

Change a relative URL to absolute URL in Objective C

objective-c xcode url relative-path absolute-path

How would I take a file in the application's directory (the same folder the .app is in), and get it's absolute path. Say the relative path is "Data/file.txt," how would I use Objective C to get tha...

Flex numeric spinner, want to add preceeding 0

actionscript-3 flex adobe flex4.5 flexbuilder

I have a Flex UI and want the numeric stepper to add a preceeding '0' to the displayed value if it's between 0 and 9, so that it's always 2 digits. How do I do this?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.