Messages in this thread | | | Subject | Re: [PATCH 1/2] Document the rfkill sysfs ABI | From | Marcel Holtmann <> | Date | Mon, 22 Feb 2010 19:16:30 +0100 |
| |
Hi Johannes,
> > > > > This moves sysfs ABI info from Documentation/rfkill.txt to the > > > > > ABI subfolder and reformats it. > > > > > > > > > > Signed-off-by: Florian Mickler <florian@mickler.org> > > > > > > > > This is fine with me. > > > > > > we have to be careful here. Some of these sysfs details needs to be > > > deprecated and removed. Applications should use /dev/rfkill > > actually. > > > > Maybe all of it should be in "obsolete"? > > Maybe, maybe not. Some people hate /dev/rfkill because it means they > need to use a programming language (rather than shell scripts), and I > don't care enough to fight with them. > > For all I care, it can be at the current status quo forever.
I am fine with having these information in sysfs, but then they should be useful. So we should expose the hard and soft block states and not some magic madeup state. Also the claim file has to go away.
And not that the rfkill utility is perfect for scripting, but whatever ;)
Florian, feel free to export the details from /dev/rfkill as proper sysfs attributes and make them ABI, then we can talk.
Regards
Marcel
| |