Difference between revisions of "How to setup Murata LBEH59XUHC WiFi/BT module"
From IGEP - ISEE Wiki
(→wl12xx debug) |
|||
Line 1: | Line 1: | ||
− | |||
− | # | + | == Bluetooth == |
− | + | ||
− | # | + | Firmware : TIInit_7.6.15.bts (from https://github.com/TI-ECS/bt-firmware) |
− | + | ||
− | + | * Basic usage : | |
− | + | ||
− | + | # BT_EN | |
− | + | echo 0 > /sys/class/gpio/gpio142/value | |
+ | sleep 1 | ||
+ | echo 1 > /sys/class/gpio/gpio142/value | ||
+ | # Attach to bluetooth device | ||
+ | hciattach -s 115200 /dev/ttyO4 texas 3000000 | ||
+ | # Setup interface and scan for devices | ||
+ | hciconfig hci0 up | ||
+ | hciconfig hci0 piscan | ||
+ | hcitool -i hci0 scan | ||
+ | |||
== wl12xx debug == | == wl12xx debug == |
Revision as of 13:57, 7 October 2013
Bluetooth
Firmware : TIInit_7.6.15.bts (from https://github.com/TI-ECS/bt-firmware)
- Basic usage :
# BT_EN echo 0 > /sys/class/gpio/gpio142/value sleep 1 echo 1 > /sys/class/gpio/gpio142/value # Attach to bluetooth device hciattach -s 115200 /dev/ttyO4 texas 3000000 # Setup interface and scan for devices hciconfig hci0 up hciconfig hci0 piscan hcitool -i hci0 scan
wl12xx debug
Make sure that DYNAMIC DEBUG is enabled in your kernel configuration.
CONFIG_DYNAMIC_DEBUG=y
echo 8 > /proc/sys/kernel/printk echo 0x8800 > /sys/module/wlcore/parameters/debug_level echo -n 'module cfg80211 +p' > /sys/kernel/debug/dynamic_debug/control echo -n 'module mac80211 +p' > /sys/kernel/debug/dynamic_debug/control echo -n 'module wl12xx +p' > /sys/kernel/debug/dynamic_debug/control