New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bluetooth does not work on Kernel 4.13.0-2 #26

Closed
nexus511 opened this Issue Sep 9, 2017 · 30 comments

Comments

Projects
None yet
@nexus511
Owner

nexus511 commented Sep 9, 2017

It looks like there is some firmware missing to support bluetooth on the current kernel.

@GothAck

This comment has been minimized.

Show comment
Hide comment
@GothAck

GothAck Sep 11, 2017

Bizarrely the kernel is now trying to load BCM4354A2 firmware for this device, whereas -1 loaded BCM2045A0. I believe the pocket has the latter (BCM2045) chipset. Did anything else change between builds? I can't seem to get the external/kernel submodule to behave, (fetched submodule but it did not contain $commithash...)

GothAck commented Sep 11, 2017

Bizarrely the kernel is now trying to load BCM4354A2 firmware for this device, whereas -1 loaded BCM2045A0. I believe the pocket has the latter (BCM2045) chipset. Did anything else change between builds? I can't seem to get the external/kernel submodule to behave, (fetched submodule but it did not contain $commithash...)

@nexus511

This comment has been minimized.

Show comment
Hide comment
@nexus511

nexus511 Sep 11, 2017

Owner

@GothAck Thank you for looking at this. I guess that this might be the issue.

I might have not yet pushed the version to github. I will do that later. It basically is the drm-intel-next-queued branch by @jwrdegoede.

Owner

nexus511 commented Sep 11, 2017

@GothAck Thank you for looking at this. I guess that this might be the issue.

I might have not yet pushed the version to github. I will do that later. It basically is the drm-intel-next-queued branch by @jwrdegoede.

@nexus511

This comment has been minimized.

Show comment
Hide comment
@nexus511

nexus511 Sep 11, 2017

Owner

@GothAck Okay, I just pushed the branch. It is merge/kernel-drm-next.

Owner

nexus511 commented Sep 11, 2017

@GothAck Okay, I just pushed the branch. It is merge/kernel-drm-next.

@nexus511 nexus511 closed this Sep 11, 2017

@nexus511 nexus511 reopened this Sep 11, 2017

@GothAck

This comment has been minimized.

Show comment
Hide comment
@GothAck

GothAck Sep 12, 2017

Still getting Fetched in submodule path 'external/kernel', but it did not contain 657a724d246d7c5e9504fe3cb978e1bac889b1bb. Direct fetching of that commit failed. on submodule update :/

GothAck commented Sep 12, 2017

Still getting Fetched in submodule path 'external/kernel', but it did not contain 657a724d246d7c5e9504fe3cb978e1bac889b1bb. Direct fetching of that commit failed. on submodule update :/

@nexus511 nexus511 added the bug label Sep 13, 2017

@GothAck

This comment has been minimized.

Show comment
Hide comment
@GothAck

GothAck Sep 14, 2017

The Makefile also tries to run scripts that don't exist, where does external/kernel/patch_kernel come from?

GothAck commented Sep 14, 2017

The Makefile also tries to run scripts that don't exist, where does external/kernel/patch_kernel come from?

@nexus511

This comment has been minimized.

Show comment
Hide comment
@nexus511

nexus511 Sep 14, 2017

Owner

@GothAck Please really use this branch on the kernel submodule:

https://github.com/nexus511/linux-sunxi/tree/merge/kernel-drm-next

Then you should have the right version and the scripts.

Owner

nexus511 commented Sep 14, 2017

@GothAck Please really use this branch on the kernel submodule:

https://github.com/nexus511/linux-sunxi/tree/merge/kernel-drm-next

Then you should have the right version and the scripts.

@GothAck

This comment has been minimized.

Show comment
Hide comment
@GothAck

GothAck Sep 16, 2017

Ah cool, I'll update my clone of the repo to point there :)

GothAck commented Sep 16, 2017

Ah cool, I'll update my clone of the repo to point there :)

@stockmind

This comment has been minimized.

Show comment
Hide comment
@stockmind

stockmind Sep 23, 2017

No problem with bluetooth on mainline 4.14-rc1, but i have the same problem with bluetooth missing in Hans master repository 4.14-rc1. @jwrdegoede could be some differences related to the bluetooth modules on your repository?

stockmind commented Sep 23, 2017

No problem with bluetooth on mainline 4.14-rc1, but i have the same problem with bluetooth missing in Hans master repository 4.14-rc1. @jwrdegoede could be some differences related to the bluetooth modules on your repository?

@nickelby

This comment has been minimized.

Show comment
Hide comment
@nickelby

nickelby Sep 25, 2017

No problem with bluetooth on mainline 4.14-rc2 as well (although wifi seems to no longer work on this kernel. Always tries to connect with dmesg showing some 'create' errors).

nickelby commented Sep 25, 2017

No problem with bluetooth on mainline 4.14-rc2 as well (although wifi seems to no longer work on this kernel. Always tries to connect with dmesg showing some 'create' errors).

@nexus511

This comment has been minimized.

Show comment
Hide comment
@nexus511

nexus511 Sep 25, 2017

Owner

I actually tried Hans kernel to rebase onto 4.14-rc1 which basically works flawlessly. After doing so, I still do not have bluetooth and the battery indicator is gone.

I actually have an update of Hans kernel build and available but I did not publish it yet, as it seems not to bring any advantages for now.

Owner

nexus511 commented Sep 25, 2017

I actually tried Hans kernel to rebase onto 4.14-rc1 which basically works flawlessly. After doing so, I still do not have bluetooth and the battery indicator is gone.

I actually have an update of Hans kernel build and available but I did not publish it yet, as it seems not to bring any advantages for now.

@GothAck

This comment has been minimized.

Show comment
Hide comment
@GothAck

GothAck Sep 26, 2017

Which commit were the previous two kernels (-1 and -2) based on? Having suspend and reboot issues on the latest commit, although I'm still trying to poke at getting BT working

GothAck commented Sep 26, 2017

Which commit were the previous two kernels (-1 and -2) based on? Having suspend and reboot issues on the latest commit, although I'm still trying to poke at getting BT working

@GothAck

This comment has been minimized.

Show comment
Hide comment
@GothAck

GothAck Sep 26, 2017

Out of interest, why do we use sunxi as the upstream for the kernel?

GothAck commented Sep 26, 2017

Out of interest, why do we use sunxi as the upstream for the kernel?

@GothAck

This comment has been minimized.

Show comment
Hide comment
@GothAck

GothAck Sep 26, 2017

Gonna try building against mainline 4.14-rc2 and see what's up there

GothAck commented Sep 26, 2017

Gonna try building against mainline 4.14-rc2 and see what's up there

@nexus511

This comment has been minimized.

Show comment
Hide comment
@nexus511

nexus511 Sep 26, 2017

Owner

@GothAck We are using this kernel because it contains multiple patches for the platform. I have built the mainline 4.14-rc1 two days ago and it for me it lacks wireless-lan and when I rebase Hans patches onto it, it does not detect the battery anymore.

If you find a way to get 4.14-rc2 working, please give me a hint and I will switch over to it.

Owner

nexus511 commented Sep 26, 2017

@GothAck We are using this kernel because it contains multiple patches for the platform. I have built the mainline 4.14-rc1 two days ago and it for me it lacks wireless-lan and when I rebase Hans patches onto it, it does not detect the battery anymore.

If you find a way to get 4.14-rc2 working, please give me a hint and I will switch over to it.

@Herst

This comment has been minimized.

Show comment
Hide comment
@Herst

Herst Sep 26, 2017

@GothAck Hans rebases his kernel on the vanilla kernel regularly, I don't remember seeing any Sunxi patches there.

Herst commented Sep 26, 2017

@GothAck Hans rebases his kernel on the vanilla kernel regularly, I don't remember seeing any Sunxi patches there.

@GothAck

This comment has been minimized.

Show comment
Hide comment
@GothAck

GothAck Sep 27, 2017

4.14-rc2 is working with wlan, bluetooth, and besides trying to load two different modules for the max17047 it does show the battery gauge (detected as a different max17xxx variant, but the data is consistent with previous kernels). Next I wanna look at any patches that are applied in Hans' repo and try and grok if they're still applicable on mainline :)

I mentioned sunxi as the repo description is "Linux source for Allwinner/Boxchip F20 (sun3i), A10 (sun4i) and A12/A13 (sun5i) SoCs" and it seems to be originally forked from https://github.com/linux-sunxi/linux-sunxi which is a pretty weird source for a kernel that doesn't actually run on sunxi chips. Last time I interacted with that source repo I was running on sunxi hw and they have a tonne of platform specific patches that were not being pushed upstream for $reasons, which gpd pocket won't ever use.

Totally happy to try building from the original source of drm-next also (https://cgit.freedesktop.org/~airlied/linux/log/?h=drm-next) to see if there are any improvements to the graphics hw support, but besides some weird renders before I was doing the new builds, I've not seen any graphics issues recently :)

If all goes well with mainline we can prob move the patch & build scripts into this repo & refer directly out to the linux upstream too :)

GothAck commented Sep 27, 2017

4.14-rc2 is working with wlan, bluetooth, and besides trying to load two different modules for the max17047 it does show the battery gauge (detected as a different max17xxx variant, but the data is consistent with previous kernels). Next I wanna look at any patches that are applied in Hans' repo and try and grok if they're still applicable on mainline :)

I mentioned sunxi as the repo description is "Linux source for Allwinner/Boxchip F20 (sun3i), A10 (sun4i) and A12/A13 (sun5i) SoCs" and it seems to be originally forked from https://github.com/linux-sunxi/linux-sunxi which is a pretty weird source for a kernel that doesn't actually run on sunxi chips. Last time I interacted with that source repo I was running on sunxi hw and they have a tonne of platform specific patches that were not being pushed upstream for $reasons, which gpd pocket won't ever use.

Totally happy to try building from the original source of drm-next also (https://cgit.freedesktop.org/~airlied/linux/log/?h=drm-next) to see if there are any improvements to the graphics hw support, but besides some weird renders before I was doing the new builds, I've not seen any graphics issues recently :)

If all goes well with mainline we can prob move the patch & build scripts into this repo & refer directly out to the linux upstream too :)

@nexus511

This comment has been minimized.

Show comment
Hide comment
@nexus511

nexus511 Sep 27, 2017

Owner

@GothAck for a rebase on 4.14.0-rc1 please see https://github.com/nexus511/linux-sunxi/tree/development/India-2

I might just have missed the battery modules. I might try it again the next days to see, what went wrong there. But this ticket is about bluetooth. Let's maybe move this discussion to a new ticket. (#34)

Owner

nexus511 commented Sep 27, 2017

@GothAck for a rebase on 4.14.0-rc1 please see https://github.com/nexus511/linux-sunxi/tree/development/India-2

I might just have missed the battery modules. I might try it again the next days to see, what went wrong there. But this ticket is about bluetooth. Let's maybe move this discussion to a new ticket. (#34)

@jwrdegoede

This comment has been minimized.

Show comment
Hide comment
@jwrdegoede

jwrdegoede Oct 2, 2017

jwrdegoede commented Oct 2, 2017

@jwrdegoede

This comment has been minimized.

Show comment
Hide comment
@jwrdegoede

jwrdegoede Oct 2, 2017

jwrdegoede commented Oct 2, 2017

@vStone

This comment has been minimized.

Show comment
Hide comment
@vStone

vStone Oct 2, 2017

@jwrdegoede I've been struggling to get the correct patches to apply on my gentoo-sources. Could you somewhere give any pointers on what would be the easiest way to get all patches related to the gpd pocket on a 4.13.4 kernel? (sorry for abusing this thread)

vStone commented Oct 2, 2017

@jwrdegoede I've been struggling to get the correct patches to apply on my gentoo-sources. Could you somewhere give any pointers on what would be the easiest way to get all patches related to the gpd pocket on a 4.13.4 kernel? (sorry for abusing this thread)

@joshskidmore

This comment has been minimized.

Show comment
Hide comment
@joshskidmore

joshskidmore Oct 2, 2017

@jwrdegoede - Thank you so much for this update! I just compiled your master branch on Arch for my GPD Pocket and everything works perfectly! Amen for USB-C data AND bluetooth!

joshskidmore commented Oct 2, 2017

@jwrdegoede - Thank you so much for this update! I just compiled your master branch on Arch for my GPD Pocket and everything works perfectly! Amen for USB-C data AND bluetooth!

@snazzybunny

This comment has been minimized.

Show comment
Hide comment
@snazzybunny

snazzybunny Oct 4, 2017

@joshskidmore - could you by any chance provide any info on how to compile the master branch and installing the custom kernel on Arch or point me in the right direction? Thanks!

snazzybunny commented Oct 4, 2017

@joshskidmore - could you by any chance provide any info on how to compile the master branch and installing the custom kernel on Arch or point me in the right direction? Thanks!

@joshskidmore

This comment has been minimized.

Show comment
Hide comment
@joshskidmore

joshskidmore Oct 4, 2017

@snazzybunny - I'm using the Arch packaging scripts found here.

joshskidmore commented Oct 4, 2017

@snazzybunny - I'm using the Arch packaging scripts found here.

@nexus511

This comment has been minimized.

Show comment
Hide comment
@nexus511

nexus511 Oct 4, 2017

Owner

Please keep in mind that this is an issue tracker and not a general purpose discussion forum.

Questions on how to build a kernel are completely unrelated to this issue. If you want to ask such questions, please create a new bug as useful posts might get lost in the general noise here otherwise.

Owner

nexus511 commented Oct 4, 2017

Please keep in mind that this is an issue tracker and not a general purpose discussion forum.

Questions on how to build a kernel are completely unrelated to this issue. If you want to ask such questions, please create a new bug as useful posts might get lost in the general noise here otherwise.

@snazzybunny

This comment has been minimized.

Show comment
Hide comment
@snazzybunny

snazzybunny Oct 5, 2017

Oops - sorry about that. Will a sudo apt update; sudo apt install gpdpocket update me to the latest working kernel with the working bluetooth?

snazzybunny commented Oct 5, 2017

Oops - sorry about that. Will a sudo apt update; sudo apt install gpdpocket update me to the latest working kernel with the working bluetooth?

@nexus511

This comment has been minimized.

Show comment
Hide comment
@nexus511

nexus511 Oct 11, 2017

Owner

Kernel 4.14.0-10.gpd has been build and should be available via

apt update && apt upgrade

The kernel now supports bluetooth again.

Owner

nexus511 commented Oct 11, 2017

Kernel 4.14.0-10.gpd has been build and should be available via

apt update && apt upgrade

The kernel now supports bluetooth again.

@nexus511 nexus511 closed this Oct 11, 2017

@stephen-hocking

This comment has been minimized.

Show comment
Hide comment
@stephen-hocking

stephen-hocking Oct 11, 2017

stephen-hocking commented Oct 11, 2017

@unoexperto

This comment has been minimized.

Show comment
Hide comment
@unoexperto

unoexperto Nov 13, 2017

Guys, does anyone have problems with their bluetooth and wifi 2.4 GHz ? Two doesn't work together but if I use 5 GHz wifi bluetooth connection stays. Problem first showed up when I upgraded from 4.12 to 4.13 (not sure what minor version it was). But today I upgraded 4.14.0-041400-generic and I still can't use mouse while connected to wifi :(

I'm on Linux Mint 18.2

Could anyone suggest what to do ?

unoexperto commented Nov 13, 2017

Guys, does anyone have problems with their bluetooth and wifi 2.4 GHz ? Two doesn't work together but if I use 5 GHz wifi bluetooth connection stays. Problem first showed up when I upgraded from 4.12 to 4.13 (not sure what minor version it was). But today I upgraded 4.14.0-041400-generic and I still can't use mouse while connected to wifi :(

I'm on Linux Mint 18.2

Could anyone suggest what to do ?

@bkchr

This comment has been minimized.

Show comment
Hide comment
@bkchr

bkchr Nov 14, 2017

@unoexperto I have the same problem and judging on this ticket, the bug is known upstream. I think we have to wait for a fix on upstream.

bkchr commented Nov 14, 2017

@unoexperto I have the same problem and judging on this ticket, the bug is known upstream. I think we have to wait for a fix on upstream.

@unoexperto

This comment has been minimized.

Show comment
Hide comment
@unoexperto

unoexperto Nov 27, 2017

@bkchr Emmanuel published pre-release version of BT driver and problem is fixed for me (Jack Daniels in the thread): https://bugzilla.kernel.org/show_bug.cgi?id=197147

unoexperto commented Nov 27, 2017

@bkchr Emmanuel published pre-release version of BT driver and problem is fixed for me (Jack Daniels in the thread): https://bugzilla.kernel.org/show_bug.cgi?id=197147

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment