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

James Cameron quozl at laptop.org
Wed Nov 21 18:34:37 EST 2012


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 <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 <richard at laptop.org> 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.
>         <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  <richard at laptop.org>
>     One Laptop per Child
>     _______________________________________________
>     Devel mailing list
>     Devel at lists.laptop.org
>     http://lists.laptop.org/listinfo/devel
> 
> 
> 
> Regards,
> Ajay
> 


> _______________________________________________
> Devel mailing list
> Devel at lists.laptop.org
> http://lists.laptop.org/listinfo/devel


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


More information about the Sugar-devel mailing list