Ubuntu Bluetooth [SOLVED]

Peter BerbecPeter Berbec New Member Posts: 17
edited December 2017 in UP Core Linux
I've gotten the wifi to work, but bluetooth is eluding me.

I'm following the PDF instructions. I'm instructed to

Attach the bluetoth serial device via UART HCI

$ sudo hciattach /dev/ttySX bcm43xx

X is your UART port number that connect to Bluetooth module

which UART am I supposed to use? There's 31 of them!

Best Answer

Answers

  • Jack SilbermanJack Silberman New Member Posts: 0
    Hello,

    I just got my Up Core. I installed Ubuntu16.04, installed the drivers for WiFi, but Bluetooth is not being recognized.
    I did a quick search here in the Forum, it seems people have problem with Win10, I did not see anyone complaining about Ubuntu16.04 not seeing the Bluetooth.

    If I plug a USB dongle that has Bluetooth it works immediately.

    Is there a separate Linux driver for the Core bluetooth?
    Do I need to enable it at the BIOS? I did not see the option there.

    Thank you,
    -Jack
  • Peter BerbecPeter Berbec New Member Posts: 17
    Found it!

    [pre]/dev/ttyS5
    bcm43xx_init
    Set Controller UART speed to 3000000 bit/s
    Flash firmware /etc/firmware/BCM43430A1.hcd
    Set Controller UART speed to 3000000 bit/s
    Device setup complete
    . Success![/pre]

    If this doesn't work for everyone, I made a batch file to test all the ttySs:

    [pre]
    for i in $(ls /dev/ttyS*)
    do
    hciattach $i bcm43xx
    if [ $? -eq 0 ]
    then
    echo "$1. Success!"
    exit
    fi
    done
    [/pre]
    (I don't know why the BBcode pre isn't keeping tabs. sorry)
  • asilvaasilva New Member Posts: 13

    hi, you are using the UP-3GHAT01? can you use com1 to connect to a remote terminal via serial console?

Sign In or Register to comment.