lkml.org 
[lkml]   [2007]   [May]   [3]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [Kernel-discuss] [PATCH 3/8] Universal power supply class (was: battery class)
Fromian <>
DateThu, 03 May 2007 23:14:26 +0100
On Fri, 2007-05-04 at 01:31 +0400, Anton Vorontsov wrote:
>     # cat /sys/class/power\ supply/ac/type
>         AC
> 
>         # cat /sys/class/power\ supply/usb/type
>         USB 

isnt that a bit redundant?

I'd have thought sys/class/power\ supply/supplyX/type would be better?

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

\
 
 \ /
  Last update: 2007-05-03 22:19    [from the cache]
©2003-2008