Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

OrangePi Win Bluetooth

Featured Replies

Is there any way/hope to have bluetooth working on the OrangePi Win?

 

Thanks!

  • Author

dpeddi commit 238072cb55009480c5170a9952d5ee1e83a74473 fix bt on orangepiwin  

 

Wow, kudos to you!

Thanks!

Will test asap.

I have  the same problem how can I solve can u help me. When I push Bluetooth it says no adapter found. 

14 minutes ago, sadkhann said:

I'm quite new in this linux systems. What can I do with this link? And if I must do anything how can I do to fix? 


If you are new to this  ... I replace images in download section (get Xenial desktop) - they have the same name - download them again. They have this fix implemented, but they are not tested.

12 minutes ago, Igor said:


If you are new to this  ... I replace images in download section - they have the same name - download them again. They have this fix implemented, but they are not tested.

Thank you very much I will try it :))

3 hours ago, Igor said:


If you are new to this  ... I replace images in download section (get Xenial desktop) - they have the same name - download them again. They have this fix implemented, but they are not tested.

I installed the system you said but it still doesnt work. The bluetooth symbol comes but when I want to add my keyboard it warns me "No adaptor found" .  I tried nearly everything but I cant do. 

 

  • Author

It's a step forward, But it doesn't work yet. Actually, this is the same as with the Orangepi images:

- rfkill lists bluetooth

root@orangepiwin:~# rfkill list all
0: sunxi-bt: Bluetooth
    Soft blocked: no
    Hard blocked: no

...

(I unblocked it, since it was initially blocked)

 

but hcitool doesn't see the device.

root@orangepiwin:~# hcitool dev
Devices:

 

Trying the usual sequence ends with a timeout (I also had to reimport the firmware file first)

root@orangepiwin:~# echo "0" > /sys/class/rfkill/rfkill0/state
root@orangepiwin:~# echo "1" > /sys/class/rfkill/rfkill0/state
root@orangepiwin:~# echo " " > /dev/ttyS3
root@orangepiwin:~# hciattach /dev/ttyS3 bcm43xx 1500000
bcm43xx_init
Initialization timed out.

 

I'd like to help if I can.

By the way, is it possible to build myself the 4.11 image, the version you first built had clan disabled, and this one has a legacy 3.10 kernel ? (the 4.14.y seems to have broken network, or is this fixed?)

 

Thanks

Calaf

 

5 hours ago, sadkhann said:

I installed the system you said but it still doesnt work. The bluetooth symbol comes but when I want to add my keyboard it warns me "No adaptor found" .  I tried nearly everything but I cant do. 


This means BT is not up and operational. We just put this image out even few things are not fully operational since it can be used for most cases. BT will eventually be solved, but it's functioning is not our top priority. Unfortunately. This is the case on other boards as well. This comes usually when we have nothing else to do or somebody just provides a fix for it. I thought it was.
 

3 hours ago, Calaf said:

By the way, is it possible to build myself the 4.11 image, the version you first built had clan disabled, and this one has a legacy 3.10 kernel ? (the 4.14.y seems to have broken network, or is this fixed?)

2


Unfortunately, 4.14 has for sure broken and afaik also up.

 

The current image is probably the best whats out there for this board.

Hi,

 

What i did in my patch was to port the stuff shown by following video in a more armbian compliant way.

 

 

http://www.youtube.com/watch?v=kH-1PC7chIU

 

 

I've live applied changes on 10/01/2018 armbian and tested on my orangepi winplus (barcode dated 20170926) win ap6212A

 

Please note that hciattach trick (a6212-patch) won't work for me as well, but worked brcm40183-patch.

 

firstrun has been modded to enable the new helper, so a new install should get bluetooth by default.

 

 

@Igor Just installed the new image -  can't find changes to brcm40183-patch bring by https://github.com/armbian/build/commit/238072cb55009480c5170a9952d5ee1e83a74473

 

probably that is the issue...

Edited by dpeddi

25 minutes ago, Igor said:

Edit: Problem found. Repository needs a small update.

 

what do you mean with repository? github? 

I tried now once again with brcm40183-patch ... and it works :) We don't need to change a method, just make it more resilient?

hci0:   Type: BR/EDR  Bus: UART
        BD Address: 43:29:B1:55:01:01  ACL MTU: 1021:8  SCO MTU: 64:1
        UP RUNNING PSCAN 
        RX bytes:728 acl:0 sco:0 events:49 errors:0
        TX bytes:4205 acl:0 sco:0 commands:49 errors:0

Scan also work.

just a new pull request.. we can still use ap6212-bluetooth init script....

 

that's my dmesg with patched ap6212-bluetooth (https://github.com/armbian/build/pull/878/commits/02b98de61e16b12f65716f5303450264c8abbb3e) since this commit may bring regression to other board... give it a try ;-)

 

   19.630792] libphy: 1c30000.eth-0:00 - Link is Up - 100/Full
[   19.630831] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   19.829358] Bluetooth: HCI UART driver ver 2.2
[   19.829370] Bluetooth: HCI H4 protocol initialized
[   19.829374] Bluetooth: HCI BCSP protocol initialized
[   19.829378] Bluetooth: HCILL protocol initialized
[   19.829381] Bluetooth: HCIATH3K protocol initialized
[   19.829385] Bluetooth: HCI Three-wire UART (H5) protocol initialized
[   20.413018] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   20.413029] Bluetooth: BNEP filters: protocol multicast
[   20.413061] Bluetooth: BNEP socket layer initialized
[   26.259140] HDMI set ptbl: 4 4 0 96 5 5 2 1 5 0 0 0 114 110 40 208 30 1 1
[   26.259499] HDMI set ptbl: 4 4 0 96 5 5 2 1 5 0 0 0 114 110 40 208 30 1 1
[   26.291430] HDMI set ptbl: 4 4 0 96 5 5 2 1 5 0 0 0 114 110 40 208 30 1 1
[   26.291792] HDMI set ptbl: 4 4 0 96 5 5 2 1 5 0 0 0 114 110 40 208 30 1 1
[   26.309039] HDMI set ptbl: 4 4 0 96 5 5 2 1 5 0 0 0 114 110 40 208 30 1 1
[   26.311321] HDMI set ptbl: 4 4 0 96 5 5 2 1 5 0 0 0 114 110 40 208 30 1 1
[   26.922488] Bluetooth: RFCOMM TTY layer initialized
[   26.922543] Bluetooth: RFCOMM socket layer initialized
[   26.922548] Bluetooth: RFCOMM ver 1.11
[   31.780860] sunxi-bt bt.28: block state already is 0
[   34.068836] NET: Registered protocol family 38
[   35.883778] input: MiMouse as /devices/virtual/misc/uhid/input5
[   35.884534] hid-generic 0005:2717:0040.0001: input,hidraw0: BLUETOOTH HID v0.23 Mouse [MiMouse] on 43:29:B1:55:01:01

 

  • Author

Yes it works for me now with the legacy kernel.

Thanks for your help.

On 29.01.2018 at 4:27 PM, dpeddi said:

Does it work for you now?

I cant do it. And I understand nothing to your solving types. 

Just now, Igor said:


It can be very simple: download latest desktop image - it works there out of the box. If you are familiar with scripts and hackings, scrap the commit log and fix your current image.

I dont familier with scrips and hackings. I just wanna learn but I stuck in it.  It really hard to solve, I think....

Just now, Igor said:

Download image then. We barely can provide support hints, while one to one guidance and teaching is not possible. 

I downloaded and run lastest image. 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.