[pkg-fso-maint] WiFi-Tool (or GPRS-Tool modified)

Al Johnson openmoko at mazikeen.demon.co.uk
Tue Oct 6 17:59:00 CEST 2009

On Tuesday 06 October 2009, Esteban Monge wrote:
> Hello Al Johnson recommends use the next command:
> mdbus -s org.freesmartphone.ousaged /org/freesmartphone/Usage
> org.freesmartphone.Usage.SetResourcePolicy WiFi enabled
> But send the next error:
> ERROR:dbus.connection:Unable to set arguments ('WiFi',) according to
> signature
> u'ss': <type 'exceptions.TypeError'>: More items found in D-Bus signature
> than in Python arguments

The command listed above works for me. If I remove the 'enabled' argument I 
get the error you quote.

SetResourcePolicy takes two arguments. The first is the resource, in this case 
'WiFi'. The second is the policy you want to set, in this case 'enabled'. 

More information about the community mailing list