Return-Path: Date: Tue, 23 Aug 2016 01:15:21 +0100 From: One Thousand Gnomes To: Sebastian Reichel Cc: Pavel Machek , Marcel Holtmann , Rob Herring , Arnd Bergmann , Greg Kroah-Hartman , Jiri Slaby , Peter Hurley , NeilBrown , "Dr . H . Nikolaus Schaller" , Linus Walleij , "open list:BLUETOOTH DRIVERS" , "linux-serial@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [RFC PATCH 0/3] UART slave device bus Message-ID: <20160823011521.0ed94283@lxorguk.ukuu.org.uk> In-Reply-To: <20160822235758.gh33xupgyroye5wa@earth> References: <2775954.hrE2UdODgU@wuerfel> <20160822180254.5c95af7c@lxorguk.ukuu.org.uk> <20160822183849.6dfdb9d2@lxorguk.ukuu.org.uk> <2D07EA08-1055-4292-96B3-32913EC9BBE1@holtmann.org> <20160822223223.398ee72d@lxorguk.ukuu.org.uk> <20160822220017.GA10689@amd> <20160822235414.4b2f8712@lxorguk.ukuu.org.uk> <20160822235758.gh33xupgyroye5wa@earth> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII List-ID: > > That would still be a regression. Not everyone even uses the kernel > > bluetooth stack. It would only return EBUSY if you had done an "up" > > on it via the direct bluetooth stack. > > So it returns EBUSY when uart-bus is used. Since uart-bus is about > hardwired devices that's basically always. That would only be when the bluetooth port in question was active via the hardwired interface - which is not always. You choose to turn on/off bluetooth interfaces. If you boot with an older user space you'd use hciattach instead. In many cases you'll also still need the tty interface to do things like firmware upgrades. Alan