Re: Enabling autosuspend for btusb by default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2017-11-01 at 15:31 +0100, Hans de Goede wrote:
> <resend with a bunch of To and Cc address added, sorry?
> 
> Hi All,
> 
> I'm working on trying to improve the OOTB power-consumption
> of Linux (Fedora Workstation) on laptops.
> 
> One of the easy wins here is enabling runtime-pm / autosuspend
> for btusb, since on many laptops the USB bluetooth device is
> the only USB device not using autosuspend, enabling this will
> not only allow suspending the USB bluetooth device but also to
> USB HCI, leading to a significant saving in power consumption
> of aprox. 0.4W.
> 
> So I would like to look into enabling runtime-pm / autosuspend
> for btusb by default.
> 
> Question, are there any known issues with enabling runtime-pm ?
> 
> I realize that simply enabling it for all btusb devices is a bit
> of a big hammer and might be a bad idea since there will probably
> be some devices out there which do not support this properly.
> 
> I was thinking that instead of enabling runtime-pm for all btusb
> devices, maybe this is something which we can do a vendor-id
> basis, starting with Intel and Broadcom devices ?

(Removed Gustavo from the CC:)

Is there any benefit doing this in the kernel rather than in user-
space?

Do you have a set test procedure that would allow checking whether the
device remains working?

I could see having this as a user-space toggle being useful if we ever
want to disable the runtime PM/autosuspend so Bluetooth keyboards can
wake up desktop machines from sleep. It's a long-standing RFE, which we
still haven't handled.

Cheers
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux