Hi Stinch,
Alrighty, thanks for the suggestion, that makes sense. Any idea where to start looking opening /dev/mem using mmap? What would be a good approach, digging in the memory or trying to disassembling the menu thingie to find out where to read?
Thanks again!
Kevin.
Hey Rlyeh, thanks for your reply.
There must be a way though, since the GP2X menu displays the serial number as well.
Does anyone know another way to access the EEPROM if the I2C device (/dev/i2c-0) is gone?
Thanks,
Kevin.
Hi guys.
Any idea how to fix Theoddbot's code to read the GP2X serial number on devices patched with firmware 2.0?
Any help and any points in the right direction is appreciated :)
Thanks a million.
Kevin.
Hi rei_negishi,
Please upgrade to version 1.20. We fixed a bug in the submission code generation for the GP2X.
This new version can be downloaded from our website: http://www.elementsgames.com/stris2/downloads.php
Regards!
Alright, linking the library seem to work correctly now (we're able to play wav files successfully). To get it to work we've removed some of the library files, only libmikmod.a will be linked.
The only problems that are left is that calling MikMod_RegisterLoader(&load_mod) will hang the device...
Hi,
I've tried using the mikmod sound library directly (without SDL), and even linking the libmikmod library file hangs the device. Does it need additional libraries/compiler options?
We're using the libraries from theoddbot at wiki.gp2x.com
Maybe someone can post a working example...
Theoddbot,
Thanks again for your code. I noticed one issue though: when I include <linux/i2c.h> I get a lot of strange compile errors. When I leave this one out, everything compiles fine.
*Edit*
And one more thing: I notice a few RDWR flags, does this mean the code actually writes to the I2C...
Hi Squidge at
Can I just "open()" the /dev/i2c device and read it like /dev/mem ?
I am new to this kind of stuff, so sorry for asking the obvious :unsure:
Regards,
Kevin.
So what would be the best way of finding the Serial Number, accessing this eeprom (any ideas how to do this?) or disassembling the gp2x menu thingie?
I would appreciate any help :)
Regards,
Kevin.
hi fellow developers!
i am looking for a way to retrieve the serial number of the gp2x. it should be stored in the rom somewhere.
anyone having a clue where to find the s/n?
thanks!
kevin
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.