Bart,

thanks a lot for the effort.
Anyhow, I am unable to compile the source - I end up with errors like this:
testled.c:19:20: error: asm/io.h: No such file or directory
testled.c:21:19: error: stdio.h: No such file or directory
testled.c:22:23: error: sys/ioctl.h: No such file or directory
testled.c: In function 'wrapped_outl':
testled.c:33: warning: incompatible implicit declaration of built-in function 'printf'
testled.c: In function 'main':
testled.c:41: warning: incompatible implicit declaration of built-in function 'printf'

I am pretty sure I am missing some libraries for the compilation, but I have no idea what. I installed gcc and cpp-4.3, that's about it.
Please, advice.

Thanks again.

Sancho

Bart Jooris wrote:
Hi Joel, Sancho,

Maybe you still have the led problem on the ALIX 3C3?
I Checked the CS5536 datasheet and seems that the chip is not rightly configured to
use the leds-alix without any reconfig.

on my machines after boot (with still old bios (before July 2008))

led1 was not set as output
led2 was configured as input...
led3 was configured to aux1

see the testled output (check if "before" and "after" differ) on your machine.

After running testled, leds-alix should work.

Cheers,

Bart Jooris
Researcher
IBBT-IBCN research group-Ghent University




Joel Carter wrote:

Hi Sancho.

I posed this question awhile ago to the list and never got a resolution for getting the LED's working on my 3c3. I have to agree that it must be something to do with the different BIOS since I also have a 3c1 and just tried it as suggested in the Voyage README and it worked perfectly:

$modprobe leds-alix
$echo 1 > /sys/class/leds/alix\:2/brightness

Joel.

------------------------------------------------------------------------

_______________________________________________
Voyage-linux mailing list
[email protected]
http://list.voyage.hk/mailman/listinfo/voyage-linux


_______________________________________________
Voyage-linux mailing list
[email protected]
http://list.voyage.hk/mailman/listinfo/voyage-linux

Reply via email to