On Wed, Jul 8, 2009 at 11:03 PM, Adam Jimerson<vend...@gmail.com> wrote: > On Thursday 09 July 2009 12:54:15 am Ben Wong wrote: >> mdbus -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device >> org.freesmartphone.GSM.Device.SetSpeakerVolume 68 > > Are you sure that mdbus call is correct I got two different error messages
I have no idea what the "pending_return [...] is deprecated" error means, but it doesn't prevent the mdbus call from working. "Service name not found" means that you're not running frameworkd, I think. I actually received the same error the first time I tried it on SHR-unstable as well. I fixed it by restarting frameworkd: /etc/init.d/frameworkd restart Oddly, the next time I rebooted into SHR-unstable, frameworkd started correctly on its own. By the way, running "mdbus -s", with no other options, lists what services are on the D-Bus. You can grep for "freesmartphone" to see if the services provided by frameworkd are there. --Ben > > r...@om-gta02 ~ $ mdbus -s > org.freesmartphone.ogsmd/org/freesmartphone/GSM/Deviceorg.freesmartph > one.GSM.Device.SetSpeakerVolume 68 > Using **pending_return in dbus_connection_send_with_reply_setup() without > pending_setup is deprecated and strongly discouraged > Using **pending_return in dbus_connection_send_with_reply_setup() without > pending_setup is deprecated and strongly discouraged > Service name not found > > r...@om-gta02 ~ $ mdbus -s org.freesmartphone.ogsmd > /org/freesmartphone/GSM/Deviceorg.freesmartp > hone.GSM.Device.SetSpeakerVolume 68 > Using **pending_return in dbus_connection_send_with_reply_setup() without > pending_setup is deprecated and strongly discouraged > Using **pending_return in dbus_connection_send_with_reply_setup() without > pending_setup is deprecated and strongly discouraged > Object name not found > > Now I may just be doing it wrong but can someone check it for me? >> >> And this line will show you the current volume: >> >> mdbus -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device >> org.freesmartphone.GSM.Device.GetSpeakerVolume >> >> Please experiment with different values by changing the volume during >> a call. I'm interested to know what values work the best for you all. >> And does 100% actually work for anybody without distortion? >> >> --Ben >> >> >> On Tue, Jul 7, 2009 at 10:38 PM, Michael 'Mickey' >> >> Lauer<mic...@vanille-media.de> wrote: >> > FWIW, against my personal experience (where this setting lead to >> > suboptimal results), people have forced me to uplevel the speaker volume >> > in the phone to the maximum in ogsmd. It's very possible that this >> > contributes to the distortion. Try lowering it, e.g. via >> > org.freesmartphone.GSM.Device.SetSpeakerVolume( percentage ). >> > >> > :M: >> > >> > _______________________________________________ >> > Openmoko community mailing list >> > community@lists.openmoko.org >> > http://lists.openmoko.org/mailman/listinfo/community >> >> _______________________________________________ >> Openmoko community mailing list >> community@lists.openmoko.org >> http://lists.openmoko.org/mailman/listinfo/community > > -- > "We must plan for freedom, and not only for security, if for no other reason > than only freedom can make security more secure." Karl Popper > > _______________________________________________ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community > > _______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community