Re: Slow mobile broadband detection

2011-07-05 Thread D. Guandalino
2011/6/30 Dan Williams : > On Sun, 2011-06-19 at 15:48 +0200, D. Guandalino wrote: >> Hi, any news? > > If you're able to test a kernel patch, try this for the option driver. > If that works for you I'll submit it upstream. I have recompiled the module with the patch applied and now the whole proc

Re: Slow mobile broadband detection

2011-07-03 Thread Sérgio Basto
On Sat, 2011-07-02 at 23:05 +0100, Sérgio Basto wrote: > On Sat, 2011-07-02 at 16:38 -0500, Dan Williams wrote: > > But let me know if this > > works for you and then we can upstream this. > > No, doesn't improve speed detection. I compile Fedora kernel 2.6.38.6-27 > from src.rpm with patch , but

Re: Slow mobile broadband detection

2011-07-02 Thread Sérgio Basto
On Sat, 2011-07-02 at 16:38 -0500, Dan Williams wrote: > But let me know if this > works for you and then we can upstream this. No, doesn't improve speed detection. I compile Fedora kernel 2.6.38.6-27 from src.rpm with patch , but I don't got any improvement. Thanks, -- Sérgio M. B.

Re: Slow mobile broadband detection

2011-07-02 Thread Dan Williams
On Sat, 2011-07-02 at 14:10 +0100, Sérgio Basto wrote: > On Thu, 2011-06-30 at 12:21 -0500, Dan Williams wrote: > > On Sun, 2011-06-19 at 15:48 +0200, D. Guandalino wrote: > > > Hi, any news? > > > > If you're able to test a kernel patch, try this for the option driver. > > If that works for you

Re: Slow mobile broadband detection

2011-07-02 Thread Sérgio Basto
On Thu, 2011-06-30 at 12:21 -0500, Dan Williams wrote: > On Sun, 2011-06-19 at 15:48 +0200, D. Guandalino wrote: > > Hi, any news? > > If you're able to test a kernel patch, try this for the option driver. > If that works for you I'll submit it upstream. > > diff --git a/drivers/usb/serial/optio

Re: Slow mobile broadband detection

2011-07-02 Thread D. Guandalino
Wow, fantastic. I'll let you know something when I'll be able to check this (next week). Many thanks. 2011/6/30 Dan Williams : > On Sun, 2011-06-19 at 15:48 +0200, D. Guandalino wrote: >> Hi, any news? > > If you're able to test a kernel patch, try this for the option driver. > If that works for

Re: Slow mobile broadband detection

2011-06-30 Thread Dan Williams
On Sun, 2011-06-19 at 15:48 +0200, D. Guandalino wrote: > Hi, any news? If you're able to test a kernel patch, try this for the option driver. If that works for you I'll submit it upstream. diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index 4e7d3b4..bcd6e90 100644 --- a/

Re: Slow mobile broadband detection

2011-06-20 Thread Sérgio Basto
On Wed, 2011-06-15 at 00:30 +0200, Aleksander Morgado wrote: > So, this modem is reported as being a ZTE modem, and therefore uses the > ZTE plugin in ModemManager. > > 3 ports are found, (ttyUSB0,ttyUSB1 and ttyUSB2): > * Opening ttyUSB2 port doesn't take any time. > * Opening ttyUSB1 and ttyU

Re: Slow mobile broadband detection

2011-06-19 Thread D. Guandalino
Hi, any news? 2011/6/15 dave guandalino : > 2011/6/15 Dan Williams : >> Then grab full lsusb output like so: >> >> lsusb -v -d 08ff:2810 > > Hello, here is my output. If you'd like I'm at your disposal to apply > the patch locally and test it. Thanks! > > $ sudo lsusb -v -d 19d2:0037 > > Bus 002 D

Re: Slow mobile broadband detection

2011-06-16 Thread Sérgio Basto
Hi, I'm anxious, waiting for the kernel patch ... Thanks for all. On Wed, 2011-06-15 at 15:00 -0500, Dan Williams wrote: > On Wed, 2011-06-15 at 19:53 +0100, Sérgio Basto wrote: > > On Wed, 2011-06-15 at 12:41 -0500, Dan Williams wrote: > > > Ok, so this probably indicates that we need to add

Re: Slow mobile broadband detection

2011-06-15 Thread dave guandalino
2011/6/15 Dan Williams : > Then grab full lsusb output like so: > > lsusb -v -d 08ff:2810 Hello, here is my output. If you'd like I'm at your disposal to apply the patch locally and test it. Thanks! $ sudo lsusb -v -d 19d2:0037 Bus 002 Device 004: ID 19d2:0037 ONDA Communication S.p.A. Device De

Re: Slow mobile broadband detection

2011-06-15 Thread Sérgio Basto
On Wed, 2011-06-15 at 12:41 -0500, Dan Williams wrote: > Ok, so this probably indicates that we need to add your device to the > "sendsetup" quirk. If you run "lsusb" and find your device you'll get > something like: > > Bus 004 Device 002: ID 08ff:2810 AuthenTec, Inc. AES2810 > > Then grab full

Re: Slow mobile broadband detection

2011-06-15 Thread Dan Williams
On Wed, 2011-06-15 at 08:10 +0200, dave guandalino wrote: > > Except that patch only works for the 'option' driver, which is where > > most 3G modem USB IDs should be added. If your device's IDs aren't > > there, you can't take advantage of the fix. What are your device's IDs? > > Well. How can

Re: Slow mobile broadband detection

2011-06-14 Thread dave guandalino
> Except that patch only works for the 'option' driver, which is where > most 3G modem USB IDs should be added.  If your device's IDs aren't > there, you can't take advantage of the fix.  What are your device's IDs? Well. How can I determine them and check if they are present or not? Btw, the 'op

Re: Slow mobile broadband detection

2011-06-14 Thread Sérgio Basto
On Wed, 2011-06-15 at 06:10 +0100, Sérgio Basto wrote: > Hi, I send nm.log with /var/log/messages and yes since around 2.6.32 I > got this ZTE ... > if you need further logs please tell me. > I recently got other mobile 3G card, which test it today and is detect > in about 47 seconds, Correctio

Re: Slow mobile broadband detection

2011-06-14 Thread Sérgio Basto
On Tue, 2011-06-14 at 21:42 -0500, Dan Williams wrote: > On Tue, 2011-06-14 at 23:57 +0100, Sérgio Basto wrote: > > On Wed, 2011-06-15 at 00:30 +0200, Aleksander Morgado wrote: > > > So the overall modem detection needs up to 113s in your case, which > > > really is a lot, and mainly caused by the

Re: Slow mobile broadband detection

2011-06-14 Thread Dan Williams
On Tue, 2011-06-14 at 19:10 +0100, Sérgio Basto wrote: > On Tue, 2011-06-14 at 20:03 +0200, dave guandalino wrote: > > Hi, > > I'm using a multimode GPRS/EDGE/UMTS/HSDPA USB key for internet > > access, product ONDA WCDMA Technologies MSM. OS is Ubuntu Natty 11.04 > > 64-bit, NetworkManager 0.8.4.

Re: Slow mobile broadband detection

2011-06-14 Thread Dan Williams
On Tue, 2011-06-14 at 22:33 +0200, dave guandalino wrote: > 2011/6/14 : > > I had a similar problem several weeks ago and it turned out all I had to do > > was > > upgrade the kernel. Below is the reply from the list to resolve my problem. > > $ uname -a > Linux tk 2.6.38-8-generic #42-Ubuntu SMP

Re: Slow mobile broadband detection

2011-06-14 Thread Dan Williams
On Tue, 2011-06-14 at 23:57 +0100, Sérgio Basto wrote: > On Wed, 2011-06-15 at 00:30 +0200, Aleksander Morgado wrote: > > So the overall modem detection needs up to 113s in your case, which > > really is a lot, and mainly caused by the open/close port delays from > > the kernel. Without these huge

Re: Slow mobile broadband detection

2011-06-14 Thread Sérgio Basto
On Wed, 2011-06-15 at 00:30 +0200, Aleksander Morgado wrote: > So the overall modem detection needs up to 113s in your case, which > really is a lot, and mainly caused by the open/close port delays from > the kernel. Without these huge delays, the modem detection should take > around 20-25 max (gue

Re: Slow mobile broadband detection

2011-06-14 Thread Aleksander Morgado
On Tue, 2011-06-14 at 23:33 +0200, dave guandalino wrote: > 2011/6/14 Aleksander Morgado : > > :-( Sorry, I forgot one step... You need to: > > Np :-) Btw, thanks for watching. So, this modem is reported as being a ZTE modem, and therefore uses the ZTE plugin in ModemManager. 3 ports are found,

Re: Slow mobile broadband detection

2011-06-14 Thread dave guandalino
2011/6/14 Aleksander Morgado : > :-( Sorry, I forgot one step... You need to: Np :-) Btw, thanks for watching. $ sudo modem-manager --debug modem-manager[1710]: [1308086596.643189] [main.c:167] main(): ModemManager (version 0.4) starting... modem-manager[1710]: [1308086596.645190] [mm-manager.

Re: Slow mobile broadband detection

2011-06-14 Thread Aleksander Morgado
> > > Debug logs would be helpful. > > I attached them to this mail, hope this helps. > :-( Sorry, I forgot one step... You need to: $ killall modem-manager between the network-manager stop and the manual run of modem-manager. The attached MM logs are not useful, as MM just exited because th

Re: Slow mobile broadband detection

2011-06-14 Thread dave guandalino
2011/6/14 : > I had a similar problem several weeks ago and it turned out all I had to do > was > upgrade the kernel. Below is the reply from the list to resolve my problem. $ uname -a Linux tk 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux Hi Perazim

Re: Slow mobile broadband detection

2011-06-14 Thread perazim
I had a similar problem several weeks ago and it turned out all I had to do was upgrade the kernel. Below is the reply from the list to resolve my problem. Perazim On Thu, 2011-05-12 at 21:29 +0100, pera...@portugalmail.pt wrote: Dan, Attached are the messages log and the modem-manager log f

Re: Slow mobile broadband detection

2011-06-14 Thread dave guandalino
Hello, > Debug logs would be helpful. I attached them to this mail, hope this helps. > files in the email, pastebins usually expire). Once you have them, Ctrl > +C in each terminal will stop the debug processes, and then done you can > go back to non-debug: > $> sudo /etc/init.d/network-manager

Re: Slow mobile broadband detection

2011-06-14 Thread Aleksander Morgado
> I'm using a multimode GPRS/EDGE/UMTS/HSDPA USB key for internet > access, product ONDA WCDMA Technologies MSM. OS is Ubuntu Natty 11.04 > 64-bit, NetworkManager 0.8.4. > > The device always connects and once connected it works pretty fine, > the only problem is that it takes some minutes before

Re: Slow mobile broadband detection

2011-06-14 Thread Sérgio Basto
On Tue, 2011-06-14 at 20:03 +0200, dave guandalino wrote: > Hi, > I'm using a multimode GPRS/EDGE/UMTS/HSDPA USB key for internet > access, product ONDA WCDMA Technologies MSM. OS is Ubuntu Natty 11.04 > 64-bit, NetworkManager 0.8.4. > > The device always connects and once connected it works pret

Slow mobile broadband detection

2011-06-14 Thread dave guandalino
Hi, I'm using a multimode GPRS/EDGE/UMTS/HSDPA USB key for internet access, product ONDA WCDMA Technologies MSM. OS is Ubuntu Natty 11.04 64-bit, NetworkManager 0.8.4. The device always connects and once connected it works pretty fine, the only problem is that it takes some minutes before the dong