last day (15 days later) » 

14:22
hello
sudo usb_modeswitch -I -c /etc/usb_modeswitch.d/12d1\:1505 -R
again please
with the backslash
No default vendor/product ID given. Abort
ok edit /etc/usb_modeswitch.d/12d1:1505 and replace its content with
sudo gpedit?
12d1:1505 this is html file
that wget command seems to downloaded the html page
14:35
sorry for the delay : )
then just delete it
sudo rm /etc/usb_modeswitch.d/12d1:1505
then sudo gedit /etc/usb_modeswitch.d/12d1:1505 and
paste the content from paste.ubuntu.com/15180398
I pasted the contents of that github file and it works now
thank you :)
edit your answer to fix the wget command and I will accept it
did you use the content here : paste.ubuntu.com/15180398
or from the github file
??
from github
OK I'll update the answer.. thanks
I've reconnected the device to other USB port and it's showing me the connection option now
same thing if move device back in it's original port
14:48
yep it should work
what you get now with lsusb
usb-devices show Driver=(none)
lsusb shows the same as before
I just need the id
12d1:1505 did that change?
ok wait
then
paste this
usb_modeswitch -v 0x12d1 -p 0x1505 -V 0x12d1 -P 0x140b -M "55534243123456780000000000000011062000000100000000000000000000" -R
copy and paste as single command
Look for target devices ...
No devices in target mode or class found
Look for default devices ...
product ID matched
Found devices in default mode (1)
Access device 011 on bus 001
Error opening the device. Abort
14:56
lsusb
just paste the output here
faster.. :D
Bus 001 Device 011: ID 12d1:1505 Huawei Technologies Co., Ltd. E398 LTE/UMTS/GSM Modem/Networkcard
or all?
thats enough
may be reboot is required?
I dont think so. did you try different port
I can try now
15:04
just plug on different port then run
usb_modeswitch -v 0x12d1 -p 0x1505 -V 0x12d1 -P 0x140b -M "55534243123456780000000000000011062000000100000000000000000000" -R
again
Look for target devices ...
No devices in target mode or class found
Look for default devices ...
product ID matched
Found devices in default mode (1)
Access device 012 on bus 001
Error opening the device. Abort
usb-devices show
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 12 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=12d1 ProdID=1505 Rev=00.00
S: Manufacturer=HUAÿWEI TECHNOLOGIES
S: Product=HUAWEI Mobile
S: SerialNumber=ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
C: #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none)
cat /etc/usb_modeswitch.d/12d1:1505
# Huawei EC156

TargetVendor= 0x12d1
TargetProductList="140b,1506,150f"

MessageContent="55534243123456780000000000000011062000000100000000000000000000"
OK try this for the last time
edit it with the content
sudo gedit /etc/usb_modeswitch.d/12d1:1505
replace the content and save the file
then
sudo usb_modeswitch -I -c 12d1\:1505 -R
cat /etc/usb_modeswitch.d/12d1:1505
DefaultVendor= 0x12d1
DefaultProduct=0x1505

TargetVendor= 0x12d1
TargetProduct= 0x140b

MessageContent="55534243123456780000000000000011062000000100000000000000000000"

CheckSuccess=20
15:14
ok great now
sudo usb_modeswitch -I -c 12d1\:1505 -R
sudo usb_modeswitch -I -c 12d1\:1505 -R
Error: Could not find file 12d1:1505. Abort
sudo usb_modeswitch -I -c /etc/usb_modeswitch.d/12d1:1505 -R
what did you get?
sudo usb_modeswitch -I -c /etc/usb_modeswitch.d/12d1:1505 -R
Look for target devices ...
No devices in target mode or class found
Look for default devices ...
product ID matched
Found devices in default mode (1)
Access device 013 on bus 001
Current configuration number is 1
Use interface number 0
Use endpoints 0x08 (out) and 0x87 (in)
Inquire device details; driver will be detached ...
Looking for active driver ...
No active driver found. Detached before or never attached

SCSI inquiry data (for identification)
now lsusb
lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 105b:e065
Bus 001 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 003: ID 5986:055d Acer, Inc
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 013: ID 12d1:1505 Huawei Technologies Co., Ltd. E398 LTE/UMTS/GSM Modem/Networkcard
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
15:18
oops! that's all I can help :(
okay, thanks anyway
you'd better update your question with the above outputs
that would really help others
You may include
cat /etc/usb_modeswitch.d/12d1:1505
which outputs
ok
and output of this
sudo usb_modeswitch -I -c /etc/usb_modeswitch.d/12d1:1505 -R
it's maybe an driver issue which i have no idea about
thanks.. I gotta go
okay, thank you

last day (15 days later) »