• Content Count

  • Joined

  • Last visited

About iamdrq

  • Rank

Recent Profile Visitors

273 profile views
  1. Because default firmware include default mac, Please download the file and replace the default firmware file: /lib/firmware/brcm/BCM4345C5.hcd,then reboot
  2. Look like you install image and dtb correctly,but you edit armbianEnv.txt not correctly or put overlay-user files not correctly.(Oh,I see my previous post,I spell error,should 'sudo apt install bluez') Yes,this is not easy for simple user.I edit dts include bluetooth and not need add 'overlay-user',so: restore your armbianEnv.txt install following dtb files reboot And should see: root@orangepi4:~# dmesg |grep Blue [ 3.982085] Bluetooth: Core ver 2.22 [ 3.982126] Bluetooth: HCI device and connection manager initialized [ 3.982135] Bluetooth: HCI socket la
  3. Oh,my error,I add bluetooth by dts,bluetooth will auto finish on boot,so don't need install bluetooth by armbian-config(because armbian-config use brcm_patchram_plus,it conflicts with the dts way). so you need use armbian-config remove bluetooth,then 'apt install bluz',and reboot And can you show me 'sudo dmesg | grep Blue',I want to make sure that you have placed the file correctly
  4. Please back up your old files. There is Image and dtb and overlays and bt firmware. OrangePi4-Bluetooth-Mic.zip
  5. About the Orangepi 4 's bluetooth chip AP6256,I read hci how get bluetooth mac address from 'https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/bluetooth/btbcm.c',the origin firmware file /lib/firmware/brcm/BCM4345C5.hcd include default mac address '43:45:C5:00:1F:AC',it is cause driver mark it 'HCI_QUIRK_INVALID_BDADDR',so I use hex editer change the default mac to '43:45:C5:00:1F:CA',you can use this firmware file replace /lib/firmware/brcm/BCM4345C5.hcd and not need do 'btmgmt --index 0 public-addr 11:22:33:44:55:66' set bluetooth mac after boot. BCM4345C5
  6. @piter75 Maybe the mic need fix,I see the OrangePi_4_schematic_v1.3.pdf,I found MIC_IN1P not link to IN1P.It causes the recording to be abnormal. This is a dts overlay,I tested recording better,I am not sure it is correct(because orangepi4 include two mic,one from board,one from jack). mic-opi4.dts
  7. well,it useable with or without headless,so just do as you like
  8. Yes,please back up your old files orangepi4-sound-bt.zip
  9. the orangepi4-rt5651.patch include rt5651.c, so not only need use dts overlay. Do you use the patch rebuild kernel ?
  10. Yes,the orange pi 4's bluetooth also fixed. the main line kernel support bcm bt chip,so I use the kernel driver and not use brcm_patchram_plus file do this. the 'wireless-wlan' and 'wireless-bluetooth' in dts,it is from rockchip's net/rfkill/rfkill-bt.c and net/rfkill/rfkill-wlan.c and this not found in main line kernel,so 'wireless-wlan' and 'wireless-bluetooth' should remove or disable,and wifi be driver by sdio node in dts. the bluetooth will be driver by uart->bluetooth->compatible = "brcm,bcm4345c5"(serial@ff180000->bluetooth->compatible = "brcm,bcm4345c5")
  11. Oh,I fixed this problem spend 2 weeks,I finally heard sound from 3.5 mm jack (this jack is OMTP otherwise need keep press headphone button) I see this topic,and I compair https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/sound/soc/codecs/rt5640.c and https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/sound/soc/codecs/rt5651.c,this rt5651 not enable mclk and orangepi4"s rt5651 linked i2s1,the i2s1's SCLK_I2S_8CH parent not SCLK_I2S1_8CH defult and need set alsamixer in following(also use alsactl save this alsamixer state): amixer set 'H
  12. I cant get orangepi4's audio to work too,and I try adjust alsamixer get some noise from headphone,I try fix it a week,but got nothing,maybe i2c1 work,i2s1 not work ? someone fixed the audio ?
  13. I found a way to fix this problem: https://patchwork.kernel.org/patch/10856989/
  14. I try Armbian's OrangepiA64 Win Mainline Linux 4.19,But jack sound don't work always,I try many a time.Finally,I decide build image from mainline linux 5.0,Yes,Everything ok except usb,all usb port don't work. root@OrangepiWin:~# lsusb Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub root@OrangepiWin:~# dmesg |grep -i usb [ 0.000000] Kernel command line: root=/dev/mmcblk0p2 rootwait rootfstype=ext4 console=ttyS0,115200 panic=10 consoleblank=0 l