Timeless wrote:bertc3p0 wrote:Even if they are not physical connected they consume power - really.
I noticed the 5 PYH's in this SoC:
mmio 0x101100c0 0x08002000
mmio 0x101100c0 0x08002001
mmio 0x101100c0 0x08002002
mmio 0x101100c0 0x08002003
mmio 0x101100c0 0x08002004
[0x08002000] seems to be for eth0 acording to a post on that forum you noted:
rocksoft on 8devices.com wrote:I only use a single Ethernet port so I periodiocally turn on the one I want (eth0) in my program
mmio 0x101100c0 0x00002000
But what about its WiFi? I guess this is placed in another register? or is that connected to one of the PYH's?
The power usage of this SoC (Carambola) is:
david on 8devices.com wrote:Wi-Fi on, all ethernet on: 285mA
Wi-Fi on, all ethernet off: 194mA
Wi-Fi off, all ethernet on: 203mA
Wi-Fi off, all ethernet off: 112mA
Wi-Fi off, one ethernet on: 128mA
that 285mA is exactly my current power usage. so these devices are kinda similar.
Is it save to shutdown all the PHY's except for [0x08002000] which will keep the eth0 and WiFi functional?
These commands turn off port 1-4.
------------------------
swconfig dev switch0 port 1 set disable 1
swconfig dev switch0 port 2 set disable 1
swconfig dev switch0 port 3 set disable 1
swconfig dev switch0 port 4 set disable 1
swconfig dev switch0 set apply
------------------------
In additional information, A5-V11's CPU is too slow for wireless+NAT process (at least for CC). The wireless driver eat CPU to almost 80% when download at full speed(max at 8-9 MB/s) without NAT. The CPU almost has no power left for do NAT that cap download speed under 3.xx MB/s.
For antenna modding, after changed the rp-sma connector, signal quality improve the signal quality is acceptable now.
>iw dev wlan0 station dump
Station xx:xxxx:xx:xx:xx (on wlan0)
inactive time: 140 ms
rx bytes: 30129820
rx packets: 291783
tx bytes: 418522172
tx packets: 312628
tx retries: 15947
tx failed: 6
signal: -50 dBm
signal avg: -51 dBm
tx bitrate: 72.2 MBit/s MCS 7 short GI
rx bitrate: 72.2 MBit/s MCS 7 short GI
expected throughput: 34.84Mbps
authorized: yes
authenticated: yes
preamble: long
WMM/WME: yes
MFP: no
TDLS peer: no
(Last edited by tomrev on 26 Dec 2015, 10:50)