New IT forum
27 June 2022, 12:16:41 pm *
Welcome, %1$s. Please login or register.

: GertDuino now in stock.
 
Pages: [1]

Author Topic: USNAP GPIO driver  (Read 3703 times)

vpenkoff

  • Newbie
  • *
  • Posts: 1
USNAP GPIO driver
« on: 03 September 2012, 11:16:58 am »

Hello, GuruPlugers! I've issued some trouble with a basic driver, which purpose is to write to USNAP's pin. So here is the source of the driver:
http://pastebin.com/nuqPf5bG
Here is the output from the command "cat /dev/gpiomod",  released after "mknod /dev/gpiomod c 222 0" on the Guruplug
http://pastebin.com/sDiL951h

The information from the USNAP pins i've extracted from /arch/arm/mach-kirkwood/mpp.h

Kernel: 2.6.33.2



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


Any suggestions?
Logged
Pages: [1]
 
 

Powered by MySQL Powered by PHP SMF 2.0.10 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!