Skip to contentSkip to conversation

Turning on sound in the new iBook

DISCUSSION Iain Sandoe 1 participant 1 message Jul 29, 2001

lore
Share & tools
lore
#0 lore raw

Hi Chaps,

Quoted 4 lines

Just got around trying it, and it works in the sense that "cat /vmlinux

Quoted 1 line

/dev/dsp" produces sound ;)

The sound although contains a *lot* of noise. You're mentioning on your page a modification to dmasound_core, could you share it with us ?

Someone (Jack Moffitt IIRC) reported to me that the Tumbler needed to be U16. Having looked at the Darwin code I can find no evidence of this in Apple's stuff ... however, it might not be up-to-date.

There are a lot of assumptions in dmasound that are related to the AWACS - especially in the bits that deal with things like the mksound().

I am working on rationalising the driver to partition out stuff that relates to the AWACS/Screamer/Burgundy - so that the dbdma drive part of it (shared between _core.c and _awacs.c can be used).

Ironically, it is the mksound() [SysBeep()] code that is giving me most grief... (in thinking of a better way to do it so that it is not so chip-dependent).

I'd like to get this done first - because it paves the way for more sensible driver structure - and, in particular, making the SMP locking sensible.

---

IMHO the most important tumbler/DACA task is getting the keywest-i2c stuff to be interrupt driven - it is nasty having polled code that might lock up the kernel for seconds.

---

If the tumbler really needs to be U16 - I can modify the standard code to make that as another 'exception'.

time is, as always, the killer here...

ciao,
Iain.

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