Hi,
 
I have an Alix-1E-Board (running voyage linux 0.9.2) and an expansion board labeled „DECT Extention 10400112-00“ (it’s a board with eight LEDs).
 
I can write into the LEDs control files by typing “echo 1 /sys/class/leds/alix\:1/brightness” but nothing happens. Withal I can’ find the three LEDs at the Alix-board.
 
So I tried to control the eight LEDs on the expansion board. After typing  “echo ‘0’ > /sys/class/gpio/export” I get the error message : “write error: No such device”. (The files export and unexport are existing). Nothing else happens.
 
I think (I hope) the expansion board is o.k.: After voyage linux has been booted the third LED is shining permanently.
 
 
This is what I have done yet:
 
cd /usr/src
apt-get install build-essential
apt-get install linux-headers-$(uname -r)
module-assistant prepare
ln -s /usr/src/linux-headers-3.10.11-voyage/ /lib/modules/3.10.11-voyage/build
apt-get -y install leds-alix-source
tar -xvjf leds-alix.tar.bz2
cd /modules/leds-alix/
 
make
  make -C /lib/modules/`uname -r`/build SUBDIRS=/usr/src/modules/leds-alix modules
  make[1]: Entering directory `/usr/src/linux-headers-3.10.11-voyage'
    CC [M]  /usr/src/modules/leds-alix/leds-alix.o
    Building modules, stage 2.
    MODPOST 1 modules
    CC      /usr/src/modules/leds-alix/leds-alix.mod.o
    LD [M]  /usr/src/modules/leds-alix/leds-alix.ko
  make[1]: Leaving directory `/usr/src/linux-headers-3.10.11-voyage'
  root@voyage:/usr/src/modules/leds-alix#
 
make install
  make -C /lib/modules/`uname -r`/build SUBDIRS=/usr/src/modules/leds-alix INSTALL_MOD_DIR=kernel/drivers/leds modules_install
  make[1]: Entering directory `/usr/src/linux-headers-3.10.11-voyage'
    INSTALL /usr/src/modules/leds-alix/leds-alix.ko
    DEPMOD  3.10.11-voyage
  make[1]: Leaving directory `/usr/src/linux-headers-3.10.11-voyage'
  depmod -ae
  WARNING: -e needs -E or -F
 
 
What can I do?
Do I have to install a gpio driver? How can I do that?
 
Best regards
Elmo
_______________________________________________
Voyage-linux mailing list
Voyage-linux@list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux

Reply via email to