From: bugzilla-daemon@bugzilla.kernel.org
To: linux-bluetooth@vger.kernel.org
Subject: [Bug 215189] New: hci0: unexpected event for opcode 0xfc2f
Date: Wed, 01 Dec 2021 16:52:51 +0000 [thread overview]
Message-ID: <bug-215189-62941@https.bugzilla.kernel.org/> (raw)
https://bugzilla.kernel.org/show_bug.cgi?id=215189
Bug ID: 215189
Summary: hci0: unexpected event for opcode 0xfc2f
Product: Drivers
Version: 2.5
Kernel Version: 5.16-rc1
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Bluetooth
Assignee: linux-bluetooth@vger.kernel.org
Reporter: pmenzel+bugzilla.kernel.org@molgen.mpg.de
Regression: No
Created attachment 299811
--> https://bugzilla.kernel.org/attachment.cgi?id=299811&action=edit
Linux 5.16-rc1 messages (output of `dmesg`)
On a Dell Latitude E7520 with
Bus 001 Device 003: ID 8087:0a2a Intel Corp. Bluetooth wireless interface
running Debian sid/unstable, Linux 5.16-rc1 (but has so with older versions
too) logs
[ 46.423662] Bluetooth: hci0: unexpected event for opcode 0xfc2f
when starting (or when resuming).
The WWW contains several reports of this issue:
1. https://debianforum.de/forum/viewtopic.php?t=174717
2.
https://askubuntu.com/questions/1179883/how-to-solve-256966901-bluetooth-hclo-unexpected-event-for-opcode-0xfc2f-mes
3. https://bugzilla.redhat.com/show_bug.cgi?id=1576865#c15
*[5.2.0-rcx] Bluetooth: hci0: unexpected event for opcode* [1] claims it was
introduced by commit f80c5dad7b64 (Bluetooth: Ignore CC events not matching the
last HCI command).
Marcel also analyzed the problem [2]:
> so this is the culprit command.
>
> < HCI Command: Intel Write BD Data (0x3f|0x002f) plen 80
> Address: 00:00:00:00:00:00 (OUI 00-00-00)
> ...
> > HCI Event: Command Status (0x0f) plen 4
> Intel Write BD Data (0x3f|0x002f) ncmd 1
> Status: Success (0x00)
> > HCI Event: Vendor (0xff) plen 2
> Intel Write BD Data Complete (0x19)
> Status: Success (0x00)
>
> There is actually nothing wrong with it and the firmware bseq file clearly
> says that it is expecting a command status followed by the vendor event. The
> driver however for simplicity reasons is using __hci_cmd_sync_ev and just
> waiting for the vendor event since the command status doesn’t offer any
> useful information in the success case.
>
> Now I think that in the case of __hci_cmd_sync_ev with an extra event
> expected, we should not print this error when receiving the command status
> since that is clearly a valid response. How to achieve that, I don’t know
> yet. Maybe Joao Paulo has an idea.
I can’t find any responses from Joao Paulo though.
[1]: https://www.spinics.net/lists/kernel/msg3151547.html
[2]: https://www.spinics.net/lists/kernel/msg3153203.html
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are the assignee for the bug.
next reply other threads:[~2021-12-01 16:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-01 16:52 bugzilla-daemon [this message]
2022-05-08 19:15 ` [Bug 215189] hci0: unexpected event for opcode 0xfc2f bugzilla-daemon
2022-11-27 18:18 ` bugzilla-daemon
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=bug-215189-62941@https.bugzilla.kernel.org/ \
--to=bugzilla-daemon@bugzilla.kernel.org \
--cc=linux-bluetooth@vger.kernel.org \
/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