Ubiquiti EdgeRouter Lite works multi-user with -CURRENT.
Milan Obuch
freebsd-mips at dino.sk
Mon May 20 15:39:38 UTC 2013
On Mon, 20 May 2013 08:27:40 -0700, Juli Mallett <jmallett at FreeBSD.org>
wrote:
> On Mon, May 20, 2013 at 8:25 AM, Milan Obuch <freebsd-mips at dino.sk>
> wrote:
> > Yes, output is from 'gpioctl -f /dev/gpioc0 -lv' command execution.
> > Actually, I wrote all 16 pins (0 to 15) in
> > sys/mips/cavium/octeon_gpio.c so I can see quickly which GPIO pin
> > is connected to reset switch. Pin 11 changed when pressing the
> > switch.
>
> Could you try commenting out everything but pin 11 in octeon_gpio.c
> and rebuilding? I'm wondering if one of those pins may have been
> in-use to talk to some Ethernet hardware or something like that, and
> that its operation was disrupted by the GPIO driver.
As far as I know, it behaved this way even before I added those pin
definition into GPIO driver. Actually, full output is
gpioctl -f /dev/gpioc0 -lv
pin 00: 0 F/D0<IN>, caps:<IN,OUT>
pin 01: 0 F/D1<IN>, caps:<IN,OUT>
pin 02: 0 F/D2<IN>, caps:<IN,OUT>
pin 03: 0 F/D3<IN>, caps:<IN,OUT>
pin 04: 0 F/D4<IN>, caps:<IN,OUT>
pin 05: 0 F/D5<IN>, caps:<IN,OUT>
pin 06: 0 F/D6<IN>, caps:<IN,OUT>
pin 07: 0 F/D7<IN>, caps:<IN,OUT>
pin 08: 1 F/D8<IN>, caps:<IN,OUT>
pin 09: 1 F/D9<IN>, caps:<IN,OUT>
pin 10: 1 F/D10<IN>, caps:<IN,OUT>
pin 11: 1 F/D11<IN>, caps:<IN,OUT>
pin 12: 0 F/D12<IN>, caps:<IN,OUT>
pin 13: 0 F/D13<IN>, caps:<IN,OUT>
pin 14: 0 F/D14<IN>, caps:<IN,OUT>
pin 15: 0 F/D15<IN>, caps:<IN,OUT>
and does not change with link status on ethernet port (any). But I will
test it with only pin 11 left there, just in case I overlooked
something.
Regards,
Milan
More information about the freebsd-mips
mailing list