OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Sharp ROMs => Topic started by: papercrane on February 15, 2005, 07:47:02 pm
-
Is there anywhere I can get a definitive list of QCop messages? Is there anyw ay to perhaps query an app to see what it can do? I've found some listings of the system qcop messages, but I'm actually looking for the messages that can be sent to the Music Player on the C series (I have a C3000).
-
http://doc.trolltech.com/qtopia2.1/html/qcop.html (http://doc.trolltech.com/qtopia2.1/html/qcop.html) has a bunch of them, but I doubt you'll ever get a definitive list as each app can use qcop itself and isn't limited to set qtopia has.
There was an app I saw that allowed you to "watch" the qcop messages and store ones for specific apps. This may help you in your hunt - If I can find it I'll post the link.
Stu
-
Here is the qcop watching program I was talking about
http://www2.gol.com/users/ikezawa/zaurus/qcoptest.html (http://www2.gol.com/users/ikezawa/zaurus/qcoptest.html)
The site is Japanese, but the program works in english
Stu
-
Here is the result of my search through Sharp Qtopia binaries:
QPE/System
volumeChange(bool)
enableWizardBtn(bool)
linkChanged(QString)
setBlankLCD(int)
setScreenSaverMode(int)
setScreenSaverInterval(int)
setScreenSaverIntervals(int,int,int)
setBacklight(int)
setScreenSaverOnOff(bool)
setSuspendOnOff(bool)
brightnessChange(int,int)
remoteControl(int) ?
remoteControl(int,int,int) ?
registerRemconMaster(QString,int) ?
shutdown()
restart()
quit()
mustQuit()
stopSamba()
startSamba()
startSync()
stopSync()
busy()
notBusy(QString)
execute(QString)
timeChange(QString)
__zoomin
__zoomout
__rotate
__network_connect
__network_disconnect
execute(QString,QString)
addPrivilegeApp(QString) ?
removePrivilegeApp(QString) ?
raiseMenu()
QPE/Network
connectRequest()
disconnectRequest(int)
choicesChanged()
up()
down()
QPE/Card
mtabChanged()
stabChanged()
QPE/TaskBar
setLed(int,bool) ?
reloadApplets()
reloadInputMethods()
updateMenu()
message(QString)
showInputMethod()
hideInputMethod()
changeInputMethod()
rotateInputMethod()
soundAlarm()
QPE/Application/addressbook
addContact(QString,QString) "First Last" e-mail
editPersonal()
editPersonalAndClose()
nextView()
saveXML()
searchPhoneNo(QString,QString)
addPhoneNo(QString,QString)
QPE/Application/datebook
nextView()
QPE/Application/qtmail
writeMail(QString,QString) "First Last" e-mail
sendrecv()
nextView()
reload()
QPE/Application/launcher
escKey()
raise()
nextView()
-
Also, you can open program binary in a text editor and just look for string that look like a qcop messages
-
Hi,
is there a way to suspend the Zaurus via qcop?
For some reason I have big trouble waking up the machine after suspending via
apm --suspend
The whole Qtopia UI is slooow. Actually I can see how it draws the content.
The funny thing is that my SSH connection seems to be running quite fine perfomance-wise.
I have no idea what the cause is. Maybe someone can shed a light on this.
I know for sure that this behaviour showed up on all ROMs I've tested (all Cacko versions, all Sharp). Perhaps I'm just doing something wrong?!
Regards,
evil
-
Okay, since nobody seems to have this problem described above with
apm --suspend
I had to come up with my own solution. Actually it's quite easy to figure out once you use qcoptest. Great program!
qcop QPE/System "execute(QString)" suspend
will send your Zaurus into sleep mode.
Waking it up doesn't show the symptoms I had when using apm --suspend, ie. unusable UI.
I still don't get why that "apm --suspend" doesn't work as expected.
I guess it has to do with some framebuffer/graphic driver quirk/problem. It's only the graphics output that's incredibly slowed down - everything else, like using the Zaurus via SSH, works as usual. Perhaps it's a problem only visible with my C750, no idea...
Anyway, the line above works for me. If anybody else has the same problem, this is a solution.
So, now I can finally listen to music while falling asleep - and have my Zaurus suspend for sure after 20 minutes or so...
sleep 1200 && qcop QPE/System "execute(QString)" suspend
does the trick