> what is the right process ? Can any one help me out ?
> Thanks
> Raymond
Hi Raymond,
we are using BC6 ROM, and also had problems initializing it. This is the procedure that works for us:
1. We run bccmd before hciattach!
bccmd -t BCSP -d /dev/ttyS2 psload -r pskeys.psr
Obviously, BC6 is connected to ttyS2.
pskeys.psr looks like this:
// PSKEY_BDADDR
&0001 = 0044 5566 0033 1122
// PSKEY_UART_BAUDRATE - 921600
&01be = 0ebf
// PSKEY_ANA_FREQ
&01fe = 6590
Before executing bccmd, chip has baudrate 38400. After executing bccmd, baudrate will be 921600, so hciattach has to use that speed.
bccmd without -r didn't work for us.
2. Now we run hciattach:
hciattach -s 921600 /dev/ttyS2 bcsp 921600 noflow
After this we do hciconfig hci0 reset, and continue working with hci0 device normally from BlueZ.
Regards,
Sanja
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bluez-devel mailing list
Bluez-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/bluez-devel
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]