Re: PROBLEM: Bluetooth mouse not working after resume since commit 2ff1389

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

 



Good morning,

* Johan Hedberg

> You could have also used src/main.conf from the BlueZ tree as a
> starting point and removed the '#' from the AutoEnable line:
> 
> https://git.kernel.org/cgit/bluetooth/bluez.git/plain/src/main.conf
> 
> Are you sure that you restarted bluetoothd after this change? And
> you've got a BlueZ version greater than 5.35 (where the feature was
> introduced)?

I've got version 5.36, and I had rebooted the system from scratch. I
experimented a bit more, though, and I found out that with
AutoEnable=true (and blueman uninstalled), my system behaves exactly
the same as it did with blueman, that is:

- with a pre-2ff1389 kernel: the mouse is auto-enabled and works fine
  after bootup and resume from suspend.
- with a post-2ff1389 kernel: the mouse is auto-enabled and works fine
  after bootup, but stops working after resume from suspend (until
  "hciconfig hci0 up" is issued manually).

That means we can exclude blueman as a potential cause of the problem,
so I left it uninstalled when I generated the new debug files with +pf,
which you can find here: http://filebin.net/wf9edcjbju

I added a new file too: hciconfig_hci0.$KVER.txt. This shows the
output of "while sleep .5; do hciconfig hci0; done | ts %H:%M:%.S". I
noticed something that seems highly relevant, namely that with the
post-2ff1389 kernel, the hci0 state changes to DOWN a couple of seconds
after resuming. This does not happen with the pre-2ff1389 kernel.

Tore
--
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