linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: [ANN] Dmasound backport to 2.2.17pre7/10 patch
@ 2000-07-12 11:12 Iain Sandoe
  2000-07-12 11:27 ` Derek Homeier
  0 siblings, 1 reply; 11+ messages in thread
From: Iain Sandoe @ 2000-07-12 11:12 UTC (permalink / raw)
  To: Derek Homeier, Benjamin Herrenschmidt; +Cc: linuxppc-dev


On Wed, Jul 12, 2000, Derek Homeier wrote:
> On Tue, 11 Jul 2000, Benjamin Herrenschmidt wrote:
>
[...]
>
> _But_ after some hours of sleep, the machine would not wake up properly.
> First, the backlight didn't switch on. I tried the usual tricks of playing
> with the brightness control, but to no effect. The machine was running at
> first, as I could tell from the usual disk activity caused by slocate.

are you using the sound stuff as modules? If so does the effect manifest
without sound loaded?  There is code in the sound stuff that talks to the
PMU...

which PB (if Lombard - I'll see if I can replicate the effect here).

Iain.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: [ANN] Dmasound backport to 2.2.17pre7/10 patch
@ 2000-07-12 11:37 Iain Sandoe
  2000-07-12 12:36 ` Derek Homeier
  2000-07-12 12:37 ` Geert Uytterhoeven
  0 siblings, 2 replies; 11+ messages in thread
From: Iain Sandoe @ 2000-07-12 11:37 UTC (permalink / raw)
  To: Derek Homeier; +Cc: linuxppc-dev


----------
>From: Derek Homeier <supas100@astrophysik.uni-kiel.de>
>To: Iain Sandoe <iain@sandoe.co.uk>
>Subject: Re: [ANN] Dmasound backport to 2.2.17pre7/10 patch
>Date: Wed, Jul 12, 2000, 12:27
>
ON Wed, Jul 12, 2000, Derek Homeier wrote:
> On Wed, 12 Jul 2000, Iain Sandoe wrote:
[...]
>>
>> which PB (if Lombard - I'll see if I can replicate the effect here).
>>
> Yes, Lombard 333 MHz standard configuration.

OK - I'll get to this later - wrestling with 2.4.0 right now...

> I did compile dmasound as module (I noticed that after applyiing your patch,
> dmasound was unselected in .config - is there a reason for this?).

Yes, the CONFIG_DMASOUND changed to a set of CONFIG_DMASOUND_XXXX for the
various different platforms.  Note there is no such thing as 'dmasound.o'
any more :-)

you have to modprobe:
soundcore
dmasound_core <params>
dmasound_awacs

> I will test this, though I'm not sure if it's easy to reproduce -
> if it takes a prolonged time of sleep for the effect to come up...

well, it would be nice to narrow down where it lies...
Iain.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 11+ messages in thread
[parent not found: <20000711165125.12731@mailhost.mipsys.com>]
[parent not found: <200007080459.XAA32335@lists.linuxppc.org>]
* [ANN] Dmasound backport to 2.2.17pre7/10 patch
@ 2000-07-07 22:31 Iain Sandoe
  0 siblings, 0 replies; 11+ messages in thread
From: Iain Sandoe @ 2000-07-07 22:31 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: Lars Magne Ingebrigtsen


Hi List,

Thanks to Lars (just the first to reply - no other selection process ;-)

Here it is:

> <URL: http://quimby.gnus.org/circus/dmasound_backport.patch.bz2>

enjoy...

original post:

hello all,

This may/may not help those who are experiencing X lock-up with sound
(although I've never had the problem myself).

I have done a backport of Geert's split-up dmasound stuff to 2.2.17pre7.
Thanks to Geert for helpful suggestions in doing this.

The problem is that the patch is **too big** to put as an attachment to the
list....

Anyone able to provide a place for it? [50-ish kb as bz2]....
If anyone's desperate (i.e. those having actual real-now-problems) I can
e-mail.


It is against linuxcare linux-pmac-stable and OK against linux-pmac-benh as
well.

WHAT IT DOES:

there's a new drivers/sound/dmasound this contains a split-up version of
the multi-platform dmasound.c

It *should* add sound input to the Pmac - but that doesn't work reliably yet
(I suspect weirdness with the mixer abstraction - see below).  No crash but,
then, no recorded sound either.  I'll be on this a bit later on.

WHAT I'VE TESTED:

G3 AWACS Rev 3 with/without build as modules.
I will do G3/Lombard (IIRC has the burgundy AWACS).
I will do G4 just as soon as I get to setting it up :-)

WHAT I DIDN'T DO:

The other platforms - if it is not obvious what is needed - (add call to
dmasound_???_init() into drivers/char/mem.c and fix up the module/no module
stuff in drivers/sound/dmasound_????.c) then e-mail me off list and I'll
have a go.  BUT I've got no h'ware other than Pmac to test on.

TO DO:

Sort out mixer abstraction weirdness - there's definitely some funny
behaviour using kmixer - sometimes the stereo attribute is recognised -
sometimes not.

Sort out what is slowing things down when the buffer size is reduced:

we should be able to achieve 11ms output latency with AWACS.

Please test & comment (but send flames to /dev/null - this is my first
backport ;-)

ciao,
Iain.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2000-07-13 18:40 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-12 11:12 [ANN] Dmasound backport to 2.2.17pre7/10 patch Iain Sandoe
2000-07-12 11:27 ` Derek Homeier
2000-07-12 11:40   ` Benjamin Herrenschmidt
2000-07-12 15:40     ` Derek Homeier
2000-07-13 18:40     ` Derek Homeier
  -- strict thread matches above, loose matches on Subject: below --
2000-07-12 11:37 Iain Sandoe
2000-07-12 12:36 ` Derek Homeier
2000-07-12 12:37 ` Geert Uytterhoeven
     [not found] <20000711165125.12731@mailhost.mipsys.com>
2000-07-12 10:21 ` Derek Homeier
     [not found] <200007080459.XAA32335@lists.linuxppc.org>
2000-07-11 15:15 ` Derek Homeier
2000-07-07 22:31 Iain Sandoe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).