Help me understand this Driver code!
Thanks for checking my posting. I'm busy learning Linux device drivers and I was going over this sample code:
http://nexus.cs.usfca.edu/~cruse/cs635/led.c I pretty much understood it but the only question I have is how can I write a value to the device-node '/dev/led' to test it? I mean, is there a specific command for writing values to writable device files in /dev/ or should I just use vi? thanks, |
Use
echo value >/dev/led |
Mara.. Gracias!
|
All times are GMT -5. The time now is 05:55 AM. |