Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

0
Become a Fan
5.0

Available as/for:
Description:
Scripts and config files for bluemote (bluetooth remote command processing server) which support some kde based applications, using DCOP protocol.
With this you can remotely do some operations on your bluetooth enabled PC with you bluetooth enabled mobile device.
Download bluemote from
http://www.geocities.com/saravkrish/progs/bluemote/index.html

I bundled a modified version of bluemote's own serial.c, because my SE k700i didnt work with the original one. Feel free to use it.

Supports:

kmix - for master volume setting
kpresenter - presentation paging
amarok - play/stop, fw/rw, next/prev, info, etc.
kmplayer - play/stop, fw/rw
kaffeine - play/stop, fw/rw, fullscreen, dvd menu, etc.

Beware to use one instance of kmplayer and of kpresenter to avoid confusion. In kpresenter only the first viewed presentationis accesible.

(This is a modified, improved, and extended version of amarok-bluemote.)

Note: bluemote is for "T610 (or compatible Sony Ericsson phones)". Quoted from bluemote site. Dont know if it works for other mobiles...
Last changelog:

v0.4.1
------

Scripts
+ fix in dcop-amarok-info script (time)
+ small doc update


v0.4
----

Scripts:

+ fix for amarok info text (ugly text after info)
+ added lock_do and lock_kill -> applies only if you are using
my enhanced bluemote version
+ some helper scripts (office.sh,media.sh,kaffeine.sh) that
does the symlinking of bluemote.cfg for you, if you start them.
The cfg files must be copied into place (~/.bluemote)
to make it work.

Config:

+ renamed config points in cfg files for more options to fit
(unfortunately there is a limit how long accumulate menu size
can be tranferred to mobile in bluemote (maybe bug of bluemote?))
+ added WakeUp, GoSleep config lines: commands executed when
bluetooth connection is reestablished and broken. Now
GoSleep password locks KDE and pauses amarok/kaffeine/kmplayer,
but WakeUp (it would kill desktop lock) doesnt work currently
because kdedesktop_lock seems to lock bluemote too.
For GoSleep to lock desktop, you MUST start bluemote server
from within your KDE session!

Bluemote patches:

+ added serial.c, bluemote.c for enhanced k700i compatibility
(replace bluemote's 2.0 own files and recompile/reinstall it)
Sources in ./bluemote_src/

+ bluemote 2.0 COMPLETE patched version added with GoSleep/WakeUp
configuration line parsing. (Full source included.)
If bluetooth connection is broken GoSleep command
is called, if connection reestablished WakeUp command is called.
Look into cfg files if looking for example.
Sources in ./bluemote_enhanced/
NOTE: it is patched for k700i! So replace serial.c
with the original bluemote serial.c if you have not k700i,
or serial connection does not work.

Credits goes to Saravana K. Kannan for bluemote's author
for his great project!


v0.3
+ fixed dcop-amarok-info time info
+ added kaffeine config file (mostly fully functional) (bluemote-kaffeine.cfg)

Info:
Kaffeine 0.6, Amarok 1.2.1, KOffice 1.3, KMplayer 0.8.4


v0.2

+ added Mute/Unmute for Amarok
- removed Start Amarok (too much entries for bluemote)
+ some script cleanup


Ratings & Comments

12 Comments

ktech

anyone managed to use k700i with bluemote? How? Thanks!

ltmon

Hi Krionius, I'm trying to get your scripts working with my K700i and the media script (for amaroK control). Upon running the K700i gives me a message "Profile Handsfree" and then (quickly) "bluez connected". About 20 seconds later it then goes: "bluez disconnected" Which is about the same time as the bluemote program terminates. Any help would be much appreciated. Thanks, L. The following is my bluemote log: [Mon Apr 25 17:39:12 2005] - INIT - Setting up signal handlers [Mon Apr 25 17:39:12 2005] - INIT - Connecting to phone... [Mon Apr 25 17:39:16 2005] - INIT - Connected to phone. [Mon Apr 25 17:39:16 2005] - INIT - Initialising the connection. [Mon Apr 25 17:39:16 2005] - W - ATZ [Mon Apr 25 17:39:16 2005] - R - OK

krionius

Probably you should use the original bluemote serial.c, as far as I see, your k700i returns OK for ATZ. My returned TZ and OK, so i changed the code of serial.c! Please try downloading original bluemote version, extract serial.c, and use it instead of mine. I hope it helps. Please notify me. Thx

ltmon

Thanks for the quick reply and your trouble. Replacing with the standard bluemote had more success. The process did not self-terminate, and I was able to visit the "Connectivity -> Accessories" menu in my phone and select a command. Unfortunately none of the commands had an effect. L. Below is my log for a connect and then "play/pause" combination: [Mon Apr 25 19:32:30 2005] - INIT - Setting up signal handlers [Mon Apr 25 19:32:30 2005] - INIT - Connecting to phone... [Mon Apr 25 19:32:32 2005] - INIT - Connected to phone. [Mon Apr 25 19:32:32 2005] - INIT - Initialising the connection. [Mon Apr 25 19:32:32 2005] - W - ATZ^M [Mon Apr 25 19:32:32 2005] - R - OK [Mon Apr 25 19:32:32 2005] - W - ATE=0^M [Mon Apr 25 19:32:32 2005] - R - TE=0 [Mon Apr 25 19:32:32 2005] - R - OK [Mon Apr 25 19:32:32 2005] - W - ATE=0^M [Mon Apr 25 19:32:32 2005] - R - OK [Mon Apr 25 19:32:32 2005] - INIT - Waiting for commands from phone [Mon Apr 25 19:32:32 2005] - W - AT*ECAM=1^M [Mon Apr 25 19:32:32 2005] - R - OK [Mon Apr 25 19:32:32 2005] - W - AT+CSCS="8859-1"^M [Mon Apr 25 19:32:32 2005] - R - OK [Mon Apr 25 19:32:32 2005] - W - AT*EAM="PC Remote"^M [Mon Apr 25 19:32:32 2005] - R - OK [Mon Apr 25 19:32:32 2005] - INFO - Event Connect occurred. [Mon Apr 25 19:32:32 2005] - W - AT*ECAM=1^M [Mon Apr 25 19:32:33 2005] - R - OK [Mon Apr 25 19:32:33 2005] - W - AT+CSCS="8859-1"^M [Mon Apr 25 19:32:33 2005] - R - OK [Mon Apr 25 19:32:33 2005] - W - AT*EAM="PC Remote"^M [Mon Apr 25 19:32:33 2005] - R - OK [Mon Apr 25 19:32:48 2005] - R - *EAAI [Mon Apr 25 19:32:48 2005] - W - AT*EASM="PC Remote",1,1,19,"A Prev","A Play/Pause","A Next","A Go2Index","A Stop","A Info","A Vol Down","A Vol Up","A Mute / Unmute","A Random","A Fwd","A Rewind","V Play","V Pause","V Stop","V Fwd","V Rewind","Mouse","Volume"^M [Mon Apr 25 19:32:53 2005] - W - AT*ECAM=1^M [Mon Apr 25 19:32:54 2005] - R - OK [Mon Apr 25 19:32:54 2005] - W - AT+CSCS="8859-1"^M [Mon Apr 25 19:32:57 2005] - R - OK [Mon Apr 25 19:32:57 2005] - W - AT*EAM="PC Remote"^M [Mon Apr 25 19:32:57 2005] - W - AT*ECAM=1^M [Mon Apr 25 19:32:59 2005] - R - OK [Mon Apr 25 19:32:59 2005] - W - AT+CSCS="8859-1"^M [Mon Apr 25 19:33:02 2005] - R - OK [Mon Apr 25 19:33:02 2005] - W - AT*EAM="PC Remote"^M [Mon Apr 25 19:33:03 2005] - INFO - Interrupted by user. Exiting. [Mon Apr 25 19:33:03 2005] - W - ATZ^M [Mon Apr 25 19:33:04 2005] - R - OK

ltmon

Ok, after a few hours stuffing around I actually got bluetooth HID (a completely different method) to control amaroK for me. This is cool because I get to use the graphical remote control display on my K700i, and can even make my own graphical remote control displays. I'll write it up as a quick howto and post it somewhere when I next get a chance. Thanks again for your help. L.

krionius

Great! You are a smart one! If you can, please share this knowledge.

krionius

I think there must be some problem with the paths. It should work, if the commands are interpreted by bluemote. I am happy, that you found other controlling way. Actually I think bluemote has more advanced possibilities than simple HID manipulation. But it would be very nice to know how you managed to do HID use with k700i.

chris13

It seems you have forgotten to add the patched serial.c
Can you add it with the next version?

Thanks
Christoph

krionius

Sorry! I will add it, currently I dont have it on hand... Expect it tomorrow

krionius

0.4 now contains serial.c

krionius

pls, comment if bluemote works for other mobiles than SonyEricsson.

polovsky75

Works also with my S700I, Great work

Pling
0 Affiliates
Details
license
version 0.4.1
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 1

More Various KDE 1.-4. Improvements from krionius:

bluemote-k750 (for sonyericssons)
krionius
last update date: 18 years ago

Score 5.0

Logitech Cordless Desktop Optical LX 500
krionius
last update date: 20 years ago

Score 5.0

Other Various KDE 1.-4. Improvements:

Slicker Debian Package for Woody
cirrusgr
last update date: 22 years ago

Score 5.0

Konqueror/kdesktop suggestion
PovMan
last update date: 22 years ago

Score 5.0

Biiig buttons
dbojan
last update date: 20 years ago

Score 5.0

Yet Another KControl
Frans
last update date: 21 years ago

Score 5.0

Next window and next/previos window
dbojan
last update date: 20 years ago

Score 5.0

Fantasie Toolbar
katoe
last update date: 19 years ago

Score 5.0