Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Solved (was: snd-hda-intel works only with acpi=off)

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
94 posts
  • 1
  • 2
  • 3
  • 4
  • Next
Author
Message
mentorek
n00b
n00b
User avatar
Posts: 55
Joined: Fri Feb 06, 2004 10:38 pm
Location: Sosnowiec, Poland

  • Quote

Post by mentorek » Wed Dec 20, 2006 4:06 pm

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
Top
boroshan
l33t
l33t
User avatar
Posts: 730
Joined: Wed Apr 16, 2003 8:39 pm
Location: upside down
Contact:
Contact boroshan
Website

  • Quote

Post by boroshan » Mon Jan 01, 2007 11:57 am

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: Select all

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!
Top
rokoS
n00b
n00b
Posts: 5
Joined: Thu Jan 04, 2007 2:46 pm

  • Quote

Post by rokoS » Thu Jan 04, 2007 2:50 pm

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
Top
boroshan
l33t
l33t
User avatar
Posts: 730
Joined: Wed Apr 16, 2003 8:39 pm
Location: upside down
Contact:
Contact boroshan
Website

  • Quote

Post by boroshan » Thu Jan 04, 2007 9:49 pm

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!
Top
rokoS
n00b
n00b
Posts: 5
Joined: Thu Jan 04, 2007 2:46 pm

  • Quote

Post by rokoS » Fri Jan 05, 2007 9:26 am

GPU fan is one on the left side. CPU is one on the back of the machine.
Top
boroshan
l33t
l33t
User avatar
Posts: 730
Joined: Wed Apr 16, 2003 8:39 pm
Location: upside down
Contact:
Contact boroshan
Website

  • Quote

Post by boroshan » Fri Jan 05, 2007 2:28 pm

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!
Top
rokoS
n00b
n00b
Posts: 5
Joined: Thu Jan 04, 2007 2:46 pm

  • Quote

Post by rokoS » Sat Jan 06, 2007 10:49 pm

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.
Top
boroshan
l33t
l33t
User avatar
Posts: 730
Joined: Wed Apr 16, 2003 8:39 pm
Location: upside down
Contact:
Contact boroshan
Website

  • Quote

Post by boroshan » Sun Jan 07, 2007 12:17 am

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

... and thanks :)
Don't let THEM immanentize the Eschaton!
Top
thorheimdall
n00b
n00b
Posts: 53
Joined: Thu Dec 08, 2005 3:12 am
Location: Quebec

  • Quote

Post by thorheimdall » Sun Jan 07, 2007 1:22 am

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!
Top
boroshan
l33t
l33t
User avatar
Posts: 730
Joined: Wed Apr 16, 2003 8:39 pm
Location: upside down
Contact:
Contact boroshan
Website

  • Quote

Post by boroshan » Sun Jan 07, 2007 1:29 am

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!
Top
thorheimdall
n00b
n00b
Posts: 53
Joined: Thu Dec 08, 2005 3:12 am
Location: Quebec

  • Quote

Post by thorheimdall » Sun Jan 07, 2007 1:34 am

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!
Top
thorheimdall
n00b
n00b
Posts: 53
Joined: Thu Dec 08, 2005 3:12 am
Location: Quebec

  • Quote

Post by thorheimdall » Sun Jan 07, 2007 4:47 am

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!
Top
Kenji Miyamoto
Veteran
Veteran
User avatar
Posts: 1452
Joined: Sat May 28, 2005 6:11 pm
Location: Looking over your shoulder.
Contact:
Contact Kenji Miyamoto
Website

  • Quote

Post by Kenji Miyamoto » Sun Jan 07, 2007 8:28 am

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!
[ Kawa-kun, new and improved!! ]

Alex Libman seems to be more of an anarchist than a libertarian.
Top
boroshan
l33t
l33t
User avatar
Posts: 730
Joined: Wed Apr 16, 2003 8:39 pm
Location: upside down
Contact:
Contact boroshan
Website

  • Quote

Post by boroshan » Sun Jan 07, 2007 12:00 pm

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: Select all

cat /proc/asound/card0/codec#0 | head
I get this:

Code: Select all

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!
Top
Pinaraf
n00b
n00b
Posts: 2
Joined: Sat Jan 13, 2007 12:05 pm

  • Quote

Post by Pinaraf » Sat Jan 13, 2007 12:13 pm

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
Top
boroshan
l33t
l33t
User avatar
Posts: 730
Joined: Wed Apr 16, 2003 8:39 pm
Location: upside down
Contact:
Contact boroshan
Website

  • Quote

Post by boroshan » Sat Jan 13, 2007 3:08 pm

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!
Top
Pinaraf
n00b
n00b
Posts: 2
Joined: Sat Jan 13, 2007 12:05 pm

  • Quote

Post by Pinaraf » Sat Jan 13, 2007 6:12 pm

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 :/
Top
boroshan
l33t
l33t
User avatar
Posts: 730
Joined: Wed Apr 16, 2003 8:39 pm
Location: upside down
Contact:
Contact boroshan
Website

It works!

  • Quote

Post by boroshan » Thu Jan 18, 2007 4:51 pm

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!
Top
theta-delta
n00b
n00b
Posts: 5
Joined: Mon Jan 22, 2007 4:26 pm

Attention! New Bios (V3.30) don't work with this patch!

  • Quote

Post by theta-delta » Mon Jan 22, 2007 4:34 pm

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
Top
rokoS
n00b
n00b
Posts: 5
Joined: Thu Jan 04, 2007 2:46 pm

  • Quote

Post by rokoS » Mon Jan 22, 2007 7:11 pm

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.
Top
sdfg
Apprentice
Apprentice
Posts: 200
Joined: Fri Feb 11, 2005 10:07 pm

  • Quote

Post by sdfg » Wed Jan 24, 2007 8:21 pm

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.
Top
priestjim
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 100
Joined: Sun Jan 09, 2005 12:57 pm
Location: Never never land
Contact:
Contact priestjim
Website

  • Quote

Post by priestjim » Thu Jan 25, 2007 2:39 am

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
Top
theta-delta
n00b
n00b
Posts: 5
Joined: Mon Jan 22, 2007 4:26 pm

  • Quote

Post by theta-delta » Sun Jan 28, 2007 2:27 pm

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: Select all

    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]
Top
theta-delta
n00b
n00b
Posts: 5
Joined: Mon Jan 22, 2007 4:26 pm

acpi and sound, but wlan?

  • Quote

Post by theta-delta » Sun Jan 28, 2007 2:34 pm

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
Top
Crischan
n00b
n00b
Posts: 1
Joined: Sun Jan 28, 2007 2:33 pm

  • Quote

Post by Crischan » Sun Jan 28, 2007 4:29 pm

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.
Top
Post Reply

94 posts
  • 1
  • 2
  • 3
  • 4
  • Next

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic