LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 02-23-2007, 12:29 AM   #1
LuisC-SM
LQ Newbie
 
Registered: Mar 2006
Location: Mexico
Distribution: Xandros, Linspire, Ubuntu, SLED 10
Posts: 29

Rep: Reputation: 15
HowTo Fix ACPI + ICH7 family (Conexant) Driver on Toshiba P100/105 series


HowTo Fix ACPI + Sound on Toshiba P100/105 series with CONEXANT ICH7 family codec on SLED 10.

Update 25/06/07 This HowTo is useless for SLED 10 SP1

I decided to write this howto due to common problems Toshiba users have with the buggy BIOS provided by Toshiba itself.
This howto is intended for SLED 10 users but; with the right tools, might also apply to any openSuSE or Debian/Ubuntu based distributions.

I must say that I'm not any kind of SLED guru or anything close to it. My knowledge in Linux is from medium to basic nevertheless I have about 2 or more years of experience and ever since I do not use MS Windows anymore.
In order to have a better understanding of this howto, is necessary to have some basic knowledge in VI or VIM editor (use $ man vi at command line to have some info regarding the editor commands)

Disclaimer: Use it at your own risk!!!

1.Update/Upgrade your BIOS to version 2.40 (This howto is based on this BIOS and if you decide to upgrade to version 3.30 this howto might be useless).

2.Right click on your desktop and open a terminal. Execute the following command:
Code:
$ sudo cat  /proc/acpi/dsdt > dsdt.dat

This will display some warnings or errors but at the end you will have the dsdt.dat file in your home directory.

3.Now we will decompile the dsdt.dat file to generate an editable one by executing the following command
Code:
$ iasl -d dsdt.dat

NOTE: SLED 10 already comes with the Intel DSL Compiler (at least in my case).
This will generate a editable dsdt.dsl file which we will change just by executing the following command:

4.
Code:
$ gedit dsdt.dsl


5.Replace ``Name (_HID, "*PNP0C14")'' by `` Name (_HID, "PNP0C14")'' and search for "Linux" and comment the if-else structure and add: "Store (0x07D6, OSYS) // Fake Windows 2006" between the 2 last closing curly braces as shown in the next example:
PHP Code:
Scope (_SB
     { 
         
Method (_INI0NotSerialized
         { 
             If (
DTSE
             { 
                 
TRAP (0x47
             } 
  
             
Store (0x07D0OSYS
 
//             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 (0x07D6OSYS)  // Fake Windows 2006 
         

6.Save your file and recompile it by executing:
Code:
$ iasl -tc -f dsdt.dsl
NOTE: You will get very many warnings and errors but the binary DSDT.aml will be created so now let's take care of this new file and as root (su) copy it to your /etc directory by issuing the following command:
Quote:
$ su ##(don't forget to write down your password :=))
Code:
# cp DSDT.aml /etc
7.Now let's modify our /etc/sysconfig/kernel file to tell it look for our new DSDT.aml created file
Code:
# cp /etc/sysconfig/kernel /etc/sysconfig/kernel.orig ##(this is to back up our file in case you want to go back to your previous settings)
Code:
# vi /etc/sysconfig/kernel ##(search for ACPI_DSDT=" " and change it to say ACPI_DSDT="/etc/DSDT.aml"). Save it !!
8.Execute:
Code:
# mkinitrd
# shutdown -r now
(to reboot your system so changes take effect)
In case you have booted with no single problem proceed to Nr 9. If you have any problem, STOP this howto, boot into runlevel 3, delete /etc/sysconfig/kernel and back up your original one by executing the following commands as root:
Code:
# cd /etc/sysconfig
# rm kernel
# mv kernel.orig kernel
# mkinitrd
# shutdown -r now
(and this will bring you back to your last stage and try to get help some other place ).

UPDATE (09/03/2007)
ALSA-Driver-1.0.14rc3 has been released. You DO NOT need to patch anymore.

9.SLED 10 comes with ALSA 1.0.12 and this version does not have the fix we need for the CONEXANT codec. Plus, there was a major fix specialy for this driver in 1,0,14rc2 (Now rc3) version which is still in development. So let's Download ALSA driver 1.0.14rc3 (at this time) and let's back it up .
NOTE: You will need your kernel sources and devel tools
Code:
# tar -zcvf original-drivers.tgz /lib/modules/`uname -r`/kernel/sound
(this will back up our original drivers just in case).

Execute the next commands in that order
Code:
# cd /usr/src
# mkdir alsa
# cd alsa
# wget ftp://ftp.alsa-project.org/pub/drive....14rc3.tar.bz2
# tar -jxf alsa-driver-1.0.14rc3.tar.bz2
# cd alsa-driver-1.0.14rc3/alsa-kernel

# ./configure --with-debug=detect -–with-cards=hda-intel --with-sequencer=yes
# make ; make install
# dmesg -c >/dev/null ##(this will clear dmesg prior to loading the new driver)
# lsmod |fgrep snd ##(to stop all audio and drivers)
# chmod a+rw /dev/dsp /dev/mixer /dev/sequencer /dev/midi ##(/dev/midi will probabily give u an error.. no worries)
# modprobe snd-hda-intel ##(to load the driver)
# cd ..
# wget ftp://ftp.alsa-project.org/pub/drive....14rc3.tar.bz2
# tar -jxf alsa-lib-1.0.14rc3.tar.bz2
# cd alsa-lib-1.0.14rc3
# ./configure; make; make install
# cd ..
# wget ftp://ftp.alsa-project.org/pub/drive....14rc3.tar.bz2
# tar -jxf alsa-utils-1.0.14rc3.tar.bz2
# cd alsa-utils-1.0.14rc3
# ./configure; make; make install
# alsamixer
(see that everything is unmuted “00”)

10.The last and best thing is to use Yast to configure your soundcard by
# yast2 --> Hardware > Sound and edit your card for changes to take effect.

Remarks:
Quote:
This BIOS issue has already been fixed in Kernel v2.6.20 AFAIC.
The CONEXANT driver patches will be released in alsa-driver-1.0.14 final AFAIC.
Sources (Aknowlegdements):
Quote:
http://gentoo-wiki.com/HOWTO_ALSA_so..._Kernel_2.6.16
http://forums.gentoo.org/viewtopic-t...f960d86b228457 Special Thanks to Chrischan for enlightening me
http://acpi.sourceforge.net/wiki/ind...ustomDsdtTable
http://www.novell.com/documentation/...powersave.html
http://gaugusch.at/kernel.shtml
http://www.alsa-project.org/alsa-doc...dule=hda-intel
ALSA Mailing Lists
Tobin Davis's (aka gruemaster) patches (Very Special thanks to Tobin's conexant crusade to solve this issue in these last 2 months)
Regards.

Luis C. Suárez

Last edited by LuisC-SM; 06-25-2007 at 11:53 AM.
 
Old 03-14-2007, 07:00 PM   #2
sheppard
LQ Newbie
 
Registered: Mar 2007
Posts: 7

Rep: Reputation: 0
Wink Non sound yet...something wrong with alsa-driver-1.0.14rc3?

Hi Luis,

This is a wonderful tutorial. I have a toshiba P105-s6024 with this sound card, running Suse 10.2, and since I am a newbie in linux I found your tutorial extremely helpful. However my machine is still muted, since I have not been able to finish the tutorial. Everything goes fine until I try to install the alsa packages. Here is what I get when I type "make" after ./configure:
linux-vbjr:/usr/src/alsa/alsa-driver-1.0.14rc3 # make
make dep
make[1]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3'
make[2]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/acore'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/acore/ioctl32'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/acore/ioctl32'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/acore/oss'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/acore/oss'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/acore/seq'
make[4]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/acore/seq/instr'
make[4]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/acore/seq/instr'
make[4]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/acore/seq/oss'
make[4]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/acore/seq/oss'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/acore/seq'
make[2]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/acore'
make[2]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/i2c'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/i2c/other'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/i2c/other'
make[2]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/i2c'
make[2]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/drivers'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/drivers/mpu401'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/drivers/mpu401'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/drivers/opl3'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/drivers/opl3'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/drivers/opl4'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/drivers/opl4'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/drivers/pcsp'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/drivers/pcsp'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/drivers/vx'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/drivers/vx'
make[2]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/drivers'
make[2]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/isa'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/isa/ad1816a'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/isa/ad1816a'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/isa/ad1848'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/isa/ad1848'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/isa/cs423x'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/isa/cs423x'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/isa/es1688'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/isa/es1688'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/isa/gus'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/isa/gus'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/isa/msnd'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/isa/msnd'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/isa/opti9xx'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/isa/opti9xx'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/isa/sb'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/isa/sb'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/isa/wavefront'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/isa/wavefront'
make[2]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/isa'
make[2]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/synth'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/synth/emux'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/synth/emux'
make[2]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/synth'
make[2]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/ac97'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/ac97'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/ali5451'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/ali5451'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/asihpi'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/asihpi'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/au88x0'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/au88x0'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/ca0106'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/ca0106'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/cs46xx'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/cs46xx'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/cs5535audio'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/cs5535audio'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/echoaudio'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/echoaudio'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/emu10k1'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/emu10k1'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/hda'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/hda'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/ice1712'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/ice1712'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/korg1212'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/korg1212'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/mixart'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/mixart'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/nm256'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/nm256'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/pcxhr'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/pcxhr'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/pdplus'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/pdplus'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/riptide'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/riptide'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/rme9652'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/rme9652'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/trident'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/trident'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/vx222'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/vx222'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/ymfpci'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci/ymfpci'
make[2]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pci'
make[2]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/aoa'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/aoa/codecs'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/aoa/codecs'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/aoa/core'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/aoa/core'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/aoa/fabrics'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/aoa/fabrics'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/aoa/soundbus'
make[4]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/aoa/soundbus/i2sbus'
make[4]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/aoa/soundbus/i2sbus'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/aoa/soundbus'
make[2]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/aoa'
make[2]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/soc'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/soc/at91'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/soc/at91'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/soc/codecs'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/soc/codecs'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/soc/pxa'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/soc/pxa'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/soc/s3c24xx'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/soc/s3c24xx'
make[2]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/soc'
make[2]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/usb'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/usb/usx2y'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/usb/usx2y'
make[2]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/usb'
make[2]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pcmcia'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pcmcia/pdaudiocf'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pcmcia/pdaudiocf'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pcmcia/vx'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pcmcia/vx'
make[2]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3/pcmcia'
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.14rc3'
make -C /lib/modules/2.6.18.8-0.1-xen/source SUBDIRS=/usr/src/alsa/alsa-driver-1.0.14rc3 O=/lib/modules/2.6.18.8-0.1-xen/build CPP="gcc -E" CC="gcc" modules
make[1]: Entering directory `/usr/src/linux-2.6.18.8-0.1'
CC [M] /usr/src/alsa/alsa-driver-1.0.14rc3/acore/memalloc.o
In file included from /usr/src/alsa/alsa-driver-1.0.14rc3/acore/memalloc.inc:13,
from /usr/src/alsa/alsa-driver-1.0.14rc3/acore/memalloc.c:1:
/usr/src/alsa/alsa-driver-1.0.14rc3/include/adriver.h: In function 'snd_pci_orig_save_state':
/usr/src/alsa/alsa-driver-1.0.14rc3/include/adriver.h:1167: error: too many arguments to function 'pci_save_state'
/usr/src/alsa/alsa-driver-1.0.14rc3/include/adriver.h: In function 'snd_pci_orig_restore_state':
/usr/src/alsa/alsa-driver-1.0.14rc3/include/adriver.h:1171: error: too many arguments to function 'pci_restore_state'
make[4]: *** [/usr/src/alsa/alsa-driver-1.0.14rc3/acore/memalloc.o] Error 1
make[3]: *** [/usr/src/alsa/alsa-driver-1.0.14rc3/acore] Error 2
make[2]: *** [_module_/usr/src/alsa/alsa-driver-1.0.14rc3] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.18.8-0.1'
make: *** [compile] Error 2

and I cannon do anything after that. Any help will be appreciated.
 
Old 03-14-2007, 07:05 PM   #3
sheppard
LQ Newbie
 
Registered: Mar 2007
Posts: 7

Rep: Reputation: 0
Also, in Step No. 6 when I type cp DSDT.aml /etc, the computer does not find the DSDT.aml file. The only file found is the same one but in lower case: dsdt.aml. So I typed the command with that one, but what worries me is that this file has nothing inside. I mean, it has 0k. Is that fine? or I did something wrong?
 
Old 03-16-2007, 03:59 PM   #4
LuisC-SM
LQ Newbie
 
Registered: Mar 2006
Location: Mexico
Distribution: Xandros, Linspire, Ubuntu, SLED 10
Posts: 29

Original Poster
Rep: Reputation: 15
Ok.
Thanks for your comments.
First things frst! Let's fix your compiling problem problem.
How about installing the C compiler and the rest of the development tools?
Yast>>Install/Uninstall Software
Select "Patterns" in Filter and and check the "C/C++ Compiler and Tools" I have selected all 'cause I've compiled some other programs but you will NOT need "gettext, flex, cvs, subversion, valgrind" and some other that I do not remember right now but you can always uninstall them after this.
Install "kernel-source" (Maybe you will need the 5 SDK CDs. Not quite sure)
After all this is installed start again the howto and tell me how this is going.

Kind Regards.

Luis C. Suárez

PS. The DSDT.aml file is created in the same directory where you are working. It cannot be 0 KB... there must be something you are missing. Do you have the Intel DSL compiler installed?

EDIT: I supposse that if u r already in step 6 you must have the Intel DSL compiler installed, however there must be something wrong.
Regardig to the development tools you must also install alsa-devel (I'm not sure if this is the only one I've missed, However, I'll give u a very good hint on the devel tools you need in my next post whe I arrive home :=)

Last edited by LuisC-SM; 03-16-2007 at 04:43 PM.
 
Old 03-16-2007, 09:32 PM   #5
sheppard
LQ Newbie
 
Registered: Mar 2007
Posts: 7

Rep: Reputation: 0
Hi Luis!

Thanks for replying my mail. First of all let me tell you that I am running Suse Linux 10.2 with the kernel: 2.6.18.8-0.1-xen.

the second thing is that I have already installed the compilers
and finally, probably somenthing is wrong in my machine since there is no .aml file on my computer but the DSDT.aml with 0 kb.

If you want, tell me the time you will be sitting down in your machine, so that I contact you on time.

Thanks for your help.
 
Old 03-16-2007, 09:39 PM   #6
sheppard
LQ Newbie
 
Registered: Mar 2007
Posts: 7

Rep: Reputation: 0
I also thought that I could not install the new alsa driver because there was something wrong with the file,and I found out that there was a patch called 45362-001.bin but I could not install the file. So I am in the same position I was before.
 
Old 03-17-2007, 06:15 AM   #7
LuisC-SM
LQ Newbie
 
Registered: Mar 2006
Location: Mexico
Distribution: Xandros, Linspire, Ubuntu, SLED 10
Posts: 29

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by sheppard
Hi Luis!

Thanks for replying my mail. First of all let me tell you that I am running Suse Linux 10.2 with the kernel: 2.6.18.8-0.1-xen.

the second thing is that I have already installed the compilers
and finally, probably somenthing is wrong in my machine since there is no .aml file on my computer but the DSDT.aml with 0 kb.

If you want, tell me the time you will be sitting down in your machine, so that I contact you on time.

Thanks for your help.
Oh yes!, I read so fast that I did'nt noticed you had installed 10.2 version. I run into some issues installing openSuSE 10.2 on this machine. As a matter of fact, I couldn't even boot it. Toshiba laptops seem not t be very friendly with linux, however, SLED 10 seemed to have everything to run just fine except for this sound issue.

I'm runnning 2.6.16.27-0.9-smp kernel and I believe you are running a much better kernel version but really have no idea if that should be an issue (I don't believe so).

Right in this page, probabily is the best answear to your ACPI problem since this guy seems to have a model closer to yours and to be running SuSE 10.2 version AFAIK. Your linux skills must also be a little better than mine since patching a kernel is never an easy task :=). But I'm really sure you can fix the problem.

Regarding the alsa-driver issue, I exactly don't know what you mean with the patch 45362-001.bin (I have installed this driver on this box and on another old toshiba with Ubuntu 6.10 with no single problem), but right now I'm writing to Tobin Davis to take a look to this post to see if he can be of any help (I believe much more better than mine ).

Regards

Luis.

PS. ALSA-driver-1.0.14rc3 does not need to be patched. It has all enhancements for CONEXANT 5047 Codec (Renamed to CX20549 (Venice)) and 5045 (Renamed to CX20551 (Waikiki))

EDIT: If you have BIOS version 3.50 instead of 2.4, then Download this file and use the dsdt.aml provided instead of what I'm telling you. I've not tried it but it could solve all your problems

Last edited by LuisC-SM; 03-17-2007 at 10:55 AM.
 
Old 03-18-2007, 01:34 PM   #8
GrueMaster
Member
 
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848

Rep: Reputation: 30
Thanks LuisC-SM for the reference to me above.

sheppard: This is the first time I've heard of a build issue with OpenSuse 10.2 and alsa 1.0.14rc3. Could you doenload my integrated build environment an try it? http://members.dsl-only.net/~tdavis/my-build.tar.bz2

To build from this tarball:
tar -jxvf my-build.tar.bz2
cd my-build
sudo make

This will build 4 rpms: alsa-driver, alsa-lib, alsa-lib-devel, and alsa-utils

To install them, type "sudo audio-install".

If any of this process fails, let me know, and I'll try to reproduce your build environment here.

Tobin "GrueMaster" Davis
 
Old 05-22-2007, 01:24 PM   #9
wadechandler
LQ Newbie
 
Registered: Sep 2006
Posts: 2

Rep: Reputation: 0
Thanks for the information. Just fixing the DSDT worked on my system: Toshiba Satellite P105-S177, SuSE 10.2. I don't know what the deal was with my system though. Long before finding your post I had decompiled my DSDT to get the parameters to force Windows emulation. I entered acpi_os_name="Windows 2006", which according to the dsl code should have worked like the DSDT fix as it should have entered a branch statement and set the OSYS to Windows 2006 (0x07D6), but it did not work, so I'm thinking the kernel must not have been able to change the _OSI value. I recompiled with your simple change by commenting out everything in that branch section and hard coded the value. I did have to apply the fix for ALSA. Either my card, which is Intel ICH7 HD, is not using the Conexant codec, or SuSE 10.2 ALSA 1.0.13-22 has the patch applied already. I new it has to be something with ACPI breaking it though as sound worked when I disabled:
apm=off acpi=off noapic

So, many thanks to you for posting this. I may never have tried to just hard code the value were it not for your write up.....thanks thanks thanks :-D

All I did was searched for Linux then found this code and changed it like I have here:
[
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) 
            }
Wade
 
Old 05-23-2007, 08:58 PM   #10
LuisC-SM
LQ Newbie
 
Registered: Mar 2006
Location: Mexico
Distribution: Xandros, Linspire, Ubuntu, SLED 10
Posts: 29

Original Poster
Rep: Reputation: 15
hey... thanks a lot for your research and comments.

It'd be very nice if you post (or edit your post) as something like this:

old code:
Quote:
old code
new code:
Quote:
new code
Kind Regards

Luis

Edit: why?... just to leave a precedent on how you have fixed it (how it looked like before and how it looks like now) ... thnx a lot pall

Last edited by LuisC-SM; 05-23-2007 at 09:05 PM.
 
Old 06-03-2007, 02:23 PM   #11
Dutchy_
LQ Newbie
 
Registered: Jun 2007
Location: The Netherlands
Distribution: Ubuntu, Gentoo, Debian
Posts: 15

Rep: Reputation: 0
To make it work on Ubuntu 7.04 and probably other versions of Ubuntu and Debian, step 7 and 8 look like this:

Code:
cp DSDT.aml /etc/initramfs-tools/
mkinitramfs -o /boot/your-new-initrd-image-name-here
(for example /boot/initrd.img-2.6.20-16-generic-DSDTfix )

then open up grub's menu.lst

Code:
nano /boot/grub/menu.lst
and find a line that looks something like:

initrd /boot/initrd.img-2.6.20-16-generic

REPLACE WITH
initrd /boot/initrd.img-2.6.20-16-generic-DSDTfix

or whatever name you gave it



then follow the rest of the steps ( i already had an up to date version of alsa so i didnt test the rest )
 
Old 06-04-2007, 09:02 AM   #12
LuisC-SM
LQ Newbie
 
Registered: Mar 2006
Location: Mexico
Distribution: Xandros, Linspire, Ubuntu, SLED 10
Posts: 29

Original Poster
Rep: Reputation: 15
Thanks for the feedback Dutchy.

It will be a good idea if you can post it in ubuntu forums

In this momment I have no time to doit.

Kind Regards

Luis
 
Old 06-05-2007, 05:44 AM   #13
Dutchy_
LQ Newbie
 
Registered: Jun 2007
Location: The Netherlands
Distribution: Ubuntu, Gentoo, Debian
Posts: 15

Rep: Reputation: 0
Quote:
Originally Posted by LuisC-SM
Thanks for the feedback Dutchy.

It will be a good idea if you can post it in ubuntu forums

In this momment I have no time to doit.

Kind Regards

Luis
I have linked to this thread there
 
Old 10-23-2007, 01:35 PM   #14
Dutchy_
LQ Newbie
 
Registered: Jun 2007
Location: The Netherlands
Distribution: Ubuntu, Gentoo, Debian
Posts: 15

Rep: Reputation: 0
This stopped working for me in the latest Ubuntu, do you have any ideas what i could do to figure out why?

(it stopped since kernel 21 or 22)

EDIT:
After a little googling I see you have the same problem
https://bugs.launchpad.net/ubuntu/+s...22/+bug/136469

Last edited by Dutchy_; 10-23-2007 at 04:26 PM.
 
Old 10-24-2007, 12:12 AM   #15
LuisC-SM
LQ Newbie
 
Registered: Mar 2006
Location: Mexico
Distribution: Xandros, Linspire, Ubuntu, SLED 10
Posts: 29

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Dutchy_ View Post
...
EDIT:
After a little googling I see you have the same problem
https://bugs.launchpad.net/ubuntu/+s...22/+bug/136469
Yup.. I'm just so tired of trial and error and I've just decided to abandon ubuntu gutsy for quite a time (maybe for good in this laptop)
I have openSuse 10.3 and Mandriva 2008.0 running just perfect in this laptop with no custom DSDT file.

Wish you Good luck with Gutsy G.!!

Luis
 
  


Reply

Tags
acpi, alsa, ich7


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with sound and graphics card on opensuse 10.2 on toshiba satellite p100-188 zutty Linux - Laptop and Netbook 4 02-17-2007 09:41 AM
SLED 10 on Toshiba Satellite P100-188 iseptimus Linux - Laptop and Netbook 3 10-20-2006 09:18 PM
toshiba p100 .Alexandru. Linux - Laptop and Netbook 6 10-20-2006 12:57 PM
No soundcards found - gentoo - Intel Corporation 82801G (ICH7 Family) nones Linux - Laptop and Netbook 1 10-18-2006 07:21 AM
How To Install A Conexant Aclink 56 K Modem On A Compaq Nx 9000 Series For Redhat 9.0 elf_asura Linux - Laptop and Netbook 5 01-31-2004 02:16 AM


All times are GMT -5. The time now is 06:13 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration