[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Trying to use sleepd for inactivity



> sleepd works by watching the IRQ bus for interrupts. Specifically,
> looking through the code it looks through /proc/interrupts for anything
> that looks like an interrupt for a mouse or keyboard.
>
> Here's what my /proc/interrupts looks like. I'm using an iBook DV 466.
>
>            CPU0
>  19:      21205   OpenPIC   Level     ide0
>  20:        244   OpenPIC   Level     ide1
>  25:     783175   OpenPIC   Level     VIA-PMU

The VIA-PMU interrupt is where keyboard and mouse activity hide in. Good
luck subtracting the baseline interrupt activity there, I suspect the
scheduling timer is in there as well :-)

	Michael


-- 
To UNSUBSCRIBE, email to debian-powerpc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: