Re: e100: Laptop battery drain and WoL settings from EEPROM

From: Ondrej Zary
Date: Mon Nov 10 2014 - 03:15:16 EST


On Monday 10 November 2014, Francois Romieu wrote:
> Ondrej Zary <linux@xxxxxxxxxxxxxxxxxxxx> :
> [...]
>
> > > Looks like this laptop is probably WoL-capable even on battery.
> > >
> > > Measured the current from AC adapter:
> > > around 20mA with WoL inactive (shut down from Windows or by power
> > > button in GRUB) around 40mA with WoL active (shut down from Linux)
> > >
> > > So to work-around this problem, users must disable WoL manually on each
> > > boot.
>
> Or configure udev so that ethtool disables WoL.

This is inconsistent with other (non-Intel) ethernet drivers where users need
to use ethtool only if they want to enable WoL.
Installing ethtool and writing udev rules just to make a laptop shutdown
properly is not very user-friendly.

> The current policy has been here for ages. Some users may rely on it.
>
> There must be some strong rationale for their setup to have to be changed.

Yes, that might be a problem.

--
Ondrej Zary
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/