Quote:
Originally Posted by iyatoni
Hi,
I wonder if someone could help me...
I've ran through this guide a couple of times, as I've never had any sound on my Toshiba P100 with any version of Ubuntu (currently running Gutsy).
The problem I've having is with step 6 - "$ iasl -tc -f dsdt.dsl". It appears that this command is supposed to create a 'dsdt.aml' file, but it doesn't. I've got a dsdl.hex file, and the dsdl.dsl file, but no .aml.
Am I missing something obvious here, or do I need to install something to get this working?
Thanks
|
Hi.
This howto is a little old and should be updated-
Please, folow the next steps:
1. Open the new dsdt.dsl file (in the editor off course) and search for all occurrences of "_T_0" (without quotes) and change them to say "T_0"(without quotes). Repeat the same steps for "_T_1" to "T_1" ....."_T_7" to "T_7" if applies in your case. A faster way to do this is to use the Search/Replace function.
2. Search for all ocurencies of: "Name (_HID, "*PNP0C14")" (without quotes) and change it to say: Name (_HID, "PNP0C14"), as you can see we only removed the star *.
3. Search for: Method (EVNT, 1, NotSerialized) and add the following at the end (before the last curly brace:
Return (Package (0x02){0x00, 0x00})
4. Search for the Method (BTST, 0, NotSerialized) and make it lokk like this (watch the last (Return Zero):
Code:
Method (BTST, 0, NotSerialized)
{
If (\_SB.ECOK)
{
Acquire (\_SB.PCI0.LPCB.EC0.MUT1, 0xFFFF)
Store (\_SB.PCI0.LPCB.EC0.KSWH, Local0)
XOr (Local0, 0x01, Local0)
Store (\_SB.PCI0.LPCB.EC0.BTHE, Local7)
Release (\_SB.PCI0.LPCB.EC0.MUT1)
If (Local0)
{
ShiftLeft (Local7, 0x06, Local6)
ShiftLeft (Local7, 0x07, Local7)
Or (Local7, Local6, Local1)
Or (Local0, Local1, Local2)
Return (Local2)
}
Else
{
Return (Zero)
}
}
Else
{ Return (Zero) }
}
}
5 Search for: Method (_INI, 0, NotSerialized)
and comment add add as shown:
Code:
/*If (CondRefOf (_OSI, Local0))
{
If (_OSI ("Linux"))
{
Store (0x03E8, OSYS)
}
Else
{
Store (0x07D1, OSYS)
If (_OSI ("Windows 2001 SP2"))
{
Store (0x07D2, OSYS)
}
If (_OSI ("Windows 2001.1"))
{
Store (0x07D3, OSYS)
}
If (_OSI ("Windows 2001.1 SP1"))
{
Store (0x07D4, OSYS)
}
If (_OSI ("Windows 2006"))
{
Store (0x07D6, OSYS)
}
If (LAnd (MPEN, LEqual (OSYS, 0x07D1)))
{
TRAP (0x3D)
}
}
}*/
Store (0x07D6, OSYS) // Fake Windows 2006
Save your file
6. in a terminal run the next command (you must be in the same direcotry of the document of course)
$ iasl -tc dsdt.dsl:
Then follow Duchty's instructions regarding Ubuntu (Post # 11)
and forget about compiling ALSA, this step is not necesary anymore
Hope to be of help
Regards
Luis