osto_82,
Okay, that makes sense to me. There are probably several options available to you. There are some hacks that you might be able to make use of just as a test case. Included in these would be:
- Use the device /dev/mem. If you open it, you might be able to get away with using mmap() or lseek() to get to the physical address of the LEDs.
- Try the following from the shell prompt:
echo -n -e "\001" | dd of=/dev/mem bs=1 oseek=ADDRESS_OF_LEDS count=1
Note, I have not checked that for syntax, but I think it will work. I'm not sure if the "oseek" argument will take hex notation, it might need decimal, but you get the idea.
Personally, I recommend you grab a copy of the Linux Device Drivers book, or search the web for tutorials such as this one:
http://www.networkcomputing.com/unixworld/tutorial/010/010.txt.html
Then you can cook up a little device driver and access the LEDs the "proper" way.
Let us know how it goes.
Regards,
--mikee