public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] mx27, csr and bluez: initialisation timed out
@ 2008-01-22 13:46 Peter Wurmsdobler
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Wurmsdobler @ 2008-01-22 13:46 UTC (permalink / raw)
  To: bluez-users

Hello,

I am using a combined WiFi/BlueTooth module called apm6628, integrating
  the CSR BlueTooth silicon which is connected over a serial cable to my
i.MX27 ADS development board, running linux 2.6.19.2. I have bluez
support compiled into the kernel and the bluez-utils installed using
LTIB (not to forget with the --enable-bccmd in the spec file).

The kernel boots, and the bluetooth related facilities printk some
messages such as HCI UART driver ver 2.2, H4 and BCSP protocol
initialised. Since the BlueTooth module does not know the clock
frequency it is using, or the baud rate of the host, I need to
"configure" the BlueCore and warm-reset it:

     mx27# bccmd -t BCSP -d /dev/ttymxc1 psload config.psr warmreset

However, the only message I get is: "Initialization timed out", which,
looking through the code, is generated in bluez/tools/csr_bcsp.c in the
open function. But why?

I then tried to compile bluez-utils on my linux host. For some reason, 
".configure --enable-bccmd" does not generate the bccmd options in the 
tools/Makefile. Any idea why that is so?

Alternatively to bccmd, could I simply use

     "hciattach -s 230400 -d /dev/ttymxc1 csr"

in order to create a hci0 device?

Am I missing something in the way the kernel creates bluetooth devices?

Is there a good (up-to-date) documentation on this matter?

Regards,
peter



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread
[parent not found: <OF57915B80.8FBC7A49-ON802573DF.003F8EDF-802573DF.003FEE1C@camcon.co.uk>]

end of thread, other threads:[~2008-01-29 18:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-22 13:46 [Bluez-users] mx27, csr and bluez: initialisation timed out Peter Wurmsdobler
     [not found] <OF57915B80.8FBC7A49-ON802573DF.003F8EDF-802573DF.003FEE1C@camcon.co.uk>
2008-01-29 12:35 ` Tim Chick
2008-01-29 16:42   ` Peter Wurmsdobler
2008-01-29 18:29   ` Peter Wurmsdobler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox