[ previous ] [ next ] [ threads ]
 
 From:  Falcor <falcor at netassassin dot com>
 To:  Timothy Jans <timothy dot jans at pandora dot be>
 Cc:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall] Feature request : working leds and switch for WRAP board
 Date:  Sun, 14 Mar 2004 05:55:41 -0600
odd... all my lights work just fine.  Data light blinks and reflects the 
amount of data based off of its pace or solid on/off status, disk light 
blinks when I read or write to the CF card... power light is on.  Am I 
missing something?

Timothy Jans wrote:

>The WRAP board (from pc engines) has 3 leds and 1 switch.
>But they don't work because they have to be programmed in m0n0wall.
>I don't know if it's easy to program or not, but I will post it anyway.
>
>The first led is always on (power led likely), but the second and third led
>never go on.
>The push button (switch) does not respond.
>I think it's best to use the switch for reset and the 2 leds for network
>traffic and error (or something else).
>
>Section from manual :
>---- section from wrap1c.pdf ----
>Front panel LEDs and switch
>
>
>LED1 (D3)   GPIO2  write I/O port [GPIOBASE]   bit 2 0 = light
>
>LED2 (D2)   GPIO3  write I/O port [GPIOBASE]   bit 3 0 = light
>
>LED3 (D1)   GPIO18 write I/O port [GPIOBASE]   bit 18 0 = light
>
>Switch (S1) GPIO40 read I/O port [GPIOBASE+20] bit 8 0 = pressed
>
>
>With tinyBIOS, GPIOBASE is 0F400h. If you would like to write a more generic
>driver, use the
>SC1100 I/O base registers to determine GPIOBASE.
>---- section from wrap1c.pdf ----
>
>Manual for WRAP board : http://www.pcengines.ch/wrap1c.pdf
>Manual for TinyBios : http://www.pcengines.ch/tb13.pdf
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: m0n0wall dash unsubscribe at lists dot m0n0 dot ch
>For additional commands, e-mail: m0n0wall dash help at lists dot m0n0 dot ch
>
>  
>