View Full Version : WL500gx GPIO shit
Antiloop
31-12-2004, 02:18
[admin@WL500gx root]$ test gpio /dev/gpio/outen
val : 1
[admin@WL500gx root]$ test gpio /dev/gpio/out
val : 0
[admin@WL500gx root]$ test gpio /dev/gpio/in
val : b6
[admin@WL500gx root]$ test gpio /dev/gpio/control
val : 0
Hello all,
This is my first post here, i'm found of wl500gX who is in end of life. My next router will be an wl500gP but i need two gpio line for adding an i2c bus.
Is anyone have tested gpio line on this board ?
I haven't seen gpio line on picture, is there gpio line accessible like on 500gX ?
Thanks in advance.
I reply myself.
I have buy one wl500gp and there is no gpio line directly available.
I will search for in next day.
Hello all, i'm looking for schematic or description where can i find GPIO lines ??
I want connect to router I2C bus etc.. Many thanks for help.
Ondra
mistraller
09-04-2009, 23:24
I would like to use GPIO lines for monitoring some signals, and to power an external led.
I have no clue however, how this should be done. I've read something about the diag driver on OpenWRT, but I run Oleg's firmware.
I have a wl500gx (deluxe)
I see something about gpio in /dev/gpio but I don't know how to use it.
I want to monitor three states on each gpio line: on/off/flashing (1 sec interval on-off)
Anyone?
I want to monitor three states on each gpio line: on/off/flashing (1 sec interval on-off)
Anyone?
You can use USB HID device (keyboard) as input/output interface. Input - keys circuit, output - LED line.
mistraller
12-04-2009, 23:13
All 4 usb ports are in use, and GPIO is free to use. I don't want to add an USB hub, if gpio ports are available.
Maybe not the easiest solution, but the most interesting for me, because i want to know how GPIO works.
well, if you need only reading by router from these GPIOs, I guess it is the easiest. Just read continuously:
cat /dev/gpio/in
then change the state of the pins and see the changes in the value obtained and try to figure out which bit is which.
To write to /dev/gpio/out you should provide first a bit mask in /dev/gpio/outen
Hello all,
... but i need two gpio line for adding an i2c bus.
...
Ia anybody has found free GPIO lines?
kukodajanos
17-03-2011, 04:10
Ia anybody has found free GPIO lines?
Hey!
Could you find out something about the GPIO lines on the Asus Wl 500? I need it also for I2C purpose.