Re: DMA IRQ, or How To Prevent ipaq-sleep, From Suspending A Zaurus Playing Music
"Justin Patrin" <[email protected]> Mon, 18 Sep 2006 13:10:41 -0700
| Newsgroups | gmane.comp.handhelds.openzaurus.user |
|---|---|
| Message-ID | <[email protected]> |
On 9/18/06, Francesco Marchetti-Stasi <[email protected]> wrote: > Justin Patrin <[email protected]> wrote: > >> > > > >> > > Just set IRQ = 18 in /etc/ipaq-sleep.conf and it won't suspend > >> while you > >> > > play music. I was only wanting to check whether there may be > >> unwanted > >> > > consequences... > >> > > > >> > > >> > No, I got that part. It just seems strange to use the DMA interrupt > >> > for this as DMA is used by other things, at least on a normal machine. > >> > > >> > >> On my spitz /proc/interrupts shows 18 as pxa2xx-i2c. RP confirms that > >> i2c is only for audio so using it for audio checking in ipaq-sleep > >> should be fine. :-) > >> > > > > Except it isn't...I set IRQ = 18 and started up ipaq-sleep and it > > happily suspends my Zaurus after X minutes without regard to playing > > audio. :-P > > > > Yes, on my boxer pxa2xx-i2c is on IRQ 11, and I have exactly the same > results: IRQ 11 does not work to rpevent suspending, IRQ 18 (DMA) does... > The DMA IRQ on my spitz is 25. I haven't tested it yet, but wouldn't this cause the Z not to suspend any time, say, the HD is accessed? It makes some sense to me to use this, but it could mena the Z never suspends on its own... Have either of you guys seen your Z auto-suspend after setting this IRQ in ipaq-sleep.conf? -- Justin Patrin ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV