You are not logged in.
Pages: 1
Hello! Few days ago i received GuruPlug Server Plus. Days of exploring... i deceided to write a simple driver on my own, which purpose is to send some data via USNAP's pin, acting like GPIO. So, all done by now (or hope so)... but i issued some lack of proper functionality: The kernel module properly linked against the kernel, properly loaded, but when i try to write to the pin, i got kernel error 22 - invalid argument. Here are my sources:
User space program to write to the specific pin: http://pastebin.com/bmnYB9tx
Module's source: http://pastebin.com/nuqPf5bG
dmesg log: http://pastebin.com/sDiL951h
Kernel Version: 2.6.33.2
cpu info on the plug: guruplug-debian:~# cat /proc/cpuinfo
Processor : Feroceon 88FR131 rev 1 (v5l)
BogoMIPS : 1192.75
Features : swp half thumb fastmult edsp
CPU implementer : 0x56
CPU architecture: 5TE
CPU variant : 0x2
CPU part : 0x131
CPU revision : 1
Hardware : Marvell GuruPlug Reference Board
Revision : 0000
Serial : 0000000000000000
Pinout information I get from the usnap's website: http://www.usnap.org/ and the mpp.h on the source tree (arch/arm/mach-kirkwood/mpp.h).
Any Suggestions?
Last edited by bz1pp3d (2012-09-04 09:02:51)
Offline
This would be much better placed on http://archlinuxarm.org
Developer @ Arch Linux | ARM
Offline
Pages: 1