[lfs-support] handle power button in LFS

2012-05-18 Thread xinglp
In order to use power button to shutdown or suspend my lfs. I enabled the depreciate /proc/acpi/event in kernel, and install acpid to handle the button event. It works well. But is there any clear way to do that, such as by inittab or udev or kernel callout userspace script (

Re: [lfs-support] handle power button in LFS

2012-05-18 Thread Andrew Benton
On Fri, 18 May 2012 14:44:00 +0100 xinglp xin...@gmail.com wrote: In order to use power button to shutdown or suspend my lfs. I enabled the depreciate /proc/acpi/event in kernel, and install acpid to handle the button event. It works well. But is there any clear way to do that, such as by

Re: [lfs-support] handle power button in LFS

2012-05-18 Thread Bruce Dubbs
Andrew Benton wrote: On Fri, 18 May 2012 14:44:00 +0100 xinglp xin...@gmail.com wrote: In order to use power button to shutdown or suspend my lfs. I enabled the depreciate /proc/acpi/event in kernel, and install acpid to handle the button event. It works well. But is there any clear way

Re: [lfs-support] handle power button in LFS

2012-05-18 Thread Fernando de Oliveira
On 18-05-2012 12:18, Bruce Dubbs wrote: Andrew Benton wrote: On Fri, 18 May 2012 14:44:00 +0100 xinglp xin...@gmail.com wrote: In order to use power button to shutdown or suspend my lfs. I enabled the depreciate /proc/acpi/event in kernel, and install acpid to handle the button event.

[blfs-support] Mesalib and new llvm location

2012-05-18 Thread John Burrell
When llvm was installed in /opt I could install mesalib albeit with a slight hiccough with makedepend. With llvm now in /usr, the mesalib make gives me a long list of unfound llvm libraries, ending with: /usr/bin/ld: cannot find -lLLVMCodeGen /usr/bin/ld: cannot find -lLLVMScalarOpts

Re: [lfs-support] handle power button in LFS

2012-05-18 Thread xinglp
2012/5/18 Bruce Dubbs bruce.du...@gmail.com: Andrew Benton wrote: On Fri, 18 May 2012 14:44:00 +0100 xinglp xin...@gmail.com wrote: In order to use power button to shutdown or suspend my lfs. I enabled the depreciate  /proc/acpi/event in kernel, and install acpid to handle the button event.