Comment # 1 on bug 1070434 from
Prior to this bug reaport I opened a discussion on the opensuse factory mailing
list, see https://lists.opensuse.org/opensuse-factory/2017-11/msg00718.html.

Knurpht and Arjen suggested that power management might be shutting down the
usb devices as a likely cause.  I've adopted Knurpht's suggested counter
measures, namely:



I looked at lsusb to get and recorded the device ID's.
$lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 8087:0a2b Intel Corp.
Bus 001 Device 002: ID 064e:3401 Suyin Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
    |__ Port 5: Dev 2, If 1, Class=Video, Driver=uvcvideo, 480M
    |__ Port 5: Dev 2, If 0, Class=Video, Driver=uvcvideo, 480M
    |__ Port 7: Dev 3, If 0, Class=Wireless, Driver=btusb, 12M
    |__ Port 7: Dev 3, If 1, Class=Wireless, Driver=btusb, 12M

I then blacklisted the bluetooth device in /etc/default/tlp:

# Exclude listed devices from USB autosuspend (separate with spaces).
# Use lsusb to get the ids.
# Note: input devices (usbhid) are excluded automatically
#USB_BLACKLIST="1111:2222 3333:4444"
USB_BLACKLIST="1d6b:0002 1d6b:0003 064e:3401 8087:0a2b"

I also enabled blacklisting of USB_BLACKLIST_BTUSB based on a different hint
(that setting alone was not sufficient) as seen in the following diff
showing all changes to /etc/default/tlp
5diff /etc/default/tlp /etc/default/tlp.original 
207d206                                                                         
< USB_BLACKLIST="1d6b:0002 1d6b:0003 064e:3401 8087:0a2b"                       
211,213c210                                                                     
< #   Changed setting original commented out                                    
< #USB_BLACKLIST_BTUSB=0                                                        
< USB_BLACKLIST_BTUSB=1                                                         
---                                                                             
> USB_BLACKLIST_BTUSB=0  

So far 2 days an no bluetooth outages, if I get another bluetooth failure,
I'll send an update, but I'm guardedly optimistic that this is the fix.

I would propose changing the default /etc/default/tlp settings to match the
ones here if this is indeed the fix.

I am curious why setting USB_BLACKLIST_BTUSB=1 wasn't enough to fix the issue?


You are receiving this mail because: