Re: [jornada] sound debugged

From: John Ankcorn <jca_at_hp.com>
Date: Mon, 14 Feb 2005 10:19:59 -0800 (PST)

Colin,

I believe that the problem not precisely with the suspend,
but indeed with the resume. Please note that when the SA-1110
comes out of sleep, it jumps to a known vector address, which
on the Wince version points to the wince 'restore' code. This
code was written and shipped long before a linux port was
comtemplated and knows nothing about starting linux back up.

With the flashboard, the restore sequence is almost the same
as it is for the iPaq and the Jornada 56x, so this is fairly
'easy' to get working. Lorant proposed a reasonable (although
technically somewhat difficult) way to get the same
behaviour when running on wince.

As always, it is just a small matter of programming....

Thanks
jca

On Mon, 14 Feb 2005, Colin Sauze wrote:

> So basically I can play sound fine until I try to suspend without a
> flashboard.
>
> In some of the 2.4 kernels somebody implemented a hack to turn off the
> display, it would be nice if the same option where available in 2.6
> kernels for non-flashboard users (which I presume are the
> majority??????????).
>
> I'm wondering if it isn't possible to further improve the battery life
> by having some kind of suspend script which just sends a SIGSTOP to most
> of the processes (e.g. everything but the kernel and something to allow
> everything else to resume). Then upon resume a SIGCONT is sent to all
> the processes to bring them back to life again.
>
> I don't know how much effect this would have, but i'm sure battery
> consumption is lower with no processes running as the kernel should
> issuing lots of HALT instructions during the idle time, so the CPU will
> draw less power.
>
> Is it possible to tell the PCMCIA controllers to sleep and resume
> without having to power off the rest of the system?
>
> If I can make the jornada last the length of my working day on a single
> battery charge then it makes it pretty much as usable as CE.
>
>
> alexgrosy_at_t-online.de wrote:
>
> >Hi,
> >
> >of course, the sound chip will also work without a flash board. It's just
> >suspend/resume that is dependant on one of these boards (as a bootloader is
> >required to resume device). When the device is suspended the CPU is
> >completely reset and without a bootloader wince would just start booting when
> >trying to resume without a bootloader.
> >
> >kind regards,
> >alex
> >
> >On Sunday 13 February 2005 17:14, Colin Sauze wrote:
> >
> >
> >>alexgrosy_at_t-online.de wrote:
> >>
> >>
> >>>Hi,
> >>>
> >>>I have now debugged the sound on the Jornada 720 (kernel 2.6). It is now a
> >>>fully featured linux device if you have a flash board (sorry guys, I can't
> >>>get you any of them)
> >>>
> >>>
> >>Why does it only work with a flashboard? I don't see how the flash board
> >>alters your ability to address the sound chip?
> >>
> >>
> >>_______________________________________________
> >>jornada mailing list
> >>jornada_at_handhelds.org
> >>https://handhelds.org/mailman/listinfo/jornada
> >>
> >>
> >_______________________________________________
> >jornada mailing list
> >jornada_at_handhelds.org
> >https://handhelds.org/mailman/listinfo/jornada
> >
> >
> >
>
> _______________________________________________
> jornada mailing list
> jornada_at_handhelds.org
> https://handhelds.org/mailman/listinfo/jornada
>
Received on Mon Feb 14 2005 - 13:23:32 EST

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:26:19 EDT