I am using the button.c code, which accesses I/O pins and the two LEDS
on th3 7260 board. I cross compiled it and can run it as root on my
TS-7260. I have a web page with a button and form action code that
invokes the binary executable. The permisions on the executable are
777, the permisions on /dev/mem are 777.
I can invoke a 'Hello World' executable just fine via the web page
button.(FYI). The executable is in the cgi-bin directory. The problem
is the open("/dev/mem",O_RDWR) statement returns a -1.
What do I need to do to get this to work...
Thanks,
Steve
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|