Control: tag -1 +moreinfo Hello,
On Mon, 2017-10-02 at 21:28 +0800, gulfstream wrote: > I use my laptop (Thinkpad X1 Carbon 5th) with a bluetooth mouse. The > mouse work fine while the laptop runs with AC power supply. But The > bluetooth mouse is a trouble while the laptop runs with the embed > cell. The mouse will suspend if it is not be used after several > seconds. So I want use the mouse, it must reconnect to the laptop and > spend several seconds. it is very inconvenient! > > I find that the reason is bluetooth power saving of laptop mode > tools. It can be didabled in /etc/laptop-mode/conf.d/runtime-pm.conf > by item "AUTOSUSPEND_RUNTIME_DEVID_BLACKLIST". After disabling, the > bluetooth mouse will not suspend while using cell. > The default list of device types was extended to accommodate such devices. AUTOSUSPEND_RUNTIME_DEVTYPE_BLACKLIST="hub usbhid usb-storage" So when you say a bluetooth mouse, should I assume that the mouse connect to a bluetooth dongle, which is connected to a USB port ? Because, as long as it gets enumerated as a USB device, which I suspect is what should happen here, it would be covered. > I think that the bluetooth should not suspend because of bluetooth > mouse. So I advise you modify the runtime-pm.conf to add the > bluetooth device to blacklist by default for using bluetooth mouse. The bluetooth power saving module is disabled by default. runtime-pm, which takes care of most devices supporting Runtime PM (most USB devices included), should by default blacklist most common USB type devices. Can you share your runtime-pm.conf ? -- Ritesh Raj Sarraf | http://people.debian.org/~rrs Debian - The Universal Operating System
signature.asc
Description: This is a digitally signed message part