Help - Search - Members - Calendar
Full Version: Release for Toshiba Satellite P10x users: modded BIOS to try and activate Conexant sound chip
InsanelyMac Forum > OSx86 Project > Hardware and Drivers > Sound
Pages: 1, 2, 3, 4, 5, 6, 7
jazzminos
Hi, Mentorek.

I get VERY sad about my sound...
Can You tell more about AppleRTC.kext and AppleIntelCPUPowerManagement.kext. If it is possible to update Leo safely it is fine.

Thanks.

With great respect, jazzminos.
mentorek
QUOTE (jazzminos @ Nov 10 2008, 12:34 PM) *
Hi, Mentorek.

I get VERY sad about my sound...
Can You tell more about AppleRTC.kext and AppleIntelCPUPowerManagement.kext. If it is possible to update Leo safely it is fine.

Thanks.

With great respect, jazzminos.


Hi Jazzminos,

The sound is not working for me. I have some ideas but I'm out of time to check them.

The updates should be safe now. Both of those kexts are loaded and system is working without problems. Only drawback is that the CPU tends to get hotter than without AppleIntelCPUPowerManagement.kext

Cheers,
mentorek
jazzminos
Do You have any ideas how memory banks affect sound? Why 2x512 work and 2x2Gb does not? Frequency and vendor are the same. What should be corrected?

I didn't understand what You had changed to make AppleRTC.kext and AppleIntelCPUPowerManagement.kext work. It would be very nice for me to make updates safe... Share a secret please smile.gif

With great respect, jazzminos.

p.s. I wish we had BugsB among us. I suppose that he could help solving problem.
mentorek
QUOTE (jazzminos @ Nov 10 2008, 05:51 PM) *
Do You have any ideas how memory banks affect sound? Why 2x512 work and 2x2Gb does not? Frequency and vendor are the same. What should be corrected?

I didn't understand what You had changed to make AppleRTC.kext and AppleIntelCPUPowerManagement.kext work. It would be very nice for me to make updates safe... Share a secret please smile.gif

With great respect, jazzminos.

p.s. I wish we had BugsB among us. I suppose that he could help solving problem.


As for memory upgrade: I have no idea. Maybe it's related to the amount of memory 945GM + T2x00 processor can allocate?

I've changed DSDT source and had compiled it back. Of course I had to install patched Chameleon. As for now the only way to use it is to download Chameleon installer, installing it, downloading the zip file from the thread about Chameleon w/ DSDT override and dd'ing boot1h file to the first sector of your OSX partition (this last step is only needed to boot OSX using journaled, case-sensitive UFS+ file system).
After all steps had finished you would have to put your compiled DSDT.aml file on '/' and reboot OSX.

Tonight, I'll have a look at my old DSDT files from Linux maybe I'm missing some parts in the new one that came with my mobo.

Cheers,
mentorek
mentorek
QUOTE (mentorek @ Nov 11 2008, 08:15 AM) *
As for memory upgrade: I have no idea. Maybe it's related to the amount of memory 945GM + T2x00 processor can allocate?

I've changed DSDT source and had compiled it back. Of course I had to install patched Chameleon. As for now the only way to use it is to download Chameleon installer, installing it, downloading the zip file from the thread about Chameleon w/ DSDT override and dd'ing boot1h file to the first sector of your OSX partition (this last step is only needed to boot OSX using journaled, case-sensitive UFS+ file system).
After all steps had finished you would have to put your compiled DSDT.aml file on '/' and reboot OSX.

Tonight, I'll have a look at my old DSDT files from Linux maybe I'm missing some parts in the new one that came with my mobo.

Cheers,
mentorek


This seems not to work for sound issues in my case. Could you please tell me which BIOS version are you guys using to get at least sound-out?

Cheers,
mentorek
jazzminos
My sound worked fine with 4.00 BIOS - http://www.mediafire.com/?lez2904py40 . But with 512 memory banks ONLY.
jazzminos
Hi, mentorek. What do You think about this topic - http://forum.insanelymac.com/index.php?showtopic=136531 ? Maybe there is a way to solve problem via AppleHDA? I got a Linux dump for our Conexant chip... AppleHDA Patcher does something but still no sound.
mentorek
QUOTE (jazzminos @ Dec 4 2008, 06:16 AM) *
Hi, mentorek. What do You think about this topic - http://forum.insanelymac.com/index.php?showtopic=136531 ? Maybe there is a way to solve problem via AppleHDA? I got a Linux dump for our Conexant chip... AppleHDA Patcher does something but still no sound.


I'm getting closer with Chameleon+DSDT Override + AppleHDA + HDAEnabler. Only problem I have is that I cannot do the Pin Configuration properly. I'll post my findings in an hour or two.

cheers,
mentorek

Edit:
Using method from below and some changes in AppleHDA binary and plists I've achieved this:


It is also showing up with plenty of details in IORegistryExplorer. (I'll provide a screenshot later).

The problem is that I don't know how to set up NodeID's in plists of AppleHDA.kext and also if that would work at all...

Still this is much of a progress. Hopefully I'll find a way to set it up correctly.
jazzminos
Thanks for Your efforts, mentorek... I'm sorry that I can't help You otherwise being a tester... I don't know much about programming smile.gif Waiting for Your reply... Maybe it will be useful to make a new thread and to attach it in the top list of sound drivers forum... I can ask a moderator if we can do this.
jazzminos
Here's some information http://www.linuxquestions.org/questions/su...tml#post3365166
jazzminos
LuisC-SM from LinuxQuestions answered this:
***********************************************
Hi Minos.

Unfortunately I've had no contact with MAcOSX and it's been more than 20 years since I don't use a pure UNIX system.

However, let me tell you one thing, it does not matter the *nix system you are on. If you have hacked the BIOS or your DSDT tables, then you have to tell your kernel you have made those changes, The only way to do this is by recompiling your DSDT against your new memory/kernel. in other words, what I mean, just doing it over again will fix the issue.

I use openSuse, and i hade the same issue wich was solved by the way i explained.

Sincerely

Luis
**********************************************************************
mentorek
After experimenting with a newer version of AppleHDA.kext for couple of hours I've ended up with Sound assertion messages during the boot.
But... I've got some more extra node in IORegistryExplorer. Getting closer?
jazzminos
Good news smile.gif
geiman
So how did you patch your DSDT? I have tried to dump it manually, which hasn't worked, and I have also tried the DSDT patcher floating around here on the forums. The patcher ends with an error, and will not compile unless I force it to, which results in a dsdt file that does not work properly. Just curious if you had to do anything special, it's really been frustrating me.
mentorek
QUOTE (geiman @ Dec 13 2008, 03:34 AM) *
So how did you patch your DSDT? I have tried to dump it manually, which hasn't worked, and I have also tried the DSDT patcher floating around here on the forums. The patcher ends with an error, and will not compile unless I force it to, which results in a dsdt file that does not work properly. Just curious if you had to do anything special, it's really been frustrating me.


I've used DSDT patcher and had edited .dsl file myself. You'd have to comment out all the lines that give you problems or you can move them outside of the loops. Compile the dsl et voila.
geiman
Hey mentorek,

Sorry to bug you again, just a quick question. What did you end up doing with the areas of code that give errors, like

./dsdt_fixed.txt 2227: Name (T0_3, 0x00)
Error 4111 - Creating a named object in a While loop ^

I thought about just commenting out the entire while loop, but didn't know if it was needed or not. I saw you posted about it in the dsdt patcher forum, but couldn't find any response.

Thanks,

EDIT: Nevermind, I just commented out all of those loops, and the dsdt compiled without any errors or warnings. Then I was able to install 10.5.6 without any errors or kernel panics, so I am assuming it is working!

So, now where/what were you editing to change the pin configuration to try and enable sound? Maybe with both of us working on it we can get this figured out.

EDIT #2: Disregard this entire post, I now have sound working on a 10.5.6 install using a fixed DSDT. See below...
jazzminos
Hi, mentorek. I'm downloading iATKOS 5i 10.5.5 now. It contains EFI v9 and Chameleon. EFI v9 supports DSDT override. How should I install? What recomendations can You give? Thanks.
geiman
Hey all, I HAVE SOUND!!!!!!!!

Here's a short synopsis of what I did to finally get it to work.

First, I used the DSDT patcher here on the forums to get a "fixed" dsdt file. However, this file was not completey fixed, as the dsdt of our laptops must be extremely buggy to the point that the patcher doesn't get everything. I simply followed the error output of the compiler, and commented out the loops and lines of code that gave errors. This compiled fine, and allowed me to update to 10.5.6, however I still had no sound. So, I followed this guide:

http://ubuntuforums.org/showthread.php?t=473996

But I only actually used a few parts of the guide; under number 5 I did part IV, the part about commenting out the code near the keyword "Linux" and adding a small line of code: "Store (0x07D6, OSYS) //Fake Windows 2006" of course without the quotes.
This then compiled fine without any errors or warnings, and after placing this fixed dsdt in my root directory and rebooting, I then had Sound!

I've attached my dsdt file that I patched so that you can see what changes I made, if you need more info, or more detail just let me know. I'm not sure if this will work for all of you, but you never know.

By the way, I've got a Toshiba P105-S6064 Laptop, in case your laptop is close enough to mine that my file might work for you.
BugsB
ihw_wow.gif hbd.gif

awesome geiman, big congrats from me jerry.gif !!

mentorek & jazzminos, go4it superman.gif smile.gif !!!

(geiman's success would deserve even more graphics, but there is a forum limit .. biggrin.gif )

Aloha from Kauai,
BugsB

PS: as a little pre-Xmas gift, check this out: Willie K - O Holy Night (the guy is said to have the most beautiful voice on Hawaii right now, and I totally agree)
geiman
Wow, it's good to see you back BugsB, and thanks. And if anyone else needs more detailed info, just let me know either here or pm me.
jazzminos
Hi friends!!! There's A NEW HOPE!!! But I need help... I don't have enough knowledge to do it by myself. Can anyone help me to solve this problem? Just tell me what should I do first and then. Please! I need sound badly!!!
geiman
I am assuming you are talking about is that you want to do what I have done in order to get my sound to work, is that correct? Well, if you are, a good place to start is to grab the newest DSDT patcher from here:

http://forum.insanelymac.com/index.php?showtopic=133683

Run this patcher, and see if it gives you a compiled DSDT; if it gives you errors, copy the error output in the terminal and paste it in a post here and I'll look at it to see if it is the same that I had. If so, I can show you what to fix and we'll go from there.
jazzminos
Thanks for help! Here is my errors log. See attachment.

I'm using 4.30 modded BIOS from P100-253. Maybe it will be useful to flash original latest 4.40 to get bluetooth working?
geiman
Your's looks pretty good, all you have to do is comment out each part of code that contains the error pointed out in the console. I searched for the line where the error was, and commented out the entire method that contained the error. If you have any programming experience it would be helpful. I then used the part of the guide I pointed out in my earlier post to comment out the part for linux and add the line of code for the fake windows 2006 area, and it compiled.

It is hard to explain, if you would like, post the "dsdt_fixed.txt" file that was created in the debug folder by the patcher, and I will fix it for you. That might be easier. Anyone else who would like their "dsdt_fixed.txt" files fixed can post the error output from the console that was printed by the patcher and their "dsdt_fixed.txt" file and I would be glad to try and fix it for you.

Sorry for the long wait, I was out of town today.

EDIT: Just as a side note, if you want scrolling back on your touchpad, I can confirm that the two-finger scrolling tutorial located here:
http://forum.insanelymac.com/index.php?showtopic=88811
works great for me, after a little tweaking the scrolling works great. I think everything on my laptop is working now except of course for the intel 3945 card; after I take a few embedded classes at school hopefully I'll be able to write my own driver for it. At least I hope so.
jazzminos
Hi. Unfortunately I don't have programming experience at all... And in this case Your help is extremely valuable smile.gif

Here is the file.

One more question. I guess that I need to reinstall MacOS with Chameleon to get DSDT override working. I just downloaded iATKOS 10.5.5. Is the process of installing with Chameleon bootloader different form installing with EFI. New iATKOS also contains EFI v9 that allows DSDT override too. What variant is preferable? What do You think about it?
geiman
I use the iAtkos 5i disc, it installs the EFI v9 boot loader so that the dsdt override is simple. I would go that way if I were you.
geiman
Ok, so here is your dsdt. A few notes.

First of all, take the necessary precautions before doing anything to your system. I am not responsible for what may happen.

Secondly, the guide I posted above that gave me working sound seemed to already been done to your dsdt. Do you already have sound? If you don't maybe this will work for you, either way, the part I edited to give me sound was already done on your dsdt.

In order to use this, you need to do the following:

Replace the "dsdt_fixed.txt" file the patcher created with the one I posted. Then, you need to run the patcher to compile the dsdt. In order to do that, change directories in your terminal to the Tools folder in the patcher. You can do this by typing "cd <folder to move to>" so for instance if the patcher directory was on my desktop in a folder named patcher, I would type "cd /Users/Matt/Desktop/Patcher".

After you move to the tools folder in the patcher's directory, use this command to compile your dsdt.

./iasl -ta <path to the dsdt_fixed.txt file>

Where the <path to the dsdt_fixed.txt file> is, you need to type the path to the file I posted here. To make this easy, type the first part of the command, and then put a space after the "-ta", and drag the dsdt_fixed.txt file to the terminal. It will automatically copy the path into the terminal.

Then hit enter, and it should compile. If it compiles without any errors you should be good to go. Just place it in your root directory and reboot. If it still has errors, post them here and we'll try again.

Another side note: If the dsdt file somehow prevents you from booting, you can always get rid of the dsdt file by booting with the -s flag, and then removing the file that way.

Hope you understand this, some basic knowledge of the terminal would be helpful.
skallywag
Has anyone gotten the mic input to work yet?
mentorek
QUOTE (skallywag @ Dec 21 2008, 11:49 AM) *
Has anyone gotten the mic input to work yet?


Nope, I'm trying to get this {censored} to work but I'm on vacation so no go till beginning of 2009.
Sorry...
geiman
No I haven't either, but I figured it's just a matter of getting the right apple hda patch. I tried taruga's patcher with a codec I found online, but it broke my sound, so I rolled back. I may end up getting my own linux dump and trying that. I'll keep you updated.
BugsB
mic input generally does not work with azalia because apple did not include code for it in azalia. However, applehda includes the code for mic input. That's one of the reasons apple discontinued azalia back in 10.4.3 (or even 10.4.1? don't remember). To get mic input to work you need to totally switch from azalia to applehda (Taruga & Co).
jazzminos
Hi friends. Here's my result of compiling sad.gif What do you think about it? My 2Gb memory banks problem shows itself... I think so.
mentorek
QUOTE (geiman @ Dec 21 2008, 07:52 PM) *
No I haven't either, but I figured it's just a matter of getting the right apple hda patch. I tried taruga's patcher with a codec I found online, but it broke my sound, so I rolled back. I may end up getting my own linux dump and trying that. I'll keep you updated.


As a matter of fact none of Taruga's patchers work with Conexant chipsets. You could try patching it yourself.
I've seen one guy that managed to get Conexant Venice(?) to work with AppleHDA.kext so it should be possible also for our.

QUOTE (jazzminos @ Dec 22 2008, 10:41 AM) *
Hi friends. Here's my result of compiling sad.gif What do you think about it? My 2Gb memory banks problem shows itself... I think so.


As for objects created in the loop you can remove the Name (T_0, Zero) lines from the code. You can also move it outside the loop (I think it's While loop).
The other I don't know. Probably you're missing one of the declarations somewhere in the code. Try again with a pure dump of dsdt and check if you will get the same error.
jazzminos
And I somewhat surprised that the installation of 10.5.5 give different result from 10.5.4. I got some troubles with ACPI.
Can you tell me what parameters should I use to get good results.

I used EFI v9 + Voodoo kernel + SMBIOS Air Enabler + ACPI x86 + Disabler

ONLY in this config I got my keyboard working. But shut down is not normal and my About This Mac is corrupt.


Hi mentorek. Thanks for reply.

QUOTE
The other I don't know. Probably you're missing one of the declarations somewhere in the code. Try again with a pure dump of dsdt and check if you will get the same error.


Please, write in steps what should I do... Maybe I did some mistakes. I don't have enough practice smile.gif Should I get an .aml file?
mentorek
QUOTE (jazzminos @ Dec 22 2008, 11:04 AM) *
Hi mentorek. Thanks for reply.



Please, write in steps what should I do... Maybe I did some mistakes. I don't have enough practice smile.gif Should I get an .aml file?


Put your .dsl file here. I'll prepare as much as I'll be able to.
The one after running DSDTPatcher
jazzminos
Here it is.
mentorek
QUOTE (jazzminos @ Dec 22 2008, 11:14 AM) *
Here it is.


Check this file out.
Good luck smile.gif
jazzminos
How to compile .aml from .dsl?

When I'm trying to open .dsl with Patcher it reports errors.

What I did:
renamed dsdt.dsl.txt to dsdt.dsl
Opened Terminal
Entered a path for Patcher and a path for dsdt.dsl after it

Terminal reports - There were errors pacthing the RTC

Should there be other files or I need ONLY .dsl file?

When using patcher what emulation should I use - WinXP?
Memorial
Has anyone been able to use DSDT or BIOS Mods to get AppleAzaliaAudio.kext (oe AppleHDA.kext by some magic) to output to both speakers and headphones on the Conexant Venice (5045, CX20549)
geiman
QUOTE (mentorek @ Dec 22 2008, 04:46 AM) *
As a matter of fact none of Taruga's patchers work with Conexant chipsets. You could try patching it yourself.
I've seen one guy that managed to get Conexant Venice(?) to work with AppleHDA.kext so it should be possible also for our.


Yeah I pretty much figured that out. I started getting info on how to manually patch it, but the tutorials get the pin configuration from windows vista, and I really do not feel like re-installing anything again, I've just re-installed my laptops a few times in the past month, and I just successfully got my nforce desktop updated to 10.5.6, no easy task. I need a break from that for a while. But, if there is a way to get the pin configuration without booting into vista, please enlighten me.
jazzminos
Hi, friends. I tried to start from the beginning. I flashed ORIGINAL latest 4.40. And got broken graphics... I reinstalled iATKOS 5i. After reinstall graphics remain broken - the screen is blinking all the time, especially when the HDD is reading/writing. This is VERY strange, because I installed 10.5.4 with this BIOS and graphics worked fine. Graphics works fine during MacOS installation. In windows everything stays the same. Now I can't do this again. Is it possible that graphics got broken after using modded BIOSes from other P100-105 models?
mentorek
QUOTE (jazzminos @ Dec 22 2008, 03:21 PM) *
Hi, friends. I tried to start from the beginning. I flashed ORIGINAL latest 4.40. And got broken graphics... I reinstalled iATKOS 5i. After reinstall graphics remain broken - the screen is blinking all the time, especially when the HDD is reading/writing. This is VERY strange, because I installed 10.5.4 with this BIOS and graphics worked fine. Graphics works fine during MacOS installation. In windows everything stays the same. Now I can't do this again. Is it possible that graphics got broken after using modded BIOSes from other P100-105 models?


Versions 4.20+ are known as buggy ones. Try to go back to the one you used before. It should "repair" graphic.
DSDT compilation is failing because you have to use patched version (using DSDTPatcher) and then apply my changes.
geiman
The only problem I've had with graphics is probably related to the dsdt. Before, if I had both cores enabled, the graphics would stutter and become unusable. Booting with cpus=1 let me work long enough to get the problem fixed.

@jazzminos,

did the dsdt I patched for you compile or not? It should have compiled without error, unless I missed a line.
jazzminos
I rolled back to 3.80 ORIGINAL BIOS (thanks to my friend's sister did not updated at all smile.gif ), but the graphics is still broken. I flashed P105-S6024 BIOS 4.00 modded BIOS and discovered that my graphics works as usual - works fine. When I flash BIOS (any), phoenix flash program flashes blocks 1-16, and blocks 17-21 seem to be unmodified.

to geiman
I did all the steps You told me... But it didn't compiled because of the errors.

to mentorek
It seems that I should start from the beginning. Please write step by step guide... I have dsdt_fixed.txt from patcher. I have FIXED dsdt_fixed.txt by geiman. I have Your corrected dsdt.dsl. What should I do with this? This is a problem for me.

With great respect, jazzminos.
jazzminos
It seems that P105-S6024 BIOS 4.00 (working on wetspiz' P105-S6014) is the best variant for me, the closest to working. When I flash this BIOS I get working video, working sound (in case of 2x512Mb memory banks) and normal "About This Mac" with "MacBook Air" in 10.5.5.

I don't understand anything... sad.gif Broken Graphics with ORIGINAL 3.80 and 4.40 BIOS versions makes me extremely confused.

I already can write a story about different BIOSes! About what work with them and what not smile.gif They all are different... Maybe the analysis of differences between them can tell one about what to do with this problems.

If I have enough RAM - I don't have sound. If I have Bluetooth - I don't have graphics in Mac...
skallywag
QUOTE (Memorial @ Dec 22 2008, 12:58 PM) *
Has anyone been able to use DSDT or BIOS Mods to get AppleAzaliaAudio.kext (oe AppleHDA.kext by some magic) to output to both speakers and headphones on the Conexant Venice (5045, CX20549)


Yes I have a P105-S6177 with Conexant Venice i'm using a DSDT override with azalia audio and have both speakers and headphones working.
jazzminos
New results of DSDTPatcher with P105-S6024 BIOS 4.00 . It seems that they are different.
geiman
The output looks as though it is giving the same error messages as the one I tried fixing for you. It may be possible that I missed a while loop when I fixed it; you never posted what terminal output you got after trying to compile that fixed file for me to see if there was anything else I needed to fix.

What would be even better was if we could get these errors put into the dsdt patcher to be automatically fixed, it would save us alot of trouble.
jazzminos
Here are results of compiling. Hope You'll be able to fix errors. smile.gif
geiman
Hey,

So I fixed those two errors, you can try compiling this now the same way and see if it gives you errors or not. Let me know how it goes.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.