GP2X For The Hardcore Hackers Out There...


How do you use gpio anyway? ie: Is it /dev/gpio or somesuch? I'm not familiar with the reference...

jeff
 
I think it has been said before, but I'll say it again. You rock!

Now to make sense of the GPIO reference guide...


Edit: I've been correlating some of your pin descriptions against the MMSP2 datasheet. Some of them don't match, eg. you say B2 for LCD sleep mode, they say B1 (B2 is vertical clock according to them). Is this an example of the bugs in the datasheet that you referred to in another thread? Or just differing implementation between the datasheet and GPH's implementation?
 
Jeff, mmap the relevent GPIO your interested in (or the whole processor register map :) ) and read/write that way. I've not used /dev/gpio, but I'm assuming it's only for controls and stuff, and nothing that interesting. I'll be putting a GPIO example on the wiki sometime in the future (hopefully soon).

slygamer: I'd just say GPH wires up the thing slightly differently. Possibly due to the CX25874 which is used to select between LCD, Monitor and TV.

Minimoose: We don't know yet.
 
Back
Top