Return-Path: Subject: RE: [RFC] Bluetooth: Add firmware load infrastructure for BT devices From: Marcel Holtmann To: Shanmugamkamatchi Balashanmugam Cc: "Perelet, Oleg" , "linux-bluetooth@vger.kernel.org" In-Reply-To: <44EE5C37ADC36343B0625A05DD408C4850DB2A787C@CHEXMB-01.global.atheros.com> References: <44EE5C37ADC36343B0625A05DD408C4850DB2A787C@CHEXMB-01.global.atheros.com> Content-Type: text/plain; charset="UTF-8" Date: Thu, 08 Jul 2010 10:42:52 -0300 Message-ID: <1278596572.10421.25.camel@localhost.localdomain> Mime-Version: 1.0 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Bala, > Firmware loading to target RAM needs to be done once when the device is inserted. Firmware loading will not be required every time > the device goes from DOWN to UP. I think each HCI driver requires > a separate firmware loading code as firmware loading is > different for different interfaces. Please advice if my understanding is wrong. > > I initially thought of registration > mechanism with btusb transport driver to load firmware, but before > the device is inserted btusb will not be loaded and registering the > firmware load function with btusb was not possible. > > Please advice alternate solution to load firmware from transport driver. my advise would be to just build devices that change their USB VID/PID after the firmware got loaded. That way it is easy to have a firmware loading driver and just btusb for real operation. Why is it so hard to build just simple hardware that would just work. Regards Marcel