linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ho Ming Shun <cyph@cyph.ath.cx>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] BCM2035 over UART on the E680I
Date: Fri, 23 Sep 2005 21:07:51 +0800	[thread overview]
Message-ID: <4333FE27.1050909@cyph.ath.cx> (raw)
In-Reply-To: <1127483592.5623.5.camel@localhost.localdomain>

Marcel Holtmann wrote:

>Hi,
>
>  
>
>>>if it is a ROM chip, you may need to call HCI_Reset to establish the new
>>>configuration. For the hci_uart driver you can load it with "reset=1" to
>>>tell the Bluetooth core to always send a reset command first.
>>> 
>>>
>>>      
>>>
>>I've looked through bluez sources for 2.6.12 and found the "reset" 
>>parameter in the hci_uart driver. However, I need to use the MontaVista 
>>kernel on this phone. Nevertheless I have modified hci_uart driver to 
>>set the appropriate quirks flag, and verified with hcidump that it sent 
>>a reset on "hciconfig up". However this still does not work.
>>
>>The phone's native stack though, still works fine. Unlike bluez, it does 
>>not read the the BD_ADDR from the chip, which makes sense because it 
>>programs the address into the chip...
>>    
>>
>
>there exists no backport for the reset quirks for any 2.4 kernels.
>  
>
I patched the kernel with 
http://www.holtmann.org/linux/kernel/patch-2.4.20-mh18.gz and there is 
test for HCI_QUIRK_RESET_ON_INIT in  hci_core.c, although the 
surrounding has changed a bit since then. So all I did was to add the 
flag to hci_ldisc.c, and hcidump verified a reset was issued.

>Regards
>
>Marcel
>
>
>
>
>-------------------------------------------------------
>SF.Net email is sponsored by:
>Tame your development challenges with Apache's Geronimo App Server. 
>Download it for free - -and be entered to win a 42" plasma tv or your very
>own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
>_______________________________________________
>Bluez-devel mailing list
>Bluez-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/bluez-devel
>
>  
>



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  reply	other threads:[~2005-09-23 13:07 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-18 13:44 [Bluez-devel] BCM2035 over UART on the E680I Ho Ming Shun
2005-09-19  9:25 ` Oliver
2005-09-19 10:22   ` Ho Ming Shun
2005-09-19 14:50     ` Oliver
2005-09-20 11:53   ` Marcel Holtmann
2005-09-23 11:41     ` Ho Ming Shun
2005-09-23 13:53       ` Marcel Holtmann
2005-09-23 13:07         ` Ho Ming Shun [this message]
2005-09-23 14:28           ` Marcel Holtmann
2005-09-24  0:22             ` Ho Ming Shun
2005-09-24  7:28             ` Ho Ming Shun
2005-10-03  8:47 ` [Bluez-devel] [SOLVED] " Ho Ming Shun
2005-10-03 11:36   ` Marcel Holtmann
2005-10-03 11:15     ` Ho Ming Shun
2005-10-03 12:42       ` Marcel Holtmann

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=4333FE27.1050909@cyph.ath.cx \
    --to=cyph@cyph.ath.cx \
    --cc=bluez-devel@lists.sourceforge.net \
    /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;
as well as URLs for NNTP newsgroup(s).