Author Message

<  Device Information  ~  Usb_modeswitch with ZTE AC8710

PostPosted: Fri May 15, 2009 6:16 pm Reply with quote
Posts: 28Joined: Sat May 09, 2009 9:55 pm
I did not get what you say, so I am trying to connect by wvdial.

And I connected for 4 seconds! =))))))

But then it automagically disconnected...

Here is my /etc/wvdial.conf

Code:
[Dialer Defaults]
Phone = #777
Username = login
Password = password
New PPPD = yes
Modem = /dev/ttyUSB0
Baud = 3686400


and here is output

Code:
khurtsiya@khurtsiya-laptop:~$ wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT
--> Carrier detected.  Waiting for prompt.
--> Connected, but carrier signal lost!  Retrying...
--> Sending: ATDT#777
--> Waiting for carrier.
~[7f]}#@!}!}!} }9}"}&} } } } }#}%B#}%}%}&[03]E`'}'}"}(}"xr~~[7f]}#@!}!}"} }9}"}&} } } } }#}%B#}%}%}&[03]E`'}'}"}(}"4[1f]~~[7f]}#@!}!}#} }9}"}&} } } } }#}%B#}%}%}&[03]E`'}'}"}(}"pD~~[7f]}#@!}!}$} }9}"}&} } } } }#}%B#}%}%}&[03]E`'}'}"}(}"=L~~[7f]}#@!}!}%} }9}"}&} } } } }#}%B#}%}%}&[03]E`'}'}"}(}"y}7~~[7f]}#@!}!}&} }9}"}&} } } } }#}%B#}%}%}&[03]E`'}'}"}(}"5z~~[7f]}#@!}!}'} }9}"}&} } } } }#}%B#}%}%}&[03]E`'}'}"}(}"q!~~[7f]}#@!}!}(} }9}"}&} } } } }#}%B#}%}%}&[03]E`'}'}"}(}">c~~[7f]}#@!}!})} }9}"}&} } } } }#}%B#}%}%}&[03]E`'}'}"}(}"z8~~[7f]}#@!}!}*} }9}"}&} } } } }#}%B#}%}%}&[03]E`'}'}"}(}"6U~


And plus one problem: after disconnection you should restart computer because modem no more initializes...


Offline Profile WWW ICQ
PostPosted: Fri May 15, 2009 6:55 pm Reply with quote
Site AdminPosts: 6280Joined: Sat Nov 03, 2007 12:30 am
khurtsiya wrote:
And plus one problem: after disconnection you should restart computer because modem no more initializes...
You mean disconnection of the device? Or disconnection from the call?

The strange lines you see with lots of }}}} are produced by the pppd program, trying to negotiate a network connection. You really should let gnome-ppp or a similar program do the job, now that you know it works.

Just make sure it uses "ttyUSB0" as the modem device.


Offline Profile
PostPosted: Sat May 16, 2009 9:11 am Reply with quote
Posts: 28Joined: Sat May 09, 2009 9:55 pm
I mean device.

If you connect and then disconnect even in GNOME-PPP you can not connect again because system does not see modem.

If you will try to Detect it with GNOME-PPP it shows

Image


Offline Profile WWW ICQ
PostPosted: Sat May 16, 2009 9:12 am Reply with quote
Posts: 28Joined: Sat May 09, 2009 9:55 pm
And one more.

I finally get connected with GNOME-PPP and surf in Opera, BUT FireFox didn't work at the same time! How is this possible? =)


Offline Profile WWW ICQ
PostPosted: Sat May 16, 2009 1:30 pm Reply with quote
Site AdminPosts: 6280Joined: Sat Nov 03, 2007 12:30 am
It has to be a setting in Firefox; that's logical.

Look for "Proxy Settings" or similar and see if it is set to "No Proxy". That is the only issue I can think of ...

Do you have other browsers?

You can also use the "ping" command to test if the connection and the name resolution is good ("ping www.heise.de", stop with ctrl-c).


Offline Profile
PostPosted: Sat May 16, 2009 1:34 pm Reply with quote
Posts: 28Joined: Sat May 09, 2009 9:55 pm
Correct. No problem with FF now.

But what I need to do to disconnect modem?

After pushing Disconnect I can not connect again =)


Offline Profile WWW ICQ
PostPosted: Sat May 16, 2009 2:45 pm Reply with quote
Site AdminPosts: 6280Joined: Sat Nov 03, 2007 12:30 am
First, we need to find out if something is happening to the modem on the USB level. You know now how it looks if the device is switched alright - you see "ttyUSB0" if you call "dmesg".

Now, what does "dmesg" show after you connected and disconnected again?


Offline Profile
PostPosted: Sat May 16, 2009 3:09 pm Reply with quote
Posts: 28Joined: Sat May 09, 2009 9:55 pm
dmesg before connection

Code:
[  189.527582] wlan0: associated

[  189.550447] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

[  190.698779] padlock: VIA PadLock not detected.

[  200.053018] wlan0: no IPv6 routers present

[  583.123539] scsi 5:0:0:0: rejecting I/O to dead device

[  583.217093] usb 5-1: USB disconnect, address 2

[  584.696391] usb 5-1: new full speed USB device using uhci_hcd and address 3

[  584.859114] usb 5-1: configuration #1 chosen from 1 choice

[  584.861381] usbserial_generic 5-1:1.0: generic converter detected

[  584.861505] usb 5-1: generic converter now attached to ttyUSB0

[  584.887080] usbserial_generic 5-1:1.1: generic converter detected

[  584.887183] usb 5-1: generic converter now attached to ttyUSB1

[  584.894482] usbserial_generic 5-1:1.2: generic converter detected

[  584.894581] usb 5-1: generic converter now attached to ttyUSB2

[  584.898183] usbserial_generic 5-1:1.3: generic converter detected

[  584.898278] usb 5-1: generic converter now attached to ttyUSB3


dmesg after disconnect

Code:
[  189.527582] wlan0: associated

[  189.550447] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

[  190.698779] padlock: VIA PadLock not detected.

[  200.053018] wlan0: no IPv6 routers present

[  583.123539] scsi 5:0:0:0: rejecting I/O to dead device

[  583.217093] usb 5-1: USB disconnect, address 2

[  584.696391] usb 5-1: new full speed USB device using uhci_hcd and address 3

[  584.859114] usb 5-1: configuration #1 chosen from 1 choice

[  584.861381] usbserial_generic 5-1:1.0: generic converter detected

[  584.861505] usb 5-1: generic converter now attached to ttyUSB0

[  584.887080] usbserial_generic 5-1:1.1: generic converter detected

[  584.887183] usb 5-1: generic converter now attached to ttyUSB1

[  584.894482] usbserial_generic 5-1:1.2: generic converter detected

[  584.894581] usb 5-1: generic converter now attached to ttyUSB2

[  584.898183] usbserial_generic 5-1:1.3: generic converter detected

[  584.898278] usb 5-1: generic converter now attached to ttyUSB3

[  705.897522] PPP BSD Compression module registered

[  705.929481] PPP Deflate Compression module registered


Offline Profile WWW ICQ
PostPosted: Sat May 16, 2009 5:29 pm Reply with quote
Site AdminPosts: 6280Joined: Sat Nov 03, 2007 12:30 am
So the modem is still there. It must be some other cause. I'm afraid I have no idea ...


Offline Profile
PostPosted: Tue May 19, 2009 6:31 am Reply with quote
Posts: 5Joined: Sat Apr 25, 2009 11:15 am
http://pastebin.com/m2afe3cc6

Now I've capture using the 0xfffd 0xff6 device which are actually the storage device and after they gets switched to modem mode which 0xfff1


Any clues ?


Offline Profile YIM
PostPosted: Tue May 19, 2009 10:45 pm Reply with quote
Site AdminPosts: 6280Joined: Sat Nov 03, 2007 12:30 am
Yes, that's the right one. And look at the second last bulk transfer "going down" (starting at line 639). That's the same message as khurtsiya's.

So just try the same steps but with your slightly different IDs.


Offline Profile
PostPosted: Thu Jun 25, 2009 10:40 pm Reply with quote
Posts: 28Joined: Sat May 09, 2009 9:55 pm
Hi there! I am back again :)

Just bought Asus Eee PC 901 and trying to use modem there.

Copied there my usb_modeswitch.conf and wvdial.conf.

When typing sudo usb_modeswithch it freezes here:

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


and that is all...

Any ideas why on Acer Aspire works and on Eee PC not?

TIA

Michael


Offline Profile WWW ICQ
PostPosted: Thu Jun 25, 2009 11:09 pm Reply with quote
Site AdminPosts: 6280Joined: Sat Nov 03, 2007 12:30 am
Are you able to stop the hang with <ctrl-c> ?

If not, can you use a second terminal at the same time and call "dmesg" right after the freeze?


Offline Profile
PostPosted: Thu Jun 25, 2009 11:19 pm Reply with quote
Posts: 28Joined: Sat May 09, 2009 9:55 pm
I stopped it and this is what I've got:

http://paste.ubuntu.com/203797/


Offline Profile WWW ICQ
PostPosted: Fri Jun 26, 2009 12:09 am Reply with quote
Site AdminPosts: 6280Joined: Sat Nov 03, 2007 12:30 am
The last line shows the problem:
Code:
scsi 3:0:0:0: rejecting I/O to dead device


This may be a hardware problem (try annother port, try a powered hub) or a kernel problem of your distribution. If you can, try a plain vanilla (original, unpatched) kernel.


Offline Profile

Display posts from previous:  Sort by:

All times are UTC + 1 hour [ DST ]
Page 4 of 5
64 posts
Go to page Previous  1, 2, 3, 4, 5  Next
Users browsing this forum: No registered users and 1 guest
Search for:
Post new topic  Reply to topic
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum