Yes I was curious of the value before the mask : some of the mask and comparaison look strange.If you want you could try to run the attached program on your pc in "auto/bidirectional" or "auto/EPP" mode.
This program does what _STA methods do.
I'm just curious -- what do you hope to learn from this program?
Do you think it will tell us more than what actually running _STA
did?
The best solution I can think of would be to have a parameter likeAren't parport still probing it's own port if pnp failed ?
"parport.nopnp" that made parport just probe the legacy addresses,
and document that you might need that on machines with broken ACPI
firmware. But I'm a little afraid to touch parport_pc.c.