[ImoLUG] patch dsdt - hda_intel ALSA non funziona!

Fabio Vannini fabio.vannini@gmail.com
Dom 12 Ago 2007 17:46:55 CEST


Salve.. apro un altra discussione perch  un altro problema che mi 
capitato installando gentoo sul mio Toshiba P100-389 PSPAE versione bios
3.80:

Il mio portatile necessita della patch acpi per il caricamento di dsdt
personalizzate. (x info
http://wiki.gentoo-italia.net/index.php/Risolvere_problemi_comuni_con_ACPI)

La dsdt viene caricata. Ho controllato cio con:

tux ~ # dmesg | grep DSDT
ACPI: DSDT 3FE9305C, 8B5A (r1 TOSQCI   Denver  6040000 MSFT  3000001)
ACPI: Looking for DSDT in initramfs... successfully read 32343 bytes from
/DSDT.aml.
ACPI: Table DSDT replaced by host OS
ACPI: DSDT 00000000, 7E57 (r1 TOSQCI   Denver  6040000 INTL 20060912)


seguendo questo testo (
http://gentoo-wiki.com/HARDWARE_Toshiba_Satellite_P100) noto che la scheda
audio hda_intel necessita dei driver alsa
alsa-driver-1.0.14-rc1.Quindicompilo il kernel Attivando il supporto
audio, ma disabilitando
completamente ALSA e OSS.

Poi tento di emergere alsa-driver, ma ottengo un errore nella compilazione:

tux ~ # emerge alsa-driver
....
....
2/include/adriver.h:1167: error: too many arguments to function
'pci_restore_state'
make[4]: *** [/var/tmp/portage/media-sound/alsa-
driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2/acore/memalloc.o] Error 1
make[3]: *** [/var/tmp/portage/media-sound/alsa-
driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2/acore] Error 2
make[2]: *** [_module_/var/tmp/portage/media-sound/alsa-
driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.21-gentoo-r4'
make: *** [compile] Error 2

!!! ERROR: media-sound/alsa-driver-1.0.14_rc2-r1 failed.
Call stack:
  ebuild.sh, line 1632:   Called dyn_compile
  ebuild.sh, line 983:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  alsa-driver-1.0.14_rc2-r1.ebuild, line 129:   Called die

!!! Make Failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.
!!! A complete build log is located at '/var/tmp/portage/media-sound/alsa-
driver-1.0.14_rc2-r1/temp/build.log'.

Ho provato a risolvere con un emerge --sync ma niente da fare..

tux ~ # cat /etc/make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-march=nocona -O2 -pipe"
CXXFLAGS="${CFLAGS}"
# This should not be changed unless you know exactly what you are doing.
You
# should probably be using a different stage, instead.
CHOST="x86_64-pc-linux-gnu"

ALSA_CARDS="hda-intel"
INPUT_DEVICES="evdev keyboard mouse synaptics"
VIDEO_CARDS="nv nvidia vesa"

PORTDIR_OVERLAY="/usr/local/portage"

LINGUAS="it"

USE="aiglx acpi alsa arts cairo cdr bluetooth dbus dvd dvdr dvdread eds
emboss encode esd evo fam firefox gif -gnome gpm gstreamer -gtk hal jpeg kde
kerberos ldap mad mikmod mp3 mpeg nvidia ogg opengl oss pdf png qt3
qt3support qt4 quicktime sdl spell svg tiff truetype vorbis wifi win32codecs
unicode X xml xv"


GENTOO_MIRRORS="http://mirror.ing.unibo.it/gentoo/
ftp://mirror.ing.unibo.it/gentoo/ "

SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"


PS:  Inoltre altro bug della mia dsdt che sto tentando di risolvere  che la
ventola della GPU Nvidia non gira correttamente: o molto lentamente o
staccata.. sto tentando di risolverle modificando a mano il file
dsdt.dslricavato sulla mia macchina.
-------------- parte successiva --------------
Un allegato HTML  stato rimosso...
URL: http://lists.linux.it/pipermail/imolug/attachments/20070812/a6a58180/attachment.htm 


Maggiori informazioni sulla lista Imolug