koreader/koreader — pull request #364 by NiLuJe (2013-11-22 23:13:50+00:00)
Title: Possibly slightly less broken PW2 detection

Just to give an idea of what needs to be done, and what else might cause issue.

Feel free to scrap everything and just keep the idea, I am *terrible* at lua :D.
(That said, I did quickly test this on a Touch, it seemed to be detected properly).

I didn't touch the granularity of the checks to avoid having to grep & tweak 7 billion different places in the code, but that might be helpful ;).