Skip to contentSkip to conversation

Restart input service

Bluez-users Dick 3 participants 4 messages May 3, 2008 – May 5, 2008 Bluetooth drivers

lore
Share & tools
lore

Dick

author
#0 lore raw

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#1 lore raw
Quoted 6 lines · On Saturday 03 May 2008 20:35:24 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) "Inp=

ut

Quoted 8 lines

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

See http://article.gmane.org/gmane.linux.bluez.user/12988/match=3Ddinovo+la=
st
Maybe your answer is there.

Regards,
-- =

Fabrice M=E9nard
[email protected]

-------------------------------------------------------------------------
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/java=
one
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#2 lore raw
In reply to Dick

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

Quoted 24 lines · Dick

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.

Quoted 6 lines

http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

author
#3 lore raw

Panayiotis Modestou thanks a lot, it works!

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users