Am Donnerstag, 13. Oktober 2011, um 23:10:39 schrieb Stefan Reinauer:
It would be better to read out the GPIO base and use offsets to that instead of hard coding the IO address.
The IO address is hardcoded in the BIOS image and I couldn't find a reference to the base address besides in the DSDT, so it should always be the same. And IMO parsing the DSDT would be a little overkill.