Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

How to setup Marvell bluetooth

77 bytes removed, 13:37, 27 August 2012
update intructions to be compatible with latest stable kernel
=== Overview of How-To ===
This How-To is meant to be a starting point for people to learn how to setup the bluetooth on IGEP v2 Technology devices as quickly and easily as possible.
=== Feedback and Contributing ===
=== Setup basics ===
The Some IGEP v2 Technology boards has built-in a Class 2 Bluetooth 2.0 + EDR device.
{| border=1 class="simple"
# mount -t debugfs none /sys/kernel/debug
# cd /sys/kernel/debug/lbs_wireless/eth1wlan0/registers/
# echo "0xa58c 0x40865" > wrmac
</pre>
Configure ttyS1 port  Beware to use ttyO1 port instead of ttyS1 if you have a system based on linux kernel version 2.6.37.
<pre>
stty -F /dev/ttyS1 ttyO1 ispeed 115200 ospeed 115200 cs8 -cstopb clocal -crtscts -parodd
</pre>
And send the file using the bccmd tool.
<pre>
# bccmd -t bcsp -d /dev/ttyS1 ttyO1 psload -r bluez.psr
Loading PSKEY_LC_ENHANCED_POWER_TABLE ... done
<pre>
# hciattach -s 115200 /dev/ttyS1 ttyO1 bcsp 115200 noflow
# hciconfig hci0 up
# hciconfig hci0 piscan
To read CSR chip version
<pre>
root@igep0020:~# bccmd -t bcsp -d /dev/ttyS1 ttyO1 chiprev
Chip revision: 0x0030 (BC4-ROM)
</pre>
0
edits