What happened to the "scope" sysfs attribute?

Peter Wu lekensteyn at gmail.com
Wed Aug 28 02:07:01 PDT 2013


On Tuesday 27 August 2013 18:09:13 Anton Vorontsov wrote:
> On Tue, Aug 27, 2013 at 12:19:45PM +0200, Peter Wu wrote:
> > UPower assumes a "scope" attribute[1] to determine whether a battery
> > powers
> > the system or something else. I see that the kernel patches were queued
> > for
> > 3.3[2], but I cannot find these commits back in mainline.
> 
> I see it here:
> 
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2
> 5a0bc2dfc2ea732f40af2dae52426ead66ae76e
> 
> The property is not mandatory for every device, so if it is absent, then
> scope = system is assumed.

I see, I could not find it when looking for '"scope"' in drivers/power/ and had 
to look for '(scope' instead. Thanks for your fast reply!

Regards,
Peter


More information about the devkit-devel mailing list