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 [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/