> >The lid status bit apparently has a different function on desktop > >machines. We cannot find out the machine type by asking the PMU so this is > >going to be more complex to solve. > > Look at the PMU_IOC_CAN_SLEEP ioctl. I don't remember exactly when I added > it but it has been a long time.
I'll check that out - my kernel has the ioctl, it just doesn't work as advertised (as in: claims there is no sleep support on Lombard, the ioctl returns 0). The kernel is 2.4.14-pre8 in case you're wondering. Michael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]