Home | History | Annotate | Download | only in bcm43340
      1 ########################################################
      2 #  BLUETOOTH CONFIGURATION - BROADCOM SPECIFIC
      3 ########################################################
      4 
      5 on fs
      6     mkdir /config/bt 0770 system bluetooth
      7     setprop ro.bt.bdaddr_path /config/bt/bd_addr.conf
      8 
      9 on early-boot
     10     chmod 0644 /config/bt/bd_addr.conf
     11 
     12 on post-fs-data
     13     # Bluetooth
     14     write /sys/class/rfkill/rfkill0/state 1
     15     chmod 0660 /sys/class/rfkill/rfkill0/state
     16     chown bluetooth net_bt_stack /sys/class/rfkill/rfkill0/state
     17     chown bluetooth net_bt_stack /sys/class/rfkill/rfkill0/type
     18 
     19