public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Johan Hedin <sua@home.se>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] HCI reset problem
Date: Sun, 3 Jul 2005 16:53:46 +0200	[thread overview]
Message-ID: <200507031653.47442.sua@home.se> (raw)
In-Reply-To: <20050702211535.3F4B356F@arbetsmyra.dyndns.org>

Hi Ronny and thanks for the quick reply

> This is probably of limited use but one can see from your hciconfig
> output your dongle hit a trouble. Here's some cut'n-paste from one of
> the CSR developer manuals of the meanings:
>
> >         Panic code:   0x16
> An irrecoverable error has occurred within the Bluetooth Link
> Controller.
>
> >         Fault code:   0x1e
> Either the chip received an unrecognised RFCOMM (upper interface)
> command message from the host or the chip ran out of pool memory when
> processing the message. In either case the message has been discarded.
> Presuming the fault was issued because of an invalid RFCOMM message,
> the firmware has survived the problem.

Now that I know that the codes mean something I looked a bit more into it. The 
Panic code is 0x01 before the reset and 0x16 after (I guess that 0x01 is the 
normal value). Also, when I did a few more tries this morning, I got Panic 
code 0x22 and Fault code 0x1f. Since it looks that you have some usefull 
documents, could you look up the meaning of 0x22 and 0x1f?

So, I get panic code 0x16 when the reset happend out of it self and 0x22 when
provoked by a rfcomm connection. The strange thing is that Fault code 0x1f is 
there all the time. It shows up when I run the first hciconfig directly after 
bringing up everyting which makes me believe that someting else is wrong 
earlier in the startup process (or is 0x1f the "normal" value for the fault 
code?).

> Since your dongle seem to do a reset it "looks" like the mem pool ran
> out. But this is only a gues of mine. Is the error reproducable when
> using MS-Windows? In that case the donge firmware might need an update.

Hmm, I nuked the pre-installed XP since I didn't plan to use it.... perhaps a 
mistake. But it is possible to reinstall to check, but then I have to remove 
my current linux installation so I like to try other options first.

Do any of you have firmware files available? Perhaps any of the HCI 18.2 
versions listed here:

 http://www.holtmann.org/linux/bluetooth/csr.html

Can I restore my dongle in case of bad firmware if I do dfutool archive first 
to save my current firmware?

Regards Johan


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  reply	other threads:[~2005-07-03 14:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-02 17:12 [Bluez-devel] HCI reset problem Johan Hedin
2005-07-02 21:15 ` Ronny L Nilsson
2005-07-03 14:53   ` Johan Hedin [this message]
2005-07-06  0:10     ` Ronny L Nilsson
2005-07-06 20:28       ` Johan Hedin
2005-07-03 15:26 ` Marcel Holtmann
2005-07-03 16:09   ` Johan Hedin

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=200507031653.47442.sua@home.se \
    --to=sua@home.se \
    --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