> The pinmux registers are protected by the Linux kernel and cannot be 
> written to by normal user code. 


That's not entirely correct. The pad contol registers in the Control Modul 
are protected. But rather than by the Linux kernel, they're protected by 
hardware (the CPU). You cannot write access them by the PRUSS. Only 
supervisor access by the host CPU can change the values.

I used   ("chmod 777 pinmode") to change the permissions. but the problem 
> of writing is still remain
>

To adapt pinmuxing, your code has to run under root privilegues. Usually 
pinmuxing doesn't change at run time. So you can execute such code in the 
boot sequence. 

BR

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to