A light (non-Java), serial-over-bluetooth-based remote control for Amarok. Uses the Sony Ericsson AT command set, and supports the following Sony Ericsson phone models: K750, W800, Z520, W550, W600, W900, W810, Z530, W300, K510, K310, W700, Z525, W710, Z550, Z558, K320
Copyright (C) Arijit De, 2006. Distributed under the terms of the GNU GPL 2. Please mail bugs/suggestions to <qool@users.sourceforge.net>.
Features :- + Appears under "Entertainment" menu on the phone. + Supports Play/Pause, Next, Prev, Stop, Volume Up/Down operations from mobile phone. + Displays the current running track on Amarok in the phone menu title. + Since J2ME is not used (unlike some other alternatives), the remote control can be used while running some other application on non-multitasking models.
Instructions :- 1) Bind /dev/rfcomm0 to the serial-over-bluetooth channel of your mobile. Please refer to your distro docs or howtos on the internet to find out how to do this. 2) Install Device::Modem package for Perl. You can either use your distro packages for this, or install through CPAN as: cpan -i Device::Modem 3) Install and start script from Amarok.
When I run the script, my W800i says that my computer is asking for Internet access.
Answering no, I get this:
Could not open /var/log/modem.log to start logging at /usr/lib/perl5/site_perl/5.8.8/Device/Modem/Log/File.pm line 49.
cannot log error *FAILED* connect on /dev/rfcomm0 to file: Connection refused at /usr/lib/perl5/site_perl/5.8.8/Device/Modem/Log/File.pm line 106.
No connection with port /dev/rfcomm0! at /home/kristian/.kde/share/apps/amarok/scripts/MobileRemoteSE/MobileRemoteSE.pl line 31.
Answering yes, a little time passes, and then I get this:
Could not open /var/log/modem.log to start logging at /usr/lib/perl5/site_perl/5.8.8/Device/Modem/Log/File.pm line 49.
can't getattr: Input/output error at /usr/lib/perl5/site_perl/5.8.8/Device/Modem.pm line 477
cannot log error *FAILED* connect on /dev/rfcomm0 to file: Input/output error at /usr/lib/perl5/site_perl/5.8.8/Device/Modem/Log/File.pm line 106.
No connection with port /dev/rfcomm0! at /home/kristian/.kde/share/apps/amarok/scripts/MobileRemoteSE/MobileRemoteSE.pl line 31.
Any clues on what's happening?
Hi,
i'm trying to get this script running. After installing the missing Perl modules and binding the device, it fails with error code 29:
Failed to add menu entry at /home/me/.kde3.5/share/apps/amarok/scripts/MobileRemoteSE/MobileRemoteSE.pl line 37.
Any ideas what could be going wrong? Do i have to activate something on the cell phone (haven't found anything like that)? I'm using a W810i.
I have the same problem. Im running Ubuntu 6.10, and the phone is a k750i.
I think I have followed the instructions...
But anyways, if there is some help out there I'll be very happy :)
Did you bind /dev/rfcomm0 to the serial-over-bluetooth channel (3 for my W810i)?
Using bluez-utils this worked for me:
rfcomm bind 0 XX:XX:XX:XX:XX:XX 3
The K800's AT commands set differs from the supported models, and I couldn't find any documentation on the Sony Ericsson Developer website about the K800's command set (all the supported models have documented command sets here -> http://developer.sonyericsson.com/getDocument.do?docId=65054). If you could locate any such documentation for the K800, I'd be glad to add support for it.
Oops! Sorry for forgetting the dependency on the Device::Modem perl module. I've added that step in the instructions...
2) Install Device::Modem package for Perl. You can either use your distro packages for this, or install through CPAN as:
cpan -i Device::Modem
Ratings & Comments
10 Comments
When I run the script, my W800i says that my computer is asking for Internet access. Answering no, I get this: Could not open /var/log/modem.log to start logging at /usr/lib/perl5/site_perl/5.8.8/Device/Modem/Log/File.pm line 49. cannot log error *FAILED* connect on /dev/rfcomm0 to file: Connection refused at /usr/lib/perl5/site_perl/5.8.8/Device/Modem/Log/File.pm line 106. No connection with port /dev/rfcomm0! at /home/kristian/.kde/share/apps/amarok/scripts/MobileRemoteSE/MobileRemoteSE.pl line 31. Answering yes, a little time passes, and then I get this: Could not open /var/log/modem.log to start logging at /usr/lib/perl5/site_perl/5.8.8/Device/Modem/Log/File.pm line 49. can't getattr: Input/output error at /usr/lib/perl5/site_perl/5.8.8/Device/Modem.pm line 477 cannot log error *FAILED* connect on /dev/rfcomm0 to file: Input/output error at /usr/lib/perl5/site_perl/5.8.8/Device/Modem/Log/File.pm line 106. No connection with port /dev/rfcomm0! at /home/kristian/.kde/share/apps/amarok/scripts/MobileRemoteSE/MobileRemoteSE.pl line 31. Any clues on what's happening?
Hi, i'm trying to get this script running. After installing the missing Perl modules and binding the device, it fails with error code 29: Failed to add menu entry at /home/me/.kde3.5/share/apps/amarok/scripts/MobileRemoteSE/MobileRemoteSE.pl line 37. Any ideas what could be going wrong? Do i have to activate something on the cell phone (haven't found anything like that)? I'm using a W810i.
I have the same problem. Im running Ubuntu 6.10, and the phone is a k750i. I think I have followed the instructions... But anyways, if there is some help out there I'll be very happy :)
Did you bind /dev/rfcomm0 to the serial-over-bluetooth channel (3 for my W810i)? Using bluez-utils this worked for me: rfcomm bind 0 XX:XX:XX:XX:XX:XX 3
Hi, are you going to add support for K800i. This version ends with error code 9 on line 67. Thank you.
The K800's AT commands set differs from the supported models, and I couldn't find any documentation on the Sony Ericsson Developer website about the K800's command set (all the supported models have documented command sets here -> http://developer.sonyericsson.com/getDocument.do?docId=65054). If you could locate any such documentation for the K800, I'd be glad to add support for it.
Hi, Has anybody got AT commands Document for K800i? If yes please let me know. Thanks.. -atul
Thanks Qool, now it works! :)
When I init plugin in amarok: Can't locate Device/Modem.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl .) at /home/javi/.kde/share/apps/amarok/scripts/MobileRemoteSE/MobileRemoteSE.pl line 2. BEGIN failed--compilation aborted at /home/javi/.kde/share/apps/amarok/scripts/MobileRemoteSE/MobileRemoteSE.pl line 2. what's wrong? I have this installed: [Mantener] perl | 5.8.8-32 | 43.5 M [Mantener] perl-Bootloader | 0.4.5-3 | 242.9 K [Mantener] perl-Compress-Zlib | 1.42-20 | 118.9 K [Mantener] perl-Config-Crontab | 1.20-10 | 112.7 K [Mantener] perl-Crypt-SmbHash | 0.12-31 | 24.8 K [Mantener] perl-Crypt-SSLeay | 0.51-147 | 350.8 K [Mantener] perl-DBD-SQLite | 1.13-19 | 98.2 K [Mantener] perl-DBI | 1.52-17 | 1.5 M [Mantener] perl-Digest-HMAC | 1.01-525 | 33.7 K [Mantener] perl-Digest-MD4 | 1.5-31 | 35.4 K [Mantener] perl-Digest-SHA1 | 2.11-20 | 103.6 K [Mantener] perl-File-Tail | 0.99.3-30 | 38.0 K [Mantener] perl-gettext | 1.05-31 | 39.0 K [Mantener] perl-HTML-Parser | 3.55-20 | 215.2 K [Mantener] perl-HTML-Tagset | 3.10-30 | 19.4 K [Mantener] perl-IO-Zlib | 1.04-32 | 22.3 K [Mantener] perl-libwww-perl | 5.805-32 | 753.1 K [Mantener] perl-Net-Daemon | 0.39-8 | 87.2 K [Mantener] perl-Net-DNS | 0.59-16 | 537.9 K [Mantener] perl-Net-IP | 1.23-32 | 75.2 K [Mantener] perl-PlRPC | 0.2018-31 | 67.0 K [Mantener] perl-spamassassin | 3.1.6-15 | 2.2 M [Mantener] perl-TermReadKey | 2.30-31 | 62.2 K [Mantener] perl-TimeDate | 1.16-154 | 75.7 K [Mantener] perl-URI | 1.35-33 | 247.3 K [Mantener] perl-XML-Parser | 2.34-61 | 643.3 K [Mantener] perl-XML-Writer | 0.601-17 | 50.9 K [Mantener] SDL_perl | 1.20.0-395 | 1.1 M
Oops! Sorry for forgetting the dependency on the Device::Modem perl module. I've added that step in the instructions... 2) Install Device::Modem package for Perl. You can either use your distro packages for this, or install through CPAN as: cpan -i Device::Modem