You are not logged in.
Hello!
My laptop's battery is running fast in sleep but I want to minimize power usage in sleep mode (S3)!
And ethernet adapter seem to be main power-consumer on the system because of Wake on Lan which is always enabled and I can do nothing with it (
Device is: "PCI Device: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller"
Kernel module: r8169
powertop:
Bad Wake-on-lan status for device eth0
ethtool:
:sudo ethtool eth0|grep Wake
24: Supports Wake-on: pumbg
25: Wake-on: pumbg
"sudo ethtool -s eth0 wol d" doesn't change anything.
Also,
:cat /sys/class/net/eth0/device/power/wakeup
disabled
but this is obviously not true.
Please help!
Last edited by eruditorum (2013-02-16 11:09:30)
Offline
I've never done this, so take this only as brainstorming - but you can have pre- and post- sleep hooks to put the eth0 interface down before sleeping and bring it back up after waking. I'd suspect this should do it.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Can you try this with the r8168 package? It is the module provided by realtek. I have a rev 7 of the same card (not sure what yours is, lspci will tell you), and I had all kinds of trouble with the in kernel module. Though I have communicated with countless others who say their card works find with the module from the kernel (r8169).
Just install the r8168 package, and then blacklist the r8169 module.
Offline
Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
Offline
Ummm.. okay... so did you try it?
Offline
Of course!
Well, it works, but adapter itself eats about 1W even when idle (powertop says it doesn't, but I see whole system power ~6.5W idle whereas it was ~5.5W idle with Ethernet disabled in BIOS).
If I disable it in BIOS then I can't disable WoL on adapter, so it will consume energy in S3 mode.
Am I wrong somewhere?
Last edited by eruditorum (2013-01-30 06:54:15)
Offline
I don't quite understand... how are you disabling it in the BIOS and able to do anything with it?
Edit: Still learning how to type with android's autocorrect...
Last edited by WonderWoofy (2013-01-30 07:50:22)
Offline
No no no.
I mean that if adapter is disabled in BIOS it will drain battery in S3.
If not - I can disable WoL in it and it doesn't drain battery in S3, but eats ~1W during runtime.
Offline
Does it still drain 1W if you "down" it?
Offline
Does it still drain 1W if you "down" it?
Yes, it does (already was "down")
Offline