[Bugs] #1622 UNSP: 3G (GSM) Modem Support
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Fri Jan 29 07:30:06 EST 2010
#1622: 3G (GSM) Modem Support
------------------------------------------+---------------------------------
Reporter: tch | Owner: tch
Type: enhancement | Status: new
Priority: Unspecified by Maintainer | Milestone: 0.88
Component: sugar | Version: 0.86.x
Severity: Unspecified | Keywords: 3G GSM modem usb r+
Distribution: Ubuntu | Status_field: Unconfirmed
------------------------------------------+---------------------------------
Comment(by tomeu):
Replying to [comment:14 erikos]:
> Some feedback after applying the patch:
>
> I am not sure about the work flow for this feature. I see the modem and
hit 'connect'. I get no feedback when that action was not successful what
went wrong or where I can set the options. How do I know I have to set
some options in the CP to use the gsm-modem?
Some discussion is going on the mailing list about these issues. We have
already patches that improve the situation, but I also think that even if
the experience is sub-optimal in 0.88 we should still push this, because
only affects the people that have a device plugged in.
> Those should go from deviceicon/network.py into jarabe.model.network
> {{{
> _GSM_STATE_NOT_READY = 0
> _GSM_STATE_DISCONNECTED = 1
> _GSM_STATE_CONNECTING = 2
> _GSM_STATE_CONNECTED = 3
> }}}
Why so?
> The items in the CP section should be left aligned like discussed in the
UI meeting.
Agreed, but think this should go in first.
> I get the following:
> {{{
> 1264356856.836999 WARNING root: No icon with the name gsm-device was
found in the theme.
> 1264356856.840605 DEBUG root: Connected successfully to gsm device,
/org/freedesktop/NetworkManager/ActiveConnection/2
> 1264356856.841223 ERROR dbus.connection: Exception in handler for D-Bus
signal:
> Traceback (most recent call last):
> File "/usr/lib/python2.6/site-packages/dbus/connection.py", line 214,
in maybe_handle_message
> self._handler(*args, **kwargs)
> File "/home/erikos/sugar-
jhbuild/install/share/sugar/extensions/deviceicon/network.py", line 760,
in __state_changed_cb
> self._update_state(int(new_state))
> File "/home/erikos/sugar-
jhbuild/install/share/sugar/extensions/deviceicon/network.py", line 788,
in _update_state
> self._palette.set_state(gsm_state)
> File "/home/erikos/sugar-
jhbuild/install/share/sugar/extensions/deviceicon/network.py", line 237,
in set_state
> self._update_label_and_text()
> File "/home/erikos/sugar-
jhbuild/install/share/sugar/extensions/deviceicon/network.py", line 257,
in _update_label_and_text
> 'text, %s' % str(self._current_state))
> ValueError: Invalid GSM state while updating label and text, None
> }}}
> when I try to connect without any setting in the CP section.
self._current_state is None in that case.
Daniel Castelo already has a patch that improves this, waiting for this
one to go in.
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/1622#comment:15>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list