OpenWrt Forum Archive

Topic: /proc/sys/diag vs /proc/diag/

The content of this topic has been archived on 6 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi
I have a "clone" of ASUS WL-500G Deluxe, called TOPEX -BYTTON GPRS.
This device have the mb of WL-500G and a GPRD modem made by TOPEX with Voxson Ltd - SP103 chip.

Whit whiterussian rc5 , I reinit my modem by doing this:

echo 0x70 >/proc/sys/diag && sleep 2 && echo 0x71 >/proc/sys/diag && sleep 2 && echo 0x10 > /proc/sys/diag && sleep 2

In Kamikaze is not working ( /proc/sys/diag don't exist)
How can I rewrite the command above.
10x.

is this not posible now, with Kamikaze ?

Take a look at /proc/diag/led/ .

10x for replay
ok, i see there /proc/diag/led/power who can have val 0 or 1( think this val are mapped like 0x00 or 0x01), but how can i make some ting like
/proc/diag/led/modem where val must be 0x70 and 0x71 ???

plz help


i'm block : a search on google about : /proc/sys/diag & /proc/diag/ find first this posts, so can't find more
plz help

(Last edited by superarcan on 5 Oct 2009, 22:11)

i see also /proc/diag/gpiomask have some reaction with /proc/diag/led/power in lighting up power led
but I can't find out how to use in my case.

can someone give a link how to use diag.o

The discussion might have continued from here.