View previous topic :: View next topic |
Author |
Message |
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1603
|
Posted: Wed Jun 29, 2016 11:19 am Post subject: usb_modeswitch |
|
|
I have a :
Bus 001 Device 002: ID 19d2:1024 ZTE WCDMA Technologies MSM
I was following https://wiki.gentoo.org/wiki/USB_mobile_broadband_modem
to configure this device, the drivers are build as modules not into the kernel
I'm going through the second step trying to switch modes, here's /etc/usb_modeswitch.conf:
DefaultVendor= 0x19d2
DefaultProduct= 0x1024
TargetVendor= 0x19d2
argetProduct= not set
TargetProductList=0001,0002,0015,0016,0017,0031,0037,0052,0055,0063
TargetClass= not set
DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
MessageEndpoint= not set
MessageContent="55534243123456782000000080000c85010101180101010101000000000000"
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00
DisableMBIMGlobal=1
when I try to run usb_modeswitch:
g50-80 ~ # usb_modeswitch -c /etc/usb_modeswitch.conf
Look for target devices ...
Error: entry in product ID list has wrong length: 0063 . Ignored
No devices in target mode or class found
Look for default devices ...
product ID matched
Found devices in default mode (1)
Access device 002 on bus 001
Current configuration number is 1
Use interface number 0
Error: message endpoint not given or found. Abort
and there are no ttyUSB devices
g50-80 ~ # ls -l /dev/ttyUSB*
ls: cannot access /dev/ttyUSB*: No such file or directory
I want to be able to connect using this USB modem.
thanks |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54808 Location: 56N 3W
|
Posted: Wed Jun 29, 2016 5:52 pm Post subject: |
|
|
Adel Ahmed,
It looks like you are on the right track. My 3G modem appears as three devices at the same time, so I don't use usb_modeswitch.
This post says a few words about usb_modeswitch.conf _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1603
|
Posted: Fri Jul 01, 2016 12:24 pm Post subject: |
|
|
I've tried following directions in that post and Im getting the same error
it seems I have to configure the message endpoint correctly
lsusb shows the endpoint as :
bEndpointAddress 0x81 EP 1 IN
which I had configured but no dice |
|
Back to top |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1603
|
Posted: Fri Jul 01, 2016 1:04 pm Post subject: |
|
|
here's my latest config:
DefaultVendor= 0x19d2
DefaultProduct= 0x1024
TargetVendor= 0x19d2
TargetProduct=0x1022
TargetClass= not set
DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
MessageContent="55534243123456780000000000000011060000000000000000000000000000"
NeedResponse=0
MessageEndpoint=0×81
ResponseEndpoint=0x01
Interface=0x00
g50-80 usb_modeswitch # usb_modeswitch -c /etc/usb_modeswitch.conf
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 007 on bus 001
Current configuration number is 1
Use interface number 0
Error: message endpoint not given or found. Abort |
|
Back to top |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1603
|
Posted: Mon Jul 04, 2016 8:20 am Post subject: |
|
|
bump |
|
Back to top |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1603
|
Posted: Wed Jul 06, 2016 11:35 am Post subject: |
|
|
bump |
|
Back to top |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1603
|
Posted: Mon Jul 11, 2016 6:59 pm Post subject: |
|
|
help anyone? |
|
Back to top |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1603
|
Posted: Tue Jul 26, 2016 8:21 am Post subject: |
|
|
still stuck |
|
Back to top |
|
|
|