tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Intel Bluetooth driver



On Mon, 17 Feb 2025, Jonathan A. Kollasch wrote:

> On Mon, Feb 17, 2025 at 08:47:22PM +0000, Iain Hibbert wrote:
> > Hi
> >
> > I have an Intel Bluetooth device in my laptop (Dual Band Wireless-AC
> > 8265), which needs firmware loaded before it can be used. I looked at it
> > before and because the way its loaded is ugly and I'd rather not pollute
> > the Bluetooth stack with handling it.
>
> Prior art: aubtfwl(4)

The problem with this approach is that the Intel device does not detach
and reattach as something else, and there is no simple way to tell the
difference between the states. The USB descriptors are the same before and
afterwards, there is no way to check if the firmware is loaded without
sending and receiving packets to the device, requiring setting up two
pipes and sleeping for indeterminate time, which I don't think is suitable
to do in the match function.

I can force attach as ugen for instance (flags 1) but as far as i can
tell, this is a compile time function. There is no way to say 'detach this
device, then reattach but include this information'

iain


Home | Main Index | Thread Index | Old Index