Skip to content
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

s905x Bluetooth QCA9377 #476

Closed
DiogoSilva48 opened this issue Aug 10, 2022 · 13 comments
Closed

s905x Bluetooth QCA9377 #476

DiogoSilva48 opened this issue Aug 10, 2022 · 13 comments
Labels
support This need is supported

Comments

@DiogoSilva48
Copy link

Hi. I'm the same user as these 3 last issues ( #342 #338 #98 )which helped me a lot, thank you. Now I have this problem where the Bluetooth doesn't work, I had the same problem in LibreElec where Bluetooth doesn't work because the dtb doesn't start it.

I had the same issue with LibreElec and the devs were able to fix it by making a custom dtb that loads the kernel driver.

https://forum.libreelec.tv/thread/22564-official-le-test-images-for-amlogic-kodi-20/?pageNo=26 here's the thread where it's mentioned.

https://github.com/LibreELEC/LibreELEC.tv/blob/a75f168a876fcea98c160d96b5e15c0bf4d2f941/projects/Amlogic/devices/AMLGX/patches/linux/amlogic-0070-WIP-arm64-dts-meson-add-support-for-TBee-Box.patch here's the patch they did.

I tried the exact same dtb here but didn't boot, maybe you can make a dtb based on the regular p212 that makes my Bluetooth work? Thank you and sorry for trouble.

@ophub
Copy link
Owner

ophub commented Aug 10, 2022

meson-gxl-s905x-tbee.dtb.zip

Download this zip file and unzip it
Compiled with the 5.10.135 version of the kernel
This file adds the qca9377-bt driver on the basis of meson-gxl-s905x-p212.dts, you download it, copy it to the /boot/dtb/amlogic directory, modify the value is meson-gxl-s905x-tbee.dtb in /boot/uEnv.txt, restart and try , feedback the result

@DiogoSilva48
Copy link
Author

I get this kernel panic
image

@ophub
Copy link
Owner

ophub commented Aug 10, 2022

dmesg | grep Blue*

@ophub
Copy link
Owner

ophub commented Aug 10, 2022

which dtb did you originally use? This is the bluetooth added on meson-gxl-s905x-p212.dts

@DiogoSilva48
Copy link
Author

dmesg | grep Blue*

I can't, it panics, I can't type anything.

which dtb did you originally use? This is the bluetooth added on meson-gxl-s905x-p212.dts

I used that exact one. Let me try again and see.

@ophub
Copy link
Owner

ophub commented Aug 10, 2022

Which version of the kernel are you using now? 5.15.y?

@DiogoSilva48
Copy link
Author

Which version of the kernel are you using now? 5.15.y?

Yes, 5.15. Tried again, just switching the dtb to the other one it boots, changing again to the new one, panic.

@ophub
Copy link
Owner

ophub commented Aug 10, 2022

meson-gxl-s905x-tbee.dtb.zip

Compiled under the 5.15.59 kernel, you download this, just above is the 5.10.135 kernel

@DiogoSilva48
Copy link
Author

DiogoSilva48 commented Aug 10, 2022

image

Yup, it's working fine now, thank you very much.

Btw, if I don't use ethernet, is there a way to remove all that delay of 1minute and a half on the "Rising Network Connections" at boot?

@ophub
Copy link
Owner

ophub commented Aug 10, 2022

Ok, I submitted this dtb to the upstream kernel source code, it can be used later, what is the name of your box? Post a product link.

@ophub ophub changed the title Bluetooth QCA9377 s905x Bluetooth QCA9377 Aug 10, 2022
@ophub ophub added the support This need is supported label Aug 10, 2022
@DiogoSilva48
Copy link
Author

DiogoSilva48 commented Aug 10, 2022

Ok, I submitted this dtb to the upstream kernel source code, it can be used later, what is the name of your box? Post a product link.

The product is called TBee, here's the product link https://www.tbee.com/product/tbee-box/ . You already added it to the device list you have.

@ophub
Copy link
Owner

ophub commented Aug 10, 2022

Can the wireless be used after changing this dtb?

@DiogoSilva48
Copy link
Author

Yes, Wireless works just fine, thank you!!

@ophub ophub closed this as completed Aug 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support This need is supported
Projects
None yet
Development

No branches or pull requests

2 participants