ophub / amlogic-s9xxx-armbian

Support for Armbian in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
5.8k stars 1.86k forks source link

x96 max+ 蓝牙无法工作 #117

Closed EastWoodYang closed 2 years ago

EastWoodYang commented 2 years ago

这几天重新刷了下发现wifi能正常工作了,蓝牙还是不行,是还未兼容嘛?

非常感谢这个开源项目:-)

EastWoodYang commented 2 years ago

当前使用 5.1内核版本,需要切到5.4吗?好像当前 bullseye image 无法下载,只有focal,是没触发打包?

ophub commented 2 years ago

你在armbian-config里看看蓝牙的状态

有用户 https://github.com/ophub/amlogic-s9xxx-armbian/issues/75 反馈 x96max 的蓝牙是可以使用的,我的这个设备放了一个月没开机,不知道为什么无法开机了,给你测试不了。 这个设备支持全内核系列,你可以从任意一个内核系列直接更换到其他,比如现在是5.4.180,你 armbian-update 5.16.10 就切换更新到5.16系列了,在 5.4 / 5.10 / 5.15 / 5.16 的各个系列的内核里均可以通过 armbian-update x.xx.xxx 任意切换,当前可选内核可查阅: https://github.com/ophub/kernel/tree/main/pub/stable

通过 armbian 官方的介绍看,目前可以构建 buster / bullseye / focal 等,这3个我都测试过,之前都默认编译,但是由于支持的设备逐渐增加,现在每个Releases都有30多个固件,实在有点不忍心浪费github.com的空间,所以目前默认只提供focal做个例子,其他分支如果有需要,你可以fork了自己编译。操作比较简单,点点鼠标就可以搞定了。

Snip20220222_1

JFLim1 commented 2 years ago

Hi @ophub, Can I make a suggestion. May be alternate build focal one day and another day build bullseye. The users can download Focal or Bullseye or Jammy (in near future).

I tried using GT King Pro (running Ubuntu Impish) to build Bullseye image following your instructions above but I don't seem to have the option to select "Bullseye" or "Board" as you have.

Did I miss some steps?

image

ophub commented 2 years ago

You do not have execution authority to operate directly in my repo. The first step is to fork, and then the repo will be copied directly to your account. If you operate under your own repo, you will have full management authority.

Snip20220222_4

Snip20220222_6

JFLim1 commented 2 years ago

You do not have execution authority to operate directly in my repo. The first step is to fork, and then the repo will be copied directly to your account. If you operate under your own repo, you will have full management authority.

Thanks for your quick response. I am new to github and have not set up and projects before.
Will stick with downloading your pre-build Armbian images, hopefully you can also alternate to build "Bullseye" and "Focal" images and in near future "Jammy" alternatively so that users can easily download Bullseye or Focal.

Thank you.

ophub commented 2 years ago

already added

EastWoodYang commented 2 years ago

image 1645543021(1)

设备内的蓝牙模块是没识别出来,但插上一个usb蓝牙是可以输出对应信息

JFLim1 commented 2 years ago

already added

Thank you.

ophub commented 2 years ago

设备内的蓝牙模块是没识别出来,但插上一个usb蓝牙是可以输出对应信息

你查查你的设备的蓝牙模块需要什么驱动,在kernel的配置里搜一下看看有没有,如果内核里有驱动,可以自定义编译一个包含你蓝牙的内核测试下。

内核编译的方法: https://github.com/ophub/amlogic-s9xxx-armbian/blob/main/compile-kernel/README.cn.md

内核配置文件,你搜下型号: https://github.com/ophub/amlogic-s9xxx-armbian/blob/main/compile-kernel/tools/config/config-5.4.180

EastWoodYang commented 2 years ago

设备内的蓝牙模块是没识别出来,但插上一个usb蓝牙是可以输出对应信息

你查查你的设备的蓝牙模块需要什么驱动,在kernel的配置里搜一下看看有没有,如果内核里有驱动,可以自定义编译一个包含你蓝牙的内核测试下。

内核编译的方法: https://github.com/ophub/amlogic-s9xxx-armbian/blob/main/compile-kernel/README.cn.md

内核配置文件,你搜下型号: https://github.com/ophub/amlogic-s9xxx-armbian/blob/main/compile-kernel/tools/config/config-5.4.180

好的,有空把设备拆开看下,另外问下 USB蓝牙用的芯片是 Realtek 8761BUV,这个内核目前是不是不支持?目前插上能识别但实际无法使用。

ophub commented 2 years ago

支持的蓝牙列表可以在内核的源码中查看:https://github.com/unifreq/linux-5.10.y/blob/main/drivers/bluetooth/btmrvl_sdio.c

你的应该不支持

EastWoodYang commented 2 years ago

我看了下 linux-5.16.y内核,有相应蓝牙驱动支持,我请教下如何使用linux-5.16.y内核来编译出armbian,编译方面小白,Action相应文档没看明白,问下有没有操作图解:-)

ophub commented 2 years ago

https://github.com/ophub/amlogic-s9xxx-armbian#detailed-build-compile-command

sudo ./rebuild -d -k 5.16.11 -b s905x3

You can also replace the current 5.4/5.10 kernel with 5.16 by updating:

armbian-update 5.16.11