[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAH7-e5uspavg_VBJxKLOKJfU3nAq-OrPqzihF2opffY-ReiC-w@mail.gmail.com>
Date: Tue, 3 Oct 2023 14:25:46 +0200
From: Erik Dobák <erik.dobak@...il.com>
To: Bagas Sanjaya <bagasdotme@...il.com>
Cc: Linux Stable <stable@...r.kernel.org>,
Linux Bluetooth <linux-bluetooth@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux ARM <linux-arm-kernel@...ts.infradead.org>,
Linux Mediatek <linux-mediatek@...ts.infradead.org>,
Linux Regressions <regressions@...ts.linux.dev>,
Marcel Holtmann <marcel@...tmann.org>,
Johan Hedberg <johan.hedberg@...il.com>,
Luiz Augusto von Dentz <luiz.dentz@...il.com>,
Matthias Brugger <matthias.bgg@...il.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>,
Tomasz Moń <tomasz.mon@...dicsemi.no>
Subject: Re: bluetooth issues since kernel 6.4 - not discovering other bt
devices - /linux/drivers/bluetooth/btusb.c
On Tue, 3 Oct 2023 at 01:47, Bagas Sanjaya <bagasdotme@...il.com> wrote:
>
> On Sun, Oct 01, 2023 at 07:47:54AM +0200, Erik Dobák wrote:
> > Hello!
> >
> > I bought a new laptop fujitsu life book and everything is going fine
> > on artix just the bt makes trouble:
> >
> > /var/log/error.log
> > Sep 30 18:43:48 nexus bluetoothd[2266]:
> > src/adapter.c:reset_adv_monitors_complete() Failed to reset Adv
> > Monitors: Failed (0x03)
> > Sep 30 18:43:48 nexus bluetoothd[2266]: Failed to clear UUIDs: Failed (0x03)
> > Sep 30 18:43:48 nexus bluetoothd[2266]: Failed to add UUID: Failed (0x03)
> > Sep 30 18:43:48 nexus bluetoothd[2266]: Failed to add UUID: Failed (0x03)
> >
> > i searched a bit the webs and found a new commit at kernel org that
> > does do the trouble:
> > https://bugs.archlinux.org/task/78980
> >
> > follow the linkeys inside the commits there or read this one:
> >
> > ---------------before------------------------------------
> > /* interface numbers are hardcoded in the spec */
> > if (intf->cur_altsetting->desc.bInterfaceNumber != 0) {
> > if (!(id->driver_info & BTUSB_IFNUM_2))
> > return -ENODEV;
> > if (intf->cur_altsetting->desc.bInterfaceNumber != 2)
> > return -ENODEV;
> > }
> > -----------after----------------------------------------------------
> > if ((id->driver_info & BTUSB_IFNUM_2) &&
> > (intf->cur_altsetting->desc.bInterfaceNumber != 0) &&
> > (intf->cur_altsetting->desc.bInterfaceNumber != 2))
> > return -ENODEV;
> > --------------------------------------------------------
> >
> > the dude just hooked up 3 conditions in a row with && where before it
> > was 2 conditions in 1 condition. + the comment was removed.
> >
> >
>
> Try latest mainline first (currently v6.6-rc4). Because you have to
> compile your own kernel, please refer to
> Documentation/admin-guide/quickly-build-trimmed-linux.rst if you don't know how to do the compilation.
>
> Also, don't top-post when replying; reply inline with appropriate context
> instead.
>
> Thanks.
>
> --
> An old man doll... just what I always wanted! - Clara
Hi i booted now into linux-6.6-rc4 and the issue is still there. No
bluetooth devices are discovered.
with this device: Bus 001 Device 004: ID 04c5:1670 Fujitsu, Ltd Bluetooth Radio
E
Powered by blists - more mailing lists