Bluetooth and power stuff
Bill Nottingham
notting at redhat.com
Mon May 1 11:29:34 PDT 2006
David Zeuthen (david at fubar.dk) said:
> On Mon, 2006-05-01 at 18:25 +0100, Richard Hughes wrote:
> > Bluetooth devices can be powered up and down using acpi (with a format
> > depending on your machine vendor):
> >
> > echo disable >/proc/acpi/ibm/bluetooth;
> > echo enable >/proc/acpi/ibm/bluetooth;
> >
> > Is this something we should add to hal as EnableBluetooth() and
> > DisableBluetooth() power methods?
>
> So, I think what we need to do is to solve the general problem here.
> It's called "Selective Suspend" [1] and ideally what we should do is to
> export an interface
>
> org.freedesktop.Hal.Device.DevicePowerManagement
> (just like we have org.freedesktop.Hal.Device.SystemPowerManagement)
>
> with methods for doing this. I *think* we want to export this interface
> on bus devices, e.g. (snippet from lshal -t)
Except, in this bluetooth case, the enable/disable causes a usb
plug/unplug event. So, there's nothing to attach it to for the 'enable'
case.
Bill
More information about the hal
mailing list