Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed from November 25 through December 2. Thank you for your patience.

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

WL1835 Can't set device: Protocol not supported and Error

Other Parts Discussed in Thread: WL1835

I am using WL1835 with our ARMv5 custom board and ran into problem below when load bts file. What does it mean?

#hciattach -s 115200 /dev/ttyS1 texas
Found a Texas Instruments' chip!
Firmware file : /lib/firmware/TIInit_11.8.32.bts
Loaded BTS script version 1
Can't set device: Protocol not supported
Can't initialize device: Protocol not supported

"hciconfig dev" command response with no hci0. I then continue with command below.

# hciattach -s 115200 /dev/ttyS1 any
Device setup complete

Now, I ran "hciconfig dev" again and hci0 is available. I can scan for BT devices and communicate but occasionally I get errors below.

bluetoothd[2198]: Bluetooth daemon 4.99

kernel: [  467.900000] Bluetooth: Frame Reassembly Failed

kernel: [  467.900000] Bluetooth: Frame Reassembly Failed

kernel: [  467.900000] Bluetooth: Frame Reassembly Failed

kernel: [  467.910000] Bluetooth: Frame Reassembly Failed

kernel: [  467.910000] Bluetooth: Frame Reassembly Failed

kernel: [  467.920000] Bluetooth: Frame Reassembly Failed

ernel: [  467.920000] Bluetooth: bad checksum in packet

kernel: [  467.950000] Bluetooth: Frame Reassembly Failed

kernel: [  467.950000] Bluetooth: Frame Reassembly Failed

kernel: [  467.950000] Bluetooth: Frame Reassembly Failed

kernel: [  467.960000] Bluetooth: Frame Reassembly Failed

kernel: [  467.960000] Bluetooth: Frame Reassembly Failed

kernel: [  467.970000] Bluetooth: Frame Reassembly Failed

kernel: [  467.970000] Bluetooth: Frame Reassembly Failed

kernel: [  467.980000] Bluetooth: Frame Reassembly Failed

kernel: [  467.980000] Bluetooth: Frame Reassembly Failed

kernel: [ 4924.210000] Bluetooth: hci0 ACL packet for unknown connection handle 1

kernel: [ 4924.230000] Bluetooth: hci0 ACL packet for unknown connection handle 1

  • Hi,

    You are getting "Protocol not supported errors" because BTPROTO_HCI was not registered. If I remember correctly this registration happen when the bluetooth module is inserted. Make sure that all the bluetooth modules are inserted before trying to turn on BT.

    I think you are missing some of the defined in the kernel config, like for example CONFIG_BT_HCIUART_LL
  • I ran into this same problem. Google search leads me to this page. 

    Just want to report back, that enabling CONFIG_BT_HCIUART_LL in kernel can fix the (Can't set device: Protocol not supported) problem.

    Thank you all.

  • Same problem:

    $hciattach -s 115200 /dev/ttyS1 texas
    Found a Texas Instruments' chip!
    Firmware file : /lib/firmware/TIInit_11.8.32.bts
    Loaded BTS script version 1
    Can't set device: Protocol not supported
    Can't initialize device: Protocol not supported

    The solution of guodong xu works: just set the HCILL protocol flag in the kernel and now the output is:

    $hciattach -s 115200 /dev/ttyS1 texas
    Found a Texas Instruments' chip!
    Firmware file : /lib/firmware/TIInit_11.8.32.bts
    Loaded BTS script version 1
    Device setup complete