Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 481496

Summary: net-wireless/bluez-4.101-r5 should not revert mgmt-update patch for newer kernels
Product: Gentoo Linux Reporter: Alexander Tsoy <alexander>
Component: Current packagesAssignee: Pacho Ramos <pacho>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=486574
Whiteboard:
Package list:
Runtime testing required: ---

Description Alexander Tsoy 2013-08-17 21:36:58 UTC
Please stop reverting bluez-4.101-mgmt-update.patch or make this optional via USE flag. Seems only 3.0* and 3.2* kernels need it. For newer kernels this cause problems. For example I often have to physically reattach bluetooth adapter to get the mouse to work after system boot.

$ grep HCI_CHANNEL_CONTROL /usr/src/linux-*/include/net/bluetooth/hci.h
/usr/src/linux-3.10.5-hardened-r1/include/net/bluetooth/hci.h:#define HCI_CHANNEL_CONTROL	3
/usr/src/linux-3.9.9-hardened/include/net/bluetooth/hci.h:#define HCI_CHANNEL_CONTROL	3

And older kernel versions:

https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/include/net/bluetooth/hci.h?h=linux-3.0.y
#define HCI_CHANNEL_CONTROL	1

https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/include/net/bluetooth/hci.h?h=linux-3.2.y
#define HCI_CHANNEL_CONTROL	1

https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/include/net/bluetooth/hci.h?h=linux-3.4.y
#define HCI_CHANNEL_CONTROL	3

https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/include/net/bluetooth/hci.h?h=linux-3.8.y
#define HCI_CHANNEL_CONTROL	3
Comment 1 Pacho Ramos gentoo-dev 2013-08-20 18:00:45 UTC
+*bluez-4.101-r6 (20 Aug 2013)
+
+  20 Aug 2013; Pacho Ramos <pacho@gentoo.org> +bluez-4.101-r6.ebuild:
+  Stop reverting commit as current kernels in the tree need (#481496 by
+  Alexander Tsoy), simplify consolekit/systemd/plugdev handling
+
Comment 2 Pacho Ramos gentoo-dev 2013-10-01 19:36:34 UTC
Looks like it's still causing problems :S -> bug 486574
Comment 3 Pacho Ramos gentoo-dev 2014-02-02 14:31:53 UTC
Will keep it not reverting as other distros do, I think could be caused by hid2hci