Return-Path: MIME-Version: 1.0 In-Reply-To: <7D06FCA8-A64C-4437-BEE2-5BA0D1C2F030@holtmann.org> References: <72B34103-D15B-463B-B63B-8DD3CE99D712@holtmann.org> <1473111620.4063.29.camel@gmail.com> <7D06FCA8-A64C-4437-BEE2-5BA0D1C2F030@holtmann.org> From: =?UTF-8?B?SsOpcsO0bWUgZGUgQnJldGFnbmU=?= Date: Tue, 6 Sep 2016 23:41:55 +0200 Message-ID: Subject: Re: btattach: auto triggering at boot time by Linux distributions To: Marcel Holtmann Cc: linux-bluetooth@vger.kernel.org Content-Type: multipart/alternative; boundary=001a11446b90c9b1c5053bddacc7 List-ID: --001a11446b90c9b1c5053bddacc7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Marcel, >>> the real evolution would be that we get a serial bus (as discussed a >>> few weeks ago) which then the UART kernel drivers can enumerate its >>> devices on. >> >> If I understood correctly, you would like to stop exposing /dev/ttyX >> for Bluetooth UART drivers in the long run. Would it mean that the >> user-space btattach will then be deprecated and the firmware loading >> will be moved into the kernel itself? Or another approach instead? > > firmware loading is already in the kernel. At least for Broadcom and > Intel based devices. I wanted to mean: moving the firmware loading *triggering* all in kernel, with the future UART device enumeration. Or do you still see a benefit to keep the "attach" step in user space, to cover some specific use cases maybe? I'll keep following the serial bus discussions, this is a every interesting evolution. Thanks again, J=C3=A9r=C3=B4me --001a11446b90c9b1c5053bddacc7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Marcel,

>>> the real evolution would be= that we get a serial bus (as discussed a
>>> few weeks ago) wh= ich then the UART kernel drivers can enumerate its
>>> devices = on.
>>
>> If I understood correctly, you would like to st= op exposing /dev/ttyX
>> for Bluetooth UART drivers in the long ru= n. Would it mean that the
>> user-space btattach will then be depr= ecated and the firmware loading
>> will be moved into the kernel i= tself? Or another approach instead?
>
> firmware loading is alr= eady in the kernel. At least for Broadcom and
> Intel based devices.<= br>
I wanted to mean: moving the firmware loading *triggering* all in ke= rnel, with the future UART device enumeration. Or do you still see a benefi= t to keep the "attach" step in user space, to cover some specific= use cases maybe?

I'll keep following the serial bus discussions= , this is a every interesting evolution.

Thanks again,
J=C3=A9r= =C3=B4me
--001a11446b90c9b1c5053bddacc7--