Re: kernel apm code (PR#128)

2001-03-30 Thread John Fremlin
[EMAIL PROTECTED] writes: [...] > > AFAICS. I hacked together the following patch for it a while ago, > > which updated APM_IOC_REJECT for slightly more recent kernels (be > > warned, I think I made some mistakes) > > Thanks for this, I will review it and post a patch based on it (with > due ac

Re: kernel apm code

2001-03-30 Thread David Balazic
John Fremlin wrote: > > David Balazic <[EMAIL PROTECTED]> writes: > > > John Fremlin wrote: > > [...] > > > > > To implement off-button you only need the APM_IOC_REJECT ioctl and > > > > > > The problem on my computer with my (re)implementation of > > > APM_IOC_REJECT is that the screen goes

Re: kernel apm code

2001-03-29 Thread John Fremlin
David Balazic <[EMAIL PROTECTED]> writes: > John Fremlin wrote: [...] > > > To implement off-button you only need the APM_IOC_REJECT ioctl and > > > > The problem on my computer with my (re)implementation of > > APM_IOC_REJECT is that the screen goes into powersaving when the user > > suspend

Re: kernel apm code

2001-03-29 Thread David Balazic
John Fremlin wrote: > > David Balazic <[EMAIL PROTECTED]> writes: > > > John Fremlin wrote: > > > > > > David Balazic <[EMAIL PROTECTED]> writes: > > [...] > > > > The maintainer hasn't the time to do it. He promised me he would in > > > February, when I telephone, but hasn't bothered to do a

Re: kernel apm code

2001-03-28 Thread John Fremlin
David Balazic <[EMAIL PROTECTED]> writes: > John Fremlin wrote: > > > > David Balazic <[EMAIL PROTECTED]> writes: [...] > > The maintainer hasn't the time to do it. He promised me he would in > > February, when I telephone, but hasn't bothered to do anything > > AFAICS. I hacked together the

Re: kernel apm code

2001-03-28 Thread David Balazic
John Fremlin wrote: > > David Balazic <[EMAIL PROTECTED]> writes: > > > The newer version has among other things support for > > the APM_IOC_REJECT ioctl which is useful for example > > when implementing "run /sbin/shutdown -h when the power > > button is pressed". > > > > While isn't this merg

Re: kernel apm code (PR#128)

2001-03-27 Thread sfr
Hi, >From [EMAIL PROTECTED] Wed Mar 28 05:06:59 2001 > > David Balazic <[EMAIL PROTECTED]> writes: > > > While isn't this merged into the official kernel ? > > The maintainer hasn't the time to do it. He promised me he would in True. > February, when I telephone, but hasn't bothered to do

Re: kernel apm code

2001-03-27 Thread John Fremlin
David Balazic <[EMAIL PROTECTED]> writes: > The newer version has among other things support for > the APM_IOC_REJECT ioctl which is useful for example > when implementing "run /sbin/shutdown -h when the power > button is pressed". > > While isn't this merged into the official kernel ? The mai

kernel apm code

2001-03-27 Thread David Balazic
The current kernel ( 2.4.2-ac26 or 2.4.3-pre8 ) has arch/i386/kernel/apm.c version 1.14 while version 1.15 is available as a patch to 2.3.99-pre7-1 ( read : it was available for ages ) at http://linuxcare.com.au/apm/ The newer version has among other things support for the APM_IOC_REJECT ioctl