Linux bluetooth development
 help / color / mirror / Atom feed
From: Andrei Emeltchenko <andrei.emeltchenko.news@gmail.com>
To: Al Cho <acho@suse.com>
Cc: marcel@holtmann.org, padovan@profusion.mobi,
	linux-bluetooth@vger.kernel.org, oneukum@suse.com, jlee@suse.com
Subject: Re: How to add firmware uploader function to Bluez?
Date: Wed, 2 Nov 2011 12:17:29 +0200	[thread overview]
Message-ID: <20111102101712.GC12653@aemeltch-MOBL1> (raw)
In-Reply-To: <CAKzePaq3pgktQeb9y9HzeGa-JO5aXYuo5e1WgQ+sE=FOVf5pPw@mail.gmail.com>

Hi AL,

On Wed, Nov 02, 2011 at 06:00:48PM +0800, Al Cho wrote:
> Hi Andrei,
> 
> On Wed, Nov 2, 2011 at 4:03 PM, Andrei Emeltchenko
> <andrei.emeltchenko.news@gmail.com> wrote:
> > Hi AL,
> >
> > On Wed, Nov 02, 2011 at 03:55:50PM +0800, Al Cho wrote:
> >> Hi All,
> >>
> >> Broadcom BT4.0 module 0a5c:21e1 and 0a5c:21e3 need firmware
> >> to setup(enable) at the first time we use.
> >> We got the firmware and firmware uploader (brcm_patchram_plus_usb )
> >> ( user space tool ) from Broadcom ,the Licence is GPLv2,
> >> would it possible that add those to bluez package?or any idea for this?
> >
> > Should firmware come to linux-firmware package?
> >
> 
> Yes, I think so,
> but 0a5c:21e1 and 0a5c:21e3 use btusb driver,
> this firmware use at the first time to enable only,
> and that firmware uploader need to use the bluez hci library.

IMO the standard way is to use request_firmware like for ath3k:

request_firmware(&firmware, "ath3k-1.fw", &udev->dev)

> So I guess add those to bluez would be better.

Most probably that "firmware loader" might be implemented in module as for
other devices as it is usually just a sequence of HCI commands.

Have a look at other BCM modules in drivers/bluetooth/bcm*

Best regards 
Andrei Emeltchenko 

> 
> > Description: Firmware for Linux kernel drivers
> >  This package provides firmware used by Linux kernel drivers.
> >
> > Do not know about "firmware-loader", probably we need to use available tools.
> >


  reply	other threads:[~2011-11-02 10:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-02  7:55 How to add firmware uploader function to Bluez? Al Cho
2011-11-02  8:03 ` Andrei Emeltchenko
2011-11-02 10:00   ` Al Cho
2011-11-02 10:17     ` Andrei Emeltchenko [this message]
2011-11-02 14:15 ` Marcel Holtmann
2011-11-15  3:18   ` Al Cho

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=20111102101712.GC12653@aemeltch-MOBL1 \
    --to=andrei.emeltchenko.news@gmail.com \
    --cc=acho@suse.com \
    --cc=jlee@suse.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=marcel@holtmann.org \
    --cc=oneukum@suse.com \
    --cc=padovan@profusion.mobi \
    /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