Dbus device API
From Openmoko
| In progress: This article or section documents one or more features whose implementation are in progress. |
Contents |
A dbus API that allows setting/getting hardware specifics in a platform independent way.
- May be written as devmand (see linuxtogo.org)
- May be the successor to zaurusd
- May be formalized using the FreeSmartPhone.org initiative
Could be based on [1] Or based on [2]
The existing Neo1973 DBus API
Here is the list of objects that advertise themselves on dbus on my Neo1973 right now. Each object links to a page with an overview of the API for the object (based on the results of calling Introspect), followed by the XML from an Introspect call.
The (arbitrary) way I constructed the overview of the API is as follows:
Bus name: <bus name within the given bus>
Object name: <object name within that bus name>
interface: <some interface the object provides>
(outval1:type, outval2:type) methodName(inval1:type,inval2:type)
signal (arg1:type)
The types are just a direct transcription of the type in the Introspect XML.
The types:
- s - string
- b - boolean
- ax - array of x (where x is another entry in this list)
- <someone please add any new types for which you know the meaning>
TODO: finish filling out the list; double check for objects ending in a digit (since I filtered those out, some rightly and now I see some incorrectly).
Session Bus
- org_freedesktop_DBus._
- org_freedesktop_Notifications._org_freedesktop
- org_gnome_evolution_dataserver_AddressBook._org_gnome_evolution_dataserver_addressbook
- org_gnome_evolution_dataserver_Calendar._org_gnome_evolution_dataserver_calendar
- org_openmoko_PhoneKit._org_openmoko_PhoneKit
Starter Bus
For some reason this appears to be identical to the Session Bus. There is a tree of GConf nodes returned in the Introspection, but they just refer to more nodes, the leaf nodes don't advertise any interfaces or functionality via Introspect.
- org_freedesktop_DBus._
- org_freedesktop_Notifications._org_freedesktop
- org_gnome_evolution_dataserver_AddressBook._org_gnome_evolution_dataserver_addressbook
- org_gnome_evolution_dataserver_Calendar._org_gnome_evolution_dataserver_calendar
- org_openmoko_PhoneKit._org_openmoko_PhoneKit
System Bus
- org_bluez._org_bluez
- org_bluez._org_bluez_service
- org_freedesktop_Avahi._
- org_freedesktop_DBus._
- org_freedesktop_Hal._org_freedesktop_Hal_Manager
- org_freedesktop_Hal._org_freedesktop_Hal_devices
- apm_ac_adapter
- apm_battery
- computer
- computer_alsa_timer
- computer_backlight
- computer_logicaldev_input
- net
- platform_bluetooth
- platform_gta01_bl_0
- platform_gta01_button_0
- platform_gta01_button_0_logicaldev_input
- platform_gta01_led_0
- platform_gta01_pm_bt_0
- platform_gta01_pm_gps_0
- platform_gta01_pm_gsm_0
- platform_pcf50606_0
- platform_s3c2410_i2c
- platform_s3c2410_i2c_logicaldev_input
- platform_s3c2410_iis
- platform_s3c2410_lcd
- platform_s3c2410_nand
- platform_s3c2410_ohci
- platform_s3c2410_sdi
- platform_s3c2410_sdi_mmc_card_rca36714_storage
- platform_s3c2410_sdi_mmc_host
- platform_s3c2410_ts
- platform_s3c2410_usbgadget
- platform_s3c2410_wdt
- platform_soc_audio
- usb_device_0_0_s3c24xx
- usb_device_0_0_s3c24xx_usbraw
- usb_device_a12_1_noserial
- a12_1_noserial_if0_bluetooth_hci
- a12_1_noserial_usbraw
- volume_uuid


