特殊:Badtitle/NS100:BluetoothRemoteControl:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
(未显示同一用户的10个中间版本) | |||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/BluetoothRemoteControl}} | {{From|https://help.ubuntu.com/community/BluetoothRemoteControl}} | ||
{{Languages|UbuntuHelp:BluetoothRemoteControl}} | {{Languages|UbuntuHelp:BluetoothRemoteControl}} | ||
=== Introduction === | |||
This page is created to provide configuration files for Sony Ericsson (and any other) phones that support remote control over bluetooth using HID. Other mobile phones can try the [http:// | This page is created to provide configuration files for Sony Ericsson (and any other) phones that support remote control over bluetooth using HID. Other mobile phones can try the [http://remuco.sourceforge.net/ remuco] project . | ||
=== Devices === | === Devices === | ||
Following Sony Ericsson provide this functionality. < | Following Sony Ericsson provide this functionality. <<BR>> | ||
D750, K320, K510, K530, K550, K600, K610, K700, K750, K790, K800, K810, K850, S500, S700, T650, V800, W300, W550, W580, W600, W610, W660, W700, W710, W800, W810, W830, W850, W880, W900, W910, Z520, Z525, Z530, Z550, Z558, Z610, Z710, Z750, Z800 < | D750, K320, K510, K530, K550, K600, K610, K660i, K700, K750, K790, K800, K810, K850, S500, S700, T650, V800, W300, W550, W580, W600, W610, W660, W700, W710, W800, W810, W830, W850, W880, W900, W910, Z520, Z525, Z530, Z550, Z558, Z610, Z710, Z750, Z800 <<BR>> | ||
{i} Please refer to your handset's manual for usage instructions. | {i} Please refer to your handset's manual for usage instructions. | ||
=== Solutions === | === Solutions === | ||
There several possibilities to get remote controller functionality under Linux. First of all there is the the Linux port of the [http://bemused.sourceforge.net/ bemused server] and its clients, secondly there is the [http:// | There several possibilities to get remote controller functionality under Linux. First of all there is the the Linux port of the [http://bemused.sourceforge.net/ bemused server] and its clients, secondly there is the [http://remotej.sourceforge.net/ remoteJ] project, thirdly there is [http://anyremote.sourceforge.net/ anyremote], and of course there is the possibility to use the better documented remote controller of your own phone. This page is primarily about this third alternative. | ||
=== Installation and Configuration === | === Installation and Configuration === | ||
* '''Ubuntu 6.06 LTS (Dapper Drake)''' | * '''Ubuntu 6.06 LTS (Dapper Drake)''' | ||
第14行: | 第14行: | ||
Edit file /etc/default/bluez-utils. | Edit file /etc/default/bluez-utils. | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo cp /etc/default/bluez-utils /etc/default/bluez-utils_backup | sudo cp /etc/default/bluez-utils /etc/default/bluez-utils_backup | ||
sudo nano /etc/default/bluez-utils | sudo nano /etc/default/bluez-utils | ||
</nowiki></pre> | </nowiki></pre> | ||
Look for the following line: | Look for the following line: | ||
<pre><nowiki> | <pre><nowiki> | ||
HIDD_ENABLED=0 | HIDD_ENABLED=0 | ||
</nowiki></pre> | </nowiki></pre> | ||
Change it to: | Change it to: | ||
<pre><nowiki> | <pre><nowiki> | ||
HIDD_ENABLED=1 | HIDD_ENABLED=1 | ||
</nowiki></pre> | </nowiki></pre> | ||
Certain phones require the following options line: | Certain phones require the following options line: | ||
<pre><nowiki> | <pre><nowiki> | ||
# -D (nosdp) special hack for 700i and similar phones | # -D (nosdp) special hack for 700i and similar phones | ||
# -Z (nocheck) also needed in the setup procedure | # -Z (nocheck) also needed in the setup procedure | ||
HIDD_OPTIONS="--master --server -D -Z" | HIDD_OPTIONS="--master --server -D -Z" | ||
</nowiki></pre> | </nowiki></pre> | ||
Restart bluetooth services: | Restart bluetooth services: | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo /etc/init.d/bluez-utils restart | sudo /etc/init.d/bluez-utils restart | ||
</nowiki></pre> | </nowiki></pre> | ||
One this is done your PC is set to use HID services. Now you need to transfer remote control (.hid) files to your phone. | One this is done your PC is set to use HID services. Now you need to transfer remote control (.hid) files to your phone. | ||
Install package 'gnome-bluetooth' using your favourite package manager. | Install package 'gnome-bluetooth' using your favourite package manager. | ||
Send .hid file to your phone (replace btaddr with appropriate value for your phone): | Send .hid file to your phone (replace btaddr with appropriate value for your phone): | ||
<pre><nowiki> | <pre><nowiki> | ||
gnome-obex-send -d btaddr /path/to/<filename>.hid | gnome-obex-send -d btaddr /path/to/<filename>.hid | ||
</nowiki></pre> | </nowiki></pre> | ||
The phone firmware detects this file as remote control file and automatically sets it up. Depending on the phone the profile is now accessible along with default profiles. | The phone firmware detects this file as remote control file and automatically sets it up. Depending on the phone the profile is now accessible along with default profiles. | ||
* '''Ubuntu 7.04 (Feisty) 7.10(Gutsy)''' | * '''Ubuntu 7.04 (Feisty) 7.10(Gutsy)''' | ||
第46行: | 第46行: | ||
first install bluez-utils, there may be some dependancies | first install bluez-utils, there may be some dependancies | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo apt-get install bluez-utils | sudo apt-get install bluez-utils | ||
</nowiki></pre> | </nowiki></pre> | ||
next lets find your phone via ol' bluetooth | next lets find your phone via ol' bluetooth | ||
<pre><nowiki> | <pre><nowiki> | ||
hcitool scan | sudo hcitool scan | ||
</nowiki></pre> | </nowiki></pre> | ||
and you'll get a MAC address and identifier | and you'll get a MAC address and identifier | ||
<pre><nowiki> | <pre><nowiki> | ||
00:11:22:AA:BB:CC MyPhonesName | 00:11:22:AA:BB:CC MyPhonesName | ||
</nowiki></pre> | </nowiki></pre> | ||
copy the MAC address and do the following | copy the MAC address and do the following | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo hidd --connect 00:11:22:AA:BB:CC | sudo hidd --connect 00:11:22:AA:BB:CC | ||
</nowiki></pre> | </nowiki></pre> | ||
but with your phone's MAC address, this should bring a mesage up on your phone "allow *** to access remote control?", click yes and select 'Desktop'. woohoo you can control the mouse (as well as tab and windows key and a few other things depending on you model of sony ericsson) | but with your phone's MAC address, this should bring a mesage up on your phone "allow *** to access remote control?", click yes and select 'Desktop'. woohoo you can control the mouse (as well as tab and windows key and a few other things depending on you model of sony ericsson) | ||
it sucks a bit if you have to do this everytime you want to use ur mobile, and so....back to the terminal | it sucks a bit if you have to do this everytime you want to use ur mobile, and so....back to the terminal | ||
<pre><nowiki> | |||
sudo hidd --server | |||
</nowiki></pre> | |||
and now you can connect your phone from your phones remote control menu option ( usually entertainment>>remote control ) | |||
Note: If hidd --server does not work for you, you can try adding your phones's MAC address in /etc/default/bluetooth or /etc/default/bluez-utils file in HIDD_OPTIONS like HIDD_OPTIONS="--connect 00:11:22:AA:BB:CC --master --server" | |||
* '''Ubuntu 8.04 (Hardy)''' | |||
Follow the instructions from Feisty and Gutsy. There seems to be some problems with the | |||
<pre><nowiki> | <pre><nowiki> | ||
sudo hidd --server | sudo hidd --server | ||
</nowiki></pre> | </nowiki></pre> | ||
command because it commonly tosses out this error message. | |||
<pre><nowiki> | |||
Can't listen on HID control channel: Address already in use | |||
</nowiki></pre> We are looking into that! At this point you will have to | |||
<pre><nowiki> | |||
sudo hidd --connect 00:11:22:AA:BB:CC | |||
</nowiki></pre> | |||
use that command continuously to connect. Also you could try these steps, copied from [[UbuntuHelp:BluetoothInputDevices|BluetoothInputDevices]] | |||
1. Go to System > Preferences > Bluetooth or right-click on the Bluetooth applet and choose '''Preferences'''. | |||
<ol><li>Under "Mode of operation" choose "Visible and connectable for other devices" | |||
</li><li>Change to the '''Services''' tab, there will be a list of Available services. On that list, click once on '''Input service'''. | |||
</li><li>Put your input device in "pair" or "connect" mode. This is usually done with a physical button on or under the device. | |||
</li><li>In the '''Input Devices''' section, click "Add". A new window will appear with the input devices visible (in this example, a mouse). | |||
<ol><li>'''Mouse:''' Click on the mouse to choose it and click "Connect". A confirmation message will appear and the device should be connected. | |||
</li><li>'''Keyboard:''' Click on the keyboard to choose it and click "Connect". It will prompt you to enter a password. Enter any password in the dialog, e.g. "1234", and then enter the exact same password on the keyboard, followed by Enter, and the device should be connected.</li></ol> | |||
https://help.ubuntu.com/community/BluetoothRemoteControl?action=AttachFile&do=get&target=Screenshot-CreateDevice.png | |||
There is no need to modify any configuration files manually when using Ubuntu 7.10 or Ubuntu 8.04. | |||
Send .hid file to your phone (gnome-obex-send is deprecated): | |||
<pre><nowiki> | |||
bluetooth-sendto | |||
</nowiki></pre> | |||
See [http://ubuntuforums.org/showpost.php?p=1774584&postcount=10 this forum post] for more information on Bluetooth HID remote control in Ubuntu Feisty. | See [http://ubuntuforums.org/showpost.php?p=1774584&postcount=10 this forum post] for more information on Bluetooth HID remote control in Ubuntu Feisty. | ||
* '''Ubuntu 8.10 (Intrepid Ibex)''' | |||
hidd is by default missing in 8.10 (see [https://bugs.launchpad.net/ubuntu/+source/bluez-utils/+bug/191704 Bug Report]). By now it can be installed through the compatibility package: | |||
<pre><nowiki> | |||
apt-get install bluez-compat | |||
</nowiki></pre> | |||
You may have to remove a bluetooth plugin to get the hidd server to function. I quote from http://www.adamish.com/blog/ | |||
Back to the problems with HID. My phone simply won't connect, I just get messages (on the phone saying) Bluetooth connection failed. Check Bluetooth settings on other decice. Bluetooth on. Device visible. Device in range. | |||
It seems the new bluetooth system has a HID daemon built-in. This is in the form of an 'input' plugin. I have found by deleting this file, and running the legacy hidd program supplied in bluez-compat that I'm able to use my phone | |||
<pre><nowiki> | |||
# remove input plugin (it won't work with my phone) | |||
rm /usr/lib/bluetooth/plugins/input.so | |||
# Restart the bluetooth daemon | |||
/etc/init.d/bluetooth stop | |||
/etc/init.d/bluetooth start | |||
# Load the legacy HID daemon (hidd) | |||
hidd --server | |||
# Now I can connect my mobile phone !! | |||
echo "Happy days" | |||
</nowiki></pre> | |||
Everything else seems to be as described for 8.04. | |||
* '''Ubuntu 9.04 (Jaunty Jackalope)''' | |||
I've tested this on Ubuntu 9.04 and it worked '''out-of-the-box''' for me! | |||
<ol><li>Download your desired .hid file as below. | |||
</li><li>Ensure both your phone and computer have Bluetooth turned ON and that they are both discoverable (in GNOME, go to Bluetooth icon Preferences -> select "Always visible" or "Temporary visible"). | |||
</li><li>Right click on your downloaded .hid file, then go to "Send To", choose Bluetooth (OBEX Push), and select your phone from the Bluetooth discovered device list. (Your phone should ask you if you want to use the new remote control file, and it should ask you which computer to connect to -- choose your computer and away you go. '''DONE.''' At least that's how nicely it worked for me using Ubuntu 9.04 with my Sony Ericsson K800i without any problem.)<<BR>></li></ol> | |||
* '''Ubuntu 9.10 (Karmic Koala)''' | |||
Works '''out-of-the-box'''. See instructions for Ubuntu 9.04. | |||
<<BR>> | |||
=== Configuration files === | === Configuration files === | ||
The bluetooth remote control configuration file for Sony Ericsson is a tar archive with extension as .hid < | The bluetooth remote control configuration file for Sony Ericsson is a tar archive with extension as .hid <<BR>> | ||
The tar file contains two files < | The tar file contains two files <<BR>> | ||
a) an image containing visual representation of key mappings. < | a) an image containing visual representation of key mappings. <<BR>> | ||
b) A XML descriptor with extension .kcf that defines key mappings. < | b) A XML descriptor with extension .kcf that defines key mappings. <<BR>> | ||
The format of XML descriptor is defined at [http://developer.sonyericsson.com/ | The format of XML descriptor is defined at the Sony Ericsson developer site in a ''Developers Guidelines'' PDF document that is included in the installer for the [http://developer.sonyericsson.com/wportal/devworld/technology/more/bluetooth Bluetooth Remote Control tool]. The document can also be downloaded directly [http://developer.sonyericsson.com/wportal/devworld/downloads/download/dw-66147-dghidbtr28a?cc=gb&lc=en here]<<BR>> | ||
The key codes for HID are defined at [http://www.usb.org/developers/devclass_docs/Hut1_11.pdf USB website] | The key codes for HID are defined at [http://www.usb.org/developers/devclass_docs/Hut1_11.pdf USB website] | ||
=== Example configurations === | === Example configurations === | ||
By default there are some configurations provided with the phones. Some work with Linux while others do not. < | By default there are some configurations provided with the phones. Some work with Linux while others do not. <<BR>> | ||
Following table lists the remote control configuration files specifically made for Linux applications. | Following table lists the remote control configuration files specifically made for Linux applications. | ||
{|border="1" cellspacing="0" | {|border="1" cellspacing="0" | ||
第83行: | 第142行: | ||
|'''Application'''||'''Phone'''||'''File'''||'''Created By'''||'''Notes''' | |'''Application'''||'''Phone'''||'''File'''||'''Created By'''||'''Notes''' | ||
|- | |- | ||
| | |TvTime||K660i, K750i (Not tested with other phones)|| [[UbuntuHelp:attachment:TvTime.hid|attachment:TvTime.hid]]||Refit Gustaroska (gustaroska at gmail dot com)||Number button as channel number, star(*) for window mode or fullscreen, hash(#) for mute and unmute sound, volume side key for controling sound volume | ||
|- | |||
|Totem||K660i, SE K700i, K750i, W610i, W880i (Not tested with other phones)|| [[UbuntuHelp:attachment:Totem1.hid|attachment:Totem1.hid]]||frandavid100 (frandavid100 at gmail dot com)||I have tried to map as much commands in Totem as possible to phone keys (ex. DVD Menu, Fullscreen). Please let know if you have any comments or suggestions | |||
|- | |||
|amaroK||K660i, SE K750i, W580i, W810i (Not tested with Other phones)|| [[UbuntuHelp:attachment:Amarok.hid|attachment:Amarok.hid]]||-- V7 >||You may have to modify the configuration file if you have changed Amarok's Global Shortcuts. | |||
|- | |||
|Amarok||K800i (not tested with other phones, but should work)|| [[UbuntuHelp:attachment:Amarok.zip|attachment:Amarok.zip]]||Flittermice (flittermice at gmx dot at)||This HID file is based on the amaroK configuration above, therefore it should work with the phones mentioned above. Maybe you have to size down the background image because I reworked it for the resolution 240x320. I added both a "thumbs up" and a "thumbs down" button for the possibility to increase and decrease a song's rating. The ZIP file contains the source files and instructions on how to install the "rating" function. | |||
|- | |||
|[[UbuntuHelp:MPlayer|MPlayer]]||SE K700i, K750i, W810i (Not tested with other phones)||[[UbuntuHelp:attachment:MPlayer.hid|attachment:MPlayer.hid]]||Szasz Pal (space at spacesoftwarestudio dot com)|| | |||
|- | |||
|XMMS||SE K750i (Not tested with other phones)||[[UbuntuHelp:attachment:XMMS.hid|attachment:XMMS.hid]]||Szasz Pal (space at spacesoftwarestudio dot com)|| | |||
|- | |||
|Rhythmbox||K660i, SE K700i, K750i, W610i, W710i, W880i (Not tested with other phones)||[[UbuntuHelp:attachment:Rhythmbox1.hid|attachment:Rhythmbox1.hid]]||frandavid100 (frandavid100 at gmail dot com)|| | |||
|- | |||
|Banshee||SE K700i, K750i (Not tested with other phones)||[[UbuntuHelp:attachment:Banshee.hid|attachment:Banshee.hid]]||adam (dot) lofts (at) gmail (dot) com||Volume control does not work since Banshee lacks the keybindings | |||
|- | |||
|Banshee||SE z770i (Not tested with other phones)||[[UbuntuHelp:attachment:Banshee2.hid|attachment:Banshee2.hid]]||tthorb (at) gmail (dot) com||I changed the Gnome shortcut to CTRL-ALT-Z/X to get Volume control to work since Banshee lacks the keybindings | |||
|- | |- | ||
| | |Elisa||SE K700i, K750i, W610i, W710i, W880i (Not tested with other phones)||[[UbuntuHelp:attachment:Elisa.hid|attachment:Elisa.hid]]||frandavid100 (frandavid100 at gmail dot com)|| | ||
|- | |- | ||
| | |Ubuntu||K660i, SE K700i, K750i, W580i, W610i, W710i, W880i (Not tested with other phones)||[[UbuntuHelp:attachment:Ubuntu.hid|attachment:Ubuntu.hid]]||frandavid100 (frandavid100 at gmail dot com)||This works extremely well and is meant for use with the ubuntu desktop! I was even able to control volume with no additional setup! | ||
|- | |- | ||
| | |XBMC||K550i (Not tested with other phones) || [[UbuntuHelp:attachment:XBMC.hid]] || Peter Gyongyosi (gyp (at) impulzus (dot) com) || Some functions could not be bound to default XBMC keyboard bindings so some changes were needed for volume and context menu, see the keyboard section of [[UbuntuHelp:attachment:Keymap.xml|attachment:Keymap.xml]] for an example | ||
|- | |- | ||
| | |XBMC|| Profiles for phones with resolutions 176x208, 176x220, 222x296, 240x320 (tested on W890i), 480x640, 600x800 || [[UbuntuHelp:attachment:XBMC_remote_profiles.zip]] || Kim (krosenbohm (at) gmx (dot) net) || Primarily for music, but also video playback. Contains .svg file adapted from [[UbuntuHelp:attachment:Template222x296|attachment:Template222x296]] and a [http://xbmc.org/forum/showthread.php?t=37336&page=3 shamelessly ripped XBMC logo] so you can create your own profiles. Some icons were taken from the [http://tango.freedesktop.org/Tango_Desktop_Project Tango project]. If a .hid file isn't working, please repack with tar on Linux: Rename .jpg file with proper resolution to HD-layout.jpg and pack into a .tar file together with Remote.kcf. | ||
|- | |- | ||
| | |OpenOffice Impress||K750i,W300i (Not tested with other phones)||Download [http://www.kde-apps.org/content/show.php/Sony+Ericsson+HID+profiles+package?content=60288 here]. ||Stani (spe.stani.be on gmail)||This is a meta package with HID files for OpenOffice Impress, VLC, Amarok, Kaffeine and KDE Desktop. The OpenOffice Impress works fine. I've tested the VLC player but not all keys did work as expected. (Note from Carey O'Shea: The VLC keys should be fine -- the only thing I think that is stopping them working properly all the time is a WxWidgets bug, see here: https://bugs.launchpad.net/vlc/+bug/2772 (ie. disable the "Embed video in interface" option under WxWidgets in VLC options under Interfaces and restart VLC, your video should be in a different window to the VLC controls, but at least your keyboard shortcuts should work properly from then on -- works for me.) | ||
|} | |} | ||
=== Misc === | === Misc === | ||
Keymap image templates can be found here: [[UbuntuHelp:attachment:Template176x220|attachment:Template176x220]] [[UbuntuHelp:attachment:Template222x296|attachment:Template222x296]] so that it is easy to create visual representation for key mappings. <<BR>> | |||
Please note that this template was made according to SE K700i screen resolution and may not fit for other phones. | Please note that this template was made according to SE K700i screen resolution and may not fit for other phones. | ||
---- | ---- | ||
[[category:CategoryNetworking | [[category:CategoryNetworking]] [[category:CategoryBluetooth]] | ||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2010年5月19日 (三) 21:45的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/BluetoothRemoteControl }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/af | • {{#if: UbuntuHelp:BluetoothRemoteControl|Afrikaans| [[::BluetoothRemoteControl/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/ar | • {{#if: UbuntuHelp:BluetoothRemoteControl|العربية| [[::BluetoothRemoteControl/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/az | • {{#if: UbuntuHelp:BluetoothRemoteControl|azərbaycanca| [[::BluetoothRemoteControl/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/bcc | • {{#if: UbuntuHelp:BluetoothRemoteControl|جهلسری بلوچی| [[::BluetoothRemoteControl/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/bg | • {{#if: UbuntuHelp:BluetoothRemoteControl|български| [[::BluetoothRemoteControl/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/br | • {{#if: UbuntuHelp:BluetoothRemoteControl|brezhoneg| [[::BluetoothRemoteControl/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/ca | • {{#if: UbuntuHelp:BluetoothRemoteControl|català| [[::BluetoothRemoteControl/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/cs | • {{#if: UbuntuHelp:BluetoothRemoteControl|čeština| [[::BluetoothRemoteControl/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/de | • {{#if: UbuntuHelp:BluetoothRemoteControl|Deutsch| [[::BluetoothRemoteControl/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/el | • {{#if: UbuntuHelp:BluetoothRemoteControl|Ελληνικά| [[::BluetoothRemoteControl/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/es | • {{#if: UbuntuHelp:BluetoothRemoteControl|español| [[::BluetoothRemoteControl/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/fa | • {{#if: UbuntuHelp:BluetoothRemoteControl|فارسی| [[::BluetoothRemoteControl/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/fi | • {{#if: UbuntuHelp:BluetoothRemoteControl|suomi| [[::BluetoothRemoteControl/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/fr | • {{#if: UbuntuHelp:BluetoothRemoteControl|français| [[::BluetoothRemoteControl/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/gu | • {{#if: UbuntuHelp:BluetoothRemoteControl|ગુજરાતી| [[::BluetoothRemoteControl/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/he | • {{#if: UbuntuHelp:BluetoothRemoteControl|עברית| [[::BluetoothRemoteControl/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/hu | • {{#if: UbuntuHelp:BluetoothRemoteControl|magyar| [[::BluetoothRemoteControl/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/id | • {{#if: UbuntuHelp:BluetoothRemoteControl|Bahasa Indonesia| [[::BluetoothRemoteControl/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/it | • {{#if: UbuntuHelp:BluetoothRemoteControl|italiano| [[::BluetoothRemoteControl/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/ja | • {{#if: UbuntuHelp:BluetoothRemoteControl|日本語| [[::BluetoothRemoteControl/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/ko | • {{#if: UbuntuHelp:BluetoothRemoteControl|한국어| [[::BluetoothRemoteControl/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/ksh | • {{#if: UbuntuHelp:BluetoothRemoteControl|Ripoarisch| [[::BluetoothRemoteControl/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/mr | • {{#if: UbuntuHelp:BluetoothRemoteControl|मराठी| [[::BluetoothRemoteControl/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/ms | • {{#if: UbuntuHelp:BluetoothRemoteControl|Bahasa Melayu| [[::BluetoothRemoteControl/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/nl | • {{#if: UbuntuHelp:BluetoothRemoteControl|Nederlands| [[::BluetoothRemoteControl/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/no | • {{#if: UbuntuHelp:BluetoothRemoteControl|norsk| [[::BluetoothRemoteControl/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/oc | • {{#if: UbuntuHelp:BluetoothRemoteControl|occitan| [[::BluetoothRemoteControl/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/pl | • {{#if: UbuntuHelp:BluetoothRemoteControl|polski| [[::BluetoothRemoteControl/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/pt | • {{#if: UbuntuHelp:BluetoothRemoteControl|português| [[::BluetoothRemoteControl/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/ro | • {{#if: UbuntuHelp:BluetoothRemoteControl|română| [[::BluetoothRemoteControl/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/ru | • {{#if: UbuntuHelp:BluetoothRemoteControl|русский| [[::BluetoothRemoteControl/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/si | • {{#if: UbuntuHelp:BluetoothRemoteControl|සිංහල| [[::BluetoothRemoteControl/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/sq | • {{#if: UbuntuHelp:BluetoothRemoteControl|shqip| [[::BluetoothRemoteControl/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/sr | • {{#if: UbuntuHelp:BluetoothRemoteControl|српски / srpski| [[::BluetoothRemoteControl/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/sv | • {{#if: UbuntuHelp:BluetoothRemoteControl|svenska| [[::BluetoothRemoteControl/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/th | • {{#if: UbuntuHelp:BluetoothRemoteControl|ไทย| [[::BluetoothRemoteControl/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/tr | • {{#if: UbuntuHelp:BluetoothRemoteControl|Türkçe| [[::BluetoothRemoteControl/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/vi | • {{#if: UbuntuHelp:BluetoothRemoteControl|Tiếng Việt| [[::BluetoothRemoteControl/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/yue | • {{#if: UbuntuHelp:BluetoothRemoteControl|粵語| [[::BluetoothRemoteControl/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/zh | • {{#if: UbuntuHelp:BluetoothRemoteControl|中文| [[::BluetoothRemoteControl/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/zh-hans | • {{#if: UbuntuHelp:BluetoothRemoteControl|中文(简体)| [[::BluetoothRemoteControl/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothRemoteControl | UbuntuHelp:BluetoothRemoteControl | {{#if: | :}}BluetoothRemoteControl}}/zh-hant | • {{#if: UbuntuHelp:BluetoothRemoteControl|中文(繁體)| [[::BluetoothRemoteControl/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:BluetoothRemoteControl|:BluetoothRemoteControl|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :BluetoothRemoteControl/zh | | {{#ifexist: BluetoothRemoteControl/zh | | {{#ifeq: {{#titleparts:BluetoothRemoteControl|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:BluetoothRemoteControl|1|-1|}} | zh | | }}
Introduction
This page is created to provide configuration files for Sony Ericsson (and any other) phones that support remote control over bluetooth using HID. Other mobile phones can try the remuco project .
Devices
Following Sony Ericsson provide this functionality. <
>
D750, K320, K510, K530, K550, K600, K610, K660i, K700, K750, K790, K800, K810, K850, S500, S700, T650, V800, W300, W550, W580, W600, W610, W660, W700, W710, W800, W810, W830, W850, W880, W900, W910, Z520, Z525, Z530, Z550, Z558, Z610, Z710, Z750, Z800 <
>
{i} Please refer to your handset's manual for usage instructions.
Solutions
There several possibilities to get remote controller functionality under Linux. First of all there is the the Linux port of the bemused server and its clients, secondly there is the remoteJ project, thirdly there is anyremote, and of course there is the possibility to use the better documented remote controller of your own phone. This page is primarily about this third alternative.
Installation and Configuration
- Ubuntu 6.06 LTS (Dapper Drake)
Install package 'bluez-utils' using your favourite package manager. Edit file /etc/default/bluez-utils.
sudo cp /etc/default/bluez-utils /etc/default/bluez-utils_backup sudo nano /etc/default/bluez-utils
Look for the following line:
HIDD_ENABLED=0
Change it to:
HIDD_ENABLED=1
Certain phones require the following options line:
# -D (nosdp) special hack for 700i and similar phones # -Z (nocheck) also needed in the setup procedure HIDD_OPTIONS="--master --server -D -Z"
Restart bluetooth services:
sudo /etc/init.d/bluez-utils restart
One this is done your PC is set to use HID services. Now you need to transfer remote control (.hid) files to your phone. Install package 'gnome-bluetooth' using your favourite package manager. Send .hid file to your phone (replace btaddr with appropriate value for your phone):
gnome-obex-send -d btaddr /path/to/<filename>.hid
The phone firmware detects this file as remote control file and automatically sets it up. Depending on the phone the profile is now accessible along with default profiles.
- Ubuntu 7.04 (Feisty) 7.10(Gutsy)
Right, this is deadly simple. It allows your mobile to take control of the mouse and provide some keyboard functionality as well. first install bluez-utils, there may be some dependancies
sudo apt-get install bluez-utils
next lets find your phone via ol' bluetooth
sudo hcitool scan
and you'll get a MAC address and identifier
00:11:22:AA:BB:CC MyPhonesName
copy the MAC address and do the following
sudo hidd --connect 00:11:22:AA:BB:CC
but with your phone's MAC address, this should bring a mesage up on your phone "allow *** to access remote control?", click yes and select 'Desktop'. woohoo you can control the mouse (as well as tab and windows key and a few other things depending on you model of sony ericsson) it sucks a bit if you have to do this everytime you want to use ur mobile, and so....back to the terminal
sudo hidd --server
and now you can connect your phone from your phones remote control menu option ( usually entertainment>>remote control ) Note: If hidd --server does not work for you, you can try adding your phones's MAC address in /etc/default/bluetooth or /etc/default/bluez-utils file in HIDD_OPTIONS like HIDD_OPTIONS="--connect 00:11:22:AA:BB:CC --master --server"
- Ubuntu 8.04 (Hardy)
Follow the instructions from Feisty and Gutsy. There seems to be some problems with the
sudo hidd --server
command because it commonly tosses out this error message.
Can't listen on HID control channel: Address already in use
We are looking into that! At this point you will have to
sudo hidd --connect 00:11:22:AA:BB:CC
use that command continuously to connect. Also you could try these steps, copied from BluetoothInputDevices 1. Go to System > Preferences > Bluetooth or right-click on the Bluetooth applet and choose Preferences.
- Under "Mode of operation" choose "Visible and connectable for other devices"
- Change to the Services tab, there will be a list of Available services. On that list, click once on Input service.
- Put your input device in "pair" or "connect" mode. This is usually done with a physical button on or under the device.
- In the Input Devices section, click "Add". A new window will appear with the input devices visible (in this example, a mouse).
- Mouse: Click on the mouse to choose it and click "Connect". A confirmation message will appear and the device should be connected.
- Keyboard: Click on the keyboard to choose it and click "Connect". It will prompt you to enter a password. Enter any password in the dialog, e.g. "1234", and then enter the exact same password on the keyboard, followed by Enter, and the device should be connected.
There is no need to modify any configuration files manually when using Ubuntu 7.10 or Ubuntu 8.04. Send .hid file to your phone (gnome-obex-send is deprecated):
bluetooth-sendto
See this forum post for more information on Bluetooth HID remote control in Ubuntu Feisty.
- Ubuntu 8.10 (Intrepid Ibex)
hidd is by default missing in 8.10 (see Bug Report). By now it can be installed through the compatibility package:
apt-get install bluez-compat
You may have to remove a bluetooth plugin to get the hidd server to function. I quote from http://www.adamish.com/blog/ Back to the problems with HID. My phone simply won't connect, I just get messages (on the phone saying) Bluetooth connection failed. Check Bluetooth settings on other decice. Bluetooth on. Device visible. Device in range. It seems the new bluetooth system has a HID daemon built-in. This is in the form of an 'input' plugin. I have found by deleting this file, and running the legacy hidd program supplied in bluez-compat that I'm able to use my phone
# remove input plugin (it won't work with my phone) rm /usr/lib/bluetooth/plugins/input.so # Restart the bluetooth daemon /etc/init.d/bluetooth stop /etc/init.d/bluetooth start # Load the legacy HID daemon (hidd) hidd --server # Now I can connect my mobile phone !! echo "Happy days"
Everything else seems to be as described for 8.04.
- Ubuntu 9.04 (Jaunty Jackalope)
I've tested this on Ubuntu 9.04 and it worked out-of-the-box for me!
- Download your desired .hid file as below.
- Ensure both your phone and computer have Bluetooth turned ON and that they are both discoverable (in GNOME, go to Bluetooth icon Preferences -> select "Always visible" or "Temporary visible").
- Right click on your downloaded .hid file, then go to "Send To", choose Bluetooth (OBEX Push), and select your phone from the Bluetooth discovered device list. (Your phone should ask you if you want to use the new remote control file, and it should ask you which computer to connect to -- choose your computer and away you go. DONE. At least that's how nicely it worked for me using Ubuntu 9.04 with my Sony Ericsson K800i without any problem.)<
>
- Ubuntu 9.10 (Karmic Koala)
Works out-of-the-box. See instructions for Ubuntu 9.04. <
>Configuration files
The bluetooth remote control configuration file for Sony Ericsson is a tar archive with extension as .hid <
> The tar file contains two files <
> a) an image containing visual representation of key mappings. <
> b) A XML descriptor with extension .kcf that defines key mappings. <
> The format of XML descriptor is defined at the Sony Ericsson developer site in a Developers Guidelines PDF document that is included in the installer for the Bluetooth Remote Control tool. The document can also be downloaded directly here<
> The key codes for HID are defined at USB websiteExample configurations
By default there are some configurations provided with the phones. Some work with Linux while others do not. <
> Following table lists the remote control configuration files specifically made for Linux applications.Bluetooth Remote Configuration Files Application Phone File Created By Notes TvTime K660i, K750i (Not tested with other phones) attachment:TvTime.hid Refit Gustaroska (gustaroska at gmail dot com) Number button as channel number, star(*) for window mode or fullscreen, hash(#) for mute and unmute sound, volume side key for controling sound volume Totem K660i, SE K700i, K750i, W610i, W880i (Not tested with other phones) attachment:Totem1.hid frandavid100 (frandavid100 at gmail dot com) I have tried to map as much commands in Totem as possible to phone keys (ex. DVD Menu, Fullscreen). Please let know if you have any comments or suggestions amaroK K660i, SE K750i, W580i, W810i (Not tested with Other phones) attachment:Amarok.hid -- V7 > You may have to modify the configuration file if you have changed Amarok's Global Shortcuts. Amarok K800i (not tested with other phones, but should work) attachment:Amarok.zip Flittermice (flittermice at gmx dot at) This HID file is based on the amaroK configuration above, therefore it should work with the phones mentioned above. Maybe you have to size down the background image because I reworked it for the resolution 240x320. I added both a "thumbs up" and a "thumbs down" button for the possibility to increase and decrease a song's rating. The ZIP file contains the source files and instructions on how to install the "rating" function. MPlayer SE K700i, K750i, W810i (Not tested with other phones) attachment:MPlayer.hid Szasz Pal (space at spacesoftwarestudio dot com) XMMS SE K750i (Not tested with other phones) attachment:XMMS.hid Szasz Pal (space at spacesoftwarestudio dot com) Rhythmbox K660i, SE K700i, K750i, W610i, W710i, W880i (Not tested with other phones) attachment:Rhythmbox1.hid frandavid100 (frandavid100 at gmail dot com) Banshee SE K700i, K750i (Not tested with other phones) attachment:Banshee.hid adam (dot) lofts (at) gmail (dot) com Volume control does not work since Banshee lacks the keybindings Banshee SE z770i (Not tested with other phones) attachment:Banshee2.hid tthorb (at) gmail (dot) com I changed the Gnome shortcut to CTRL-ALT-Z/X to get Volume control to work since Banshee lacks the keybindings Elisa SE K700i, K750i, W610i, W710i, W880i (Not tested with other phones) attachment:Elisa.hid frandavid100 (frandavid100 at gmail dot com) Ubuntu K660i, SE K700i, K750i, W580i, W610i, W710i, W880i (Not tested with other phones) attachment:Ubuntu.hid frandavid100 (frandavid100 at gmail dot com) This works extremely well and is meant for use with the ubuntu desktop! I was even able to control volume with no additional setup! XBMC K550i (Not tested with other phones) UbuntuHelp:attachment:XBMC.hid Peter Gyongyosi (gyp (at) impulzus (dot) com) Some functions could not be bound to default XBMC keyboard bindings so some changes were needed for volume and context menu, see the keyboard section of attachment:Keymap.xml for an example XBMC Profiles for phones with resolutions 176x208, 176x220, 222x296, 240x320 (tested on W890i), 480x640, 600x800 UbuntuHelp:attachment:XBMC_remote_profiles.zip Kim (krosenbohm (at) gmx (dot) net) Primarily for music, but also video playback. Contains .svg file adapted from attachment:Template222x296 and a shamelessly ripped XBMC logo so you can create your own profiles. Some icons were taken from the Tango project. If a .hid file isn't working, please repack with tar on Linux: Rename .jpg file with proper resolution to HD-layout.jpg and pack into a .tar file together with Remote.kcf. OpenOffice Impress K750i,W300i (Not tested with other phones) Download here. Stani (spe.stani.be on gmail) This is a meta package with HID files for OpenOffice Impress, VLC, Amarok, Kaffeine and KDE Desktop. The OpenOffice Impress works fine. I've tested the VLC player but not all keys did work as expected. (Note from Carey O'Shea: The VLC keys should be fine -- the only thing I think that is stopping them working properly all the time is a WxWidgets bug, see here: https://bugs.launchpad.net/vlc/+bug/2772 (ie. disable the "Embed video in interface" option under WxWidgets in VLC options under Interfaces and restart VLC, your video should be in a different window to the VLC controls, but at least your keyboard shortcuts should work properly from then on -- works for me.) Misc
Keymap image templates can be found here: attachment:Template176x220 attachment:Template222x296 so that it is easy to create visual representation for key mappings. <
> Please note that this template was made according to SE K700i screen resolution and may not fit for other phones.