Bug#471148: bluez-gnome: bluetooth-applet should allow to disable bluetooth

March 16th, 2008 - 05:40 am ET by Florian Lohoff | Report spam


Package: bluez-gnome
Version: 0.22-1

Hi,
in the are of extended mobility life it would be nice if the
bluetooth-applet would enable the user to switch off bluetooth
alltogether. Another nice thing would be to be able to configure an
idle timeout of the bluetooth e.g. after 10 Minuten of not discovering
new devices or without connection disable bluetooth until user requests
enabling. As interface configuration is a root only thing one would need
to utilize dbus for this ...

Bluetooth is currently the source of the most wakeups on my notebook
(Fujitsu Siemens Lifebook E8110) and i can only disable it by opening
a terminal and issueing a "sudo hciconfig hci0 down" which is not really
a solution for Aunt Tilly ...

Top causes for wakeups:
85.7% (953.0) /sys/bus/usb/devices/4-2
9.0% (100.0) <interrupt> : uhci_hcd:usb4, ohci1394, yenta, yenta, sdhci:
2.1% ( 23.7) <kernel IPI> : Rescheduling interrupts
0.5% ( 6.0) <interrupt> : ide0
0.5% ( 5.3) Xorg : do_setitimer (it_real_fn)
0.4% ( 4.7) <interrupt> : iwl3945
0.4% ( 4.3) <kernel module> : usb_hcd_poll_rh_status (rh_timer_func)
0.3% ( 3.7) gnome-terminal : schedule_timeout (process_timeout)
0.1% ( 1.3) <interrupt> : PS/2 keyboard/mouse/touchpad
0.1% ( 1.3) Xorg : schedule_timeout (process_timeout)
0.1% ( 1.3) pulseaudio : schedule_timeout (process_timeout)
0.1% ( 1.3) <kernel core> : neigh_table_init_no_netlink (neigh_periodic_t
0.1% ( 1.0) cpufreq-applet : schedule_timeout (process_timeout)

Bus 004 Device 002: ID 0c24:000f Taiyo Yuden
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 224 Wireless
bDeviceSubClass 1 Radio Frequency
bDeviceProtocol 1 Bluetooth


Issueing a hciconfig hci0 down shows this in powertop:

Top causes for wakeups:
17.3% ( 6.0) <interrupt> : ide0
16.3% ( 5.7) <kernel IPI> : Rescheduling interrupts
11.5% ( 4.0) <kernel module> : usb_hcd_poll_rh_status (rh_timer_func)
8.7% ( 3.0) Xorg : do_setitimer (it_real_fn)
8.7% ( 3.0) gnome-terminal : schedule_timeout (process_timeout)
5.8% ( 2.0) <interrupt> : iwl3945
3.8% ( 1.3) Xorg : schedule_timeout (process_timeout)
3.8% ( 1.3) pulseaudio : schedule_timeout (process_timeout)
3.8% ( 1.3) <kernel core> : neigh_table_init_no_netlink (neigh_periodic_t
2.9% ( 1.0) cpufreq-applet : schedule_timeout (process_timeout)
2.9% ( 1.0) nm-applet : schedule_timeout (process_timeout)
2.9% ( 1.0) dhcdbd : schedule_timeout (process_timeout)
1.9% ( 0.7) <interrupt> : PS/2 keyboard/mouse/touchpad

Thanks

Flo
Florian Lohoff flo@rfc822.org +49-171-2280134
Those who would give up a little freedom to get a little
security shall soon have neither - Benjamin Franklin






To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 2 repliesReplies Make a reply

Similar topics

Replies

#1 Filippo Giunchedi
May 27th, 2009 - 11:40 am ET | Report spam
On Sun, Mar 16, 2008 at 11:15:07AM +0100, Florian Lohoff wrote:
Hi,
in the are of extended mobility life it would be nice if the
bluetooth-applet would enable the user to switch off bluetooth
alltogether. Another nice thing would be to be able to configure an
idle timeout of the bluetooth e.g. after 10 Minuten of not discovering
new devices or without connection disable bluetooth until user requests
enabling. As interface configuration is a root only thing one would need
to utilize dbus for this ...



there's currently no way to do that over the current dbus api AFAIK


Bluetooth is currently the source of the most wakeups on my notebook
(Fujitsu Siemens Lifebook E8110) and i can only disable it by opening
a terminal and issueing a "sudo hciconfig hci0 down" which is not really
a solution for Aunt Tilly ...

Top causes for wakeups:
85.7% (953.0) /sys/bus/usb/devices/4-2



a number so high of wakeups is rather strange, how long is the period of
powertop? 5s?


filippo
Filippo Giunchedi - http://esaurito.net - 0x6B79D401

UNIX was not designed to stop its users from doing stupid things, as that
would also stop them from doing clever things.



To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Replies Reply to this message
#2 Florian Lohoff
May 27th, 2009 - 11:50 am ET | Report spam

On Wed, May 27, 2009 at 05:27:08PM +0200, Filippo Giunchedi wrote:
> Bluetooth is currently the source of the most wakeups on my notebook
> (Fujitsu Siemens Lifebook E8110) and i can only disable it by opening
> a terminal and issueing a "sudo hciconfig hci0 down" which is not really
> a solution for Aunt Tilly ...
>
> Top causes for wakeups:
> 85.7% (953.0) /sys/bus/usb/devices/4-2

a number so high of wakeups is rather strange, how long is the period of
powertop? 5s?



Yep - 5s - Just retried with 2.6.26 and now down to 100-130 Wakeups/s

Probably change of HZ back to 100

Flo
Florian Lohoff +49-171-2280134
Those who would give up a little freedom to get a little
security shall soon have neither - Benjamin Franklin






To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
email Follow the discussion Replies Reply to this message
Help Create a new topicReplies Make a reply
Search Make your own search