asimov-solensan
Very Active Member
- Joined
- Jan 8, 2010
- Messages
- 741
I want to make my usb-to-psx adapter work in the pandora. I have looked in my desktop linux and the module needed is hid-sjoy, found the module here:
http://lxr.free-electrons.com/source/drivers/hid/hid-sjoy.c?v=3.2;a=arm
Now I have got the ivanovic's corsscompiler set up, I also downloaded the kernel sources from:
git://git.openpandora.org/pandora-kernel.git
And here begin the problems, seeing the README inside the folder downloaded from the git it says that kernel version is 2.6. Not sure if it's only the README which is not updated or I really have the sources for the 2.6 kernel.
Anyhow I tried to go ahead and then copied the folder include to /usr/include in my crosscompiler. Also made sure that all .h files needed by the code I have were in the foder /usr/include/linux.
Still when I try to compile it says that can't find the file linux/slab.h.
I never coded for the pandora and don't know how to use this crosscompiler so it's for sure that I'm doing something wrong.
http://lxr.free-electrons.com/source/drivers/hid/hid-sjoy.c?v=3.2;a=arm
Now I have got the ivanovic's corsscompiler set up, I also downloaded the kernel sources from:
git://git.openpandora.org/pandora-kernel.git
And here begin the problems, seeing the README inside the folder downloaded from the git it says that kernel version is 2.6. Not sure if it's only the README which is not updated or I really have the sources for the 2.6 kernel.
Anyhow I tried to go ahead and then copied the folder include to /usr/include in my crosscompiler. Also made sure that all .h files needed by the code I have were in the foder /usr/include/linux.
Still when I try to compile it says that can't find the file linux/slab.h.
I never coded for the pandora and don't know how to use this crosscompiler so it's for sure that I'm doing something wrong.