Re:A Linux driver to connect PATA/IDE directly to GPIO
by myself248 on Saturday August 08, 2020 @02:42PM
(#24094042)
Going the other way, a PATA port in PIO mode can be used as GPIO: https://hackaday.com/2011/02/03/stk200-pocket-change-program...
[ Parent
| on HN ]
Re:A Linux driver to connect PATA/IDE directly to GPIO
by flingo on Saturday August 08, 2020 @10:22PM
(#24096782)
When I saw the title, I thought it was going this way.
Or, more specifically, a driver to turn an IDE port into GPIO pins that PC programs can control. Closing the gap on making a feature-complete Windows 95 arduino core.
Re:A Linux driver to connect PATA/IDE directly to GPIO
by myself248 on Sunday August 09, 2020 @04:51PM
(#24102798)
I think you can do this directly, the linked project just tells the kernel "this is a parallel port here", and it just uses normal I/O instructions. The IDE port is already exactly that, though I think the data-direction register controls the whole port at once, rather than one bit at a time.
Re:A Linux driver to connect PATA/IDE directly to GPIO
by rasz on Saturday August 08, 2020 @11:44PM
(#24097092)
there was even a project to do direct IDE drive emulation using pee https://hackaday.io/project/20774-netpi-ide sadly seems to have stalled
Re:A Linux driver to connect PATA/IDE directly to GPIO
by mlyle on Sunday August 09, 2020 @12:54AM
(#24097358)
Using pee?