Jump to content
  • 0

OrangePi Win Bluetooth


Calaf
 Share

Question

Recommended Posts

Check forum guidelines to use maximum potential!

  • 0
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.

Link to comment
Share on other sites

  • 0
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 :))

Link to comment
Share on other sites

  • 0
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. 

 

Link to comment
Share on other sites

  • 0

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

 

Link to comment
Share on other sites

  • 0
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.

Link to comment
Share on other sites

  • 0

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
Link to comment
Share on other sites

  • 0
26 minutes ago, dpeddi said:

 Just installed the new image


You mean self-made or the one from the download? I will look more into this. 

Edit: Problem found. Repository needs a small update.

Edited by Igor
Link to comment
Share on other sites

  • 0

the downloaded one... 

 

@Igor

however I have another mistake... I forgot  to add https://github.com/BPI-SINOVOIP/BPI-files/blob/master/others/brcm/lib/firmware/ap6212/bcm43438a1.hcd?raw=true

 

after fixing the brcm40183-patch and copying again bcm43438a1.hcd bt started to work again..

 

I have no idea about why echo " " >/dev/ttyS1 won't activate the bt chip.

Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

  • 0

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

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...