Re: charging batteries from USB [was: Re: Alternative Concept]

Oliver Neukum
2007-03-24T10:20:23Z

Am Samstag, 24. März 2007 03:35 schrieb David Brownell:
> On Friday 23 March 2007 6:48 pm, Dmitry Krivoschekov wrote:
>
> > I clearly understand these distinct issues, I read Oliver's
> > comments for "switching off autosuspend through sysfs" patch,
> > where he said "This is needed for devices which recharge
> > their batteries of the bus" (but nothing regarding improper
> > behavior of some devices)
>
> Sometimes people have been known to focus too much on
> secondary issues. ;)

I did write a patch to introduce a black list for such devices ;-)

Seriously. The kernel can learn to deal with broken devices on its own.
It's a question of black listing or introducing workarounds. Cumbersome
but doable. The question of whether to charge a battery in a device or
conserve the laptop's batteries is not solvable in the kernel. How would
you decide?

Regards
Oliver