Return-Path: Message-ID: Date: Sun, 4 May 2008 23:28:34 +0300 From: "Panayiotis Modestou" To: "BlueZ users" In-Reply-To: MIME-Version: 1.0 References: Subject: Re: [Bluez-users] Restart input service Reply-To: BlueZ users List-Id: BlueZ users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1443066773==" Sender: bluez-users-bounces@lists.sourceforge.net Errors-To: bluez-users-bounces@lists.sourceforge.net --===============1443066773== Content-Type: multipart/alternative; boundary="----=_Part_12297_4528719.1209932914473" ------=_Part_12297_4528719.1209932914473 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I think this is what you are looking for ~$ dbus-send --system --type=method_call --print-reply --dest=org.bluez /org/bluez/service_input org.bluez.Service.Stop method return sender=:1.10 -> dest=:1.84 reply_serial=2 and ~$ dbus-send --system --type=method_call --print-reply --dest=org.bluez /org/bluez/service_input org.bluez.Service.Start method return sender=:1.10 -> dest=:1.87 reply_serial=2 Regards Panicos On Sat, May 3, 2008 at 9:35 PM, Dick wrote: > Hi, > > I still have trouble reconnecting my Logitech Dinovo input devices after > some > time when they are disconnected (to safe some power?). > > Most of the time this can be corrected by disabling (Status stopped) > "Input > service" from the bluetooth-properties application and reenable "Input > service" > (Status running). > > How can I do this by calling DBUS commands? I'd like to have a script or > shortcut around to save some time... > > Thanks in advance, > Dick > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Bluez-users mailing list > Bluez-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bluez-users > ------=_Part_12297_4528719.1209932914473 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I think this is what you are looking for

~$ dbus-send --system --type=method_call --print-reply  --dest=org.bluez /org/bluez/service_input org.bluez.Service.Stop
method return sender=:1.10 -> dest=:1.84 reply_serial=2

and
~$ dbus-send --system --type=method_call --print-reply  --dest=org.bluez /org/bluez/service_input org.bluez.Service.Start
method return sender=:1.10 -> dest=:1.87 reply_serial=2

Regards
Panicos

On Sat, May 3, 2008 at 9:35 PM, Dick <dm@chello.nl> wrote:
Hi,

I still have trouble reconnecting my Logitech Dinovo input devices after some
time when they are disconnected (to safe some power?).

Most of the time this can be corrected by disabling (Status stopped) "Input
service" from the bluetooth-properties application and reenable "Input service"
(Status running).

How can I do this by calling DBUS commands? I'd like to have a script or
shortcut around to save some time...

Thanks in advance,
Dick


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

------=_Part_12297_4528719.1209932914473-- --===============1443066773== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone --===============1443066773== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users --===============1443066773==--