public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: hong zhang <henryzhang62@yahoo.com>
To: colorant <colorant@163.com>,
	BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] How to use Bluez with CSR chip ?
Date: Wed, 11 Jun 2008 20:15:53 -0700 (PDT)	[thread overview]
Message-ID: <817869.1711.qm@web57911.mail.re3.yahoo.com> (raw)
In-Reply-To: <02de01c8cc20$d57f2b00$0132a8c0@Raymondpc>

That means you need bccmd to initialize your csr chip.

--- colorant <colorant@163.com> wrote:

> Hi Henry
> 
>     1,2: nop, I use standard stack come with kernel,
> I use csr's demo just 
> to test the hardware is ok.
>     3: the csr chip I use is initialized by sending
> cmd after power up .
> 
> Raymond
> 
> 
> ----- Original Message ----- 
> From: "hong zhang" <henryzhang62@yahoo.com>
> To: "colorant" <colorant@163.com>; "BlueZ users" 
> <bluez-users@lists.sourceforge.net>
> Sent: Thursday, June 12, 2008 2:04 AM
> Subject: Re: [Bluez-users] How to use Bluez with CSR
> chip ?
> 
> 
> > Raymond,
> >
> > I have a few questions.
> >
> > 1. Do you use CSR bleutooth stack from CSR?
> > 2. If you use Bluez, you must use bluetooth stack
> >   comes with kernel.
> > 3. How is CSR chip initialized? by eeprom?
> >
> >
> > I believe you use CSR stack then you cannot use
> Bluez
> > utilities.
> >
> > --henry
> >
> > --- colorant <colorant@163.com> wrote:
> >
> >> Hi henry
> >>
> >>     Thanks for you reply.
> >>
> >>     Yes , I am using BC4 A06 Rom version on an
> arm
> >> based embedded board.
> >>
> >>     So this one must set pskey before running
> right
> >> ?
> >>
> >>     I try to run the CSR's demo first to set the
> >> right pskey and run the
> >> chip up.
> >>     After I exit the demo, I can use pc to detect
> >> the chip.
> >>
> >>     While , then I use :
> >>
> >>     hciattach /dev/ttyS1 bcsp 921600
> >>
> >>     to attach ttyS1 to hci0
> >>
> >>     after that , The PC can not detect the chip
> >> anymore.
> >>
> >>     and then I try
> >>     hciconfig hci0 up
> >>     it can bring up the hci0 interface , but the
> pc
> >> still don't detect the
> >> chip.
> >>
> >>     for kernel , I only insert bluetooth.ko and
> >> hci_uart.ko
> >>
> >>     So , can you kindly figure out what might be
> >> wrong in my operation ?
> >>
> >>     Seems to me the hciattach operation reset the
> >> chip. And I might need to
> >> modify the hciattach , or ?
> >>
> >> Raymond
> >>
> >> ----- Original Message ----- 
> >> From: "hong zhang" <henryzhang62@yahoo.com>
> >> To: "BlueZ users"
> >> <bluez-users@lists.sourceforge.net>
> >> Sent: Wednesday, June 11, 2008 8:57 AM
> >> Subject: Re: [Bluez-users] How to use Bluez with
> CSR
> >> chip ?
> >>
> >>
> >> > Raymond,
> >> >
> >> > CSR bc4 is initialized in two ways based on
> your
> >> > design. I assum your board is embedded. One is
> by
> >> > eeprom and one is using command after build.
> You
> >> need
> >> > to provide more information.
> >> >
> >> > You have to make sure your CSR bc4 chip on your
> >> board
> >> > is up first before using bluez.
> >> >
> >> > Regular talking here is based on x86.
> >> >
> >> > ---henry
> >> >
> >> > --- colorant <colorant@163.com> wrote:
> >> >
> >> >> Hi
> >> >>
> >> >>     I am not sure is this the proper place to
> put
> >> up
> >> >> this question, if not ,
> >> >> please correct me.
> >> >>
> >> >>     I was trying to run bluez on our board
> with
> >> bc4
> >> >> chip. This chip need to
> >> >> set pskey before it can run
> >> >>
> >> >>     I use hciattach and hciconfig to bring up
> the
> >> >> hci0 interface.
> >> >>
> >> >>     Then I try hcitool hci0 scan with my
> earphone
> >> >> open.
> >> >>
> >> >>     Nothing happend.
> >> >>
> >> >>     while, if I using CSR's bchs a2dp demo ,
> it's
> >> >> ok, I can play music. say
> >> >> hardware is ok.
> >> >>
> >> >>     My question is :
> >> >>
> >> >>     1. To enable bluez with csr chip, is there
> >> >> anything need to do vs the
> >> >> standard kernel and bluez package ? Some
> config
> >> >> need?
> >> >>
> >> >>     2. Did I need to place the bootrap init
> >> sequence
> >> >> for the bc4 chip in
> >> >> some place if I using bluez ? say in kernel or
> in
> >> >> the bluez user space
> >> >> scripts? Or , the standard kernel and bluez
> >> utility
> >> >> already hand it, But I
> >> >> just do the wrong way ?
> >> >>
> >> >>
> >> >> Many thanks.
> >> >> Raymond
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >
> >>
> >
>
-------------------------------------------------------------------------
> >> >> 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-users mailing list
> >> >> Bluez-users@lists.sourceforge.net
> >> >>
> >> >
> >>
> >
>
https://lists.sourceforge.net/lists/listinfo/bluez-users
> >> >>
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >>
> >
>
-------------------------------------------------------------------------
> >> > Check out the new SourceForge.net Marketplace.
> >> > It's the best place to buy or sell services for
> 
=== message truncated ===



      

-------------------------------------------------------------------------
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-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2008-06-12  3:15 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-09 16:31 [Bluez-users] pairing problems mulata
2008-06-10  7:42 ` Martin Kupf
2008-06-10  9:32   ` Martin Kupf
2008-06-10 17:21     ` hong zhang
2008-06-10 22:27       ` Mumia W..
2008-06-10 22:27         ` Fritz Code
2008-06-11  0:48           ` [Bluez-users] How to use Bluez with CSR chip ? colorant
2008-06-11  0:57             ` hong zhang
2008-06-11  2:00               ` colorant
2008-06-11 18:04                 ` hong zhang
2008-06-12  0:11                   ` colorant
2008-06-12  3:15                     ` hong zhang [this message]
2008-06-12  2:49                 ` attaboyu
2008-06-12  3:14                   ` hong zhang
  -- strict thread matches above, loose matches on Subject: below --
2008-06-12  4:37 colorant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=817869.1711.qm@web57911.mail.re3.yahoo.com \
    --to=henryzhang62@yahoo.com \
    --cc=bluez-users@lists.sourceforge.net \
    --cc=colorant@163.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox