Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-23 Thread James Cameron
Thanks, I have closed #12340 with a brief note.

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-23 Thread Ajay Garg
Hi all.

*
I tested on XO-1.75 with os14; the frame appeared fine (booting-up with the
USB-flash drive, and USB-modem inserted) !!!

*
Pulling off my hair, I re-tested on XO-1.75 with os11 (booting-up with the
USB-flash drive, and USB-modem inserted) ; thankfully, the frame-icon did
not appear (as before).

*
I then tested on XO-1.75 with the os12 (booting up with the USB-flash
drive, and USB-modem inserted); the frame-icon appeared FINE here too.


I compared the packages-difference between os11 and os12; os12 has an
updated version of usb_modeswitch and usb_modeswitch_data. Also, in os12,
there is no more the error

usb_modeswitch_dispatcher: *** glibc detected ***
usb_modeswitch_dispatcher: double free or corruption (!prev):
0x00081fe0 ***

that was happening in os11 (in the culprit case, that is).


So, bad news   : Things are happening without us  knowing the root-cause :-\
 good news  : Seems like http://dev.laptop.org/ticket/12340 can  be
closed :D


Thanks everyone for the help (especially James).



On Sat, Nov 24, 2012 at 10:31 AM, RJV  wrote:

> Thanks, James/Tony. But that works, too, fine. The mobile icon plus the
> frame presence is ok.
>
> Another thing, though, that I have noticed is,
>
> With the 3G USB stick in, after Disconnec-ting and Remove-ing (with PM
> off) when I select Shut Down, it does not shut down normally. I have to
> Power off the system.
>
> XO 1.75 - 3.1, 12.1, 0.96, Build 21,
>
> Regards,
>
> Jv
>
>
> On Sat, Nov 24, 2012 at 10:28 AM, James Cameron  wrote:
>
>> On Sat, Nov 24, 2012 at 10:14:41AM +0530, RJV wrote:
>> > Hi James,
>> >
>> > >> I agree that the frame icon for the modem may not be present if power
>> > managament was enabled,
>> >
>> > The frame does work with the Power Management option unchecked. What
>> does "the
>> > frame icon for the modem" mean?
>>
>> http://wiki.sugarlabs.org/go/Features/3G_Support
>> "An icon will be added to the frame when a modem is connected, and the
>> user will be able to connect and disconnect from there."
>>
>> Also known as the "GSM device palette".
>> http://wiki.sugarlabs.org/go/Features/3G_Support/Share
>>
>> Since these mockups the icon has changed to a symbol for a mobile
>> telephone.
>>
>> The palette has not changed much, if at all.
>>
>> >
>> > Jv
>> >
>> >
>> >
>> > On Sat, Nov 24, 2012 at 2:51 AM, James Cameron 
>> wrote:
>> >
>> > That's not what Ajay said here:
>> > http://lists.laptop.org/pipermail/devel/2012-November/036409.html
>> >
>> > Ajay, can you confirm in the above posting that all power management
>> > was disabled?
>> >
>> > I agree that the frame icon for the modem may not be present if
>> power
>> > managament was enabled, but I see that as a separate problem now.
>> >
>> > On Fri, Nov 23, 2012 at 05:20:45PM +0530, RJV wrote:
>> > > As Jerry mentioned, the trick is to uncheck Power Management
>> option under
>> > the
>> > > Power options of the laptop. Otherwise, the scenarios outlined by
>> Ajay
>> > can be
>> > > reproduced.
>> > >
>> > > It seems the power supply to the USB ports do make a difference.
>> > >
>> > > Regards,
>> > >
>> > > Ravichandran J.V.
>> > >
>> > >
>> > > On Fri, Nov 23, 2012 at 1:52 PM,  wrote:
>> > >
>> > > USB flash drive
>> > >
>> > > > On Fri, Nov 23, 2012 at 06:08:26PM +1100,
>> fors...@ozonline.com.au
>> > wrote:
>> > > > > I repeated these tests
>> > > >
>> > > > Thanks!
>> > > >
>> > > > > XO-1.75 and XO-4
>> > > > > OS14
>> > > > > Huawei E160E modem
>> > > > > Imation 8GB memory stick
>> > > >
>> > > > Is this actually a Memory Stick or do you mean a USB flash
>> drive?
>> > > > http://en.wikipedia.org/wiki/Memory_Stick
>> > > >
>> > > > Ajay said pen-drive, and I took that to mean a USB flash
>> drive.
>> > > >
>> > > > > I was unable to replicate the fault described by Ajay,
>> the modem
>> > > > > appeared in the frame, both plugged in after boot and
>> before boot
>> > > > >
>> > > > > but for both laptops
>> > > > >
>> > > > > In the first test, memory stick and modem plugged in
>> after boot,
>> > the
>> > > > > frame never got past displaying connecting, even though I
>> could
>> > > > > browse the net ok
>> > > >
>> > > > Yes, this is SL #4255.
>> > > >
>> > > > > In the second test, memory stick and modem plugged in
>> before
>> > boot, I
>> > > > > got to the connected display in the frame but the upload
>> and
>> > > > > download kB counters never updated past 0 even though I
>> was
>> > > > > browsing, the connected time did update ok.
>> > > >
>> > > > Interesting, thanks.  Updated SL #4255.  I've never seen
>> data
>> > counters
>> > > > in 13.1.0 builds.
>> >

Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-23 Thread RJV
>> (I don't know what 3.1 means).
Linux version. I hope the terminology is correct!

I will ask Ajay to do that (raise a ticket) on 13.1 build 14. I shall be
meeting or talking with Ajay today.

I will also check out if the Shut Down problem happens in Ajay's XO.

Regards,

Jv


On Sat, Nov 24, 2012 at 10:46 AM, James Cameron  wrote:

> On Sat, Nov 24, 2012 at 10:31:16AM +0530, RJV wrote:
> > Thanks, James/Tony. But that works, too, fine. The mobile icon plus
> > the frame presence is ok.
>
> So you have tried but cannot reproduce the problem identified by Ajay,
> where the icon does not appear if (a) a USB flash drive is present at
> boot, and (b) the modem is present at boot?
>
> Or just not tried?  I don't mind either way, I only seek to
> understand Ajay's problem.
>
> > Another thing, though, that I have noticed is,
> >
> > With the 3G USB stick in, after Disconnec-ting and Remove-ing (with
> > PM off) when I select Shut Down, it does not shut down normally. I
> > have to Power off the system.
>
> Sounds very different problem.
>
> > XO 1.75 - 3.1, 12.1, 0.96, Build 21,
>
> 12.1.0 build 21 is stable, current development is on 13.1.0 build 14,
> could you please reproduce this different problem with 13.1.0 build 14
> and then raise a ticket?
>
> (I don't know what 3.1 means).
>
> --
> James Cameron
> http://quozl.linux.org.au/
>



-- 
Regards,

*Ravichandran J.V.*
http://ravichandranjv.blogspot.com
XO 1.75 - 3.1, 12.1, 0.96, Build 21
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-23 Thread James Cameron
On Sat, Nov 24, 2012 at 10:31:16AM +0530, RJV wrote:
> Thanks, James/Tony. But that works, too, fine. The mobile icon plus
> the frame presence is ok.

So you have tried but cannot reproduce the problem identified by Ajay,
where the icon does not appear if (a) a USB flash drive is present at
boot, and (b) the modem is present at boot?

Or just not tried?  I don't mind either way, I only seek to
understand Ajay's problem.

> Another thing, though, that I have noticed is,
> 
> With the 3G USB stick in, after Disconnec-ting and Remove-ing (with
> PM off) when I select Shut Down, it does not shut down normally. I
> have to Power off the system.

Sounds very different problem.

> XO 1.75 - 3.1, 12.1, 0.96, Build 21, 

12.1.0 build 21 is stable, current development is on 13.1.0 build 14,
could you please reproduce this different problem with 13.1.0 build 14
and then raise a ticket?

(I don't know what 3.1 means).

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-23 Thread RJV
Thanks, James/Tony. But that works, too, fine. The mobile icon plus the
frame presence is ok.

Another thing, though, that I have noticed is,

With the 3G USB stick in, after Disconnec-ting and Remove-ing (with PM off)
when I select Shut Down, it does not shut down normally. I have to Power
off the system.

XO 1.75 - 3.1, 12.1, 0.96, Build 21,

Regards,

Jv

On Sat, Nov 24, 2012 at 10:28 AM, James Cameron  wrote:

> On Sat, Nov 24, 2012 at 10:14:41AM +0530, RJV wrote:
> > Hi James,
> >
> > >> I agree that the frame icon for the modem may not be present if power
> > managament was enabled,
> >
> > The frame does work with the Power Management option unchecked. What
> does "the
> > frame icon for the modem" mean?
>
> http://wiki.sugarlabs.org/go/Features/3G_Support
> "An icon will be added to the frame when a modem is connected, and the
> user will be able to connect and disconnect from there."
>
> Also known as the "GSM device palette".
> http://wiki.sugarlabs.org/go/Features/3G_Support/Share
>
> Since these mockups the icon has changed to a symbol for a mobile
> telephone.
>
> The palette has not changed much, if at all.
>
> >
> > Jv
> >
> >
> >
> > On Sat, Nov 24, 2012 at 2:51 AM, James Cameron  wrote:
> >
> > That's not what Ajay said here:
> > http://lists.laptop.org/pipermail/devel/2012-November/036409.html
> >
> > Ajay, can you confirm in the above posting that all power management
> > was disabled?
> >
> > I agree that the frame icon for the modem may not be present if power
> > managament was enabled, but I see that as a separate problem now.
> >
> > On Fri, Nov 23, 2012 at 05:20:45PM +0530, RJV wrote:
> > > As Jerry mentioned, the trick is to uncheck Power Management
> option under
> > the
> > > Power options of the laptop. Otherwise, the scenarios outlined by
> Ajay
> > can be
> > > reproduced.
> > >
> > > It seems the power supply to the USB ports do make a difference.
> > >
> > > Regards,
> > >
> > > Ravichandran J.V.
> > >
> > >
> > > On Fri, Nov 23, 2012 at 1:52 PM,  wrote:
> > >
> > > USB flash drive
> > >
> > > > On Fri, Nov 23, 2012 at 06:08:26PM +1100,
> fors...@ozonline.com.au
> > wrote:
> > > > > I repeated these tests
> > > >
> > > > Thanks!
> > > >
> > > > > XO-1.75 and XO-4
> > > > > OS14
> > > > > Huawei E160E modem
> > > > > Imation 8GB memory stick
> > > >
> > > > Is this actually a Memory Stick or do you mean a USB flash
> drive?
> > > > http://en.wikipedia.org/wiki/Memory_Stick
> > > >
> > > > Ajay said pen-drive, and I took that to mean a USB flash
> drive.
> > > >
> > > > > I was unable to replicate the fault described by Ajay, the
> modem
> > > > > appeared in the frame, both plugged in after boot and
> before boot
> > > > >
> > > > > but for both laptops
> > > > >
> > > > > In the first test, memory stick and modem plugged in after
> boot,
> > the
> > > > > frame never got past displaying connecting, even though I
> could
> > > > > browse the net ok
> > > >
> > > > Yes, this is SL #4255.
> > > >
> > > > > In the second test, memory stick and modem plugged in
> before
> > boot, I
> > > > > got to the connected display in the frame but the upload
> and
> > > > > download kB counters never updated past 0 even though I was
> > > > > browsing, the connected time did update ok.
> > > >
> > > > Interesting, thanks.  Updated SL #4255.  I've never seen data
> > counters
> > > > in 13.1.0 builds.
> > > >
> > > > > I did not try without the memory stick.
> > > >
> > > > I think your tests show that Ajay's problem is likely to be
> unique
> > to
> > > > the pen-drive in use.  Thanks for that.
> > > >
> > > > --
> > > > James Cameron
> > > > http://quozl.linux.org.au/
> > > > ___
> > > > Devel mailing list
> > > > de...@lists.laptop.org
> > > > http://lists.laptop.org/listinfo/devel
> > > >
> > > > _
> > > > This mail has been virus scanned by Australia On Line
> > > > see http://www.australiaonline.net.au/mailscanning
> > >
> > > ___
> > > Devel mailing list
> > > de...@lists.laptop.org
> > > http://lists.laptop.org/listinfo/devel
> > >
> > >
> > >
> > >
> > > --
> > > Regards,
> > >
> > > Ravichandran Jv
> > > http://ravichandranjv.blogspot.com
> >
> > --
> > James Cameron
> > http://quozl.linux.org.au/
> >
> >
> >
> >
> > --
> > Regards,
> >
> > Ravichandr

Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-23 Thread James Cameron
On Sat, Nov 24, 2012 at 10:14:41AM +0530, RJV wrote:
> Hi James,
> 
> >> I agree that the frame icon for the modem may not be present if power
> managament was enabled, 
> 
> The frame does work with the Power Management option unchecked. What does "the
> frame icon for the modem" mean?

http://wiki.sugarlabs.org/go/Features/3G_Support
"An icon will be added to the frame when a modem is connected, and the
user will be able to connect and disconnect from there."

Also known as the "GSM device palette".
http://wiki.sugarlabs.org/go/Features/3G_Support/Share

Since these mockups the icon has changed to a symbol for a mobile
telephone.

The palette has not changed much, if at all.

> 
> Jv
> 
> 
> 
> On Sat, Nov 24, 2012 at 2:51 AM, James Cameron  wrote:
> 
> That's not what Ajay said here:
> http://lists.laptop.org/pipermail/devel/2012-November/036409.html
> 
> Ajay, can you confirm in the above posting that all power management
> was disabled?
> 
> I agree that the frame icon for the modem may not be present if power
> managament was enabled, but I see that as a separate problem now.
> 
> On Fri, Nov 23, 2012 at 05:20:45PM +0530, RJV wrote:
> > As Jerry mentioned, the trick is to uncheck Power Management option 
> under
> the
> > Power options of the laptop. Otherwise, the scenarios outlined by Ajay
> can be
> > reproduced.
> >
> > It seems the power supply to the USB ports do make a difference.
> >
> > Regards,
> >
> > Ravichandran J.V.
> >
> >
> > On Fri, Nov 23, 2012 at 1:52 PM,  wrote:
> >
> > USB flash drive
> >
> > > On Fri, Nov 23, 2012 at 06:08:26PM +1100, fors...@ozonline.com.au
> wrote:
> > > > I repeated these tests
> > >
> > > Thanks!
> > >
> > > > XO-1.75 and XO-4
> > > > OS14
> > > > Huawei E160E modem
> > > > Imation 8GB memory stick
> > >
> > > Is this actually a Memory Stick or do you mean a USB flash drive?
> > > http://en.wikipedia.org/wiki/Memory_Stick
> > >
> > > Ajay said pen-drive, and I took that to mean a USB flash drive.
> > >
> > > > I was unable to replicate the fault described by Ajay, the modem
> > > > appeared in the frame, both plugged in after boot and before 
> boot
> > > >
> > > > but for both laptops
> > > >
> > > > In the first test, memory stick and modem plugged in after boot,
> the
> > > > frame never got past displaying connecting, even though I could
> > > > browse the net ok
> > >
> > > Yes, this is SL #4255.
> > >
> > > > In the second test, memory stick and modem plugged in before
> boot, I
> > > > got to the connected display in the frame but the upload and
> > > > download kB counters never updated past 0 even though I was
> > > > browsing, the connected time did update ok.
> > >
> > > Interesting, thanks.  Updated SL #4255.  I've never seen data
> counters
> > > in 13.1.0 builds.
> > >
> > > > I did not try without the memory stick.
> > >
> > > I think your tests show that Ajay's problem is likely to be unique
> to
> > > the pen-drive in use.  Thanks for that.
> > >
> > > --
> > > James Cameron
> > > http://quozl.linux.org.au/
> > > ___
> > > Devel mailing list
> > > de...@lists.laptop.org
> > > http://lists.laptop.org/listinfo/devel
> > >
> > > _
> > > This mail has been virus scanned by Australia On Line
> > > see http://www.australiaonline.net.au/mailscanning
> >
> > ___
> > Devel mailing list
> > de...@lists.laptop.org
> > http://lists.laptop.org/listinfo/devel
> >
> >
> >
> >
> > --
> > Regards,
> >
> > Ravichandran Jv
> > http://ravichandranjv.blogspot.com
> 
> --
> James Cameron
> http://quozl.linux.org.au/
> 
> 
> 
> 
> --
> Regards,
> 
> Ravichandran Jv
> http://ravichandranjv.blogspot.com

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-23 Thread forster
> Hi James,
> 
> >> I agree that the frame icon for the modem may not be present if power
> managament was enabled,
> 
> The frame does work with the Power Management option unchecked. What does
> "the frame icon for the modem" mean?

see http://wiki.sugarlabs.org/go/File:Gsm_share_state0.png

which shows the icon for the modem being clicked
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-23 Thread RJV
Hi James,

>> I agree that the frame icon for the modem may not be present if power
managament was enabled,

The frame does work with the Power Management option unchecked. What does
"the frame icon for the modem" mean?

Jv



On Sat, Nov 24, 2012 at 2:51 AM, James Cameron  wrote:

> That's not what Ajay said here:
> http://lists.laptop.org/pipermail/devel/2012-November/036409.html
>
> Ajay, can you confirm in the above posting that all power management
> was disabled?
>
> I agree that the frame icon for the modem may not be present if power
> managament was enabled, but I see that as a separate problem now.
>
> On Fri, Nov 23, 2012 at 05:20:45PM +0530, RJV wrote:
> > As Jerry mentioned, the trick is to uncheck Power Management option
> under the
> > Power options of the laptop. Otherwise, the scenarios outlined by Ajay
> can be
> > reproduced.
> >
> > It seems the power supply to the USB ports do make a difference.
> >
> > Regards,
> >
> > Ravichandran J.V.
> >
> >
> > On Fri, Nov 23, 2012 at 1:52 PM,  wrote:
> >
> > USB flash drive
> >
> > > On Fri, Nov 23, 2012 at 06:08:26PM +1100, 
> > fors...@ozonline.com.auwrote:
> > > > I repeated these tests
> > >
> > > Thanks!
> > >
> > > > XO-1.75 and XO-4
> > > > OS14
> > > > Huawei E160E modem
> > > > Imation 8GB memory stick
> > >
> > > Is this actually a Memory Stick or do you mean a USB flash drive?
> > > http://en.wikipedia.org/wiki/Memory_Stick
> > >
> > > Ajay said pen-drive, and I took that to mean a USB flash drive.
> > >
> > > > I was unable to replicate the fault described by Ajay, the modem
> > > > appeared in the frame, both plugged in after boot and before boot
> > > >
> > > > but for both laptops
> > > >
> > > > In the first test, memory stick and modem plugged in after boot,
> the
> > > > frame never got past displaying connecting, even though I could
> > > > browse the net ok
> > >
> > > Yes, this is SL #4255.
> > >
> > > > In the second test, memory stick and modem plugged in before
> boot, I
> > > > got to the connected display in the frame but the upload and
> > > > download kB counters never updated past 0 even though I was
> > > > browsing, the connected time did update ok.
> > >
> > > Interesting, thanks.  Updated SL #4255.  I've never seen data
> counters
> > > in 13.1.0 builds.
> > >
> > > > I did not try without the memory stick.
> > >
> > > I think your tests show that Ajay's problem is likely to be unique
> to
> > > the pen-drive in use.  Thanks for that.
> > >
> > > --
> > > James Cameron
> > > http://quozl.linux.org.au/
> > > ___
> > > Devel mailing list
> > > de...@lists.laptop.org
> > > http://lists.laptop.org/listinfo/devel
> > >
> > > _
> > > This mail has been virus scanned by Australia On Line
> > > see http://www.australiaonline.net.au/mailscanning
> >
> > ___
> > Devel mailing list
> > de...@lists.laptop.org
> > http://lists.laptop.org/listinfo/devel
> >
> >
> >
> >
> > --
> > Regards,
> >
> > Ravichandran Jv
> > http://ravichandranjv.blogspot.com
>
> --
> James Cameron
> http://quozl.linux.org.au/
>



-- 
Regards,

Ravichandran Jv
http://ravichandranjv.blogspot.com
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-23 Thread James Cameron
That's not what Ajay said here:
http://lists.laptop.org/pipermail/devel/2012-November/036409.html

Ajay, can you confirm in the above posting that all power management
was disabled?

I agree that the frame icon for the modem may not be present if power
managament was enabled, but I see that as a separate problem now.

On Fri, Nov 23, 2012 at 05:20:45PM +0530, RJV wrote:
> As Jerry mentioned, the trick is to uncheck Power Management option under the
> Power options of the laptop. Otherwise, the scenarios outlined by Ajay can be
> reproduced.
> 
> It seems the power supply to the USB ports do make a difference.
> 
> Regards,
> 
> Ravichandran J.V.
> 
> 
> On Fri, Nov 23, 2012 at 1:52 PM,  wrote:
> 
> USB flash drive
> 
> > On Fri, Nov 23, 2012 at 06:08:26PM +1100, fors...@ozonline.com.au wrote:
> > > I repeated these tests
> >
> > Thanks!
> >
> > > XO-1.75 and XO-4
> > > OS14
> > > Huawei E160E modem
> > > Imation 8GB memory stick
> >
> > Is this actually a Memory Stick or do you mean a USB flash drive?
> > http://en.wikipedia.org/wiki/Memory_Stick
> >
> > Ajay said pen-drive, and I took that to mean a USB flash drive.
> >
> > > I was unable to replicate the fault described by Ajay, the modem
> > > appeared in the frame, both plugged in after boot and before boot
> > >
> > > but for both laptops
> > >
> > > In the first test, memory stick and modem plugged in after boot, the
> > > frame never got past displaying connecting, even though I could
> > > browse the net ok
> >
> > Yes, this is SL #4255.
> >
> > > In the second test, memory stick and modem plugged in before boot, I
> > > got to the connected display in the frame but the upload and
> > > download kB counters never updated past 0 even though I was
> > > browsing, the connected time did update ok.
> >
> > Interesting, thanks.  Updated SL #4255.  I've never seen data counters
> > in 13.1.0 builds.
> >
> > > I did not try without the memory stick.
> >
> > I think your tests show that Ajay's problem is likely to be unique to
> > the pen-drive in use.  Thanks for that.
> >
> > --
> > James Cameron
> > http://quozl.linux.org.au/
> > ___
> > Devel mailing list
> > de...@lists.laptop.org
> > http://lists.laptop.org/listinfo/devel
> >
> > _
> > This mail has been virus scanned by Australia On Line
> > see http://www.australiaonline.net.au/mailscanning
> 
> ___
> Devel mailing list
> de...@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
> 
> 
> 
> 
> --
> Regards,
> 
> Ravichandran Jv
> http://ravichandranjv.blogspot.com

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-23 Thread RJV
As Jerry mentioned, the trick is to uncheck Power Management option under
the Power options of the laptop. Otherwise, the scenarios outlined by Ajay
can be reproduced.

It seems the power supply to the USB ports do make a difference.

Regards,

Ravichandran J.V.


On Fri, Nov 23, 2012 at 1:52 PM,  wrote:

> USB flash drive
>
> > On Fri, Nov 23, 2012 at 06:08:26PM +1100, fors...@ozonline.com.au wrote:
> > > I repeated these tests
> >
> > Thanks!
> >
> > > XO-1.75 and XO-4
> > > OS14
> > > Huawei E160E modem
> > > Imation 8GB memory stick
> >
> > Is this actually a Memory Stick or do you mean a USB flash drive?
> > http://en.wikipedia.org/wiki/Memory_Stick
> >
> > Ajay said pen-drive, and I took that to mean a USB flash drive.
> >
> > > I was unable to replicate the fault described by Ajay, the modem
> > > appeared in the frame, both plugged in after boot and before boot
> > >
> > > but for both laptops
> > >
> > > In the first test, memory stick and modem plugged in after boot, the
> > > frame never got past displaying connecting, even though I could
> > > browse the net ok
> >
> > Yes, this is SL #4255.
> >
> > > In the second test, memory stick and modem plugged in before boot, I
> > > got to the connected display in the frame but the upload and
> > > download kB counters never updated past 0 even though I was
> > > browsing, the connected time did update ok.
> >
> > Interesting, thanks.  Updated SL #4255.  I've never seen data counters
> > in 13.1.0 builds.
> >
> > > I did not try without the memory stick.
> >
> > I think your tests show that Ajay's problem is likely to be unique to
> > the pen-drive in use.  Thanks for that.
> >
> > --
> > James Cameron
> > http://quozl.linux.org.au/
> > ___
> > Devel mailing list
> > de...@lists.laptop.org
> > http://lists.laptop.org/listinfo/devel
> >
> > _
> > This mail has been virus scanned by Australia On Line
> > see http://www.australiaonline.net.au/mailscanning
>
> ___
> Devel mailing list
> de...@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>



-- 
Regards,

Ravichandran Jv
http://ravichandranjv.blogspot.com
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-23 Thread forster
USB flash drive

> On Fri, Nov 23, 2012 at 06:08:26PM +1100, fors...@ozonline.com.au wrote:
> > I repeated these tests
> 
> Thanks!
> 
> > XO-1.75 and XO-4
> > OS14
> > Huawei E160E modem
> > Imation 8GB memory stick
> 
> Is this actually a Memory Stick or do you mean a USB flash drive?
> http://en.wikipedia.org/wiki/Memory_Stick
> 
> Ajay said pen-drive, and I took that to mean a USB flash drive.
> 
> > I was unable to replicate the fault described by Ajay, the modem
> > appeared in the frame, both plugged in after boot and before boot
> > 
> > but for both laptops
> > 
> > In the first test, memory stick and modem plugged in after boot, the
> > frame never got past displaying connecting, even though I could
> > browse the net ok
> 
> Yes, this is SL #4255.
> 
> > In the second test, memory stick and modem plugged in before boot, I
> > got to the connected display in the frame but the upload and
> > download kB counters never updated past 0 even though I was
> > browsing, the connected time did update ok.
> 
> Interesting, thanks.  Updated SL #4255.  I've never seen data counters
> in 13.1.0 builds.
> 
> > I did not try without the memory stick.
> 
> I think your tests show that Ajay's problem is likely to be unique to
> the pen-drive in use.  Thanks for that.
> 
> -- 
> James Cameron
> http://quozl.linux.org.au/
> ___
> Devel mailing list
> de...@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
> 
> _
> This mail has been virus scanned by Australia On Line
> see http://www.australiaonline.net.au/mailscanning

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-22 Thread James Cameron
On Fri, Nov 23, 2012 at 06:08:26PM +1100, fors...@ozonline.com.au wrote:
> I repeated these tests

Thanks!

> XO-1.75 and XO-4
> OS14
> Huawei E160E modem
> Imation 8GB memory stick

Is this actually a Memory Stick or do you mean a USB flash drive?
http://en.wikipedia.org/wiki/Memory_Stick

Ajay said pen-drive, and I took that to mean a USB flash drive.

> I was unable to replicate the fault described by Ajay, the modem
> appeared in the frame, both plugged in after boot and before boot
> 
> but for both laptops
> 
> In the first test, memory stick and modem plugged in after boot, the
> frame never got past displaying connecting, even though I could
> browse the net ok

Yes, this is SL #4255.

> In the second test, memory stick and modem plugged in before boot, I
> got to the connected display in the frame but the upload and
> download kB counters never updated past 0 even though I was
> browsing, the connected time did update ok.

Interesting, thanks.  Updated SL #4255.  I've never seen data counters
in 13.1.0 builds.

> I did not try without the memory stick.

I think your tests show that Ajay's problem is likely to be unique to
the pen-drive in use.  Thanks for that.

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-22 Thread forster
I repeated these tests
XO-1.75 and XO-4
OS14
Huawei E160E modem
Imation 8GB memory stick

I was unable to replicate the fault described by Ajay, the modem appeared in 
the frame, both plugged in after boot and before boot

but for both laptops

In the first test, memory stick and modem plugged in after boot, the frame 
never got past displaying connecting, even though I could browse the net ok

In the second test, memory stick and modem plugged in before boot, I got to the 
connected display in the frame but the upload and download kB counters never 
updated past 0 even though I was browsing, the connected time did update ok.

I did not try without the memory stick.

Tony

> I downloaded 13.1.0 os14 for XO-1.75 and tested for your problem about
> ten times, and it never happened.
> 
> I don't know if there was a fix, or if your USB flash drive is somehow
> unique.
> 
> I suggest you try testing os14, or dig deeper into why cdc_ether is
> not starting.
> 
> On Thu, Nov 22, 2012 at 12:44:33PM +0530, Ajay Garg wrote:
> > I just compared the "case_*_messages" files, and it seems that the reason of
> > the modem not being listed/detected/appearing in case 1, is because the
> > "cdc_ether" driver doesn't start upon boot.
> > 
> > 
> > On Thu, Nov 22, 2012 at 11:31 AM, James Cameron  wrote:
> > 
> > That's very interesting.  So it is the pen drive causing the problem.
> > Does a pen drive of a different manufacturer also cause the problem?
> > 
> > (I see a similar problem on XO-4 B1 with 13.1.0 os12, ... if any pen
> > drive is attached the modem is detected by the kernel, not shown by
> > frame, and not shown by "nmcli dev", but as I know the USB host has
> > power design problems, I'm not sure how reliable this fact is.)
> > 
> > #12340
> > 
> > --
> > James Cameron
> > http://quozl.linux.org.au/
> > 
> > 
> > 
> > 
> > Regards,
> > 
> > Ajay Garg
> > Dextrose Developer
> > Activity Central: http://activitycentral.com
> 
> -- 
> James Cameron
> http://quozl.linux.org.au/
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
> 
> _
> This mail has been virus scanned by Australia On Line
> see http://www.australiaonline.net.au/mailscanning

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-22 Thread James Cameron
I downloaded 13.1.0 os14 for XO-1.75 and tested for your problem about
ten times, and it never happened.

I don't know if there was a fix, or if your USB flash drive is somehow
unique.

I suggest you try testing os14, or dig deeper into why cdc_ether is
not starting.

On Thu, Nov 22, 2012 at 12:44:33PM +0530, Ajay Garg wrote:
> I just compared the "case_*_messages" files, and it seems that the reason of
> the modem not being listed/detected/appearing in case 1, is because the
> "cdc_ether" driver doesn't start upon boot.
> 
> 
> On Thu, Nov 22, 2012 at 11:31 AM, James Cameron  wrote:
> 
> That's very interesting.  So it is the pen drive causing the problem.
> Does a pen drive of a different manufacturer also cause the problem?
> 
> (I see a similar problem on XO-4 B1 with 13.1.0 os12, ... if any pen
> drive is attached the modem is detected by the kernel, not shown by
> frame, and not shown by "nmcli dev", but as I know the USB host has
> power design problems, I'm not sure how reliable this fact is.)
> 
> #12340
> 
> --
> James Cameron
> http://quozl.linux.org.au/
> 
> 
> 
> 
> Regards,
> 
> Ajay Garg
> Dextrose Developer
> Activity Central: http://activitycentral.com

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-21 Thread Ajay Garg
I just compared the "case_*_messages" files, and it seems that the reason
of the modem not being listed/detected/appearing in case 1, is because the
"cdc_ether" driver doesn't start upon boot.


On Thu, Nov 22, 2012 at 11:31 AM, James Cameron  wrote:

> That's very interesting.  So it is the pen drive causing the problem.
> Does a pen drive of a different manufacturer also cause the problem?
>
> (I see a similar problem on XO-4 B1 with 13.1.0 os12, ... if any pen
> drive is attached the modem is detected by the kernel, not shown by
> frame, and not shown by "nmcli dev", but as I know the USB host has
> power design problems, I'm not sure how reliable this fact is.)
>
> #12340
>
> --
> James Cameron
> http://quozl.linux.org.au/
>



Regards,

Ajay Garg
Dextrose Developer
Activity Central: http://activitycentral.com
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-21 Thread James Cameron
That's very interesting.  So it is the pen drive causing the problem.
Does a pen drive of a different manufacturer also cause the problem?

(I see a similar problem on XO-4 B1 with 13.1.0 os12, ... if any pen
drive is attached the modem is detected by the kernel, not shown by
frame, and not shown by "nmcli dev", but as I know the USB host has
power design problems, I'm not sure how reliable this fact is.)

#12340

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-21 Thread James Cameron
Thanks Ajay.

Can you confirm this is on XO-1.75 with 13.1.0 os11?  I think you
mentioned XO-1.75 and 13.1.0 in a previous reply, but you might have
changed the configuration since then.

At step c, where the modem is not detected, I take it you mean that
the Sugar frame icon does not appear.  I know you said your nm_test.py
script does not list the device.

I wanted to test your nm_test.py.  It seems reliable.  In the same
test, I was unable to reproduce your problem.  My test is below.

I suggest in your case obtaining kernel dmesg output for two
scenarios:

- the modem is inserted after Sugar has started,

- the modem is inserted before power on.

So that the kernel response to the USB device can be checked.

--

I tested with 13.1.0 os12 on XO-4, and 12.1.0 os21 on XO-1.75 with a
Huawei E173 bound to service vendor Optus in Australia.

The modem was inserted in the socket and the laptop switched on.  I
waited for Sugar to be available.

The modem does appear in the frame.  I used My Settings to configure
APN, then selected Connect using the frame icon.

The connection completes and Browse can be used, but the frame icon
does not change from saying "Connecting" (SL #4255).

At this point, and before connecting, your nm_test.py script reports
device 0 with type 2, and device 1 with type 8.

At Terminal prompt the command "nmcli dev" properly lists /dev/ttyUBS0
as type gsm state connected.

"nmcli con" properly lists the connection.

"nmcli con down uuid " properly terminates the connection, and
the frame icon properly reports status of "Disconnected".

When I remove the modem from the socket, your nm_test.py script
properly reports removed device 1 type 8, and when re-run does not
report device 1 any longer.

(Unrelated, why can't I copy a URL from the Browse activity location
bar?  I had gone to lists.laptop.org, to devel@ archives, to grab your
nm_test.py attachment.)

On Wed, Nov 21, 2012 at 04:16:39PM +0530, Ajay Garg wrote:
> Hi all.
> 
> I tested on os11, with all power-management disabled.
> 
> 0.
> Insert a pen-drive.
> 
> a)
> Inserted modem in another slot; the modem is detected.
> 
> b)
> Reboot.
> 
> c)
> Modem is NOT detected.
> 
> d)
> Remove modem.
> 
> e)
> Insert modem;  the modem is detected.
> 
> 
> I tried the above steps 5 times; and the results were same.
> 
> 
> Also, please find attached a sample  python script, which lists all the
> detected network-devices.
> When this script is run as "python nm_test.py" in step c), the modem-device is
> not detected by this script as well; whereas in other cases, this script 
> detects the device.
> 
> 
> 
> 
> 
> 
> 
> ===
> =
> 
> Another sequence ::
> 
> 
> 0.
> Ensure that there is no pen-drive inserted in any of the USB slots.
> 
> a)
> Inserted modem; the modem is detected.
> 
> b)
> Reboot.
> 
> c)
> Modem is detected.
> 
> d)
> Remove modem.
> 
> e)
> Insert modem;  the modem is detected.
> 
> 
> I tried the above steps 5 times; and the results were same.
> 
> 
> ===
> 
> 
> 
> I will try the  same  steps with os12, once I am finished downloading it.
> 
> 
> ===
> 
> 
> 
> I don't have a XO-1.5; so can't try on it :-\
> 
> 
> 
> 
> 
> 
> On Wed, Nov 21, 2012 at 3:18 PM, Richard A. Smith  wrote:
> 
> On 11/21/2012 01:07 AM, Jerry Vonau wrote:
> 
> 
> 
> Dropping the power to the usb bus is making the modem play peek-a-boo
> with the kernel: http://dev.laptop.org/ticket/10708.
> 
> 
> 
> And just to be clear its more than just a power dropping problem.  Both
> 1.75 and XO-4 both have the ability to keep the USB bus powered during
> suspend (with an EC firmware change) but on resume the kernel resets the
> USB bus.  I don't know if the kernel has an option not to do that.
> 
> 
> --
> Richard A. Smith  
> One Laptop per Child
> ___
> Devel mailing list
> de...@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
> 
> 
> 
> Regards,
> Ajay
> 


> ___
> Devel mailing list
> de...@lists.laptop.org
> http://lists.laptop.org/listinfo/devel


-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-21 Thread Ajay Garg
Hi all.

I tested on os11, with all power-management disabled.

0.
Insert a pen-drive.

a)
Inserted modem in another slot; the modem is detected.

b)
Reboot.

c)
Modem is NOT detected.

d)
Remove modem.

e)
Insert modem;  the modem is detected.


I tried the above steps 5 times; and the results were same.


Also, please find attached a sample  python script, which lists all the
detected network-devices.
When this script is run as "python nm_test.py" in step c), the modem-device
is not detected by this script as well; whereas in other cases, this
script  detects the device.









Another sequence ::


0.
Ensure that there is no pen-drive inserted in any of the USB slots.

a)
Inserted modem; the modem is detected.

b)
Reboot.

c)
Modem is detected.

d)
Remove modem.

e)
Insert modem;  the modem is detected.


I tried the above steps 5 times; and the results were same.


===


I will try the  same  steps with os12, once I am finished downloading it.


===


I don't have a XO-1.5; so can't try on it :-\






On Wed, Nov 21, 2012 at 3:18 PM, Richard A. Smith wrote:

> On 11/21/2012 01:07 AM, Jerry Vonau wrote:
>
>
>> Dropping the power to the usb bus is making the modem play peek-a-boo
>> with the kernel: 
>> http://dev.laptop.org/ticket/**10708
>> .
>> 
>> >
>>
>
> And just to be clear its more than just a power dropping problem.  Both
> 1.75 and XO-4 both have the ability to keep the USB bus powered during
> suspend (with an EC firmware change) but on resume the kernel resets the
> USB bus.  I don't know if the kernel has an option not to do that.
>
>
> --
> Richard A. Smith  
> One Laptop per Child
> __**_
> Devel mailing list
> de...@lists.laptop.org
> http://lists.laptop.org/**listinfo/devel
>


Regards,
Ajay


nm_test.py
Description: Binary data
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-21 Thread Jerry Vonau
On 21 November 2012 18:53, Martin Langhoff wrote:

> On Wed, Nov 21, 2012 at 2:40 AM, James Cameron  wrote:
> >> I don't think having an end-user with no experience with USB IDs add
> >> an entry to the usb-inhibits file, or having to remember to turn off
> >> a major feature is the correct long term solution IMHO.
>
> You guys are driving OOB, so you short-term you can tweak usb-inhibits
> with the 3G modems you have. And you've hacked powerd and other bits
> of infra in the past, if there's a better way (ie: is there a way to
> block suspend when a class of USB device is plugged? or perhaps an NM
> hook could set the inhibit-suspend flag?) you are uniquely well
> positioned to know, try likely approaches, etc...
>

I used a big hammer, I disabled suspending when the usb_wwan kernel module
got loaded, but the disabling stays in place as the module never gets auto
unloaded. The next time I need to fork powerd think I'll lockout suspend
for one minute when usb_wwan gets loaded then rely on this patch[1] to
handle to handle the rest.
I don't think dbus would react fast enough as modeswitching may need to be
done before dbus could see the interface.

Jerry

1.  http://lists.laptop.org/pipermail/devel/2012-May/035213.html




>
> cheers,
>
>
>
> m
> --
>  martin.langh...@gmail.com
>  mar...@laptop.org -- Software Architect - OLPC
>  - ask interesting questions
>  - don't get distracted with shiny stuff  - working code first
>  - http://wiki.laptop.org/go/User:Martinlanghoff
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-21 Thread Jerry Vonau
On 21 November 2012 18:40, James Cameron  wrote:

> On Wed, Nov 21, 2012 at 06:29:42PM +1100, Jerry Vonau wrote:
> > Yawn, yup boring unless a sponsor of your deployment is a 3G service
> > provider, then it becomes a major 'has to work out of the box' from
> > a business point of view.
>
> Perhaps this service provider can provide technical support?
>
>
Not really, the 15 second cycle is just not enough time for usb-modeswitch
to work it's magic and then have NetworkManager bring up the 3G interface.
We could tailor adding the specific USB IDs for that provider's devices but
the rest of the world still suffers.


> > If it's as simple as adding a single entry to powerd's usb-inhibits
> > file like how 'hid' is treated then why has this not been done?
>
> My guess is priorities are elsewhere in the stack at the moment, and
> we have very few deployments demanding this be fixed.
>
>
I understand that part, lots of work, too few people.



> > I don't think having an end-user with no experience with USB IDs add
> > an entry to the usb-inhibits file, or having to remember to turn off
> > a major feature is the correct long term solution IMHO.
>
> Certainly not.  I didn't think you or Ajay were end-users though.  My
> advice to end-users would be to wait for the problem to be fixed, or
> ask their deployment technical people to turn off the major feature
> permanently, or build a fix.
>
>
We did the last option, seemed the better compromise for all of our users.

Jerry

--
> James Cameron
> http://quozl.linux.org.au/
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-21 Thread Martin Langhoff
On Wed, Nov 21, 2012 at 3:07 AM, Alan Jhonn Aguiar Schwyn
 wrote:
>> is there a way to block suspend when a class of USB device is plugged?
>
> This will be very important.. Disable the "automatic power-save" (AKA power
> off usb..)

It is already done in many cases.

> if one device is using the usb comunication. This can be made?
> What happens if you want to copy a large file to a pendrive? The system
> power-off
> the usb ever?

In that case, we already do the right thing.

cheers,



m
--
 martin.langh...@gmail.com
 mar...@laptop.org -- Software Architect - OLPC
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-21 Thread Alan Jhonn Aguiar Schwyn
> is there a way to block suspend when a class of USB device is plugged?
This will be very important.. Disable the "automatic power-save" (AKA power off 
usb..)if one device is using the usb comunication. This can be made?What 
happens if you want to copy a large file to a pendrive? The system power-offthe 
usb ever?
Alan

> From: martin.langh...@gmail.com
> Date: Wed, 21 Nov 2012 02:53:47 -0500
> To: qu...@laptop.org; je...@laptop.org.au; martin.langh...@gmail.com; 
> a...@activitycentral.com; de...@lists.laptop.org; 
> sugar-devel@lists.sugarlabs.org
> Subject: Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised
> 
> On Wed, Nov 21, 2012 at 2:40 AM, James Cameron  wrote:
> >> I don't think having an end-user with no experience with USB IDs add
> >> an entry to the usb-inhibits file, or having to remember to turn off
> >> a major feature is the correct long term solution IMHO.
> 
> You guys are driving OOB, so you short-term you can tweak usb-inhibits
> with the 3G modems you have. And you've hacked powerd and other bits
> of infra in the past, if there's a better way (ie: is there a way to
> block suspend when a class of USB device is plugged? or perhaps an NM
> hook could set the inhibit-suspend flag?) you are uniquely well
> positioned to know, try likely approaches, etc...
> 
> cheers,
> 
> 
> 
> m
> --
>  martin.langh...@gmail.com
>  mar...@laptop.org -- Software Architect - OLPC
>  - ask interesting questions
>  - don't get distracted with shiny stuff  - working code first
>  - http://wiki.laptop.org/go/User:Martinlanghoff
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
  ___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-20 Thread Martin Langhoff
On Wed, Nov 21, 2012 at 2:40 AM, James Cameron  wrote:
>> I don't think having an end-user with no experience with USB IDs add
>> an entry to the usb-inhibits file, or having to remember to turn off
>> a major feature is the correct long term solution IMHO.

You guys are driving OOB, so you short-term you can tweak usb-inhibits
with the 3G modems you have. And you've hacked powerd and other bits
of infra in the past, if there's a better way (ie: is there a way to
block suspend when a class of USB device is plugged? or perhaps an NM
hook could set the inhibit-suspend flag?) you are uniquely well
positioned to know, try likely approaches, etc...

cheers,



m
--
 martin.langh...@gmail.com
 mar...@laptop.org -- Software Architect - OLPC
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-20 Thread James Cameron
On Wed, Nov 21, 2012 at 06:29:42PM +1100, Jerry Vonau wrote:
> Yawn, yup boring unless a sponsor of your deployment is a 3G service
> provider, then it becomes a major 'has to work out of the box' from
> a business point of view.

Perhaps this service provider can provide technical support?

> If it's as simple as adding a single entry to powerd's usb-inhibits
> file like how 'hid' is treated then why has this not been done?

My guess is priorities are elsewhere in the stack at the moment, and
we have very few deployments demanding this be fixed.

> I don't think having an end-user with no experience with USB IDs add
> an entry to the usb-inhibits file, or having to remember to turn off
> a major feature is the correct long term solution IMHO.

Certainly not.  I didn't think you or Ajay were end-users though.  My
advice to end-users would be to wait for the problem to be fixed, or
ask their deployment technical people to turn off the major feature
permanently, or build a fix.

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-20 Thread Jerry Vonau
On 21 November 2012 17:24, James Cameron  wrote:

> On Wed, Nov 21, 2012 at 05:07:20PM +1100, Jerry Vonau wrote:
> > Dropping the power to the usb bus is making the modem play peek-a-boo
> with the
> > kernel: http://dev.laptop.org/ticket/10708.
>
> Is that all it is?  How boring.  Nothing new.
>

Yawn, yup boring unless a sponsor of your deployment is a 3G service
provider, then it becomes a major 'has to work out of the box' from  a
business point of view. If it's as simple as adding a single entry to
powerd's usb-inhibits file like how 'hid' is treated then why has this not
been done? I don't think having an end-user with no experience with USB IDs
add an entry to the usb-inhibits file, or having to remember to turn off a
major feature is the correct long term solution IMHO.

just my thoughts,

Jerry


>
> Ajay, can you confirm your problem goes away if you turn off automatic
> power management?
>
> --
> James Cameron
> http://quozl.linux.org.au/
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-20 Thread James Cameron
On Wed, Nov 21, 2012 at 12:01:07PM +0530, Ajay Garg wrote:
> I am downloading os12 for XO-1.75 so that I can update with the
> results on the latest image.

That's nice.  Still, I'm interested if turning off automatic power
management solves the problem for you ... with the build you already
have.

> Please provide me about 5-6 hours (I have 56KBPS download-speed
> connection).

Good, additional justification for finding a way to make our build
files much smaller.  ;-}  It takes me a while too.

(I used to split a file in two pieces using a remote shell account and
download over two 56 kbps modems.  Now I use a 3 mbps HSPA service.)

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-20 Thread Ajay Garg
On Wed, Nov 21, 2012 at 11:54 AM, James Cameron  wrote:

> On Wed, Nov 21, 2012 at 05:07:20PM +1100, Jerry Vonau wrote:
> > Dropping the power to the usb bus is making the modem play peek-a-boo
> with the
> > kernel: http://dev.laptop.org/ticket/10708.
>
> Is that all it is?  How boring.  Nothing new.
>
> Ajay, can you confirm your problem goes away if you turn off automatic
> power management?
>


Martin, James :

I am downloading os12 for XO-1.75 so that I can update with the results on
the latest image.
Please provide me about 5-6 hours (I have 56KBPS download-speed
connection).



> --
> James Cameron
> http://quozl.linux.org.au/
>



Regards,

Ajay Garg
Dextrose Developer
Activity Central: http://activitycentral.com
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-20 Thread James Cameron
On Wed, Nov 21, 2012 at 05:07:20PM +1100, Jerry Vonau wrote:
> Dropping the power to the usb bus is making the modem play peek-a-boo with the
> kernel: http://dev.laptop.org/ticket/10708.

Is that all it is?  How boring.  Nothing new.

Ajay, can you confirm your problem goes away if you turn off automatic
power management?

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-20 Thread Jerry Vonau
On 21 November 2012 14:59, Martin Langhoff wrote:

> Ajay, folks,
>
> please indicate OS version, XO model, steps to repro (even if
> intermittent), and collect kernel logs so we can see WTH is going on.
>
> Otherwise we can only say "maybe" and speculate -- good stuff for idle
> converstation at a bar, but not productive if you want to see the
> problem diagnosed and solved...
>
> cheers,
>
>
Dropping the power to the usb bus is making the modem play peek-a-boo with
the kernel: 
http://dev.laptop.org/ticket/10708.

Wondering if a flash-drive could become corrupt if the power was cut while
writing to the external device.

The olpc-au tracker moved revised urls referenced in 10708:
http://sugardextrose.org/issues/387
http://sugardextrose.org/issues/1029/

Still present in 13.1.0-12

Jerry



>
> martin
>
> On Tue, Nov 20, 2012 at 3:33 AM, Ajay Garg 
> wrote:
> > Hi all.
> >
> > I have been facing transient issues in getting the 3G-Modem recognised
> (via
> > the appearence of the corresponding icon in the bottom-tray).
> >
> > There really is no fixed pattern; sometimes the icon appears when the
> modem
> > is inserted; sometimes not.
> > Same is the case when the XO is rebooted, while the modem is inserted.
> Upon
> > booting, sometimes the icon appears; sometimes not.
> >
> > I don't remember such issues in 12.1.0; there, the icon appeared
> whenever it
> > ought to.
> >
> >
> > Is someone else too facing such transient issues; or am I the only one
> hit?
> >
> >
> >
> > Regards,
> >
> > Ajay Garg
> > Dextrose Developer
> > Activity Central: http://activitycentral.com
> >
> > ___
> > Devel mailing list
> > de...@lists.laptop.org
> > http://lists.laptop.org/listinfo/devel
> >
>
>
>
> --
>  martin.langh...@gmail.com
>  mar...@laptop.org -- Software Architect - OLPC
>  - ask interesting questions
>  - don't get distracted with shiny stuff  - working code first
>  - http://wiki.laptop.org/go/User:Martinlanghoff
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-20 Thread Martin Langhoff
Ajay, folks,

please indicate OS version, XO model, steps to repro (even if
intermittent), and collect kernel logs so we can see WTH is going on.

Otherwise we can only say "maybe" and speculate -- good stuff for idle
converstation at a bar, but not productive if you want to see the
problem diagnosed and solved...

cheers,



martin

On Tue, Nov 20, 2012 at 3:33 AM, Ajay Garg  wrote:
> Hi all.
>
> I have been facing transient issues in getting the 3G-Modem recognised (via
> the appearence of the corresponding icon in the bottom-tray).
>
> There really is no fixed pattern; sometimes the icon appears when the modem
> is inserted; sometimes not.
> Same is the case when the XO is rebooted, while the modem is inserted. Upon
> booting, sometimes the icon appears; sometimes not.
>
> I don't remember such issues in 12.1.0; there, the icon appeared whenever it
> ought to.
>
>
> Is someone else too facing such transient issues; or am I the only one hit?
>
>
>
> Regards,
>
> Ajay Garg
> Dextrose Developer
> Activity Central: http://activitycentral.com
>
> ___
> Devel mailing list
> de...@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>



-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- Software Architect - OLPC
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-20 Thread RJV
On the same topic, is anyone experienced with 3G connectivity on XO 1.5?
Will it work? 3 G works fine with 1.75, 12.1, 0.96, Build 21.

Regards,

Jv


On Tue, Nov 20, 2012 at 9:27 PM, Jerry Vonau  wrote:

>
>
> On 20 November 2012 19:33, Ajay Garg  wrote:
>
>> Hi all.
>>
>> I have been facing transient issues in getting the 3G-Modem recognised
>> (via the appearence of the corresponding icon in the bottom-tray).
>>
>> There really is no fixed pattern; sometimes the icon appears when the
>> modem is inserted; sometimes not.
>> Same is the case when the XO is rebooted, while the modem is inserted.
>> Upon booting, sometimes the icon appears; sometimes not.
>>
>>
> Think the appearance of the icon in the frame would depend on if the XO
> was in a suspended state when inserted, try tapping a key or the mouse to
> wake the XO up. I'm seeing my modem being continuously re-detected when
> resuming from a suspended state while tailing /var/log/messages,  I'd try
> disabling the power management in the control-panel to see if the situation
> improves.
>
> Jerry
>
>
>> I don't remember such issues in 12.1.0; there, the icon appeared whenever
>> it ought to.
>>
>>
>> Is someone else too facing such transient issues; or am I the only one
>> hit?
>>
>>
>>
>> Regards,
>>
>> Ajay Garg
>> Dextrose Developer
>> Activity Central: http://activitycentral.com
>>
>> ___
>> Sugar-devel mailing list
>> Sugar-devel@lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>
>>
>
> ___
> Devel mailing list
> de...@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>
>


-- 
Regards,

Ravichandran Jv
http://ravichandranjv.blogspot.com
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-20 Thread Jerry Vonau
On 20 November 2012 19:33, Ajay Garg  wrote:

> Hi all.
>
> I have been facing transient issues in getting the 3G-Modem recognised
> (via the appearence of the corresponding icon in the bottom-tray).
>
> There really is no fixed pattern; sometimes the icon appears when the
> modem is inserted; sometimes not.
> Same is the case when the XO is rebooted, while the modem is inserted.
> Upon booting, sometimes the icon appears; sometimes not.
>
>
Think the appearance of the icon in the frame would depend on if the XO was
in a suspended state when inserted, try tapping a key or the mouse to wake
the XO up. I'm seeing my modem being continuously re-detected when resuming
from a suspended state while tailing /var/log/messages,  I'd try disabling
the power management in the control-panel to see if the situation improves.

Jerry


> I don't remember such issues in 12.1.0; there, the icon appeared whenever
> it ought to.
>
>
> Is someone else too facing such transient issues; or am I the only one hit?
>
>
>
> Regards,
>
> Ajay Garg
> Dextrose Developer
> Activity Central: http://activitycentral.com
>
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-20 Thread RJV
Yes, Ajay, it does happen the way you describe so what I do is make sure
that I have the device plugged in before starting the XO otherwise, you
need to restart the XO for it to recognize the device or you need to switch
desktop and upon returning back to Sugar, the device would be recognized.

Jv


On Tue, Nov 20, 2012 at 2:03 PM, Ajay Garg  wrote:

> Hi all.
>
> I have been facing transient issues in getting the 3G-Modem recognised
> (via the appearence of the corresponding icon in the bottom-tray).
>
> There really is no fixed pattern; sometimes the icon appears when the
> modem is inserted; sometimes not.
> Same is the case when the XO is rebooted, while the modem is inserted.
> Upon booting, sometimes the icon appears; sometimes not.
>
> I don't remember such issues in 12.1.0; there, the icon appeared whenever
> it ought to.
>
>
> Is someone else too facing such transient issues; or am I the only one hit?
>
>
>
> Regards,
>
> Ajay Garg
> Dextrose Developer
> Activity Central: http://activitycentral.com
>
> ___
> Devel mailing list
> de...@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>
>


-- 
Regards,

Ravichandran Jv
http://ravichandranjv.blogspot.com
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-20 Thread forster
Ajay
You do not say which OS you are using or whether its Sugar or Gnome desktop.
For most of 13.1.0 the modem dongle has not been appearing in the Sugar frame. 
It was fixed at OS11 I think but I have not tested it a lot to see if its 
always there in the frame.
Tony

 > I have heard from other people who have faced issues that may be
> similar at root.
> 
> I suggest that you deepen your investigation to determine the reaction
> of the kernel, and the ModemManager process, to the insertion of the
> device.  Compare the reactions between working and non-working
> scenarios.
> 
> On Tue, Nov 20, 2012 at 02:03:49PM +0530, Ajay Garg wrote:
> > Hi all.
> > 
> > I have been facing transient issues in getting the 3G-Modem recognised (via 
> > the
> > appearence of the corresponding icon in the bottom-tray).
> > 
> > There really is no fixed pattern; sometimes the icon appears when the modem 
> > is
> > inserted; sometimes not.
> > Same is the case when the XO is rebooted, while the modem is inserted. Upon
> > booting, sometimes the icon appears; sometimes not.
> > 
> > I don't remember such issues in 12.1.0; there, the icon appeared whenever it
> > ought to.
> > 
> > 
> > Is someone else too facing such transient issues; or am I the only one hit?
> > 
> > 
> > 
> > Regards,
> > 
> > Ajay Garg
> > Dextrose Developer
> > Activity Central: http://activitycentral.com
> 
> > ___
> > Devel mailing list
> > de...@lists.laptop.org
> > http://lists.laptop.org/listinfo/devel
> 
> 
> -- 
> James Cameron
> http://quozl.linux.org.au/
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
> 
> _
> This mail has been virus scanned by Australia On Line
> see http://www.australiaonline.net.au/mailscanning

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-20 Thread James Cameron
I have heard from other people who have faced issues that may be
similar at root.

I suggest that you deepen your investigation to determine the reaction
of the kernel, and the ModemManager process, to the insertion of the
device.  Compare the reactions between working and non-working
scenarios.

On Tue, Nov 20, 2012 at 02:03:49PM +0530, Ajay Garg wrote:
> Hi all.
> 
> I have been facing transient issues in getting the 3G-Modem recognised (via 
> the
> appearence of the corresponding icon in the bottom-tray).
> 
> There really is no fixed pattern; sometimes the icon appears when the modem is
> inserted; sometimes not.
> Same is the case when the XO is rebooted, while the modem is inserted. Upon
> booting, sometimes the icon appears; sometimes not.
> 
> I don't remember such issues in 12.1.0; there, the icon appeared whenever it
> ought to.
> 
> 
> Is someone else too facing such transient issues; or am I the only one hit?
> 
> 
> 
> Regards,
> 
> Ajay Garg
> Dextrose Developer
> Activity Central: http://activitycentral.com

> ___
> Devel mailing list
> de...@lists.laptop.org
> http://lists.laptop.org/listinfo/devel


-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel