desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #147900
[Bug 369522] Re: obexpushd and obexftp not correctly restarted after S3/S4
Can somebody tell me why ubuntu PC (12.04 ) can't automatically receive files over Bluetooth and save them with no user interaction ?
I already install obexpushd with the command : $sudo apt-get install obexpushd
After installed it , i create a file : /etc/init/obexpushd.conf and add the following code in this file .
chdir /home/USERNAME
exec obexpushd -n
start on startup
$sudo initctl reload-configuration
$sudo start obexpushd
But it seems can't automatically receive files over Bluetooth .
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-user-share in Ubuntu.
https://bugs.launchpad.net/bugs/369522
Title:
obexpushd and obexftp not correctly restarted after S3/S4
Status in gnome-user-share:
Expired
Status in gnome-user-share package in Ubuntu:
Triaged
Bug description:
Binary package hint: gnome-user-share
On Jaunty, package gnome-user-share_2.25.92-0ubuntu2
There appears to be a race condition on suspend/resume and
hibernate/thaw which causes obexpushd and obexftp to not get correctly
shutdown on suspend/hibernate and it attempts to restart them on
resume, which fails. This makes any subsequent attempt to transfer
files to the system via bluetooth fail.
I've traced this to src/user-share.c consolekit_init() method and
sessionchanged_cb(). When the condition fails, sessionchanged_cb gets
an "Active" on suspend/hibernate rather than "Inactive" which causes
the services to not get stopped. It gets another "Active" on
resume/thaw and then all hell breaks loose.
I've attached a patch which simplifies the dbus code to register a
callback which is passed the active/inactive state, thus eliminating
the race condition. This same method is used in netbook-launcher.
To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-user-share/+bug/369522/+subscriptions