Gentoo Forums
Gentoo Forums
Quick Search: in
Solved (was: snd-hda-intel works only with acpi=off)
View unanswered posts
View posts from last 24 hours

rackathon
Goto page 1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mentorek
n00b
n00b


Joined: 06 Feb 2004
Posts: 55
Location: Sosnowiec, Poland

PostPosted: Wed Dec 20, 2006 11:06 am    Post subject: Reply with quote

Hello,

It does work for me too :) Thanks for that solution. Have you emailed the corrected DSDT to Toshiba? Maybe they'll correct the DSDT entries in the next BIOS update?
That would made our life easier ;)

EDIT: The PCM Volume control is now working (after rebooting machine).

Cheers,
Mik
Back to top
View user's profile Send private message
boroshan
l33t
l33t


Joined: 16 Apr 2003
Posts: 730
Location: upside down

PostPosted: Mon Jan 01, 2007 6:57 am    Post subject: Reply with quote

I can't make this work, and I don't understand why it doesn't.

I've compiled the new DSDT into the kernel using the custom dstd file options:

Code:
CONFIG_ACPI_CUSTOM_DSDT=y
CONFIG_ACPI_CUSTOM_DSDT_FILE="/home/nick/toshiba/dsdt.hex"

I used this approach because it worked well with my previous lappy. The settings show up in /proc/config.gz, so I know the modified kernel is running. I've fixed the dsl file as per this thread. And yet nothing happens.

Which is weird, because sound still works with acpi=off, and (if I understand the hack properly) all we're doing is removing the part of the ACPI definition that affects sound - so it should have the same effect.

Has anyone got this working with a PSPA3E machine?
_________________
Don't let THEM immanentize the Eschaton!
Back to top
View user's profile Send private message
rokoS
n00b
n00b


Joined: 04 Jan 2007
Posts: 5

PostPosted: Thu Jan 04, 2007 9:50 am    Post subject: Reply with quote

I will try on my PSPA3E tonight.
I have one question. Does your Nvidia 7600 GPU fan work under linux. Because mine works only when i boot with acpi=off, and only with full speed.

Rok
Back to top
View user's profile Send private message
boroshan
l33t
l33t


Joined: 16 Apr 2003
Posts: 730
Location: upside down

PostPosted: Thu Jan 04, 2007 4:49 pm    Post subject: Reply with quote

rokoS wrote:
I will try on my PSPA3E tonight.
I have one question. Does your Nvidia 7600 GPU fan work under linux. Because mine works only when i boot with acpi=off, and only with full speed.

It seems to. I'm embarrassed to admit it, but I'm not sure which fan is which. That said, I've noticed both fans operating, so I think they both work.
_________________
Don't let THEM immanentize the Eschaton!
Back to top
View user's profile Send private message
rokoS
n00b
n00b


Joined: 04 Jan 2007
Posts: 5

PostPosted: Fri Jan 05, 2007 4:26 am    Post subject: Reply with quote

GPU fan is one on the left side. CPU is one on the back of the machine.
Back to top
View user's profile Send private message
boroshan
l33t
l33t


Joined: 16 Apr 2003
Posts: 730
Location: upside down

PostPosted: Fri Jan 05, 2007 9:28 am    Post subject: Reply with quote

I've certainly seen it working in the past. Can't say when last however, so recent kernel changes may have broken it.
_________________
Don't let THEM immanentize the Eschaton!
Back to top
View user's profile Send private message
rokoS
n00b
n00b


Joined: 04 Jan 2007
Posts: 5

PostPosted: Sat Jan 06, 2007 5:49 pm    Post subject: Reply with quote

ON toshiba P100-115 (PSPA3E), sound works now. And you know what the GPU fan started to work also :) . No overheating anymore for my computer :D . It works all the time but is better then before when it didnt work. But now i think that CPU fan is not working properly.
I had to comment a lot of things in DSDT, besides the one that were mentioned in this thread.

boroshan, could you send me your DSDT so that i could see what were your changes and if it differs a lot from my toshiba.
Back to top
View user's profile Send private message
boroshan
l33t
l33t


Joined: 16 Apr 2003
Posts: 730
Location: upside down

PostPosted: Sat Jan 06, 2007 7:17 pm    Post subject: Reply with quote

here you are. I've not done much to it beyond the basics

... and thanks :)
_________________
Don't let THEM immanentize the Eschaton!
Back to top
View user's profile Send private message
thorheimdall
n00b
n00b


Joined: 07 Dec 2005
Posts: 53
Location: Quebec

PostPosted: Sat Jan 06, 2007 8:22 pm    Post subject: Reply with quote

I have a Toshiba P100-MA2 and I also have the same problems described here in this thread. With acpi=on, there is no sound from the sound card (hda-intel, conexant), and the nvidia 7600 fan never turns on (CPU fan starts and stops according to the CPU temp). With acpi=off, the GPU and CPU fans are always turned on, and the sound card works properly.

How should I proceed to compile the DSDT in the kernel? Is there some things I must/should change in the DSDT according to my laptop model?

Any help would be appreciated!
Back to top
View user's profile Send private message
boroshan
l33t
l33t


Joined: 16 Apr 2003
Posts: 730
Location: upside down

PostPosted: Sat Jan 06, 2007 8:29 pm    Post subject: Reply with quote

thorheimdall wrote:
How should I proceed to compile the DSDT in the kernel? Is there some things I must/should change in the DSDT according to my laptop model?

Probably the best place to start is the Gentoo wiki page. You might also find the sourceforge ACPI For Linux page useful.

If you get stuck, report back and I'll see what I can do
_________________
Don't let THEM immanentize the Eschaton!
Back to top
View user's profile Send private message
thorheimdall
n00b
n00b


Joined: 07 Dec 2005
Posts: 53
Location: Quebec

PostPosted: Sat Jan 06, 2007 8:34 pm    Post subject: Reply with quote

Quote:
Probably the best place to start is the Gentoo wiki page. You might also find the sourceforge ACPI For Linux page useful.

If you get stuck, report back and I'll see what I can do


Thank you very much boroshan! I'll take a look at those pages!
Back to top
View user's profile Send private message
thorheimdall
n00b
n00b


Joined: 07 Dec 2005
Posts: 53
Location: Quebec

PostPosted: Sat Jan 06, 2007 11:47 pm    Post subject: Reply with quote

I fixed the DSDT and now the sound card works with acpi=on, and the GPU fan is turned on all the time at a low speed. The DSDT fixes are basically the same as the ones suggested by ijontichy (replacing all occurrences of _T_0, "*PNP0C14"->"PNP0C14", and disable OS verification).

Thank you again for your help boroshan!
Back to top
View user's profile Send private message
Kenji Miyamoto
Veteran
Veteran


Joined: 28 May 2005
Posts: 1302
Location: Looking over your shoulder.

PostPosted: Sun Jan 07, 2007 3:28 am    Post subject: Reply with quote

Would this be the same sound chipset used in the Satellite A100? I have to max out the volume to get just enough sound out of those ear canal phones. Any lshw or lspci output regarding this problem would be helpful!
_________________
"So they turn the 'For every new Windows you have to buy new hardware' around to 'For every new hardware you have to buy a new Windows'."

Kawa-kun!
Back to top
View user's profile Send private message
boroshan
l33t
l33t


Joined: 16 Apr 2003
Posts: 730
Location: upside down

PostPosted: Sun Jan 07, 2007 7:00 am    Post subject: Reply with quote

thorheimdall wrote:

Thank you again for your help boroshan!

Thanks for yours! I've obviously messed up something basic. Time to go back to basics and see what's wrong.

Kenji Miyamoto wrote:

Would this be the same sound chipset used in the Satellite A100? I have to max out the volume to get just enough sound out of those ear canal phone. Any lshw or lspci output regarding this problem would be helpful!

Try this:
Code:
cat /proc/asound/card0/codec#0 | head

I get this:
Code:

Codec: Conexant CXT5047
Address: 0
Vendor Id: 0x14f15047
Subsystem Id: 0x1179ff31
Revision Id: 0x100000
Default PCM:
    rates [0x40]: 48000
    bits [0x2]: 16
    formats [0x1]: PCM
Default Amp-In caps: N/A


@rokoS: I just noticed I posted the hex version of the DSDT table. I'll post the dsl as soon as Zen's ftp server comes back up.

Edit:
done that
_________________
Don't let THEM immanentize the Eschaton!
Back to top
View user's profile Send private message
Pinaraf
n00b
n00b


Joined: 13 Jan 2007
Posts: 2

PostPosted: Sat Jan 13, 2007 7:13 am    Post subject: Reply with quote

Hi

I just tried this solution on the laptop of a friend, who is having this problem too (Toshiba Satellite P100-197, as far as I remember).
I updated the BIOS, no problem here.
I then changed the DSDT, but the kernel stopped booting :/
I restored the original DSDT, and did only the changes needed for the compiler to accept the DSDT : change "*PNP0C14" into "PNP0C14".... and it didn't boot either !

Do you have any suggestion ?

Thanks
Pierre
Back to top
View user's profile Send private message
boroshan
l33t
l33t


Joined: 16 Apr 2003
Posts: 730
Location: upside down

PostPosted: Sat Jan 13, 2007 10:08 am    Post subject: Reply with quote

Pinaraf wrote:

Do you have any suggestion ?

Well, if you just want it to boot, remove the initrd line from grub and/or roll back to a previous kernel. For the sound, I'm still trying to get mine working
_________________
Don't let THEM immanentize the Eschaton!
Back to top
View user's profile Send private message
Pinaraf
n00b
n00b


Joined: 13 Jan 2007
Posts: 2

PostPosted: Sat Jan 13, 2007 1:12 pm    Post subject: Reply with quote

Ho, sorry for the buzz... I tried again manually (instead of asking my friend to do the commands and send me the results) and it worked... I don't know what mistake he did. Really sorry :/
Back to top
View user's profile Send private message
boroshan
l33t
l33t


Joined: 16 Apr 2003
Posts: 730
Location: upside down

PostPosted: Thu Jan 18, 2007 11:51 am    Post subject: It works! Reply with quote

Finally - I have sound on my laptop.

Turns out the DSDT edit was ok. What was needed was a make mrproper before recompiling my kernel.

I also found a bios upgrade which probably didn't hurt either.

Thanks to everyone who helped, I was beginning to think I was never going fix it
_________________
Don't let THEM immanentize the Eschaton!
Back to top
View user's profile Send private message
theta-delta
n00b
n00b


Joined: 22 Jan 2007
Posts: 5

PostPosted: Mon Jan 22, 2007 11:34 am    Post subject: Attention! New Bios (V3.30) don't work with this patch! Reply with quote

Hi there!

The solution discribed there (patching the DSDT) works fine with my Satellite P100-313 (a PSPA3AE, probably only sold by Media Markt in Germany), but only with the original BIOS version 2.40.

Since January 18 2007 there is a new BIOS version available from the Toshiba website (version 3.30), but I wasn't able to get sound running with this.
There are more reserved "_T_X" variables which I've changed, and the other things discribed above - compiling etc. worked fine, but with no result.
So be warned before use this BIOS-"update".
:evil:

I downgraded back to 2.40, because there isn't any advantage from 3.30
Back to top
View user's profile Send private message
rokoS
n00b
n00b


Joined: 04 Jan 2007
Posts: 5

PostPosted: Mon Jan 22, 2007 2:11 pm    Post subject: Reply with quote

Same here

I tried bios 3.30 from toshiba and sound stopped working 8O . I looked at the DSDT and it compiled cleanly, so it looks like that toshiba fixed DSDT because of Vista. Changes they did are very similar to those we did in this thread. So there must be a problem somewhere else or i am missing some changes in DSDT. I have latest alsa, so there should be no problem with drivers.

For now i am staying on bios 2.40, when i have time i will play with new bios.

Please report i someone got laptop working with new bios 3.30.
Back to top
View user's profile Send private message
Kasyx
Apprentice
Apprentice


Joined: 11 Feb 2005
Posts: 186

PostPosted: Wed Jan 24, 2007 3:21 pm    Post subject: Reply with quote

Can anyone make a step-by-step idiot guide to this? I've never heard of a DSDT or anything. I'm not a newb, been using gentoo for years, just never had to go into something like this.
Back to top
View user's profile Send private message
priestjim
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jan 2005
Posts: 100
Location: Never never land

PostPosted: Wed Jan 24, 2007 9:39 pm    Post subject: Reply with quote

The world would be a better place if BIOS updates fixed actual problems like this one instead of trivial "Windows Vista" updates...
_________________
My soul is my antenna, I am the instrument + the guitar is my amplifier.
-- Ottmar Liebert
Back to top
View user's profile Send private message
theta-delta
n00b
n00b


Joined: 22 Jan 2007
Posts: 5

PostPosted: Sun Jan 28, 2007 9:27 am    Post subject: Reply with quote

Kasyx wrote:
Can anyone make a step-by-step idiot guide to this? I've never heard of a DSDT or anything. I'm not a newb, been using gentoo for years, just never had to go into something like this.


Hi Kasyx. Everything needed is explained in the wiki page:
http://gentoo-wiki.com/HOWTO_Fix_Common_ACPI_Problems

When you have your disassembled dsdt.dsl, open it in your favourite text editor and make the following changes:
1) Search and Replace all " _T_0" by somewhat else, for expample "QW"

2) Search for "BTST" - you'll find something like "Method (BTST, 0, NotSerialized)". It has an if-else structure, and needs a "Else { Return(Zero) }"

3) Replace ``Name (_HID, "*PNP0C14")'' by `` Name (_HID, "PNP0C14")''

4) Search for "Linux" - you'll find the following code (already edited). Just comment the whole If-else structures, and add "Store (0x07D6, OSYS) // Fake Windows 2006" between the last and last but one closing curly brace.

Code:

    Scope (\_SB)
     {
         Method (_INI, 0, NotSerialized)
         {
             If (DTSE)
             {
                 TRAP (0x47)
             }
 
             Store (0x07D0, OSYS)
 //             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
         }


Now just recompile your dsdt.dsl (there shouldn't be any warnings or errors) and use it as described at the wiki page.
[/code][/url]
Back to top
View user's profile Send private message
theta-delta
n00b
n00b


Joined: 22 Jan 2007
Posts: 5

PostPosted: Sun Jan 28, 2007 9:34 am    Post subject: acpi and sound, but wlan? Reply with quote

Hi,

today I recognised that my wlan doesn't work anymore after doing the dsdt stuff (Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)).
I used the Ubuntu Edgy Edge Kernel 2.6.17-10-generic.

I also tried the actual Ubuntu feisty kernel 2.6.20-5-generic and build my own kernel from the offical ubuntu sources (2.6.20-5), but with the 2.6.20 kernels wlan and acpi work fine, but sound only with acpi=off, so the same old problem.

Does sound, acpi and wlan work together on your satellite p100s?

Greetings,
t-d
Back to top
View user's profile Send private message
Crischan
n00b
n00b


Joined: 28 Jan 2007
Posts: 1

PostPosted: Sun Jan 28, 2007 11:29 am    Post subject: Reply with quote

Hi all,

thanks a lot for these posts.

I have also a Satellite P100-313 (PSPA3AE, also from MediaMarkt Germany), and now I got it to work with ACPI and Sound.
My Software is SuSE 10.1, Kernel 2.6.16.21-0.25-smp.

I first had to upgrade the Bios from 2.10 to 2.40 from the US website. The german site offers the 3.xx Bios only, but this seemed to crash my Wlan driver.

Then I recompiled the DSDT similar to the way in the posts above. But in my case, I preferred to leave the unknown symbols and objects unchanged, and to compile with the -f option (iasl -tc -f dsdt.dsl). I believe the unknown symbols and object are well defined in the 'larger' context during runtime, just not known to the compiler at compile time.
So the -f options will give the errors, but also write the binary.
This means, I only changed the 'recognition' of the Linux/Windows OS as stated in the earlier posts., and removed the asterisk ("*PNP0C14"->"PNP0C14").

Then I used the new DSDL with my initrd. Make sure to not only have a backup of your old initrd file, but also to have a boot menu entry which will load the backup ('failsave') version, because if things go wrong, you cannot boot and might have a problem. :-)

Furthermore, now even Suspend to RAM (!) works fine, after altering /etc/sysconfig/powersave/sleep (setting SUSPEND2RAM_FORCE="yes" and SUSPEND2RAM_ACPI_SLEEP="3") and installing the propietary NVidia graphics driver (not included in the SuSE DVDs, but available with Yast software install from download.nvidia.com).

Hope this helps.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT - 5 Hours
Goto page 1, 2, 3, 4  Next
Page 1 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum