Active Topics

 


Reply
Thread Tools
Posts: 839 | Thanked: 3,386 times | Joined on Mar 2009
#1
I have ssh server all the time running on N900. I often leave my phone silence without vibration and then do not remember where I put it. How I change profile over ssh? There are alsamixer but it can't unmute device if muted with profile.
 
Posts: 839 | Thanked: 3,386 times | Joined on Mar 2009
#2
Finally I found answer to this, and here it comes...

Code:
#change profile
run-standalone.sh dbus-send --session --dest=com.nokia.profiled --type=method_call /com/nokia/profiled com.nokia.profiled.set_profile string:"general"

#start playing given file in a loop
run-standalone.sh dbus-send --print-reply --dest=com.nokia.mediaplayer /com/nokia/mediaplayer com.nokia.mediaplayer.mime_open string:"file:////usr/share/sounds/Beep.aac"
If you have muted volume (or very low) you can't hear mediaplayer.

So next question is: how to increase volume over ssh? (alsamixer doesn't do anything)
 

The Following User Says Thank You to AapoRantalainen For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 19:10.