linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: State of sound support in 2.3.x
@ 2000-03-24  8:04 Iain Sandoe
  0 siblings, 0 replies; 2+ messages in thread
From: Iain Sandoe @ 2000-03-24  8:04 UTC (permalink / raw)
  To: jingai; +Cc: PPC-DEV


>> >I have the 2.3.52 kernel from Paul's tree, with PowerMac DMA
>> > sound support compiled in.  I guess my question is:  what is the
>> current
>> > state of sound support in Paul's 2.3.52 kernel?
>>
>> My primary distribution source is also LimuxPPC.
>>
>> Geert Uytterhoeven posted a patch to split the DMA sound support between
>> Pmac, Atari etc. a while ago (look for dmasound split).
>
> Okay, I applied the patch (and the patch to the patch) that I found in the
> list archives.  It built fine, but upon reboot, sound doesn't work at all
> (no beep even).  I tried building both Sound Support and PowerMac AWACS
> support as modules, and it produced one module called soundcore.c.  I
> rebooted with this kernel and insmod'ed it, and it still doesn't work,
> although /dev/dsp and /dev/mixer existed this time.  Any clues?  I've got a
> UMAX S900, which, IIRC is a 9500 clone.

Yes (I think) - I should have posted a patch for this.

in drivers/char/mem.c there are two areas in which calls (and its
declaration) to init_dmasound() are conditional on CONFIG_DMASOUND - but
CONFIG_DMASOUND has been removed.

You need to change those lines to something like...

#if defined(CONFIG_DMASOUND_AWACS) || defined(CONFIG_DMASOUND_ATARI....

or whatever (the various CONFIG_DMASOUND_XXXXX are visible in the Makefiles)

Sorry about this - I was very new to the list and carried out some of the
discussion without doing cc's ;-)

I think that is it - basically you have everything complied in - but it
isn't being called at init time.

Iain.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread
* Re: State of sound support in 2.3.x
@ 2000-03-23  2:20 Iain Sandoe
  0 siblings, 0 replies; 2+ messages in thread
From: Iain Sandoe @ 2000-03-23  2:20 UTC (permalink / raw)
  To: jingai; +Cc: PPC-DEV


>I have the 2.3.52 kernel from Paul's tree, with PowerMac DMA
> sound support compiled in.  I guess my question is:  what is the current
> state of sound support in Paul's 2.3.52 kernel?

My primary distribution source is also LimuxPPC.

Geert Uytterhoeven posted a patch to split the DMA sound support between
Pmac, Atari etc. a while ago (look for dmasound split).

If you can't find it, I have a copy of the URLs to fetch it, somewhere.

It works against 2.3.52 [Paul's tree] (with a small additional mod to
drivers/char/mem.c)

With the patch, 44.1k wav files >/dev/dsp work on G3(beige Minitower) & G3
Lombard + possibly some others...

I am still trying to get to the bottom of why it doesn't on a 9600 [>50%
chance that it's an unrelated problem] and checking out other formats.

I haven't tried very hard to do anything without the patch.

Theme Sound under KDE (1.1.1) seems to be broken with or without the patch
(apart from Beep) - but that's probably a 2.3.xx issue.

As for other issues e.g. whether OSS stuff works - well I never got the
sequencer to work yet [under 2.2.6-apmac15, 2.2.14p9 or 2.3.xx] (but I
didn't try very hard yet ;-)

Once I understand the issues better I am going to try an ALSA driver for the
pmac built-in sound (it might help you because ALSA has support for the
'legacy' sound methods - which might bring more of the x86 stuff into view).

P.S. I'm pretty new to this particular kernel... so there's probably loads
more to add.

ciao,
Iain.

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

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

end of thread, other threads:[~2000-03-24  8:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-24  8:04 State of sound support in 2.3.x Iain Sandoe
  -- strict thread matches above, loose matches on Subject: below --
2000-03-23  2:20 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).