Am Tuesday 03 February 2009 22:18:00 schrieb Christian Adams: > Am 03.02.2009 um 22:09 schrieb Michael 'Mickey' Lauer: > > Am Tuesday 03 February 2009 19:53:33 schrieb Christian Adams: > >>> /sys/class/i2c-adapter/i2c-0/0-0073/charger_type > >>> /sys/class/i2c-adapter/i2c-0/0-0073/force_usb_limit_dangerous > >>> /sys/devices/platform/bq27000-battery.0/power_supply/bat/capacity > >>> /sys/devices/platform/bq27000-battery.0/power_supply/bat/voltage_now > >>> /sys/devices/platform/bq27000-battery.0/power_supply/bat/current_now > >>> /sys/devices/platform/bq27000-battery.0/power_supply/bat/status > >>> /sys/devices/platform/bq27000-battery.0/power_supply/bat/temp > >>> /sys/devices/platform/bq27000-battery.0/power_supply/bat/ > >>> time_to_empty_now > >>> /sys/devices/platform/bq27000-battery.0/power_supply/bat/ > >>> time_to_full_now > >>> /sys/devices/platform/bq27000-battery.0/power_supply/bat/charge_full > >> > >> i know which sysfs-files to use for 2.6.28 http://wiki.openmoko.org/ > >> wiki/Kernel#GTA02_.2Fsys_mappings_for_andy-tracking_vs_stable > >> but are there alternative ways to get these informations? > > > > Yes, via dbus from FSO. > > at which paths?
r...@om-gta02:~# mdbus -s org.freesmartphone.odeviced /org/freesmartphone/Device/PowerSupply/battery [METHOD] org.freedesktop.DBus.Introspectable.Introspect() [METHOD] org.freesmartphone.Device.PowerSupply.GetCapacity() [METHOD] org.freesmartphone.Device.PowerSupply.GetInfo() [METHOD] org.freesmartphone.Device.PowerSupply.GetName() [METHOD] org.freesmartphone.Device.PowerSupply.GetPowerStatus() [METHOD] org.freesmartphone.Device.PowerSupply.GetType() [METHOD] org.freesmartphone.Device.PowerSupply.IsPresent() [SIGNAL] org.freesmartphone.Device.PowerSupply.Capacity( i:percent ) [SIGNAL] org.freesmartphone.Device.PowerSupply.PowerStatus( s:status ) -- :M: _______________________________________________ Smartphones-userland mailing list Smartphones-userland@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland