Firefly Open Source Community

Title: Bluetooth [Print This Page]

Author: herbat    Time: 12/31/2014 04:00
Title: Bluetooth

Hi,

I tried to run bluetooth on lubutu but no success so far.

I installed blueman bluetooth manager but it does not recognize any new device (no adapter).

Somebody has any hint/how to?

cheers

Adam
Author: Andy    Time: 12/31/2014 09:46
You can post the log here and someone may help you.
Author: busybee    Time: 12/31/2014 17:00

Hi herbat . You need to copy the bluetooth hcd file and hciattach it first.

Here're the instructions (run with root):

  1. 1. Mount Android system partition and copy out the AP6335 hcd file:
  2. # mount Android system partition
  3. mount /dev/block/mtd/by-name/system /mnt
  4. # mkdir for compatiblity
  5. mkdir -p /system/vendor/firmware
  6. # copy required hcd file
  7. cp /mnt/vendor/firmware/bcm4339a0.hcd /system/vendor/firmware/
  8. # umount
  9. umount /mnt

  10. 2. Install the neccessary bluetooth packages:
  11. apt-get install --no-install-recommends brcm-patchram-plus-nexus7 bluetooth ussp-push



  12. 3. Power on the bluetooth and do initializaion:
  13. # Power on
  14. cat /sys/class/rfkill/rfkill0/type   # bluetooth
  15. echo 1 > /sys/class/rfkill/rfkill0/state

  16. # Upload hcd file
  17. brcm_patchram_plus -d --patchram /system/vendor/firmware/bcm4339a0.hcd --baudrate 1500000 --enable_lpm --enable_hci --no2bytes /dev/ttyS0 &



  18. 4. Wait some time until the brcm_patchram_plus settles down, then use bluez related commands to test:
  19. root@firefly:~# hciconfig -a
  20. hci0:        Type: BR/EDR  Bus: UART
  21.         BD Address: 43:39:00:00:1F:AC  ACL MTU: 1021:8  SCO MTU: 64:1
  22.         UP RUNNING PSCAN
  23.         RX bytes:1186 acl:0 sco:0 events:39 errors:0
  24.         TX bytes:956 acl:0 sco:0 commands:39 errors:0
  25.         Features: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87
  26.         Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
  27.         Link policy: RSWITCH SNIFF
  28.         Link mode: SLAVE ACCEPT
  29.         Name: 'firefly-0'
  30.         Class: 0x600100
  31.         Service Classes: Audio, Telephony
  32.         Device Class: Computer, Uncategorized
  33.         HCI Version: 4.0 (0x6)  Revision: 0x10c
  34.         LMP Version: 4.0 (0x6)  Subversion: 0x6109
  35.         Manufacturer: Broadcom Corporation (15)

  36. hci0 should be up and running now.
  37. 5. Shutdown bluetooth.
  38. echo 0 > /sys/class/rfkill/rfkill0/state
Copy the code




Author: herbat    Time: 12/31/2014 22:40

@busyby : thanks for answer


I came with your procedure. Adapter is working as you can see

  1. hci0:        Type: BR/EDR  Bus: UART
  2. BD Address: 43:39:00:00:1F:AC  ACL MTU: 1021:8  SCO MTU: 64:1
  3. UP RUNNING PSCAN ISCAN
  4. RX bytes:647 acl:0 sco:0 events:36 errors:0
  5. TX bytes:1429 acl:0 sco:0 commands:36 errors:0
  6. Features: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87
  7. Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
  8. Link policy: RSWITCH SNIFF
  9. Link mode: SLAVE ACCEPT
  10. Name: 'firefly-0'
  11. Class: 0x700100
  12. Service Classes: Object Transfer, Audio, Telephony
  13. Device Class: Computer, Uncategorized
  14. HCI Version: 4.0 (0x6)  Revision: 0x10c
  15. LMP Version: 4.0 (0x6)  Subversion: 0x6109
  16. Manufacturer: Broadcom Corporation (15)
Copy the code

Unfortunately, after adding device it came with an error with paring procedure.

I am using Blueman applet 1.23 for managing my bluetooth devices.

For example, It recognized my phone (samsung galaxt s5)  but it sends wrong paring codes (wrong numbers) to paring device.

This same problem I have with bluetooth keyborad (Rapoo T Series)


Author: busybee    Time: 1/8/2015 15:17

@herbat

I tried blueman, and it paired my phone well with correct code display.


I install it with:

sudo apt-get install blueman notify-osd


Maybe you need to launch the blueman-applet in a terminal window to see detailed log.


Author: alangre289    Time: 1/14/2026 04:13
What an insightful article, I truly appreciate your sharing it! The New ITIL-4-DITS study materials material is top-notch, and I hope it assists you, with no cost involved.
Author: johnmil107    Time: 1/19/2026 21:10
Thank you for your article, it was incredibly thought-provoking. C_ARP2P_2508 valid test camp sheet is available to everyone for free, packed with content that can aid you.
Author: robbell489    Time: 1/25/2026 21:56
I¡¯m deeply appreciative of your article, it was truly enlightening. I¡¯m sharing the Reliable GH-900 test camp free exam materials for free¡ªbest of luck!
Author: bobbell493    Time: 2/8/2026 06:28
The content is impressive, definitely worthy of a like. This Technical CIPP-E training helped me get promoted and receive a raise. Now I¡¯m offering it for free. Wishing you all success in your career paths!
Author: karland721    Time: 2/10/2026 12:36
I¡¯m in awe of your article, thank you for sharing! The AD0-E725 exam voucher content is truly useful, and it's all yours at no cost.
Author: davidev630    Time: 2/16/2026 05:10
This is top-quality stuff, clicking like now. Thanks to the NCM-MCI valid dumps ebook, I got promoted and received a salary raise. Now, I¡¯m offering it for free. Wishing you all success in your careers!
Author: noahsco449    Time: 2/18/2026 20:19
IT업계에서 자신만의 위치를 찾으려면 자격증을 많이 취득하는것이 큰 도움이 될것입니다. Oracle 인증 1z0-1054-25시험은 아주 유용한 시험입니다. Oracle 인증1z0-1054-25시험출제경향을 퍼펙트하게 연구하여Itcertkr에서는Oracle 인증1z0-1054-25시험대비덤프를 출시하였습니다. Itcertkr에서 제공해드리는Oracle 인증1z0-1054-25시험덤프는 시장에서 판매하고 있는Oracle 인증1z0-1054-25덤프중 가장 최신버전덤프로서 덤프에 있는 문제만 공부하시면 시험통과가 쉬워집니다.




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1