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
BugsB
Modified BIOS to try and activate the Conexant sound chips in models of the Toshiba P10x series

already working on three moddels {see below} with Conexant "Waikiki" CX20551 HD Audio (Vendor-ID 14F1, Device-ID 5047)
Hardware ID: HDAUDIOFUNC_01&VEN_14F1&DEV_5047&SUBSYS_1179FF31&REV_1000
Manufacturer ID: 1 | Product ID: 100

________________________________________________________________________________

guys, I am out of town for a while now .. talk to you hopefully in a few of months - sorry .. sad.gif
________________________________________________________________________________

The reason why sound is not working on many (most?) Toshiba (and other manufacturer's) Laptops, are errors in a part of the BIOS called DSDT: when a computer is in the first phase of booting, a routine in the DSDT calls its question out there "which OS is booting this PC?" XP and Vista utter (different) answers which the DSDT can interpret; OS X, however, doesn't utter anything, because it is not meant to be run on a PC with BIOS, but on a Mac with EFI.

In Toshiba's implementation of the Phoenix BIOS, the command in the BIOS pretty much translates like this: "IF OS = unknwown THEN - nothing". That often creates problems with initiating ACPI driven periphery like sound (and sometimes even networking) and also fan control on BIOS level (which is required for OS X, because it is a ACPI "steered" OS).

So our friends from the Linux corner, who ran into the same problem with ACPI dependent drivers, circumnavigated the erroneous and/or missing entries in the BIOS' DSDT by placing them into a corrected and compiled file, and have the kernel load the required DSDT information out of that file instead from the BIOS. This approach has been made working in OS X86 just recently. I advise anybody to rather try that first before applying a modded BIOS which might render your Laptop totally unusable. So please, before continuing here, try and find a solution in mackerintel's Chameleon with DSDT override thread first! He also links to fassl's DSDT Patcher, a tool to fix your DSDT. Geiman's Instructions on getting sound to work on your P 10x are here.
________________________________________________________________________________

What we are doing here is turning Toshiba's Phoenix BROKEN Input Output System into what it's supposed to be, the BASIC Input Output System .. wink.gif

There is a chance that one of these modded BIOS images gives you sound out (speakers and jack), and hopefully also fully working fan control on your specific Toshiba Satellite P10x in the Unix-based OSes like Linux and Mac OS X.

Acknowledgements:

• DSDTs corrected by various people (Justin P. Linenkohl, etc. pp.)
• research inspired by mentorek
• project directed by BugsBunny
• initial BIOS .wph compiled by Kabyl, then by me, BugsB wink.gif

how2:

Your Toshi P100-xxx or P105-xxx must be as close as possible to the modded BIOS release. If not, either Windows will not boot anymore (OS X most likely will), or in the worst case your Laptop will refuse to boot at all!
• download this original Toshiba BIOS image and burn it to CD!
• run "BIOS Installer (will reboot !)" in Windows or "Bios_DOS" from DOS. Keep the BIOS folder, because it contains the file BIOS.bak = the entire backup of your Laptop's BIOS, in contrast to the BIOSes Toshiba supplies, which are always only incremental (differential).
• right after the reboot has initialized, enter the BIOS with F2, go into the Advanced tab and set "Execute-Disable Bit Capability" to Enabled to turn the famous nx bit back on (it gets switched off from the BIOS update) which Apple's Vanilla kernels and other modded kernels require. Save the settings! Otherwise you will experience a kernel panic right when Mac OS is trying to boot.
• boot Mac OS X and check if you have sound
• if not, remove any AppleHDA.kext from the Extensions folder and install one of the AppleAzaliaAudio.kexts (in the folder kexts). For installations you can use ~pcwiz' Mac OSx86 Tools Utility or kext helper.

On my Toshiba P100-102, sound-out (speakers & jack) has been working in Leo 10.5.2/3/4 with any of the AppleAzaliaAudio.kexts mentioned above + any 9.2/3/4 kernel, so it seems to be kernel unspecific! (Conexant HDAUDIOFUNC_01&VEN_14F1&DEV_5047&SUBSYS_1179FF31&REV_1000)

The only draw-back I have found so far is that, on my P100-102, the Conexant sound (speakers and jack) is dead after waking from sleep .. sleep.gif .
 Please discuss experiences & solutions about that particular issue here.
________________________________________________________________________________

.. nough said, here are the links..

.. for the following models with the Conexant "Waikiki" CX20551 HD Audio (Vendor-ID 14F1, Device-ID 5047): .. for the following model with the Conexant "Venice" CX20549 HD Audio (Vendor-ID 14F1, Device-ID 5045):* still errors in device tree AMW0, resulting in the two function keys FN5 and FN6 turning into two unknown devices in XP (all right in Vista because of ACPI 3.0)

- your model should match the modded BIOS as close as possible!
- read the readMe inside!
- before applying the BIOS, download the original Toshiba BIOS image
sp100v430.zip at the bottom of this posting and burn it to CD!

If your model isn't listed or if applying a modded BIOS did not activate sound in OS X:
  • look here to see if there is a pre-modded DSDT for your specific Toshiba Laptop (easiest: search the source code of the page). If the model type (e.g. P100-102) is not in the list, find out the exact model number of your Toshi: when it is switched off, flip it around, there is a label underneath, one line should read s.th. like PSPA3E or similar.
    If you have found your corrected DSDT.dsl, attach it to your next posting as a zip, including information about the version of the BIOS which served as the source for the dsdt + your exact Laptop model!
    .
  • I compiled a small but complete package (14 MB) with ReadMes, screenshots, tools and scripts for Windows which should be self explanatory (sorry, there is no complete workthrough for the X-OSes), so everybody can start extracting, correcting and compiling their dsdt into a BIOS .wph, which then can be applied with the included Phoenix Win or DOS Phlash.
Good luck smile.gif
________________________________________________________________________________

PS: at this point there we will no compile of BIOS 4.3 in which Toshiba corrected that Vista would not recognize the battery immediately when the AC Adapter is plugged-in, because on the other hand they broke wakeup-from-sleep in Vista (at least on my P100-102).. go figure which of the two is more important ..

________________________________________________________________________________
attached below you find the original untouched BIOS 4.3 from Toshiba as an ISO-Image (to please burn onto a CD before you apply the modded BIOS!)
sanpedro
Ok, so I tried that installing the new BIOS and it wouldn't boot into OS X after. It just keeps resetting itself 3-4 seconds into the load. I can still boot to Windows though. When I boot into Windows it says New Hardware Found, and that it needs to install software which it can't find. I tried going back to the old BIOS and I no longer get the hardware issure, but Tiger still won't work. I've tried reinstalling to no avail. Any suggestions?
BugsB
After applying the BIOS update you need to enter into the BIOS with F2 a few seconds after you switched on your Toshi, go into the Advanced tab and set "Execute-Disable Bit Capability" to Enabled to turn the famous nx bit back on (it gets switched off from the BIOS update) which Apple's Vanilla kernels and other modded kernels require. Otherwise you will experience a kernel panic right when Mac OS is trying to boot .. wink.gif

Also I experienced that sometimes there is some missing link between the darwin bootloader and the EFI part which has been branded into the Mac OS HFS partition when using the chain0 or tboot method, which also results in a temporary kp (kernel panic). I have always been able to resolve this by choosing the EFI entry in my Grub's menu.lst:

CODE
title Mac OS x86 EFI (hd0,0)
kernel (hd0,0)/boot_v8

From there on (after booting via this method once), booting via tboot --> Darwin --> EFI works fine again (which is a few seconds faster than the path via boot_v8).

BTW, there is NO reason at all why NOT to use Grub as a bootloader if you boot more than one OS; Grub (I use Grub4DOS) is beyond just being perfect, it is superb .. rolleyes.gif

Greetz,
Bug

EDIT: I will boot my XP later on and see if I can track back the "missing hardware issue" with my P100-102. Make sure you have applied the latest chipset driver for our Toshi from Intel (currrently 9.0.0.1008). For Vista simply choose Vista* in the drop down menu, because some of the entries in the list don't work (same might apply for XP)
BugsB
QUOTE(sanpedro @ Jul 3 2008, 12:46 PM) *
I can still boot to Windows though. When I boot into Windows it says New Hardware Found, and that it needs to install software which it can't find.
[EDIT]: Kabyl just sent me the corrected BIOS, and I can confirm this bug to be resolved and all function keys working again as usual in XP smile.gif (+ in Vista as it did before already). Well and naturally, sound also still works in both of my installs of Leo and Tiger. The link towards the bottom of the start posting has been changed, it now leads to the new rev. 1.01. So please apply the new version.
-----------------------------------------------------------------------------------------------------

Unfortunately I must confirm that in XP (not in Vista though) there are now two unknown devices in the device manager, in Connection View under "Microsoft ACPI Compliant Embedded Controller":



with the device IDs ACPI\PNP0C32\1 and ACPI\PNP0C32\2.

With the original BIOS the "Microsoft ACPI Compliant Embedded Controller" (device ID ACPI\PNP0C09\4&38462492&0) was a single entry without any subentries:



One entry which is gone in device manager compared with the original BIOS is one of the two "Microsoft Windows Management Interfaces for ACPI", device id PNP0C14\O huh.gif ..

PNP0C14\1 is still working, PNP0C14\O has wrongly been split into PNP0C32\1 and PNP0C32\2 in the modded DSDT. PNP0C32 is NOT the "Microsoft Windows Management Interface for ACPI", but the "Direct Application Launch Button", and an XP driver for that is not contained in our distros. PNP0C14\O is responsible for some of the hotkeys, so if you now try e.g. FN+F5 (switch displays) it won't work anymore.

In Vista there are drivers for the "Direct Application Launch Button", as you can see here:



so in Vista both devices ACPI\PNP0C32\1 and ..\2 are each recognized correctly as "Direct Application Launch Button".

For Vista Toshiba coded a different app for managing the function keys, called "Value added package". It does its job correctly even after the update with the modded BIOS, with all function keys working properly. This app relies on Vista dlls and does neither install nor work in XP.

There is a XP-driver from Toshiba for the "Direct Application Launch Buttons", but it is for another Toshiba Laptop with four programmable application launch buttons, whereas our P100 only have two programmable buttons. Toshiba's hotkey button utility for Vista doesn't mind that and simply ignores the two non-existing buttons.

So what obviously happened is that parts of the modded DSDT come from another Toshiba Laptop with four programmable buttons. So all that has to be done is to reestablish the entry for PNP0C14\O in the DSDT, where these two bogus buttons have been added.

I have already informed both, Kabyl and Justin, about this. This looks fixable to me, because according to what I understand neither the "Microsoft Windows Management Interfaces for ACPI" nor the "Direct Application Launch Buttons" should have anything to do with the sound-related errors in the DSDT, so I dare to say that this is just due to some unintentional "overmodding" at the wrong place.
maranbrazil
bugs, it didn't work for me mad.gif

my laptop model is p105-6004 with conexant 5047 sound card.

i've installed the hacked bios with sucess, then i boot in leopard with no sound (jack and speakers), i've tried to remove AppleHDA kext such the instructions but still no sound.

any sugestion ?

PS: Sorry for the english, i'm from Brazil
BugsB
hi maranbrazil

please try the new BIOS rev. 1.01 which Kabyl just supplied. If you still have no working sound:

1) try the function key combination FN+ESC which will turn sound on and off. Please watch and tell me if that has any effect on the volume icon in the menu bar. Maybe that function key combination will even give you sound?

2) look how SCREEM got his going right here ..

3) please copy Taruga's HDAEnabler.kext into the Extension folder (see attachment), verify you do NOT have any AlcInject.kext in there, run the command script (also attached - it works in Leo & Tiger), wait till it is finished (couple of minutes), reboot and tell me if you have sound (HDAEnabler has been reported to even enable Azalia sound ..)

4) have you tried all 4 supplied Azalia kexts?

5) Have you also applied the IOPCIFamily.kext to the XT folder?

6) which WLAN card does your P105-6004 have - also the Intel 3945, or an Atheros, e.g. from Gigabyte? Is WLAN working? Do you have Jalouvi's experimental Intel 3945 kext in your XT folder?
The reason I am asking is that I swapped my Intel 3945 with an original Apple Atheros 5006 EXS miniPCIe WLAn card, means I altered s.th. in my Laptop.
(you could try booting with WLAN switched on or off and see if that makes any difference in sound, but that is just a vague chance, but who knows ..)
mentorek
QUOTE(BugsBunny @ Jul 5 2008, 11:17 PM) *
please try the new BIOS rev. 1.01 which Kabyl just supplied.


I've updated. XP is oke now.

QUOTE(BugsBunny @ Jul 5 2008, 11:17 PM) *
If you still have no working sound:

1) try the function key combination FN+ESC which will turn sound on and off. Please watch and tell me if that has any effect on the volume icon in the menu bar. Maybe that function key combination will even give you sound?


Volume icon changes with Fn+Esc combo. Also OSD of OSX is showing up.

QUOTE(BugsBunny @ Jul 5 2008, 11:17 PM) *
2) look how SCREEM got his going right here ..


Tried with no results.

QUOTE(BugsBunny @ Jul 5 2008, 11:17 PM) *
3) please copy Taruga's HDAEnabler.kext into the Extension folder (see attachment), verify you do NOT have any AlcInject.kext in there, run the command script (also attached - it works in Leo & Tiger), wait till it is finished (couple of minutes), reboot and tell me if you have sound (HDAEnabler has been reported to even enable Azalia sound ..)

4) have you tried all 4 supplied Azalia kexts?


I've tried HDAEnabler.kext. In System Profiler it shows more info. In AudioMIDI Utility I cannot change Master volume. Only Left/Right and 3 mute checkboxes. It happens with all Azalia kexts and with HDAEnabler also.


QUOTE(BugsBunny @ Jul 5 2008, 11:17 PM) *
5) Have you also applied the IOPCIFamily.kext to the XT folder?

Yes, I did.

QUOTE(BugsBunny @ Jul 5 2008, 11:17 PM) *
6) which WLAN card does your P105-6004 have - also the Intel 3945, or an Atheros, e.g. from Gigabyte? Is WLAN working? Do you have Jalouvi's experimental Intel 3945 kext in your XT folder?
The reason I am asking is that I swapped my Intel 3945 with an original Apple Atheros 5006 EXS miniPCIe WLAn card, means I altered s.th. in my Laptop.
(you could try booting with WLAN switched on or off and see if that makes any difference in sound, but that is just a vague chance, but who knows ..)


Gigabyte's Atheros 5006. I'll remove it and will see if that would work. BTW. The switch of WiFi does not have any effect under OSX. At least with my machine.
BugsB
hoi mentorek,

thanks for the update, so you have really done all you could ..
QUOTE
BTW. The switch of WiFi does not have any effect under OSX. At least with my machine.
same thing here, it doesn't matter. One would have to tape that one pin, but I never bothered, that's too fiddely finetuning for me ..

So I have informed 11 other Toshiba P10x users about this - hardly anybody reacted, and none of those who tried this got their sound to work - only me ???

This is really unbelievable .. sad.gif
mentorek
QUOTE(BugsBunny @ Jul 6 2008, 12:03 PM) *
hoi mentorek,

thanks for the update, so you have really done all you could ..
same thing here, it doesn't matter. One would have to tape that one pin, but I never bothered, that's too fiddely finetuning for me ..

So I have informed 11 other Toshiba P10x users about this - hardly anybody reacted, and none of those who tried this got their sound to work - only me ???

This is really unbelievable .. sad.gif


There is one thing left. Maybe two actually.
1. I will install Vista and will see if the settings persist for sound (after reboot).
2. BugsBunny will send me the codec dump from linux and/or HDAudio.kext and I would compare them both.

With linux dump I suggest Ubuntu 8.04 because I have the livecd at home.
To get dump with HDAudio.kext:

CODE
# kextload -t -v 6 HDAudio.kext


This would probably print a dump to system.log

I think this is the only thing that could make the differences visible.

Cheers,
mentorek
maranbrazil
bugs, no results with any Azalia kext in th package.

i've tried to boot with wireless on / off (intel 3945) but no results (jalavoui drivers with no effect)

i've tried to install the new version of hacked bios, but still no sound.

i've tried to install HDAEnabler kext but still no sound.

and my USB ports never worked with Mac os.

I think there is no hope to my laptop sad.gif
BugsB
we'll get this going together! So let's move on.

What mentorek suggested to do with the HDAudio.kext is a very good idea:
  • download HDAudio.kext.zip and unpack HDAudio.kext to the root level of your Mac OS Volumeh
  • downwload Conexant script.zip, unpack it and run the script (simply double click the Conexant script command file)
After this you should have a folder "Conexant" on the root of your Mac OS Volume with three files in it: S.txt, DT.txt, and system.log.
Please zip the directory Conexant and attach the Conexant.zip to a new posting here (I have already done so).

I will start working again tomorrow, and there is lots of new stuff I need to learn and get along with, so I might not get to supply the Linux dump before late tomorrow nite or even the day after tomorrow. But please already provide your information in the meantime, 'cause Kabyl would not be able to proceed without the dumps anyway . . .

mentorek, did takinig your WiFi out or installing and booting into Vista change anything? I experienced myself that a new OS can revive things in the BIOS or on the MoBo or who knows exactly where ..

Cheers,
Bugs

EDIT: here is my lspci-output (from pcwiz' OS x86 tool):
CODE
00:00.0 Host bridge [0600]: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub [8086:27a0] (rev 03)
00:01.0 PCI bridge [0604]: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express PCI Express Root Port [8086:27a1] (rev 03)
00:1b.0 Audio device [0403]: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller [8086:27d8] (rev 02)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 [8086:27d0] (rev 02)
00:1c.1 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 [8086:27d2] (rev 02)
00:1c.2 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 [8086:27d4] (rev 02)
00:1d.0 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 [8086:27c8] (rev 02)
00:1d.1 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 [8086:27c9] (rev 02)
00:1d.2 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 [8086:27ca] (rev 02)
00:1d.3 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 [8086:27cb] (rev 02)
00:1d.7 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller [8086:27cc] (rev 02)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev e2)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge [8086:27b9] (rev 02)
00:1f.2 IDE interface [0101]: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller [8086:27c4] (rev 02)
00:1f.3 SMBus [0c05]: Intel Corporation 82801G (ICH7 Family) SMBus Controller [8086:27da] (rev 02)
01:00.0 VGA compatible controller [0300]: nVidia Corporation G70 [GeForce Go 7600] [10de:0398] (rev a1)
02:00.0 Ethernet controller [0200]: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter [168c:001c] (rev 01)
03:00.0 Ethernet controller [0200]: Intel Corporation 82573L Gigabit Ethernet Controller [8086:109a]
0a:04.0 CardBus bridge [0607]: Texas Instruments PCIxx12 Cardbus Controller [104c:8039]
0a:04.1 FireWire (IEEE 1394) [0c00]: Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller [104c:803a]
0a:04.2 Mass storage controller [0180]: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD) [104c:803b]
0a:04.3 SD Host controller [0805]: Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller [104c:803c]


PS: for those with USB-probs, please look here .. wink.gif
geiman
thought I'd post my findings, though they aren't very helpful. I've been tinkering all day now, trying various things discussed here and nothing so far has worked. I can get my audio recognized, and it seems as though it should work but no matter what nothing comes out of speakers or jack. Besides audio and my USB not working, which is very agitating, my laptop works perfectly. By the way, my laptop is model p105-s6064.
geiman
quick update: I can't get sound to work in linux either, which tells me I have no chance in OS X. Hopefully we can get this working, let me know if there is anything else I can try, I will test whatever you guys develop.
BugsB
@ geiman, maranbrazil & sanpedro: would you please do this here? This is the only path to follow right now smile.gif
geiman
Bugs, I did as you said, but I do not end up with three files in the conexant folder, only the system.log shows up.
mentorek
QUOTE(BugsBunny @ Jul 7 2008, 12:57 AM) *


Below are my ioreg dump and system.log part (after loading HDAudio.kext with options I've provided). This looks like codec dump from linux so we could compare working and not working chipsets to see the diff's if any.
I'll try to install Vista in a moment. I hope I'll be able to install any kind of Bootmanager afterwards to use both Vista and OSX.

What I find strange is that in my IOPCIFamily dump file there are other values than in Bugs' S.txt file. Maybe not even worth to mention but still some difference.
I'll get back to you later.

BTW. What is this IOUSBFamily.kext suppose to provide?

Cheers,
mentorek
geiman
here is my dump, however it only has the system.log, not the other two, they would never show up for some reason.

Also, I called Toshiba to see if they even knew about this problem, and the lady talked to her supervisor who said they only support windows os's, of course, but they are working on the problem and will let me know when it is fixed. Whether that is true or not I'm not sure, but it was worth a shot.

Anyways, here is my upload.
maranbrazil
here is my dump.

Anyone here is using kalyway 10.5.2 Dvd version ?

I've installed this version, but it don't boot, after the installer is completed, my system can't find any OS and boot up from DVD, and the Mac os boot up (from my hd blink.gif ).
if i set the windows partition to active, i can't boot in mac os x (i've tried to use chain0 tutorial, but with no results).
when i installed tiger, i boot with darwin, but now it doesn't work.
i've tried to install Chameleon, but when boots it says "boot0 error"

any idea ?

PS: My USB ports are working now biggrin.gif (disable the USB keyboard and mouse emulation)

PS: Sorry for my BAD english, i'm from Brazil

Click to view attachment
geiman
I had the same problem with the Kalyway 10.5.2 dvd, I was able to boot by pressing F12 to enter multi-boot menu, selecting to boot from cd (with kalyway dvd in drive!), and then letting it count down and boot from the hard drive on its own. This allowed me to boot into leopard perfectly. I actually found this out by accident! Hope this helps!
maranbrazil
geiman, but you can boot up in windows normally ? or just boot in mac osx ?
geiman
Oh sorry, didn't realized you needed that too. Every other os x dvd I've tried installs the boot loader correctly, and it also recognizes windows and adds it to the boot loader. However, if you still want to use that same disc, I've had luck with either osl2000 boot manager, or Grub. Grub is probably the easiest since its free, but if you can find a copy of osl2000, it works good too. I'm pretty sure you can install the OS X boot loader also, and then add windows manually, but I can't think of how you do it off the top of my head.
maranbrazil
geiman, i will download the leo4all v3 iso.

thks for help smile.gif
geiman
the iAtkos discs are also pretty good, in my opinion. I am using iAtkos r3, and after install, I do not need to install anything extra to get any part of my laptop working, minus wifi and of course sound. And it seems to be the fastest one I've tried yet, and I have tried many.
geiman
I just have a quick question for bugs, or whoever has any insight as to the exact problem with our bios's; Why exactly is it that windows can activate whatever is needed to have sound, but Linux/OS X cannot?
mentorek
QUOTE(geiman @ Jul 8 2008, 05:38 AM) *
I just have a quick question for bugs, or whoever has any insight as to the exact problem with our bios's; Why exactly is it that windows can activate whatever is needed to have sound, but Linux/OS X cannot?


Toshiba Satellite P100 series has a buggy DSDT in BIOS. This table holds all the information about the hardware, how and when to initialize it. What information has to be provided for certain OS's and how it should be provided.
In Linux there is a patch for the kernel that allows you to load corrected DSDT when starting up the system or "say" to BIOS that the system is not Linux (or something like that). The latter is widely used now.
BugsB
QUOTE(mentorek @ Jul 8 2008, 08:14 AM) *
[..] or "say" to BIOS that the system is not Linux (or something like that). The latter is widely used now.
in grub.conf, you would just add this parameter to the kernel line, like this:
CODE
acpi_os_name="Microsoft Windows XP"

in Mac OS, the equivalent would be:

in /Library/Preferences/SystemConfiguration/com.apple.Boot.plist add
CODE
<key>Kernel Flags</key>
<string>-legacy</string>

it is not coming 100% close to Linux' acpi_os_name="Microsoft Windows XP", but still, have you guys ever tried that .. whistle.gif ?
geiman
hmmm, no I haven't ever tried that. I didn't even ever think of doing that with Linux, that would be great if I could get my nix os back!

EDIT: After a second look, I think I have tried what you suggested. Correct me if I'm wrong, but wouldn't that be the same as booting with the -legacy flag after pressing F8 at boot? If so, then yes, I have tried that and it makes no difference.
BugsB
yes, same as booting with the -legacy flag after pressing F8 at boot
mentorek
QUOTE(BugsBunny @ Jul 8 2008, 11:21 PM) *
in grub.conf, you would just add this parameter to the kernel line, like this:
CODE
acpi_os_name="Microsoft Windows XP"

in Mac OS, the equivalent would be:

in /Library/Preferences/SystemConfiguration/com.apple.Boot.plist add
CODE
<key>Kernel Flags</key>
  <string>-legacy</string>

it is not coming 100% close to Linux' acpi_os_name="Microsoft Windows XP", but still, have you guys ever tried that .. whistle.gif ?


No, I've never tried -legacy option.

By the way, I've tried EFI Strings, more than 3 versions of BIOS, different Azalia kexts, HDAEnabler.kext. Everything failing. The only thing that was very close to getting sound - as a matter of fact I've got it - was very very very silent sound with Azalia but it's not acceptable at all.
geiman
I've never been able to hear anything in OS X since I first decided to upgrade my bios, a decision I will kick myself for until I get a new laptop. However, in Linux I have been able to hear a very faint sound coming from the speakers, however the volume control does nothing and to hear it I have to put my ear against the speaker. I'll try the Linux hack mentioned above but I'm starting to think I have done this before, only in a different way.
Thomahawk
After I installed the modded BIOS (rev 1.01), i had no sound anymore in ubuntu 8.04...

I use the Conexant CX20551 (Waikiki) soundchipset. Do you also have that one, or do you use the Conexant Venice chipset...That's e relevant difference I think...

In Windows XP I had normal sound.

Thanks for your reply ;-)
BugsB
I don't know about Venice or Waikiki:

00:1b.0 Audio device [0403]: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller [8086:27d8] (rev 02)

Description: Conexant HD Audio output
Hardware ID: HDAUDIO\FUNC_01&VEN_14F1&DEV_5047&SUBSYS_1179FF31&REV_1000
Manufacturer ID: 1
Product ID: 100

that means: Vendor-ID: 14F1 | Device-ID: 5047
Thomahawk
Yes, Device-ID 5047 is Waikiki, Device-ID 5045 is Venice ;-)

Well I'm looking forward until my Notebook is finally set-up with Leopard biggrin.gif
BugsB
yeah that's me, I prefer Hawaiian surf to Italian canals .. tongue.gif

QUOTE(geiman @ Jul 9 2008, 02:56 PM) *
I've never been able to hear anything in OS X since I first decided to upgrade my bios, a decision I will kick myself for until I get a new laptop.
the trick is: look in the folder from where you applied the update which overwrote the 2.4 - it should contain a bios.bak. That bios.bak contains your entire BIOS from a to z, whereas a BIOS update from Toshiba only contains those parts of the BIOS that get updated (or deleted!) from that particular BIOS update. That's why all these people (look in the Linux forums, there are a lot) who, after they lost sound when updatiing beyond 2.4, never got their sound back by applying the 2.4 from Toshiba. The BIOSes beyond 2.4 OVERWROTE parts of the DSDT, if not even all of it.

Here's a quote from Master Justin:
QUOTE
Keep in mind that the DSDT for each system is totally unique, so it is best to decompile the DSDT from your laptop and then diff it against a repaired DSDT from a similar model. I found that Toshiba really varies their hardware even in the same product line though, so comparing two DSDT's may not be too useful. i.e. one Satellite P100 is not necessarily anything like another P100. sad.gif
That's what we are experiencing here right now.

I have no idea why Justin's DSDT which came from a Toshiba Satellite PSPADU-033026 works on my PSPA3E-00R00DGR (P10x is of no importance because P100 in Europe = P105 in US ..). Looking at all you poor guys here it was pure luck that the modded DSDT from his works on mine. If you wanna know why look here ....

Mentorek is closest, because he had sound in Linux with a modded DSDT. Jusin followed this path here to get sound in Linux on his machine. This would have to be done prior to trying and get sound in Mac OS, and as you can see, it is a veeery long path ...

Still, I think if some of the values in Justin's DSDT that were modded from * (wildcard) to fixed values would be switched back to * (wildcard), we would actually increase the chance for a DSDT which is more compatible. But the testing again can only be done in Linux .

So - alltogeter bad news .. sad.gif

Kabyl uploaded a dsdt.diff (modded compared to the original one). This is primarily for mentorek I would say. Mentorek, maybe you can narrow it down to the part which is responsible for the sound (and for the PCI bus ...).

Kabyl can only help you guys if you narrow down the culprit if possible all the way down to a certain value entry (like I did here). Thorrough analysis like this is paramount.

I hope I can supply my Linux codec dump as requested by you, mentorek, tomorrow.
mentorek
QUOTE(BugsBunny @ Jul 9 2008, 10:14 PM) *
...


So if Justin is right then were {censored}ed! sad.gif Maybe flashing to lower versions like 2.10 or even 1.70 would have any effect on that.
In theory, WinPhlash utility provided by Toshiba has Advanced settings where one could tweak some settings. It's possible to enable "zeroing block before writing" and do other stuff. To enable this open Winphlash.ini file and locate AdvancedSettings. Set it up to 1 and start the utility. Start the Winphlash and you should get Advanced Settings button. Maybe all of you had already tried it. I thought it's worth to mention.
BTW. I've got 2.40 BIOS updater on bootable CD. If anyone is interested I can provide you with ISO image. Also, I've found 1.70 BIOS for Toshiba P100 and I'm looking for 2.10 version. If anyone has other ideas let us know.

Cheers,
mentorek
mentorek
QUOTE(mentorek @ Jul 10 2008, 09:46 AM) *
...


So after flashing both 1.70 and 2.10 BIOSes I have no sound. Well just the very very very very low.
DSDT dump from 1.70 shows that DSDT has changed slightly. Not a big change but still.

So, does any of you have a full BIOS image backed up somewhere? I mean the 2.40 and/or lower? That's the only hope I guess...

Cheers,
mentorek

P.S.
Bugs, does the slider for Master channel work for you in Audio MIDI Utility? I does not work for me (greyed out).
BugsB
hey mik,

master channel in Audio MIDI Utility is greyed out here, too (not movable), but sound OK, so that's not it.

I have a 2.1 BIOS.bak which I applied yesterday for a test --> no sound in OS X .. sad.gif but I attached it to this posting, but like I said, don't expect anything from it.

I feel a bit sickish right now so I don't have the power for booting Linux and dumping the codec, that would be a lil bit too much for me right now, as rare as I deal with Linux heb ik geen zin voor Penguinen nou .. blink.gif

I will contact you via PM right now because I want to get somebody else into the boat who, I think, has the capabilities to help us here a bit smile.gif

PS: the full 2.4 BIOS.bak is unfortunately missing here, too .. sad.gif
geiman
So, after breifly reading this updates, I take it things don't look good. I wish I had known about the .bak file before. I've reinstalled my os so many times since then, no chance of getting that back. Anyways, if I understand it right, If we were able to get a copy of the original bios before the DSDT became corrupt, we could theoretically flash that and have a functioning DSDT, correct? If so, I have a friend at college with the exact same laptop as mine, and he has never upgraded his bios, so there is a good chance his is still intact. Is there any chance we could get a backup of his bios to apply on ours?

Edit: Wouldn't you think we should be able to get this from Toshiba? Surely they would have a copy of the original somewhere, why couldn't they make it available to us?
mentorek
QUOTE(geiman @ Jul 11 2008, 03:40 AM) *
So, after breifly reading this updates, I take it things don't look good. I wish I had known about the .bak file before. I've reinstalled my os so many times since then, no chance of getting that back. Anyways, if I understand it right, If we were able to get a copy of the original bios before the DSDT became corrupt, we could theoretically flash that and have a functioning DSDT, correct? If so, I have a friend at college with the exact same laptop as mine, and he has never upgraded his bios, so there is a good chance his is still intact. Is there any chance we could get a backup of his bios to apply on ours?

Edit: Wouldn't you think we should be able to get this from Toshiba? Surely they would have a copy of the original somewhere, why couldn't they make it available to us?


It's possible to use .bak file with any other (Toshiba P100) laptop I would say.
Help from Toshiba - hmmm... I would not count on them but who knows. Their policy is that they do not support any other OS than the ones from MS. Well, not all of the MS OSes. Just XP, Vista and maybe 2000.
One and only hope is that one of us would have some friend at Toshiba's service and he could provide us with the solution (erasing whole BIOS chip, updating with the desired version, stuff like that).
Well, these are only speculations (about BIOS being updated with just some parts), no one is 100% sure about the update process.
geiman
Well once I can contact my friend from college, I will try and get a backup of his BIOS, provided it's 2.4 or earlier. Then we'll just have to figure out how to apply it, or is that possible with winphlash?
BugsB
yes, possible with WinPhlash. Just look at the files and you will figure it out .. wink.gif
mentorek
Any new reports? Mine has the same problem with no matter which (modified) BIOS image I use.
geiman
Nothing from me, no bios works and I have no sound in linux with the acpi trick. I wish I knew how/what they modified in order to correct it on bugs's laptop.
BugsB
sorry to hear all that. Maybe there are some more compiled BIOSes on the way at some point. But is is nothing I can influence right now .. sad.gif
sebast33
hello all, I permit to write some lines.
to bugs: I tried the bios and no sound in leo and usb mass storage don't work but was working before...strange. I tried to install ubuntu and no sound with it, wheras with normal bios and xp in dual boot I have bios.... strange

to all:
http://www.csd.toshiba.com/cgi-bin/tais/su...mp;x=61&y=6

See at this page I found all the versions of bios for p100-p105, I will test it...
But question which bios has a correct dsdt?
mentorek
QUOTE(sebast33 @ Jul 21 2008, 10:57 AM) *
hello all, I permit to write some lines.
to bugs: I tried the bios and no sound in leo and usb mass storage don't work but was working before...strange. I tried to install ubuntu and no sound with it, wheras with normal bios and xp in dual boot I have bios.... strange

to all:
http://www.csd.toshiba.com/cgi-bin/tais/su...mp;x=61&y=6

See at this page I found all the versions of bios for p100-p105, I will test it...
But question which bios has a correct dsdt?


Despite the fact that this page shows me the 4.30 version only I can say that none of the publicly available versions starting from 1.70 had not been working for me in OSX. If you've read through probably you're already know that there is a theory that some of the updates overwrote some part of BIOS (not sure if it is DSDT but in Linux it seems to be the problem) that allows me and possibly other users to use the sound chip.
Wish you luck with flashing.

mentorek

EDIT:
I've forgotten to add that it might be related to pin config (in my case because I've got very silent sound). Or really whatever Toshiba had changed in their BIOS.
sebast33
if you click on the button "+" before the name you can see that you have access to all the bios. I have a difficultie to understand why we can't downgrade the bios and come back to a "good" version. In fact, for me when you upgrade or downgrade the bios enterly is modfied not only a part of it?
mentorek
QUOTE(sebast33 @ Jul 21 2008, 12:47 PM) *
if you click on the button "+" before the name you can see that you have access to all the bios. I have a difficultie to understand why we can't downgrade the bios and come back to a "good" version. In fact, for me when you upgrade or downgrade the bios enterly is modfied not only a part of it?


OK, so I've tried 1.70, 2.10, 2.40, 4.00, 4.20, 4.30 but no go for me. Maybe you'll have better luck.
BugsB
QUOTE(sebast33 @ Jul 21 2008, 12:47 PM) *
if you click on the button "+" before the name you can see that you have access to all the bios. I have a difficultie to understand why we can't downgrade the bios and come back to a "good" version. In fact, for me when you upgrade or downgrade the bios enterly is modfied not only a part of it?
look into the folder with the BIOS files, in there is a file bios.bak. Apply that, and you have your BIOS at the original state before the update.

Yes, the reason why the modded BIOS here isn't working is because the Conexant use altering pin configs depending on the Tohi lap one has. I do not know if ANY pin config can be corrected or adressed by modding the BIOS.

I have not yet found the time to mod the AppleHDA.kext yet. There is a step-by-step manual how to get it going on pretty much any Intel HDA based sound card, but it takes a couple of hours ..


QUOTE(mentorek @ Jul 21 2008, 01:59 PM) *
OK, so I've tried 1.70, 2.10, 2.40, 4.00, 4.20, 4.30 but no go for me. Maybe you'll have better luck.
Tohiba NEVER supplies a complete BIOS as a public update, they only publish what has to be updated. Esp. the DSDT is usually left out in it's entirety, because it differs quite a bit from model to model. That's what the trouble is.
mentorek
QUOTE(BugsBunny @ Jul 21 2008, 05:14 PM) *
look into the folder with the BIOS files, in there is a file bios.bak. Apply that, and you have your BIOS at the original state before the update.

Yes, the reason why the modded BIOS here isn't working is because the Conexant use altering pin configs depending on the Tohi lap one has. I do not know if ANY pin config can be corrected or adressed by modding the BIOS.

I have not yet found the time to mod the AppleHDA.kext yet. There is a step-by-step manual how to get it going on pretty much any Intel HDA based sound card, but it takes a couple of hours ..


Tohiba NEVER supplies a complete BIOS as a public update, they only publish what has to be updated. Esp. the DSDT is usually left out in it's entirety, because it differs quite a bit from model to model. That's what the trouble is.


I think DSDT part is not completely true. Using linux (without any dsdt patches), one can dump /proc/acpi/dsdt to a file and then decompile it. It's always looking the same. And Toshiba had never confirmed (nor denied) that they are only using differential updates of the BIOS. My guess is that the part that is failing is somewhere else (like it was said, some pin configs or whatever) and might vary from one notebook version to another. I'll try to contact Toshiba service here in NL and ask them about complete BIOS 2.40 or reflashing of the chip by them.
I'll keep you updated.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.