Help - Search - Members - Calendar
Full Version: Cmedia 8738
InsanelyMac Forum > OSx86 Project > Hardware and Drivers > Sound
Pages: 1, 2, 3, 4
Pons
Hey everyone.
I was watching on the wiki and I saw that this card was supported with and additional driver to install.. I already did it and it gives an error telling me that the extension is bad.
Anyone knows about this problem?
Thanx
Pons
dogbert
QUOTE (Pons @ Aug 31 2005, 10:06 PM)
Hey everyone.
I was watching on the wiki and I saw that this card was supported with and additional driver to install.. I already did it and it gives an error telling me that the extension is bad.
Anyone knows about this problem?
Thanx
Pons
*


I wrote that kext. you probably forgot to change the owner.

CODE
chown -R root:wheel CMI8738AudioDriver.kext
kextload CMI8738AudioDriver.kext
Pons
oh
thanx!
smile.gif
I'll write that on the wiki smile.gif
understar
QUOTE (Pons @ Sep 1 2005, 04:06 AM)
Hey everyone.
I was watching on the wiki and I saw that this card was supported with and additional driver to install.. I already did it and it gives an error telling me that the extension is bad.
Anyone knows about this problem?
Thanx
Pons
*


Hi, Pons, could you please send me the "CMI8738AudioDriver.kext", I cann't download it from the site gived in the wiki, so many thanks.
My mailbox is here: panyuejian@gmail.com
or: panyuejian@hotmail.com
any one you can choose:)
understar
QUOTE (dogbert @ Sep 1 2005, 04:27 AM)
I wrote that kext. you probably forgot to change the owner.

CODE
chown -R root:wheel CMI8738AudioDriver.kext
kextload CMI8738AudioDriver.kext

*


Hey, I used the root account , I copied "CMI8738AudioDriver.kext" to /System/Library/Extensions

and then, I do "chown -R root:wheel CMI8738AudioDriver.kext", it returns nothing, then I do "kextload CMI8738AudioDriver.kext", it gives me an error, like the following:
"kextload: extension /System/Library/Extensions/CMI8738AudioDriver.kext is not authentic (check ownership and permissions)"

Why I still donot have the permission? Could you help me? Thanks
dogbert
QUOTE (understar @ Sep 2 2005, 01:08 PM)
Hey, I used the root account , I copied "CMI8738AudioDriver.kext" to /System/Library/Extensions

and then, I do "chown -R root:wheel CMI8738AudioDriver.kext", it returns nothing, then I do "kextload CMI8738AudioDriver.kext", it gives me an error, like the following:
"kextload: extension /System/Library/Extensions/CMI8738AudioDriver.kext is not authentic (check ownership and permissions)"

Why I still donot have the permission? Could you help me? Thanks
*


try
CODE
find CMI8738AudioDriver.kext -type d -exec /bin/chmod 0755 {} \;
find CMI8738AudioDriver.kext -type f -exec /bin/chmod 0644 {} \;
understar
Thanks, now it works very well, Haha!
biggrin.gif
dogbert
QUOTE (understar @ Sep 2 2005, 01:50 PM)
Thanks, now it works very well, Haha!
biggrin.gif
*


new version: http://members.tripod.de/candyass/CMI8738P...er-0.6.1.tar.gz - mute and volume changing works now

installation: Open a terminal, cd to the download directory, tar xzvf CMI8738PCIAudioDriver-0.6.1.tar.gz, ./install.sh, enter your root password and you're done.

source code: http://members.tripod.de/candyass/CMI8738P....6.1-src.tar.gz
AceBR
QUOTE (dogbert @ Sep 2 2005, 10:46 AM)
new version: http://members.tripod.de/candyass/CMI8738P...er-0.6.1.tar.gz - mute and volume changing works now

installation: Open a terminal, cd to the download directory, tar xzvf CMI8738PCIAudioDriver-0.6.1.tar.gz, ./install.sh, enter your root password and you're done.

source code: http://members.tripod.de/candyass/CMI8738P....6.1-src.tar.gz
*



Odd situation here: If I load the kext, usb, ethernet and everything stops working. But sound does. I unloaded it and all went back. When rebooting after the script instalation, it shows up a lot of quick load stuff, its unreadable.

Asus p4b533 (i845) CMI 8738

What is the problem with this kext and the rest of the system?
marcostg85
can someone tell me if my sound card works with this kext...

The thing is i loaded the kext... it show like there's a card detected, but it doesn't make sound... i tried:
-The MIDI Audio Setup
-Change the speakers to the mic input...
-I don't have front output for audio

I have tried the info about AppleAC97Driver...

i put 0x70121039 in the Info.plist... but i don't have sound... sad.gif

Thanks if anybody can help...
----------------

From C-Media 3D Audio Configuration:

Audio Codec: CMI9739A
Audio Controller: SIS 7012 Series Audio Controller

---------------
From DirectX:

Description: C-Media Wave Device
Default Sound Playback: Yes
Default Voice Playback: Yes
Hardware ID: PCI\VEN_1039&DEV_7012&SUBSYS_A00A1019&REV_A0
Manufacturer ID: 1
Product ID: 100
Type: WDM
Driver Name: cmuda.sys
Driver Version: 5.12.0001.0039 (English)
Driver Attributes: Final Debug
WHQL Logo'd: Yes
Date and Size: 11/6/2003 02:59:58, 755392 bytes
Other Files:
Driver Provider: C-Media Inc.
HW Accel Level: Full
Cap Flags: 0xF5F
Min/Max Sample Rate: 100, 100000
Static/Strm HW Mix Bufs: 17, 16
Static/Strm HW 3D Bufs: 17, 16
HW Memory: 0
Voice Management: No
EAX™ 2.0 Listen/Src: Yes, Yes
I3DL2™ Listen/Src: Yes, Yes
Sensaura™ ZoomFX™: Yes
Registry: OK
Sound Test Result: Not run
dogbert
QUOTE (AceBR @ Sep 3 2005, 02:06 AM)
Odd situation here: If I load the kext, usb, ethernet and everything stops working. But sound does. I unloaded it and all went back. When rebooting after the script instalation, it shows up a lot of quick load stuff, its unreadable.

Asus p4b533 (i845) CMI 8738

What is the problem with this kext and the rest of the system?
*


could you check on what interrupts usb/ethernet/etc r? it could be a problem with the interrupt handler.
dogbert
QUOTE (marcostg85 @ Sep 3 2005, 07:53 AM)
can someone tell me if my sound card works with this kext...


no, it doesn't work.
Hydrasworld
QUOTE (dogbert @ Sep 3 2005, 08:17 AM)
could you check on what interrupts usb/ethernet/etc r? it could be a problem with the interrupt handler.
*


i have a similar problem, when the CMI8738 driver is loaded my NIC stops working (ifconfig en0 shows it's still there though)

i noticed this issue after i the first reboot so i moved the kext to a different folder so it's not loaded on startup and sure enough the nic worked again

i manually loaded the kext from a different folder while doing a ping to my router and the sound started working again and the ping kept working too
i'm going to try adding a manual kext load in my etc/rc file but right now i'm listening to some jazz radio station via itunes so it's all currently working!

would like to know if there's a proper fix though, like where did the CMI8738 kext come from? the darwin cd? if so which version?

how do you check interrupts etc in darwin/osx?
dogbert
QUOTE (Hydrasworld @ Sep 3 2005, 06:13 PM)
would like to know if there's a proper fix though, like where did the CMI8738 kext come from?  the darwin cd? if so which version?
*


I wrote the extension from the scratch. I'd fix it, but first I need to be able to reconstruct the error. my best guess is the interrupt handler.

what boot parameters do you use? is the interrupt of the cmi8738 used by other devices, e.g. your network card?

ioreg -l lists IRQs iirc.
Hydrasworld
QUOTE (dogbert @ Sep 3 2005, 04:37 PM)
I wrote the extension from the scratch. I'd fix it, but first I need to be able to reconstruct the error. my best guess is the interrupt handler.

what boot parameters do you use? is the interrupt of the cmi8738 used by other devices, e.g. your network card?

ioreg -l lists IRQs iirc.
*


here's a link to an ioreg -l dump:

http://www.hydras-world.com/files/osx/ioreg.txt

that's *without* the kext loaded, i'll do another one with it loaded in a moment
Hydrasworld
I recreated the files using "ioreg -l -w 0" the -w 0 makes ioreg not limit the lines to a specific length.

Without CMI kext loaded

http://www.hydras-world.com/files/osx/ioreg.txt

With CMI kext manually loaded

http://www.hydras-world.com/files/osx/ioreg-with.txt

Note, sometimes my nic works until i reboot, sometimes it stops working after a short duration.

Note2: i'm unable to move the cmi card into a different pci slot (i'm using a small form factor pc with only ONE pci slot)
dogbert
ok, try this version:
http://members.tripod.de/candyass/CMI8738P...er-0.6.3.tar.gz
Hydrasworld
QUOTE (dogbert @ Sep 3 2005, 05:51 PM)


downloading now, thanks for thw quick work, what's different?
dogbert
QUOTE (Hydrasworld @ Sep 3 2005, 07:59 PM)
downloading now, thanks for thw quick work, what's different?
*


I've fixed the interrupt handler so that it won't block other drivers in the IOWorkLoop.
Hydrasworld
installed 0.6.3, same problem sad.gif

need any more info, if so give me somme commands to run smile.gif
Hydrasworld
i've got xcode installed btw, now sure how you go about debugging drivers and i'm very new to osx/darwin but i do code on XP in c/c++ and c# so if you want me to try anything let me know
Hydrasworld
dogbert contacted me via irc (hi dogbert!) and he quickly hacked together a couple of test versions for me and the second one of them worked great! nic + sound even after a cold boot.

mad props (as they say) to dogbert biggrin.gif biggrin.gif biggrin.gif biggrin.gif

i'm sure he'll post a url below when he's uploaded it somewhere for you kidz
dogbert
with the help of hydrasworld, I was able to find and eliminate the bug. thanks again, pal!

drivers: http://members.tripod.de/candyass/CMI8738P...er-0.6.4.tar.gz
source: http://members.tripod.de/candyass/CMI8738P....6.4-src.tar.gz
Hydrasworld
QUOTE (dogbert @ Sep 3 2005, 07:49 PM)
with the help of hydrasworld, I was able to find and eliminate the bug. thanks again, pal!


no problem and thanks for the fast turnaround on this, there's a great many motherboards out there with the CMI8738 chip on so I'm sure lots of other people will be thanking you too!

now all we need is that 1.0.0 you've been talking about!
nespric
QUOTE (dogbert @ Sep 3 2005, 07:49 PM)
with the help of hydrasworld, I was able to find and eliminate the bug. thanks again, pal!

drivers: http://members.tripod.de/candyass/CMI8738P...er-0.6.4.tar.gz
source: http://members.tripod.de/candyass/CMI8738P....6.4-src.tar.gz
*


Can not download CMI driver sad.gif

I'd like to mirror both drivers and source for you at kmric.com

would you send me a copy?

my email : kmnesp@163.com/nespric@gmail.com
AceBR
QUOTE (nespric @ Sep 5 2005, 08:06 AM)
Can not download CMI driver sad.gif

I'd like to mirror both drivers and source for you at kmric.com

would you send me a copy?

my email : kmnesp@163.com/nespric@gmail.com
*


Sorry I'm late! I'll try the new version now and see if the problem with hydrasworld was the same as mine. Post back in a few...
AceBR
QUOTE (AceBR @ Sep 5 2005, 08:58 PM)
Sorry I'm late! I'll try the new version now and see if the problem with hydrasworld was the same as mine. Post back in a few...
*


Posting from Mac OS X with sound loaded, which means it totally solved the problem! Thx for the great job man!
Hydrasworld
QUOTE (AceBR @ Sep 6 2005, 12:38 AM)
Posting from Mac OS X with sound loaded, which means it totally solved the problem! Thx for the great job man!
*


yeah, props to dogbert for fixing that!
Pitr-
QUOTE (marcostg85 @ Sep 3 2005, 07:53 AM)
can someone tell me if my sound card works with this kext...

The thing is i loaded the kext... it show like there's a card detected, but it doesn't make sound... i tried:
-The MIDI Audio Setup
-Change the speakers to the mic input...
-I don't have front output for audio

I have tried the info about AppleAC97Driver...

i put 0x70121039 in the Info.plist... but i don't have sound...  sad.gif

Thanks if anybody can help...
----------------

From C-Media 3D Audio Configuration:

Audio Codec: CMI9739A
Audio Controller: SIS 7012 Series Audio Controller


You're not alone. I also have problem getting any sound of my cmi9739a-chip. The chip is detected succesfully and the appleac97driver-module loads without problems but there is no sound playback sad.gif
bebox
version 0.6.3 work fine with my lowcost Asound Express III pci sound card (CMi-8738)

really thanks great job smile.gif
Hydrasworld
QUOTE (bebox @ Sep 6 2005, 11:10 AM)
version 0.6.3 work fine with my lowcost Asound Express III pci sound card (CMi-8738)

really thanks great job smile.gif
*


you should definately use 0.6.4 as 0.6.3 has a bug which may cause other pci devices to not function correctly.
bebox
v 0.6.4 works well too thank you
Silvos
I would like to thank dogbert for the work done on the CMi-8738 driver.
I now have sound!! Awesome Thanks! smile.gif
fwt11
QUOTE (dogbert @ Sep 2 2005, 09:46 PM) *
new version: http://members.tripod.de/candyass/CMI8738P...er-0.6.1.tar.gz - mute and volume changing works now

installation: Open a terminal, cd to the download directory, tar xzvf CMI8738PCIAudioDriver-0.6.1.tar.gz, ./install.sh, enter your root password and you're done.

source code: http://members.tripod.de/candyass/CMI8738P....6.1-src.tar.gz



Sir,i can't download the driver. And i googled it , but didn't find it in some where else. so can you send it to me .

my email address is wutong.feng@gmail.com


thanks.
dogbert
QUOTE (fwt11 @ Sep 24 2005, 04:07 PM) *
Sir,i can't download the driver. And i googled it , but didn't find it in some where else. so can you send it to me .

my email address is wutong.feng@gmail.com
thanks.


backup servers:
drivers: http://home.pages.at/fakehttp/CMI8738PCIAu...er-0.6.4.tar.gz
source: http://home.pages.at/fakehttp/CMI8738PCIAu....6.4-src.tar.gz

MD5 (CMI8738PCIAudioDriver-0.6.4.tar.gz) = a304afa0e703a8e9c89fa46e10ac4f78
MD5 (CMI8738PCIAudioDriver-0.6.4-src.tar.gz) = 918d99c7073df89b3183eac406173a01
fwt11
QUOTE (dogbert @ Sep 29 2005, 10:12 PM) *
backup servers:
drivers: http://home.pages.at/fakehttp/CMI8738PCIAu...er-0.6.4.tar.gz
source: http://home.pages.at/fakehttp/CMI8738PCIAu....6.4-src.tar.gz

MD5 (CMI8738PCIAudioDriver-0.6.4.tar.gz) = a304afa0e703a8e9c89fa46e10ac4f78
MD5 (CMI8738PCIAudioDriver-0.6.4-src.tar.gz) = 918d99c7073df89b3183eac406173a01



thanks
Sky Bot
Works like a charm, now time to work on the kworld tv card (bttv driver), I love macs but can't afford them!
munky
anyone know if these work on 10.4.3? might be worth a swift recompile.

EDIT: 10.4.3 compiled version is here: http://www.win2osx.net/forum/showthread.php?t=1729 smile.gif
WaxTrax!
I posted this over on win2osx as well, but maybe I'll get a response here.

Using a PCI card version of the CMI 8738 on 8F1111a(g), I went to install the last compiled 0.6.4 version of dogbert's driver, compiled for 10.4.3, and it didn't work. I opened up the project in Xcode and without changing anything, built the driver for my system, and it seemed to work.

The sound card did work, until the system would randomly crash. For example, I used GarageBand for about 10 minutes with no problems, but a random sound like emptying the recycle bin, would make the computer crash. And if I tried to use iTunes, it'd crash the system after about 30 seconds of playback.

Here's my portion of the thread over at win2osx: Page 6
Nanau
YAHOO!!! I finally got sound!!!

Thank you guys for the excelent work.

Just one question. The microphone isn't working. What I did wrong?
Hagar
AFAIK no-one ever got round to writing the input portion of this driver, so no microphone.. not your fault.
salaku
Hello,
I get the following error when I try to install the driver. I used the install script didn;t work, then I tried the manual process. But neither worked for me.

#kextload -t /System/Library/Extensions/CMI8738PCIAudioDriver.kext
kextload: extension /System/Library/Extensions/CMI8738PCIAudioDriver.kext appears to be valid
22com_CMI8738AudioEngine is not compatible with its superclass, 13IOAudioEngine superclass changed?
kextload: a link/load error occured for kernel extension /System/Library/Extensions/CMI8738PCIAudioDriver.kext
load failed for extension /System/Library/Extensions/CMI8738PCIAudioDriver.kext
(run kextload with -t for diagnostic output)


Can someone help me to load the audio driver?

Thanks.
thewaker
I also get the same error.
wmarsh
QUOTE (salaku @ Jan 22 2006, 01:22 PM) *
Hello,
I get the following error when I try to install the driver. I used the install script didn;t work, then I tried the manual process. But neither worked for me.

#kextload -t /System/Library/Extensions/CMI8738PCIAudioDriver.kext
kextload: extension /System/Library/Extensions/CMI8738PCIAudioDriver.kext appears to be valid
22com_CMI8738AudioEngine is not compatible with its superclass, 13IOAudioEngine superclass changed?
kextload: a link/load error occured for kernel extension /System/Library/Extensions/CMI8738PCIAudioDriver.kext
load failed for extension /System/Library/Extensions/CMI8738PCIAudioDriver.kext
(run kextload with -t for diagnostic output)
Can someone help me to load the audio driver?

Thanks.


I replaced my soundcard with this one to get sound with OS X. As I recall, I got the same message at first. Dogbert's driver was compiled for 10.4.1. Depending on which 10.4.3 build you have, the kext would be different.

Simplest solution is to download the source code (its posted) then compile it yourself. The XCode tools to recompile it are on the DVD.

Attached find my kext compiled for 10.4.3 1111g. It works on my system.
thewaker
Grabbed your compiled kext for 10.4.3, dropped it on my system and presto, it works fantastically now.

I have an onboard AC'97 with one channel working, and it's great to have 2 channels working on the C-Media PCI card that I literally had kicking around.

Thanks a bunch

-TheWaker
kdraggy
Is there compiled CMedia driver for 10.4.4 or 10.4.5 available?
wmarsh
QUOTE (kdraggy @ Mar 6 2006, 07:38 AM) *
Is there compiled CMedia driver for 10.4.4 or 10.4.5 available?


The 10.4.3 kext works in 10.4.4 and 10.4.5. It doesn't need recompile.
The link is in the wiki, on the HCL list.

Its also attached to my old post a couple of entries above.
kdraggy
Many thanks! biggrin.gif
Guess time to move to 10.4.5
Svigi
Anyone can help me?
It would be nice if I got sound in Mac OSX 10.4.4. I found your forums with google. smile.gif
I downloaded dogbert's driver (0.6.1, 0.6.3, 0.6.4, typed in sudo -s then ./install.sh and it doesn't work!
CODE
Installing CMI8738 kernel extension...
22com_CMI8738AudioEngine is not compatible with its superclass, 13IOAudioEngine superclass changed?
kextload: a link/load error occured for kernel extension /System/Library/Extensions/CMI8738PCIAudioDriver.kext
load failed for extension /System/Library/Extensions/CMI8738PCIAudioDriver.kext
(run kextload with -t for diagnostic output)

Should I edit the Info.plist? My Vendor ID is 1039 in hex, and my Device ID is 7012 in hex.
I have an Abit-SA7 motherboard with SiS 645DX chipset and my manual says that it has C-Media 9738 Audio Codec. I don't really know it the 8738 and the 9738 are compatible with each other...
Anyway, shall I reboot, and try again, or safe mode?
GreyWolf
QUOTE (Svigi @ Apr 19 2006, 03:10 AM) *
Anyone can help me?
It would be nice if I got sound in Mac OSX 10.4.4. I found your forums with google. smile.gif
I downloaded dogbert's driver (0.6.1, 0.6.3, 0.6.4, typed in sudo -s then ./install.sh and it doesn't work!
CODE
Installing CMI8738 kernel extension...
22com_CMI8738AudioEngine is not compatible with its superclass, 13IOAudioEngine superclass changed?
kextload: a link/load error occured for kernel extension /System/Library/Extensions/CMI8738PCIAudioDriver.kext
load failed for extension /System/Library/Extensions/CMI8738PCIAudioDriver.kext
(run kextload with -t for diagnostic output)

Should I edit the Info.plist? My Vendor ID is 1039 in hex, and my Device ID is 7012 in hex.
I have an Abit-SA7 motherboard with SiS 645DX chipset and my manual says that it has C-Media 9738 Audio Codec. I don't really know it the 8738 and the 9738 are compatible with each other...
Anyway, shall I reboot, and try again, or safe mode?


The driver wouldn't load on my 10.4.6. I recompiled it under .6 Try this...Click to view attachment
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.