Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ITzTravelInTime

macrumors regular
Original poster
Dec 16, 2020
111
182
Italia
Since i got a 2001 quick silver g4 and some skill working with xcode i decided to try and get running some sound cards on my machine using some open source pre-existing drivers.

So my first port to PPC macs is the driver for the CMI8738 sound cards, this driver is a fork of the pre-existing OS X driver made by Dogbert, but i have done some minor tweaks to improve it and i have added sample endianess corrction to allow the driver to be working on PPC machines.

I have open sourced the kext on github https://github.com/ITzTravelInTime/CMI8738_PowerPC_Intel
(NOTE that ir requires xcode 2.x or 3.x to be build, and can be also compiled for both PPC and Intel macs at either 32 or 64 bits, so in theory you can compile this driver for usage on modern macs too, since there are PCIe cards featuring the CMI8738 sound chip)

And you can find a pre-build PPC 32 binary here: https://github.com/ITzTravelInTime/CMI8738_PowerPC_Intel/releases

Aslso the driver for now requires OS X Leopard, i am still figuring out how to get it working with Tiger.

Limitations of this driver are:
- The absence of Input support, it's partially implemented ATM, but it isn't working.
- No support for anything which isn't 2 channel audio, so you can't make use of the 5.1 or the 7.1 support that some cards features, so you just have support for SPDIF/optical and the green jack on the back.

Those are the same limitations as the orignal driver by Dogbert, if you want to help me getting them to work, you are free to commit your code and ideas on the github repo i linked.

If you are wondering why you should use a sound card inside your mac, there are several reasons, here are a few:
-Having a mac with faulty audio.
-Having a mac with poor quality built-in audio (like my 2001 quick silver wose integrated audio just supports the 41khz sample rate and lacks built-in Optical audio, unlike my terratec Aureon 5.1 Fun card, that thanks to this driver gives me support for Optical, spdif and 48khz + 41khz sampling rates).
-Adding features the on-board audio lacks (like the M-Audio Dio 2448 which should work with this driver and adds ADAT support to your mac).
-Having more output devices for a combined setup.
-Not having bulky external boxes just to have better audio.
-Having sound cards laying around and putting them to use.

About me i am doing this project mostly for fun but also to get cards from my sound card collection working on my power mac, since i love to use pices of my collection in each one of my machines.

I hope this driver will be usefoul to you and that you will have a great time upgrading your macs.
 
Last edited:
There are some bugs i am working on fixing, and a couple of quality of life changes i am making to the installer script, so i will be posting a new driver release when i am ready.
 
  • Like
Reactions: eastone
New driver release, after some testing here is version 1.1 of the driver, it has only output support for 48khz and 44.1 khz and only for 2 channels, but it's tested to work well.

 
Not a PCI card, but has anyone had success with M-Audio ProFire 610 on a PowerPC? I got one from Yahoo JP and tried to make it work on MacMini G4 initially and later on G5 Quad, all in vain. Drivers installed, card is recognized, however sound output settings are mute. I have tried several versions of its drivers, no success.

I gave up eventually and sold it at a moderate loss.
 
Not a PCI card, but has anyone had success with M-Audio ProFire 610 on a PowerPC? I got one from Yahoo JP and tried to make it work on MacMini G4 initially and later on G5 Quad, all in vain. Drivers installed, card is recognized, however sound output settings are mute. I have tried several versions of its drivers, no success.

I gave up eventually and sold it at a moderate loss.

I am sorry but this is offtopic here since this thread is to discuss about the ppc os x driver port i made for the cmi8738 sound cards, which are all pci, to find help with your specific card open a new thread.
 
So an update here, i am working on support for the CMI8338 sound chip, i have already added some basic code to get it to initialize, start playback and change sample rate, but no working playback for now.

EDIT: playback is working with the CMI8338, but i am experiencing a wired high pitched high volume noise all over the audio, i don't know if this is an issue of the driver or if my card is fault, but this is a victory!

news for the cmi8738 chips:
1) i have got various new sample rates to work: 5512, 8000, 11025, 16000, 22050 and 32000.
2) i have been doing some work towards getting inputs to work and supporting multiple playback channels, not tested yet due to lack of hardware at the moment.

Here is also a picture pf the CMI8338 showing up in the system for the first time.

22EA0201-7245-472D-94CD-E6959095C212.jpeg
 
Last edited:
News: i have got even more sample rates to work for CMI8738 chip revisions that supports them: so i have my rev55 CMI8738 chip now working up to 128khz @16bits wich is nice.

I have also laid the ground work for an eventual 24/32bit support on some other similar CMI chips, but since i don't have the right hw, i can't really test it, so for now it's code left there unused (and also needs special support from the sample frame to dma conversion routines in order to work).

TBH there are so many chips and variations of sound cards featuring them, that i need way more test hw than what i have now, i hope to get some more when i can, i would really love to get my hands on one of those pcie chinese ones since it would allow me to also test it on more recent intel hw and my pcie G5.

But for now that's some progress at least, will keep you posted as always.

PS: if you missed it in the last post i have achieved playback on the cmi8338, with some very wired noise and some pretty odd behaviours out of it, i hope to get it fixed, it would be really cool to have this odd 90s sound card in some G3 using Tiger.
 
Last edited:
  • Like
Reactions: eastone
After a while i have some new updates: I have acquired a cmi8768 card (the terratec aureon 7.1 pci) and cmi8770 card (the

Club 3D Theatron Agrippa 7.1) and both work with the latest commit of the driver using the 16 bits 2 channels mode.

After a runs of testing i think i am ready to release a driver build just to have public support for the other cmi cards i have added.

About inputs no news yet, i still can't figure out why they don't work yet.

 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.