View source for Talk:Mdbus

From Openmoko

Jump to: navigation, search

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Administrators.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page:

Return to Talk:Mdbus.

Personal tools

I like tutorials, but I have not found proper place to highlight interesting tutorials:

making a phone call

(from discussion of Sten Kvamme and Michael 'Mickey' Lauer at devel malinglist)

mdbus -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device \
 org.freesmartphone.Resource.Enable

This will not work, since mdbus will register to the bus and vanish right afterwards, meaning the resource will be released immediately (if noone else has requested it). Try setting the policy to always-enabled:

mdbus -s org.freesmartphone.ousaged /org/freesmartphone/Usage
org.freesmartphone.Usage.SetResourcePolicy "GSM" "enabled"


mdbus -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device \
 org.freesmartphone.GSM.Device.SetAntennaPower boolean:True
mdbus -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device \
 org.freesmartphone.GSM.Network.Register
mdbus -s org.freesmartphone.ogsmd /org/freesmartphone/Phone \
 org.freesmartphone.Phone.CreateCall string:0123456789 \
 string:GSM boolean:True

should work -- although I'd rather use the ogsmd subsystem here, in which case it would be:

mdbus -s -org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device \
 org.freesmartphone.GSM.Initiate "+49123456789" "voice"