Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZTE MF195 support #369

Closed
GoogleCodeExporter opened this issue Mar 29, 2015 · 18 comments
Closed

ZTE MF195 support #369

GoogleCodeExporter opened this issue Mar 29, 2015 · 18 comments

Comments

@GoogleCodeExporter
Copy link

@GoogleCodeExporter GoogleCodeExporter commented Mar 29, 2015

As heavily discussed in 
http://wl500g.info/showthread.php?30632-ZTE-MF195-moden-an-Asus-wl500gP-V1 the 
MF195 is currently not working.

shibbys tomatousb already does support that 3g modem:
http://repo.or.cz/w/tomato.git/commit/a9de670c8e72f25c08296f3e5a765061451ad9bc

additional to this info I can also provide the usbmodeswitch data

thx

Original issue reported on code.google.com by exclamat...@gmail.com on 28 Nov 2012 at 12:47

Attachments:

@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 29, 2015

Original comment by lly.dev on 28 Nov 2012 at 3:59

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect
@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 29, 2015

Firmware already contains the usb_modeswitch data. Your modem is switched from 
zerocd. Drivers are attached:
USB devfs Devices
Device         : Location : Info
/dev/ttyACM0 : 1.0 : Manufacturer="ZTE" : Product="MF195" 
/dev/ttyACM1 : 1.0 : Manufacturer="ZTE" : Product="MF195" 
/dev/ttyACM2 : 1.0 : Manufacturer="ZTE" : Product="MF195" 
/dev/ttyUSB0 : 1.4 : Manufacturer="ZTE" : Product="MF195"

But I see an incorrect location enumeration. And it requires to check our 
drivers code.

Original comment by rssdev10@gmail.com on 29 Nov 2012 at 4:27

  • Changed state: Accepted
  • Added labels: Type-Defect
  • Removed labels: Type-Enhancement
@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 29, 2015

Could you provide output of

ls /sys/class/tty/
ls -l /sys/class/tty/ttyACM0
ls -l /sys/class/tty/ttyACM1
ls -l /sys/class/tty/ttyACM2

?
Modem should be attached, of course.

Original comment by lly.dev on 29 Nov 2012 at 4:23

  • Added labels: ****
  • Removed labels: ****
@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 29, 2015

@rssdev The data differs from the data in the trunk here.

@lly as I don't own the modem, I'll ask wl500bender as soon as the wl500g.info 
forum is back online.

greets !gm

Original comment by exclamat...@gmail.com on 29 Nov 2012 at 6:48

  • Added labels: ****
  • Removed labels: ****
@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 29, 2015

@ !gm - It's a pity. We hasn't such device too, so problem solution will take 
much more time.

Original comment by lly.dev on 30 Nov 2012 at 6:44

  • Added labels: ****
  • Removed labels: ****
@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 29, 2015

hi, i'm wl500bender. here you get the requested information:

[admin@WL-001E8C71B1D9 root]$ ls /sys/class/tty/
console  ptyp3    ptyp8    ptypd    ttyACM1  ttyp1    ttyp6    ttypb
ptmx     ptyp4    ptyp9    ptype    ttyACM2  ttyp2    ttyp7    ttypc
ptyp0    ptyp5    ptypa    ptypf    ttyS0    ttyp3    ttyp8    ttypd
ptyp1    ptyp6    ptypb    tty      ttyS1    ttyp4    ttyp9    ttype
ptyp2    ptyp7    ptypc    ttyACM0  ttyp0    ttyp5    ttypa    ttypf
[admin@WL-001E8C71B1D9 root]$ ls -l /sys/class/tty/ttyACM0
-r--r--r--    1 admin    root          4096 Jan  1 00:00 dev
lrwxrwxrwx    1 admin    root             0 Jan  1 00:05 device -> 
../../../devices/pci0000:00/0000:00:04.0/0000:01:03.2/usb1/1-1/1-1:1.0
lrwxrwxrwx    1 admin    root             0 Jan  1 00:05 subsystem -> ../../tty
-rw-r--r--    1 admin    root          4096 Jan  1 00:05 uevent
[admin@WL-001E8C71B1D9 root]$ ls -l /sys/class/tty/ttyACM1
-r--r--r--    1 admin    root          4096 Jan  1 00:00 dev
lrwxrwxrwx    1 admin    root             0 Jan  1 00:05 device -> 
../../../devices/pci0000:00/0000:00:04.0/0000:01:03.2/usb1/1-1/1-1:1.2
lrwxrwxrwx    1 admin    root             0 Jan  1 00:05 subsystem -> ../../tty
-rw-r--r--    1 admin    root          4096 Jan  1 00:05 uevent
[admin@WL-001E8C71B1D9 root]$ ls -l /sys/class/tty/ttyACM2
-r--r--r--    1 admin    root          4096 Jan  1 00:00 dev
lrwxrwxrwx    1 admin    root             0 Jan  1 00:05 device -> 
../../../devices/pci0000:00/0000:00:04.0/0000:01:03.2/usb1/1-1/1-1:1.5
lrwxrwxrwx    1 admin    root             0 Jan  1 00:05 subsystem -> ../../tty
-rw-r--r--    1 admin    root          4096 Jan  1 00:05 uevent
[admin@WL-001E8C71B1D9 root]$


greets

Original comment by neu...@wan4fun.com on 30 Nov 2012 at 2:16

  • Added labels: ****
  • Removed labels: ****
@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 29, 2015

Thanks for info. Can you try firmware with debug info? I will prepare it for 
you. For Wl500gpV1?

Please, also output of:

cat /sys/devices/pci0000:00/0000:00:04.0/0000:01:03.2/usb1/1-1/1-1:1.2/devpath
cat /sys/devices/pci0000:00/0000:00:04.0/0000:01:03.2/usb1/1-1/1-1:1.5/devpath

Original comment by lly.dev on 30 Nov 2012 at 4:20

  • Added labels: ****
  • Removed labels: ****
@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 29, 2015

yes i can try debug-firmware. i have wl500gp V1

but something is wrong with your command, i get:

[admin@WL-001E8C71B1D9 root]$ cat 
/sys//devices/pci0000:00/0000:00:04.0/0000:01:03.2/usb1/1-1/1-1:1.2/devpath
cat: can't open 
'/sys//devices/pci0000:00/0000:00:04.0/0000:01:03.2/usb1/1-1/1-1:1.2/devpath': 
No such file or directory
[admin@WL-001E8C71B1D9 root]$ ls 
/sys//devices/pci0000:00/0000:00:04.0/0000:01:03.2/usb1/1-1/1-1:1.2
bAlternateSetting      bInterfaceProtocol     bmCapabilities         ep_83      
            iad_bFunctionProtocol  modalias               uevent
bInterfaceClass        bInterfaceSubClass     bus                    
iad_bFirstInterface    iad_bFunctionSubClass  subsystem
bInterfaceNumber       bNumEndpoints          driver                 
iad_bFunctionClass     iad_bInterfaceCount    tty:ttyACM1

[admin@WL-001E8C71B1D9 root]$ cat 
/sys//devices/pci0000:00/0000:00:04.0/0000:01:03.2/usb1/1-1/1-1:1.5/devpath
cat: can't open 
'/sys//devices/pci0000:00/0000:00:04.0/0000:01:03.2/usb1/1-1/1-1:1.5/devpath': 
No such file or directory
[admin@WL-001E8C71B1D9 root]$ ls 
/sys//devices/pci0000:00/0000:00:04.0/0000:01:03.2/usb1/1-1/1-1:1.5
bAlternateSetting      bInterfaceProtocol     bmCapabilities         ep_86      
            iad_bFunctionProtocol  modalias               uevent
bInterfaceClass        bInterfaceSubClass     bus                    
iad_bFirstInterface    iad_bFunctionSubClass  subsystem
bInterfaceNumber       bNumEndpoints          driver                 
iad_bFunctionClass     iad_bInterfaceCount    tty:ttyACM2

Original comment by neu...@wan4fun.com on 30 Nov 2012 at 4:40

  • Added labels: ****
  • Removed labels: ****
@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 29, 2015

Please try http://wl500g.googlecode.com/files/WL500gp-1.9.2.7-rtn-r4735M.trx

I need output of:

dmesg|grep ttyACM

Original comment by lly.dev on 30 Nov 2012 at 5:35

  • Added labels: ****
  • Removed labels: ****
@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 29, 2015

sorry that it took so long, my son didn't want to sleep :)

first of all: With your firmware the modem dialed in. but after all it always 
hangup.

so the output from dmesg:

[admin@WL-001E8C71B1D9 root]$ dmesg|grep ttyACM
cdc_acm 1-1:1.0: ttyACM0: USB ACM device (call_num=1 data_num=1 control_num=0 
dataif_num=1)
cdc_acm 1-1:1.2: ttyACM1: USB ACM device (call_num=3 data_num=3 control_num=2 
dataif_num=3)
cdc_acm 1-1:1.5: ttyACM2: USB ACM device (call_num=6 data_num=6 control_num=5 
dataif_num=6)
cdc_acm 1-1:1.0: ttyACM0: USB ACM device (call_num=1 data_num=1 control_num=0 
dataif_num=1)
cdc_acm 1-1:1.2: ttyACM1: USB ACM device (call_num=3 data_num=3 control_num=2 
dataif_num=3)
cdc_acm 1-1:1.5: ttyACM2: USB ACM device (call_num=6 data_num=6 control_num=5 
dataif_num=6)

further more i attached the ppp_log. i don't know why there is something from 
IPv6, because i do not use it nor configured it!?!?

Original comment by neu...@wan4fun.com on 30 Nov 2012 at 10:30

  • Added labels: ****
  • Removed labels: ****

Attachments:

@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 29, 2015

Thanks for info. I'm going to commit improved cdc-acm driver, after that we 
will try fix dial scripts.

Original comment by lly.dev on 1 Dec 2012 at 7:40

  • Added labels: ****
  • Removed labels: ****
@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 29, 2015

Please open http://my.router/Advanced_ConnectionMode_Content.asp and try to 
change "Data port" manually with values 2, 5 or 4. After each changing simply 
press "Finish"/Save&Restart. When the modem will connected, please inform us 
about correct data/user interface port values.

Original comment by rssdev10@gmail.com on 1 Dec 2012 at 10:22

  • Added labels: ****
  • Removed labels: ****
@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 29, 2015

sorry, but the modem does not connect durable. i get always a disconnect. for 
me it looks like the modem reset itsel, because the kernel get an usb 
disconnect!?

i logged the informations with data port setting from 0 to 5. please see 
attached file.

Original comment by neu...@wan4fun.com on 1 Dec 2012 at 1:32

  • Added labels: ****
  • Removed labels: ****

Attachments:

@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 29, 2015

Thanks. No we know that the data port is 0 or 2.

If you really saw usb disconnect in "dmesg" then the problem is the modem that 
locked by ISP or insufficient power.

PS: I found the same problem description at 
http://eko.one.pl/forum/viewtopic.php?id=4085 but without decision.

Original comment by rssdev10@gmail.com on 1 Dec 2012 at 2:38

  • Added labels: ****
  • Removed labels: ****
@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 29, 2015

Please try new experimental build - 
http://wl500g.googlecode.com/files/WL500gp-1.9.2.7-rtn-r4735M2.trx

Original comment by lly.dev on 1 Dec 2012 at 5:41

  • Changed state: Started
  • Added labels: ****
  • Removed labels: ****
@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 29, 2015

until now it works! great! your so cool!

i have attached the syslog and the ppp-log for your interest.

Original comment by neu...@wan4fun.com on 1 Dec 2012 at 7:21

  • Added labels: ****
  • Removed labels: ****

Attachments:

@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 29, 2015

@ rssdev10@gmail.com

1. you are right, my modem is locked from ISP, but i use it with the same ISP, 
so it's no problem (it works on my PC without problems)
2. my power supply died after one week with my old modem, due to overload. 
since then i use a 4A power supply without problem.

but now it seems you have found the problem. thank you very much!

Original comment by neu...@wan4fun.com on 1 Dec 2012 at 7:29

  • Added labels: ****
  • Removed labels: ****
@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 29, 2015

ISP lock may be very different. For example, we know example of very ugly ZTE 
MF626 lock for Beeline mobile operator - vendor windows(only!) software uses 
challenge/response AT commands once per 2 minutes to keep it online. So, modem 
unusable under Linux totally, until it unlocked.

P.S. I close issue for now, reopen it in case of another problems.

Original comment by lly.dev on 2 Dec 2012 at 8:01

  • Changed state: Fixed
  • Added labels: ****
  • Removed labels: ****
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.