Skip to contentSkip to conversation

Mixer support on the iBook2

DISCUSSION Ethan Blanton 3 participants 4 messages Aug 21, 2001

lore
Share & tools
lore
#0 lore raw

Hi all,
I have gotten the sound on my iBook2 working (via the files on http:/www.hadess.net/files/ppc/ibook2/), and I have some questions...

I know there has been some discussion on this list that the OSS mixer semantics are insufficient for the PPC sound architecture in modern Macs. I don't know if this is related or not...

In any mixer program I can find, the volume steps on the iBook2 are simply too large. The sound card goes from muted to too loud to use through earphones in one step of the slider. Is this a limitation of the hardware, the driver architecture, or what? Or is it too early to be asking? ;-)
Ethan

Signature · 3 lines
If I've told you once, I've told you once
And once is all that you needed.
		-- The Refreshments, "Carefree"
#1 lore raw
Quoted 3 lines · Ethan Blanton

Hi all,
I have gotten the sound on my iBook2 working (via the files on http:/www.hadess.net/files/ppc/ibook2/), and I have some questions...

Please use the dmasound.tar.gz , it's a better driver (anton2 on #mklinux fixed that 8 days ago), and I'm supposed to clean it up for integration in BenH's tree (if he and Iain think that it's clean enough). Or maybe Olaf will just be sick of waiting and do it himself ;)

Given that my iBook is going to the repair shop (the cable to the screen got hurt and my display goes purple), one might want to take this task.

the dmasound.tar.gz contains a replacement for drivers/sound/dmasound you still need the i2c-keywest driver from pfh's driver, but not the dmasound_core hacks anymore.
All the i2c calls should be #ifdef'ed for machines without i2c buses to still work. And a nice configuration option is needed as well.

Quoted 9 lines

I know there has been some discussion on this list that the OSS mixer semantics are insufficient for the PPC sound architecture in modern Macs. I don't know if this is related or not...

In any mixer program I can find, the volume steps on the iBook2 are simply too large. The sound card goes from muted to too loud to use through earphones in one step of the slider. Is this a limitation of the hardware, the driver architecture, or what? Or is it too early to be asking? ;-)

The driver...

Cheers

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

#2 lore raw

Bastien Nocera spake unto us the following wisdom:

Quoted 8 lines
Quoted 2 lines · Ethan Blanton

I have gotten the sound on my iBook2 working (via the files on http:/www.hadess.net/files/ppc/ibook2/), and I have some questions...

Please use the dmasound.tar.gz , it's a better driver (anton2 on #mklinux fixed that 8 days ago), and I'm supposed to clean it up for integration in BenH's tree (if he and Iain think that it's clean enough). Or maybe Olaf will just be sick of waiting and do it himself ;)

That's what I'm using. It works beautifully (thanks!), but the volume control is too coarse-grained to be useful for much...

Quoted 7 lines
Quoted 5 lines

In any mixer program I can find, the volume steps on the iBook2 are simply too large. The sound card goes from muted to too loud to use through earphones in one step of the slider. Is this a limitation of the hardware, the driver architecture, or what? Or is it too early to be asking? ;-)

The driver...

To clear up some confusion I have here ... Are you saying it's a limitation of the driver (in which case I'm more than happy to wait for it to be fixed as I know *nothing* about DSP or sound hardware) or that I need to snag the driver?
Ethan

Signature · 3 lines
If I've told you once, I've told you once
And once is all that you needed.
		-- The Refreshments, "Carefree"
#3 lore raw
Quoted 5 lines · Ethan Blanton

Bastien Nocera spake unto us the following wisdom:

Quoted 4 lines
Quoted 2 lines · Ethan Blanton

I have gotten the sound on my iBook2 working (via the files on http:/www.hadess.net/files/ppc/ibook2/), and I have some questions...

Quoted 7 lines
Quoted 4 lines

Please use the dmasound.tar.gz , it's a better driver (anton2 on #mklinux fixed that 8 days ago), and I'm supposed to clean it up for integration in BenH's tree (if he and Iain think that it's clean enough). Or maybe Olaf will just be sick of waiting and do it himself ;)

That's what I'm using. It works beautifully (thanks!), but the volume control is too coarse-grained to be useful for much...

I have placed the ibook2 patches here:
http://www.penguinppc.org/~olaf/ibook2/patches/

70__00_linux-2.4.8--benh.diff.gz 70__2.4.8-ibook2_dmasound.diff.gz 70__2.4.8-ibook2_zzz_dmasound-requestmodule.diff.gz

Everything is against 2.4.8, maybe it fits on the 2.4.9 tree.

What I have found so far is that you have sound working after modprobe dmasound_pmac. when you launch kmix the volume slider is at 100%. but as soon as you move the volume control a bit the sound gets really loud. So I guess the driver reports the wrong volume level to the userland.

Gruss Olaf

--

 $ man clone

BUGS
Main feature not yet implemented...

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