Nokia 6682 / Anyremote 5.0 / Linux 2.6.27-7-generic
Used bluetooth and obexftp to install java client
~/.anyRemote $ anyremote -log -s bluetooth:14
Search configuration file /home/user/.anyremote.cfg
INFO: log file is /home/user/.anyRemote/anyremote.log
kdialog(19090) KToolInvocation::klauncher: klauncher not running… launching kdeinit
kdeinit4: preparing to launch /usr/lib/kde4/libexec/klauncher
kdeinit4: preparing to launch /usr/bin/kded4
kdeinit4: preparing to launch /usr/bin/kbuildsycoca4
kbuildsycoca4 running…
kdeinit4: preparing to launch /usr/lib/kde4/libexec/kconf_update
kdeinit4: preparing to launch /usr/bin/knotify4
Launch client on phone…"Search" finds my computer. Try to "connect" nothing happens. "Connect" again and i get a grid of padlock icons. Push buttons and nothings happens.
i am using gnome, but installed kdialog, which seems to work…a dialog popped up saying "Initialized." Also tried other cfg files with no success.
Just 2 advices
1. it is possible what port #14 is used by another service. Try another one.
2. if You changed the port #, then firstly clean address and only then
run search
2+ be sure page and inqury scan enabled (hciconfig piscan)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I believe 6682 is compatible. I think the problem is in anyRemote or PC configuration.
So, several questions
Which distro do You have ?
Does You 6682 provider-locked ?
Which bluetooth apps runned on Your PC ? (kdebluetooth, gnome-bluetooth, blueman?)
One more advice - please try v4.18.1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
>My phone is locked to ATT/Cingular. So that's the problem?
Only ATT/Cingular can have full information (and i've heard about such problems with locked phones before).
Are there any chance to ask ATT/Cingular about that ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Nokia 6682 / Anyremote 5.0 / Linux 2.6.27-7-generic
Used bluetooth and obexftp to install java client
~/.anyRemote $ anyremote -log -s bluetooth:14
Search configuration file /home/user/.anyremote.cfg
INFO: log file is /home/user/.anyRemote/anyremote.log
kdialog(19090) KToolInvocation::klauncher: klauncher not running… launching kdeinit
kdeinit4: preparing to launch /usr/lib/kde4/libexec/klauncher
kdeinit4: preparing to launch /usr/bin/kded4
kdeinit4: preparing to launch /usr/bin/kbuildsycoca4
kbuildsycoca4 running…
kdeinit4: preparing to launch /usr/lib/kde4/libexec/kconf_update
kdeinit4: preparing to launch /usr/bin/knotify4
Launch client on phone…"Search" finds my computer. Try to "connect" nothing happens. "Connect" again and i get a grid of padlock icons. Push buttons and nothings happens.
i am using gnome, but installed kdialog, which seems to work…a dialog popped up saying "Initialized." Also tried other cfg files with no success.
$ more anyremote.log
CFG - Mon Nov 16 14:31:42 2009
CFG - anyRemote v5.0
CFG - default
CFG - ALARM2 = Set(status,"Alarm 2"<|>);
CFG - ALARM1 = Set(status,"Alarm 1"<|>);
CFG - # 2 = Exec(<|>kdialog -msgbox Hash_2);
CFG - # 1 = Exec(<|>kdialog -msgbox Hash_1);
CFG - * * = Set(text,replace,Help,Just press buttons and inspect results<|>);
CFG - 0 = Exec(<|>kdialog -msgbox 0);\
CFG - Set(icons,SAME,0,pause<|>);\
CFG - Set(title,Button 0<|>);
CFG - 9 = Exec(<|>kdialog -msgbox 9);\
CFG - Set(icons,SAME,9,next<|>);\
CFG - Set(title,Button 9<|>);
CFG - 8 = Exec(<|>kdialog -msgbox 8);\
CFG - Set(icons,SAME,8,stop<|>);\
CFG - Set(title,Button 8<|>);
CFG - 7 = Exec(<|>kdialog -msgbox 7);\
CFG - Set(icons,SAME,7,prev<|>);\
CFG - Set(title,Button 7<|>);
CFG - 6 = Exec(<|>kdialog -msgbox 6);\
CFG - Set(icons,SAME,6,forward<|>);\
CFG - Set(title,Button 6<|>);
CFG - 5 = Exec(<|>kdialog -msgbox 5);\
CFG - Set(icons,SAME,5,play<|>);\
CFG - Set(title,Button 5<|>);
CFG - 4 = Exec(<|>kdialog -msgbox 4);\
CFG - Set(icons,SAME,4,rewind<|>);\
CFG - Set(title,Button 4<|>);
CFG - 3 = Exec(<|>kdialog -msgbox 3);\
CFG - Set(icons,SAME,3,vol_up<|>);\
CFG - Set(title,Button 3<|>);
CFG - 2 = Exec(<|>kdialog -msgbox 2);\
CFG - Set(icons,SAME,2,mute<|>);\
CFG - Set(title,Button 2<|>);
CFG - 1 = Exec(<|>kdialog -msgbox 1);\
CFG - Set(icons,SAME,1,vol_down<|>);\
CFG - Set(title,Button 1<|>);
CFG - Back = Set(text,close<|>);
CFG - (EndCall) = Make(remote<|>,on);\
CFG - Exec(<|>kdialog -msgbox "Call end");
CFG - (InCall) = Exec(<|>kdialog -msgbox "-$(CallId)-");\
CFG - Make(remote<|>,off);
CFG - (Disconnect) = Exec(<|>kdialog -msgbox Disconnected);
CFG - (Connect) = Exec(<|>kdialog -msgbox "Connected");\
CFG - Set(parameter,debug,on<|>);\
CFG - Set(status,kdialog test<|>);\
CFG - Set(title,Press buttons one by one<|>);\
CFG - Set(icons,kdialog,1,question,2,question,3,question,4,question,5,question,6,question,7,question,8,question,9,q
uestion,0,question,*,default,#,default<|>);
CFG - (Init) = Include($(CfgDir)/Utils/aliases-server.cfg<|>);\
CFG - Exec(<|>kdialog -msgbox "Initialized");\
CFG - Make(alarm<|>,/tmp/alarm1,ALARM1);\
CFG - Make(alarm<|>,/tmp/alarm2,ALARM2);
CFG - default
CFG -
CFG - ToMainMenu -> E
CFG - TwoWayComm -> false
CFG - ServiceName -> anyRemote
CFG - RetrySeconds -> 60
CFG - Logging -> debug
CFG - Device -> bluetooth:14
CFG - CmerOn -> (empty)
CFG - CmerOff -> (empty)
CFG - CharSet -> 8859-1
CFG - Baudrate -> 19200
CFG - AutoRepeat -> false
CFG - AutoConnect -> false
CFG - MixerChannel -> Master
CFG - MixerCard -> 0
CFG - Dbus -> yes
CFG - Bluez -> yes
CFG - Xtest -> yes
CFG - CfgDir -> /usr/share/anyremote/cfg-data
CFG - Home -> /home/user
CFG -
- DBG - g_main_loop_new
- DBG - Do not setup front-end connection
- INF - : Start executor thread
- DBG - dbusInit
- DBG - : start dispatcher thread
- DBG - : wait init OK event
- DBG - g_main_loop_run
- DBG - findItemInMode >default,(Init)<
- INF - : Exec cmd on init
- DBG - handleCmdByKey() >(Init)<
- DBG - getCommand for >(Init)<
- INF - processOneCommand >$(CfgDir)/Utils/aliases-server.cfg< >no exec params< >1<
- DBG - substParams >$(CfgDir)/Utils/aliases-server.cfg<
- DBG - searchVar() OK
- DBG - Add bytes: 20
- DBG - Allocate >55< bytes for parametrized command
- DBG - cur cmd >$(CfgDir)/Utils/aliases-server.cfg<
- DBG - papameterized >$(CfgDir)/Utils/aliases-server.cfg<
- DBG - substitute: searchVar() OK
- DBG - cmd var value >/usr/share/anyremote/cfg-data<
- DBG - cur cmd >/Utils/aliases-server.cfg<
- DBG - no more parameters
- DBG - cur cmd >/usr/share/anyremote/cfg-data/Utils/aliases-server.cfg<
- DBG - final cmd >/usr/share/anyremote/cfg-data/Utils/aliases-server.cfg< 29
- INF - Command: Include
- DBG - findMode() default = default
CFG - Mon Nov 16 14:31:42 2009
CFG - anyRemote v5.0
CFG - default
CFG - 69 = no command
CFG - -8 = no command
CFG - -11 = no command
CFG - ALARM2 = Set(status,"Alarm 2"<|>);
CFG - ALARM1 = Set(status,"Alarm 1"<|>);
CFG - # 2 = Exec(<|>kdialog -msgbox Hash_2);
CFG - # 1 = Exec(<|>kdialog -msgbox Hash_1);
CFG - * * = Set(text,replace,Help,Just press buttons and inspect results<|>);
CFG - 0 = Exec(<|>kdialog -msgbox 0);\
CFG - Set(icons,SAME,0,pause<|>);\
CFG - Set(title,Button 0<|>);
CFG - 9 = Exec(<|>kdialog -msgbox 9);\
CFG - Set(icons,SAME,9,next<|>);\
CFG - Set(title,Button 9<|>);
CFG - 8 = Exec(<|>kdialog -msgbox 8);\
CFG - Set(icons,SAME,8,stop<|>);\
CFG - Set(title,Button 8<|>);
CFG - 7 = Exec(<|>kdialog -msgbox 7);\
CFG - Set(icons,SAME,7,prev<|>);\
CFG - Set(title,Button 7<|>);
CFG - 6 = Exec(<|>kdialog -msgbox 6);\
CFG - Set(icons,SAME,6,forward<|>);\
CFG - Set(title,Button 6<|>);
CFG - 5 = Exec(<|>kdialog -msgbox 5);\
CFG - Set(icons,SAME,5,play<|>);\
CFG - Set(title,Button 5<|>);
CFG - 4 = Exec(<|>kdialog -msgbox 4);\
CFG - Set(icons,SAME,4,rewind<|>);\
CFG - Set(title,Button 4<|>);
CFG - 3 = Exec(<|>kdialog -msgbox 3);\
CFG - Set(icons,SAME,3,vol_up<|>);\
CFG - Set(title,Button 3<|>);
CFG - 2 = Exec(<|>kdialog -msgbox 2);\
CFG - Set(icons,SAME,2,mute<|>);\
CFG - Set(title,Button 2<|>);
CFG - 1 = Exec(<|>kdialog -msgbox 1);\
CFG - Set(icons,SAME,1,vol_down<|>);\
CFG - Set(title,Button 1<|>);
CFG - Back = Set(text,close<|>);
CFG - (EndCall) = Make(remote<|>,on);\
CFG - Exec(<|>kdialog -msgbox "Call end");
CFG - (InCall) = Exec(<|>kdialog -msgbox "-$(CallId)-");\
CFG - Make(remote<|>,off);
CFG - (Disconnect) = Exec(<|>kdialog -msgbox Disconnected);
CFG - (Connect) = Exec(<|>kdialog -msgbox "Connected");\
CFG - Set(parameter,debug,on<|>);\
CFG - Set(status,kdialog test<|>);\
CFG - Set(title,Press buttons one by one<|>);\
CFG - Set(icons,kdialog,1,question,2,question,3,question,4,question,5,question,6,question,7,question,8,question,9,q
uestion,0,question,*,default,#,default<|>);
CFG - (Init) = Include($(CfgDir)/Utils/aliases-server.cfg<|>);\
CFG - Exec(<|>kdialog -msgbox "Initialized");\
CFG - Make(alarm<|>,/tmp/alarm1,ALARM1);\
CFG - Make(alarm<|>,/tmp/alarm2,ALARM2);
CFG - default
CFG -
CFG - ToMainMenu -> E
CFG - TwoWayComm -> false
CFG - ServiceName -> anyRemote
CFG - RetrySeconds -> 60
CFG - Logging -> debug
CFG - Device -> bluetooth:14
CFG - CmerOn -> (empty)
CFG - CmerOff -> (empty)
CFG - CharSet -> 8859-1
CFG - Baudrate -> 19200
CFG - AutoRepeat -> false
CFG - AutoConnect -> false
CFG - MixerChannel -> Master
CFG - MixerCard -> 0
CFG - Dbus -> yes
CFG - Bluez -> yes
CFG - Xtest -> yes
CFG - CfgDir -> /usr/share/anyremote/cfg-data
CFG - Home -> /home/user
CFG -
- DBG - isNew 0 isConnected 0
- INF - processOneCommand >no description< >kdialog -msgbox "Initialized"< >1<
- INF - Command: Exec
- DBG - substParams >kdialog -msgbox "Initialized"<
- DBG - execSimpleCmd >kdialog -msgbox "Initialized"<
- INF - Already closed ?
- ERR - : Error on closing port
- INF - processOneCommand >alarm< >/tmp/alarm1,ALARM1< >1<
- INF - Command: Make
- INF - Command: Make(alarm,…)
- DBG - substParams >/tmp/alarm1,ALARM1<
- DBG - addAlarm() >/tmp/alarm1< >ALARM1<
- INF - processOneCommand >alarm< >/tmp/alarm2,ALARM2< >1<
- INF - Command: Make
- INF - Command: Make(alarm,…)
- DBG - substParams >/tmp/alarm2,ALARM2<
- DBG - addAlarm() >/tmp/alarm2< >ALARM2<
- INF - : sendToMainMenu
- DBG - send to dispatcher 4
- DBG - handleHook() >1<
- DBG - loadCmds
- INF - Send init OK event to dispatcher
- DBG - send to dispatcher 98
- DBG - : Got event
- DBG - : No connection. Skip event
- DBG - : wait init OK event
- DBG - : Got event
- INF - : Got init OK event
- DBG - : ************ outer loop **********
- INF - : openPort()
- DBG - : Bluetooth Sockets Server mode. Use channel 14
- INF - registered SP for channel 14
- DBG - initPort
- INF - Server mode: Waiting connection
- INF - listenAndAcceptSocketConn
Thanks for any help!
Just 2 advices
1. it is possible what port #14 is used by another service. Try another one.
2. if You changed the port #, then firstly clean address and only then
run search
2+ be sure page and inqury scan enabled (hciconfig piscan)
Thank you for your quick response.
$ hciconfig piscan
hci0: Type: USB
BD Address: 00:14:A4:DC:7B:FE ACL MTU: 1017:8 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:4632 acl:125 sco:0 events:132 errors:0
TX bytes:88540 acl:213 sco:0 commands:48 errors:0
I have tried multiple channels, with no luck. How do I tell if other services are using a channel?
Any other ideas? Or do you think the Nokia 6682 might not be compatible?
I believe 6682 is compatible. I think the problem is in anyRemote or PC configuration.
So, several questions
Which distro do You have ?
Does You 6682 provider-locked ?
Which bluetooth apps runned on Your PC ? (kdebluetooth, gnome-bluetooth, blueman?)
One more advice - please try v4.18.1
Hi Mike,
I compiled and installed v4.18.1 with no success.
My phone is locked to ATT/Cingular. So that's the problem?
I'm running linux mint 6, these are the bluetooth apps running from
$ ps aux | grep blue
/usr/sbin/bluetoothd
bluetooth-applet
By the way, I reinstalled java client "anyremote.jar" on phone. And when attemptingconnect after clean address, search, connect.. I got
openConnection Exception
javalang.SecurityException
Permission = javaxmicroedition.io.
Then I deleted that client and installed anyRemote-32-b.jar and do not get that error, but still can't make a successful connection.
Here's another log if it is helpful:
$ anyremote -f /usr/local/share/anyremote/cfg-data/Server-mode/eog.cfg -s bluetooth:13 -log
CFG - Wed Nov 18 23:03:14 2009
CFG - anyRemote v4.18.1
CFG - default
CFG - # = Exec(<|>pkill eog);
CFG - 0 = Macro(FillList<|>);\
CFG - Macro(UpdateMenu<|>);
CFG - * * = Set(text,replace,Help,1 - First\n 2 - Rotate\n 3 - Last\n 4 - Previous\n 5 - Full Screen\n 6 - Next\n 7 - Size -\n 8 - Fit size\n 9 - Size +\n * * - Help\n 0 - File browser\n # - Quit\n<|>);
CFG - 9 = Emulate(keydown,Control_L,key,KP_Add,keyup,Control_L<|>);
CFG - 7 = Emulate(keydown,Control_L,key,minus,keyup,Control_L<|>);
CFG - 6 = Emulate(keydown,Alt_L,key,Right,keyup,Alt_L<|>);
CFG - 5 = Emulate(key,F11<|>);
CFG - 4 = Emulate(keydown,Alt_L,key,Left,keyup,Alt_L<|>);
CFG - 3 = Emulate(keydown,Alt_L,key,End,keyup,Alt_L<|>);
CFG - 2 = Emulate(keydown,Control_L,key,R,keyup,Control_L<|>);
CFG - 1 = Emulate(keydown,Alt_L,key,Home,keyup,Alt_L<|>);
CFG - Open($$) = Set(list,close<|>);\
CFG - Set<|>;\
CFG - Exec(<|>pkill eog);\
CFG - Exec(<|>sleep 1;eog "`cat $HOME/.anyRemote/ar_storedir.tmp`" &);
CFG - Go Home($$) = ExecAndSet(iconlist,replace,Files<|>,cd;pwd>$HOME/.anyRemote/ar_storedir.tmp;echo "folder:..");\
CFG - Macro(FillDir<|>);\
CFG - Macro(FillFile<|>);
CFG - GoTo($$) = Make(var,goto<|>,echo "$(Param)"$(from_utf));\
CFG - ExecAndSet(iconlist,replace,Files<|>,cd "`cat $HOME/.anyRemote/ar_storedir.tmp`";echo "if ; then cd $(goto);fi;pwd>$HOME/.anyRemote/ar_storedir.tmp;"|bash -f -s;echo "folder:..");\
CFG - Macro(FillDir<|>);\
CFG - Macro(FillFile<|>);
CFG - FillFile = ExecAndSet(iconlist,add,SAME<|>,cd "`cat $HOME/.anyRemote/ar_storedir.tmp`";ls -F -quoting-style=shell|sed 's/\*//;s/,/\r/g;s/@//;s/$/,/'|grep -v '/'| xargs -d '\n' -i echo "file:"{} $(to_utf));
CFG - FillDir = ExecAndSet(iconlist,add,SAME<|>,cd "`cat $HOME/.anyRemote/ar_storedir.tmp`";ls -F -quoting-style=shell|sed 's/\*//;s/,/\r/g;s/@//;s/$/,/'|grep '/'| xargs -d '\n' -i echo "folder:" {} $(to_utf));
CFG - FillList = Set(iconlist,replace,Files,folder:..<|>);\
CFG - Macro(FillDir<|>);\
CFG - Macro(FillFile<|>);
CFG - UpdateMenu = Set(menu,replace,GoTo,Open, Go Home<|>);
CFG - Back($$) = Set(list,close<|>);
CFG - Back = Set(text,close<|>);
CFG - Cancel = Exec(<|>pkill eog);\
CFG - Exit<|>;
CFG - (Connect) = Set(icons,Eye of gnome,1,up,2,refresh,3,down,4,left,5,fullscreen,6,right,7,minus,8,fit,9,plus,*,question,0,folder,#,no<|>);\
CFG - Set(title,<|>);\
CFG - Set(status,<|>);
CFG - (Init) = Make(var,from_utf<|>,by_value,);\
CFG - Make(var,to_utf<|>,by_value,);
CFG - default
CFG -
CFG - Key POWER aliased to #
CFG - Key TEXT aliased to *
CFG - Key 69 aliased to Cancel
CFG - Key -8 aliased to Cancel
CFG - Key -11 aliased to Cancel
CFG -
CFG -
CFG -
CFG -
CFG - AutoRepeat No
CFG - Device bluetooth:13
CFG - Log Debug
CFG - Retry Sec 60
CFG - Screen Menu Yes
CFG -
- DEBUG - addVar() >Home<
- DEBUG - addVar() >CfgDir<
- DEBUG - addVar() >Xtest<
- DEBUG - addVar() >Bluez<
- DEBUG - addVar() >MixerCard<
- DEBUG - addVar() >MixerChannel<
- DEBUG - mainRoutine
- INFO - openPort()
- DEBUG - Bluetooth Sockets Server mode. Use channel 13
- INFO - registered SP for channel 13
- DEBUG - findItemInMode >default,(Init)<
- INFO - Exec cmd on init
- DEBUG - handleCmdByKey() >(Init)<
- DEBUG - getCommand for >(Init)<
- INFO - processOneCommand >var,from_utf< >by_value,< >1<
- INFO - Command: Make
- INFO - Command: Make(var,…)
- DEBUG - substParams ><
- DEBUG - setVar() >from_utf->NULL<
- DEBUG - searchVar() >from_utf<
- DEBUG - addVar() >from_utf<
- INFO - processOneCommand >var,to_utf< >by_value,< >1<
- INFO - Command: Make
- INFO - Command: Make(var,…)
- DEBUG - substParams ><
- DEBUG - setVar() >to_utf->NULL<
- DEBUG - searchVar() >to_utf<
- DEBUG - addVar() >to_utf<
- DEBUG - handleHook() >1<
- DEBUG - loadCmds
- DEBUG - initPort
- INFO - Server mode: Waiting connection
- INFO - listenAndAcceptSocketConn
>My phone is locked to ATT/Cingular. So that's the problem?
Only ATT/Cingular can have full information (and i've heard about such problems with locked phones before).
Are there any chance to ask ATT/Cingular about that ?