Difference between revisions of "How to setup Murata LBEH59XUHC WiFi/BT module"

From IGEP - ISEE Wiki

Jump to: navigation, search
(wl12xx debug)
Line 1: Line 1:
== Ad-hoc ==
 
  
  # Setting the operation mode to ad-hoc.
+
== Bluetooth ==
  iw dev wlan0 set type ibss
+
 
  # Setting wlan0 interface up.
+
Firmware : TIInit_7.6.15.bts (from https://github.com/TI-ECS/bt-firmware)
  ip link set wlan0 up
+
 
  # Setting ESSID and frequency (2427MHz - channel 4)
+
* Basic usage :
  iw dev wlan0 ibss join "MyAd-Hoc" 2427
+
 
# Setting ip address
+
  # BT_EN
ip addr add 192.168.6.1/24 dev wlan0
+
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

Links