View Single Post
Posts: 97 | Thanked: 318 times | Joined on Feb 2012 @ Switzerland
#625
Originally Posted by mautz View Post
Seems like most of the patches in bluesleep.c are already included in cm12.1 kernel. Adding the rest seems easy, if it doesn't throw any build errors.

I haven't figued out how to build brcm-patchram-plus, but i only tried for a few minutes...

Thanks again!
Yeah I also realized that some code is already baked in.


I add a comment of the conversation I had with 'kido' on #asteroid
Code:
19:07 @ kido : ok, anyway the patch just takes a couple of minutes to write. it's just a matter of hooking the standard kernel's HCI subsystem's HCI_DEV_REG, HCI_DEV_UNREG and HCI_DEV_WRITE to a handler in bluesleep.c that reproduces what bluesleep_write_proc_lpm and bluesleep_write_proc_btwrite do on the equivalents event

Last edited by minimec; 2017-05-10 at 22:07.
 

The Following 3 Users Say Thank You to minimec For This Useful Post: