Re: [RFC PATCH 0/3] UART slave device bus
From: One Thousand Gnomes
Date: Mon Aug 22 2016 - 18:54:37 EST
> 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