Hi! > > > Uh, that would really suck. This would entail a string parser in every > > > driver, which is what we wanted to get away from with sysfs. A better way > > > would be to have a driver export a file with the specific features that it > > > supports encoded in a meaningful and efficient way (i.e. a fixed-length > > > string, character, or constant). > > > > Agreed. > > <heresy> I wonder if using sysfs is even the best method for doing > run-time PM. It will force your imaginary nice userspace interface to > include code to scan the whole directory tree looking for files of each > kind, perhaps sorting and collating and so on. Maybe a DBus interface > would be better? </heresy> DBus is too hard to use from shell, and I do not think whole directory scan is so hard to do. Pavel -- People were complaining that M$ turns users into beta-testers... ...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!