Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

How to setup Murata LBEH59XUHC WiFi/BT module

1,093 bytes added, 17:43, 15 January 2014
no edit summary
== Product Brief ==
 
The LBEH59XUHC module is an ultra small wireless solution providing IEEE802.11 b/g/n + Bluetooth version 4 connectivity. The module integrates the Texas Instrument’s WL1271L SoC, RFFE, and DC-DC converter. WLAN host interface is SDIO, Bluetooth host interface is UART.
 
[[File:Pro_wi-fi_bgn_bt_diag.jpg‎|center]]
 
== Wi-Fi ==
 
Firmware : ti-connectivity (from [http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/ linux-firmware repository])
 
=== wl12xx debug ===
 
Make sure that DYNAMIC DEBUG is enabled in your kernel configuration.
 
CONFIG_DYNAMIC_DEBUG=y
 
<pre>
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
</pre>
 
== Bluetooth ==
=== Setup and scan for devices ===
echo 142 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio142/direction
# BT_EN
echo 0 > /sys/class/gpio/gpio142/value
hcitool -i hci0 scan
== Wireless = Headset and Alsa Devices ===
Firmware : ti-connectivity (from linux-firmware repository)Scan for your device
=== wl12xx debug ===<pre>hcitool -i hci0 scanScanning ... 00:0C:8A:39:F3:E5 Bose BT2 01.03.00</pre> Pair your headset with your device:
Make sure that DYNAMIC DEBUG is enabled in your kernel configuration. bluez-simple-agent hci0 00:0C:8A:39:F3:E5
CONFIG_DYNAMIC_DEBUG=yAdd this to your /etc/asound.conf file:
<pre>
echo 8 pcm.btheadset { type plug slave { pcm { type bluetooth device 00:0C:8A:39:F3:E5 profile "auto" } } hint { show on description "BT Headset" } }ctl.btheadset { type bluetooth} </pre> /proc/sys/kernel/printk 
echo 0x8800 > /sys/module/wlcore/parameters/debug_levelNow play with aplay:
echo aplay -n 'module cfg80211 +p' > /sys/kernel/debug/dynamic_debug/controlecho -n 'module mac80211 +p' > /sys/kernel/debug/dynamic_debug/controlecho -n 'module wl12xx +p' > /sys/kernel/debug/dynamic_debug/control</pre>D btheadset music.wav
== Links ==
0
edits