Re: ACPI buttons in 2.6.12-rc4-mm2

2005-07-29 Thread Bill Davidsen
Brown, Len wrote: I agree that the value of _LID can be usefult to user-space and I'll be sure it is restored as a property of the lid device under sysfs -- available as a simple file read like it was under /proc. You're missing the point, removing the /proc feature breaks existing code. You c

RE: ACPI buttons in 2.6.12-rc4-mm2

2005-07-27 Thread Brown, Len
>> I'm open to suggestions on how to approach this transition. >> I can make ACPI_PROC a static build option -- what else >> can I do to ease the transition in this, our stable release? > >Well I don't know how awkward this would be from an >implementation POV, but can we just leave the legacy >

RE: ACPI buttons in 2.6.12-rc4-mm2

2005-07-27 Thread Brown, Len
>Len Brown <[EMAIL PROTECTED]> wrote: >> I deleted /proc/acpi/button on purpose, >> did you have a use for those files? > >Can we put it back, please? of course. >We cannot go ripping out stuff which applications and users >are currently using without quite a lot of preparation. Agreed. Altho

Re: ACPI buttons in 2.6.12-rc4-mm2

2005-07-27 Thread Andrew Morton
"Brown, Len" <[EMAIL PROTECTED]> wrote: > > > >Len Brown <[EMAIL PROTECTED]> wrote: > >> I deleted /proc/acpi/button on purpose, > >> did you have a use for those files? > > > >Can we put it back, please? > > of course. Thanks. > >We cannot go ripping out stuff which applications and users > >

Re: ACPI buttons in 2.6.12-rc4-mm2

2005-07-27 Thread Andrew Morton
Len Brown <[EMAIL PROTECTED]> wrote: > > On Sun, 2005-05-22 at 07:25 -0400, Cameron Harris wrote: > > I just upgraded from 2.6.11.3 and now my /proc/acpi/button directory > > doesn't exist... > > I deleted /proc/acpi/button on purpose, > did you have a use for those files? Can we put it back, ple

Re: [ACPI] Re: ACPI buttons in 2.6.12-rc4-mm2

2005-07-27 Thread Pavel Machek
Hi! > Len Brown <[EMAIL PROTECTED]> wrote: > > > I deleted /proc/acpi/button on purpose, > > did you have a use for those files? > > There are various cases where it's useful to know whether a laptop is > shut or not, and /proc/acpi/button seems to be the only place where that > information is m

RE: [ACPI] Re: ACPI buttons in 2.6.12-rc4-mm2

2005-07-27 Thread Brown, Len
I agree that the value of _LID can be usefult to user-space and I'll be sure it is restored as a property of the lid device under sysfs -- available as a simple file read like it was under /proc. thanks, -Len - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: [ACPI] Re: ACPI buttons in 2.6.12-rc4-mm2

2005-07-26 Thread Pavel Troller
> I deleted /proc/acpi/button on purpose, > did you have a use for those files? > Hi Len! I already wrote 2 mails that I have use for the LID switch status file and that I don't know how to handle its absence. However, they seem to be dropped on the floor somewhere :-). BTW I have written a sm

Re: ACPI buttons in 2.6.12-rc4-mm2

2005-07-26 Thread Matthew Garrett
Len Brown <[EMAIL PROTECTED]> wrote: > I deleted /proc/acpi/button on purpose, > did you have a use for those files? There are various cases where it's useful to know whether a laptop is shut or not, and /proc/acpi/button seems to be the only place where that information is made available at the

Re: ACPI buttons in 2.6.12-rc4-mm2

2005-07-26 Thread Len Brown
On Sun, 2005-05-22 at 07:25 -0400, Cameron Harris wrote: > I just upgraded from 2.6.11.3 and now my /proc/acpi/button directory > doesn't exist... I deleted /proc/acpi/button on purpose, did you have a use for those files? Note that over time everything in /proc/acpi is going away. In this case,