OpenELEC / service.openelec.settings

service.openelec.settings - OpenELEC settings addon
Other
12 stars 35 forks source link

network window is not available #50

Closed mobidyc closed 10 years ago

mobidyc commented 10 years ago

Hello, network window is not available when dbus report the p2p technologie. downgrade connman from 1.25 to 1.22 solves the problem.

here is the python dbus command used in the connman.py script:

OpenELEC:/ # python Python 2.7.3 (default, Sep 7 2014, 03:55:42) [GCC 4.9.1] on linux2 Type "help", "copyright", "credits" or "license" for more information.

import dbus dbusSystemBus = dbus.SystemBus() dbusConnmanManager = dbus.Interface(dbusSystemBus.get_object('net.connman' , '/'), 'net.connman.Manager') technologie_properties = dbusConnmanManager.GetTechnologies() for (path, technologie) in technologie_properties: ... print path ... print technologie ... /net/connman/technology/p2p dbus.Dictionary({dbus.String(u'Connected'): dbus.Boolean(False, variant_level=1), dbus.String(u'Tethering'): dbus.Boolean(False, variant_level=1), dbus.String(u'Type'): dbus.String(u'p2p', variant_level=1), dbus.String(u'Name'): dbus.String(u'P2P', variant_level=1), dbus.String(u'Powered'): dbus.Boolean(False, variant_level=1)}, signature=dbus.Signature('sv')) /net/connman/technology/wifi dbus.Dictionary({dbus.String(u'Connected'): dbus.Boolean(False, variant_level=1), dbus.String(u'Tethering'): dbus.Boolean(False, variant_level=1), dbus.String(u'Type'): dbus.String(u'wifi', variant_level=1), dbus.String(u'Name'): dbus.String(u'WiFi', variant_level=1), dbus.String(u'Powered'): dbus.Boolean(True, variant_level=1)}, signature=dbus.Signature('sv')) /net/connman/technology/ethernet dbus.Dictionary({dbus.String(u'Connected'): dbus.Boolean(True, variant_level=1), dbus.String(u'Tethering'): dbus.Boolean(False, variant_level=1), dbus.String(u'Type'): dbus.String(u'ethernet', variant_level=1), dbus.String(u'Name'): dbus.String(u'Wired', variant_level=1), dbus.String(u'Powered'): dbus.Boolean(True, variant_level=1)}, signature=dbus.Signature('sv')) ^C KeyboardInterrupt

sraue commented 10 years ago

thanks, very helpfull! :-)