Return-Path: Date: Mon, 22 Aug 2016 23:52:56 +0100 From: One Thousand Gnomes To: Sebastian Reichel Cc: "H. Nikolaus Schaller" , Oleksij Rempel , Rob Herring , Greg Kroah-Hartman , Marcel Holtmann , Jiri Slaby , Pavel Machek , Peter Hurley , NeilBrown , Arnd Bergmann , 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: <20160822235256.2966dd49@lxorguk.ukuu.org.uk> In-Reply-To: <20160822224247.vdh3plda6dxelvzw@earth> References: <20160818202900.hyvm4hfxedifuefn@earth> <20160819052125.ze5zilppwoe3f2lx@earth> <53A846F1-33E5-48C3-B3A6-DB251661CDD5@goldelico.com> <20160820143405.04303834@lxorguk.ukuu.org.uk> <20160822203947.ksxwnvzhc3tpnnx7@earth> <20160822224247.vdh3plda6dxelvzw@earth> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII List-ID: > There are usb-serial devices, which could benefit from support > btw. I would find it really useful, if the Dangerous Prototype's > Bus Pirate would expose native /dev/i2c and /dev/spi and it's > based on FT232. That should just need an ldisc. I2C and SPI should at this point be sane for hotplugging as needed for an ldisc. And having an ldisc also has another nice effect. You can plug the bus pirate into a remote machine, run an 8bit clean link over a pty/tty pair half way around the world and get a local i2c/spi to the remote machine's i2c/spi bus pirate ports and devices. It also means that if Bus Pirate 5 changes USB uart nothing breaks. Alan