Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ALSA e kernel 2.6.3 MB ASUS A7V8X-X e S/PDIF
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Neomubumba
Tux's lil' helper
Tux's lil' helper


Joined: 17 Feb 2004
Posts: 136
Location: Milano

PostPosted: Fri Feb 27, 2004 4:56 pm    Post subject: ALSA e kernel 2.6.3 MB ASUS A7V8X-X e S/PDIF Reply with quote

Ciao a tutti!!!!

Intanto sono contento come un pinguina che ha appena pescato un frescissimo pesciolino, infatti vi sto scrivendo finalmente dal mio computere su cui da qualche giorno ho finito di installare Gentoo. (A proposito, visto che non riuscivo ad installare anche Winzozz perchè nel momento di accettare il contratto con F8 ne ero impossibilitato visto che forse non riconosceva bene la tastiera, infatti è un po' particolare ma secondo me è perchè si rifiutava di accettare un contratto di licenza così subdolo come quello proposto ;) , alla fine ho optato per la soluzione migliore che c'era .... abbandonare completamente Winzozz!!!!)

Ora ho installato Xfree, Gnome i driver ati per la scheda video e però mi manca una cosa: l'audio.
Premetto che quando ho configurato il kernel c'era il modulo per ALSA in statico.

Leggendo il manuale per l'installazione di ALSA, precisamente quello riguardante il passaggio dal kernel 2.4 al 2.6 http://www.gentoo.it/tips/kernel-2.6.0.htmldato che ho già installato un kernel 2.6, ho capito che devo controllare di avere i moduli per ALSA e di OSS (alcuni) e quelli ce li ho ma devo mettere anche quello del driver per la mia scheda PCI audio.
Il problema che ora sorge è questo: la mia Motherboard è una ASUS A7V8X-X con chipset Northbridge VIA KT 400 e Southbridge VIA VT8235 (ho già visto che sono supportati da ALSA, e mi sembra che il chipset in questione per l'audio è il Southbridge VIA VT8235) ed è inclusa nella scheda audio e quindi non PCI. Che driver devo mettere nel kernel?
Poi se mi sapreste dire come si fa a configurare un'altro kernel e metterlo senza però perdere quello precedente (nel caso faccia danni).

Grazie mille e spero di non tediarvi troppo.
_________________
Some of those that were forces, are the sames that bore crosses,
Some of those that were crosses, are the sames that are forces


Last edited by Neomubumba on Mon Mar 01, 2004 6:31 pm; edited 1 time in total
Back to top
View user's profile Send private message
shev
Bodhisattva
Bodhisattva


Joined: 03 Feb 2003
Posts: 4084
Location: Italy

PostPosted: Fri Feb 27, 2004 5:15 pm    Post subject: Re: ALSA e kernel 2.6.3 MB ASUS A7V8X-X Reply with quote

Neomubumba wrote:
Intanto sono contento come un pinguina che ha appena pescato un frescissimo pesciolino, infatti vi sto scrivendo finalmente dal mio computere su cui da qualche giorno ho finito di installare Gentoo


Complimenti, benvenuto nel club :D

Quote:
Il problema che ora sorge è questo: la mia Motherboard è una ASUS A7V8X-X con chipset Northbridge VIA KT 400 e Southbridge VIA VT8235 (ho già visto che sono supportati da ALSA, e mi sembra che il chipset in questione per l'audio è il Southbridge VIA VT8235) ed è inclusa nella scheda audio e quindi non PCI. Che driver devo mettere nel kernel?


Esattamente il driver che hai detto, che la scheda sia integrata non presuppone che non sia PCI. PCI non sono solo le schede che inserisci negli appositi slot, bensi anche certe periferiche integrate che usano il bus PCI, appunto. Quindi nell'apposita sezione del kernel scegli l'opzione che riguarda la tua scheda.

Quote:
Poi se mi sapreste dire come si fa a configurare un'altro kernel e metterlo senza però perdere quello precedente (nel caso faccia danni).


Basta che lo compili ed installi come faresti normalmente, stando attento quando lo copi in /boot di dargli un nome diverso dal precedente (oltre ad assicurarti di aver montato /boot). Poi nel bootloader che utilizzi crei una nuova sezione del tipo di quella dell'altro kernel ma mettendo i giusti nomi/path. Cmq sono argomenti spiegati abbastanza chiaramente in diversi post e guide, una ricerchina ti darà certamente risposte migliori e più approfondite delle mie ;)

Buon divertimento :)
_________________
Se per vivere ti dicono "siediti e stai zitto" tu alzati e muori combattendo
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Fri Feb 27, 2004 5:20 pm    Post subject: Re: ALSA e kernel 2.6.3 MB ASUS A7V8X-X Reply with quote

Neomubumba wrote:
abbandonare completamente Winzozz!!!!)


Ottimo. Molto più spazio su disco :-D

Neomubumba wrote:

Il problema che ora sorge è questo: la mia Motherboard è una ASUS A7V8X-X con chipset Northbridge VIA KT 400 e Southbridge VIA VT8235 (ho già visto che sono supportati da ALSA, e mi sembra che il chipset in questione per l'audio è il Southbridge VIA VT8235) ed è inclusa nella scheda audio e quindi non PCI. Che driver devo mettere nel kernel?


La scheda audio é PCI anche se é integrata, quindi se controlli con "lspci" dovrebbe indicarti tutto, comunque penso che il driver sia il via82xx.

Neomubumba wrote:

Poi se mi sapreste dire come si fa a configurare un'altro kernel e metterlo senza però perdere quello precedente (nel caso faccia danni).

Grazie mille e spero di non tediarvi troppo.


Semplicemente monti la dir /boot in read-write, copi il file /boot/bzImage in qualcosa tipo /boot/bzImage.ok e aggiungi una corrispondente entry nel lilo/grub.
Se vuoi una "copertura totale" fai anche una copia della directory /lib/modules/versione_kernel in modo da poterla ripristinare all'occorrenza (magari con il livecd).
_________________
Ciao da me!
Back to top
View user's profile Send private message
silian87
Advocate
Advocate


Joined: 06 Oct 2003
Posts: 2318
Location: Treviso, Italy

PostPosted: Fri Feb 27, 2004 5:36 pm    Post subject: Reply with quote

Benvenuto! Hai fatto la scelta giusta a togliere per sempre winzoz dai piedi!
_________________
Musica che ascolto: http://www.last.fm/user/silian87/

Silian87 FAQs: http://marentax.homelinux.org/~silian87/silian87-faq.txt

GTalk: silian87@gmail.com
Back to top
View user's profile Send private message
emix
Veteran
Veteran


Joined: 30 Nov 2003
Posts: 1014

PostPosted: Fri Feb 27, 2004 5:56 pm    Post subject: Re: ALSA e kernel 2.6.3 MB ASUS A7V8X-X Reply with quote

randomaze wrote:
La scheda audio é PCI anche se é integrata, quindi se controlli con "lspci" dovrebbe indicarti tutto, comunque penso che il driver sia il via82xx.

Si è quello. Ho controllato nel sito della Asus le specifiche della mb e poi sono andato a vedere nel sito di Alsa il modulo corrispondente.
Back to top
View user's profile Send private message
silian87
Advocate
Advocate


Joined: 06 Oct 2003
Posts: 2318
Location: Treviso, Italy

PostPosted: Fri Feb 27, 2004 6:14 pm    Post subject: Re: ALSA e kernel 2.6.3 MB ASUS A7V8X-X Reply with quote

randomaze wrote:
Neomubumba wrote:
abbandonare completamente Winzozz!!!!)


Ottimo. Molto più spazio su disco :-D

Neomubumba wrote:

Il problema che ora sorge è questo: la mia Motherboard è una ASUS A7V8X-X con chipset Northbridge VIA KT 400 e Southbridge VIA VT8235 (ho già visto che sono supportati da ALSA, e mi sembra che il chipset in questione per l'audio è il Southbridge VIA VT8235) ed è inclusa nella scheda audio e quindi non PCI. Che driver devo mettere nel kernel?


La scheda audio é PCI anche se é integrata, quindi se controlli con "lspci" dovrebbe indicarti tutto, comunque penso che il driver sia il via82xx.

Neomubumba wrote:

Poi se mi sapreste dire come si fa a configurare un'altro kernel e metterlo senza però perdere quello precedente (nel caso faccia danni).

Grazie mille e spero di non tediarvi troppo.


Semplicemente monti la dir /boot in read-write, copi il file /boot/bzImage in qualcosa tipo /boot/bzImage.ok e aggiungi una corrispondente entry nel lilo/grub.
Se vuoi una "copertura totale" fai anche una copia della directory /lib/modules/versione_kernel in modo da poterla ripristinare all'occorrenza (magari con il livecd).



Ottimo esempio di rimandamento a manuale o a guida..... :lol: :lol:
_________________
Musica che ascolto: http://www.last.fm/user/silian87/

Silian87 FAQs: http://marentax.homelinux.org/~silian87/silian87-faq.txt

GTalk: silian87@gmail.com
Back to top
View user's profile Send private message
emix
Veteran
Veteran


Joined: 30 Nov 2003
Posts: 1014

PostPosted: Fri Feb 27, 2004 6:22 pm    Post subject: Re: ALSA e kernel 2.6.3 MB ASUS A7V8X-X Reply with quote

Neomubumba wrote:
Poi se mi sapreste dire come si fa a configurare un'altro kernel e metterlo senza però perdere quello precedente (nel caso faccia danni).

Grazie mille e spero di non tediarvi troppo.

Prima di eseguire "make bzImage" apri il Makefile che si trova nella directory dei sorgenti e modifica la variabile EXTRAVERSION. In questo modo anche se utilizzi gli stessi sorgenti puoi crearti delle sottoversioni ogni volta che ricompili. Bada però che questo vale per i moduli, per il bzImage devi essere tu a non sovrascrivere quello precedente e a configurare il grub.
Back to top
View user's profile Send private message
Neomubumba
Tux's lil' helper
Tux's lil' helper


Joined: 17 Feb 2004
Posts: 136
Location: Milano

PostPosted: Fri Feb 27, 2004 9:23 pm    Post subject: Reply with quote

Ho ricompilato il kernel con il supporto della scheda PCI per l'audio ed ho fatto anche tutti gli emerge per ALSA inoltre ho anche modificato i file di configurazione di alsa come da guida ma non sento alcun suono.
Il sistema di casse è un Creative Inspire 5.1 Digital 5500: l'uscita Coaxial va collegata alla presa S/PDIF o va collegata Line Out Jack?

Ho ance regolato alsamixer ma non riesco a risolvere il problema.

Grazie ancora a tutti
_________________
Some of those that were forces, are the sames that bore crosses,
Some of those that were crosses, are the sames that are forces
Back to top
View user's profile Send private message
Neomubumba
Tux's lil' helper
Tux's lil' helper


Joined: 17 Feb 2004
Posts: 136
Location: Milano

PostPosted: Fri Feb 27, 2004 9:38 pm    Post subject: Reply with quote

Ciao,

Ops mi ero dimenticato di dare emerge alsa-driver però mi impedisce l'installazione. Questo è l'errore:

/bin/bash: /etc/portage/bashrc: Not a directory
>>> md5 src_uri ;-) alsa-driver-0.9.8.tar.bz2
[alsa-driver-0.9.8] bash: /etc/portage/bashrc: Not a directory
/bin/bash: /etc/portage/bashrc: Not a directory
/bin/bash: /etc/portage/bashrc: Not a directory
/bin/bash: /etc/portage/bashrc: Not a directory
>>> Unpacking source...
>>> Unpacking alsa-driver-0.9.8.tar.bz2 to /var/tmp/portage/alsa-driver-0.9.8/work
RUNNING FROM extra_functions.sh
* Applying makefile.patch... [ ok ]RUNNING FROM extra_functions.sh
* Applying alsa-driver-0.9.8-au-fix.patch... [ ok ]>>> Source unpacked.
/bin/bash: /etc/portage/bashrc: Not a directory
/bin/bash: /etc/portage/bashrc: Not a directory
oss
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for a BSD compatible install... /bin/install -c
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8
checking cross compile...
checking for directory with kernel source... /usr/src/linux
checking for kernel version... 2.6.3
checking for GCC version... Kernel compiler: gcc 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7) Used compiler: gcc (GCC) 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)
checking to modify of kernel linux/kmod.h... "no"
Removing a dummy linux/kmod.h.
checking for kernel linux/compiler.h... "yes"
Removing a dummy linux/compiler.h.
checking for kernel linux/pm.h... "yes"
checking for kernel linux/spinlock.h... "yes"
checking for kernel linux/irq.h... "yes"
Removing a dummy linux/irq.h.
checking for kernel linux/threads.h... "yes"
Removing a dummy linux/threads.h.
checking for kernel linux/rwsem.h... "yes"
Removing a dummy linux/rwsem.h.
checking for kernel linux/gameport.h... "yes"
Removing a dummy linux/gameport.h.
checking for kernel linux/devfs_fs_kernel.h... "yes"
checking for kernel linux/highmem.h... "yes"
Removing a dummy linux/highmem.h.
checking for kernel linux/workqueue.h... "yes"
Removing a dummy linux/workqueue.h.
checking for kernel asm/hw_irq.h... "yes"
Removing a dummy asm/hw_irq.h.
checking for kernel linux/jiffies.h... "yes"
Removing a dummy linux/jiffies.h.
checking for kernel linux/compat.h... "yes"
Removing a dummy linux/compat.h.
checking for kernel linux/adb.h... "yes"
Removing a dummy linux/adb.h.
checking for kernel linux/cuda.h... "yes"
Removing a dummy linux/cuda.h.
checking for kernel linux/pmu.h... "yes"
Removing a dummy linux/pmu.h.
checking for kernel module symbol versions... "no"
checking for PCI support in kernel... "yes"
checking for SGI/MIPS (HAL2) architecture... "no"
checking for directory to store kernel modules... /lib/modules/2.6.3/kernel/sound
checking for verbose printk... on
checking for debug level... none
checking for ISA support in kernel... "yes"
checking for processor type... i686
checking for i386 machine type... default
checking for SMP... "yes"
checking for ISA PnP driver in kernel... yes
checking for PnP driver in kernel... yes
checking for Kernel ISA-PnP support... "no"
checking for Kernel ISA-PnP module support... "no"
checking for strlcpy... "yes"
checking for snprintf... "yes"
checking for vmalloc_to_page... "no"
checking for old kmod... "no"
checking for PDE... "no"
Removing local linux/isapnp.h.
Removing local linux/pnp.h.
checking for driver version... 0.9.8
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for RTC callback support in kernel... "yes"
checking for USB support... "yes"
checking for kernel PCMCIA
checking for PCMCIA support... "no"
checking for PCMCIA module support... "no"
checking for PC9800 support in kernel... "no"
checking for which soundcards to compile driver for... via82xx
configure: creating ./config.status
config.status: creating version
config.status: creating Makefile.conf
config.status: creating snddevices
config.status: creating utils/alsa-driver.spec
config.status: creating utils/buildrpm
config.status: creating toplevel.config
config.status: creating include/config.h
config.status: creating include/config1.h
config.status: creating include/version.h
config.status: include/version.h is unchanged
/bin/bash: /etc/portage/bashrc: Not a directory
if [ ! -d include/sound -a ! -L include/sound ]; then \
ln -sf ../alsa-kernel/include include/sound ; \
fi
cp -auvf include/version.h include/sound/version.h
`include/version.h' -> `include/sound/version.h'
make dep
make[1]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8'
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
make[2]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/support'
make[2]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/support'
make[2]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/acore'
make -C ioctl32 fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/acore/ioctl32'
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/acore/ioctl32'
make -C oss fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/acore/oss'
copying file alsa-kernel/core/oss/mixer_oss.c
patching file mixer_oss.c
copying file alsa-kernel/core/oss/pcm_oss.c
patching file pcm_oss.c
Hunk #1 succeeded at 2153 (offset 72 lines).
Hunk #2 succeeded at 2329 (offset 78 lines).
Hunk #3 succeeded at 2477 (offset 78 lines).
gcc -M -D__KERNEL__ -D__isapnp_now__ -DMODULE=1 -I/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include -I/usr/src/linux/include -O2 -mpreferred-stack-boundary=2 -march=i686 -I/usr/src/linux/include/asm-i386/mach-default -D__SMP__ -DCONFIG_SMP -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -I/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/alsa-kernel/core/oss mixer_oss.c pcm_oss.c pcm_plugin.c io.c copy.c linear.c mulaw.c route.c rate.c > .depend
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/acore/oss'
make -C seq fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/acore/seq'
make -C instr fastdep
make[4]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/acore/seq/instr'
make[4]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/acore/seq/instr'
make -C oss fastdep
make[4]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/acore/seq/oss'
copying file alsa-kernel/core/seq/oss/seq_oss.c
patching file seq_oss.c
gcc -M -D__KERNEL__ -D__isapnp_now__ -DMODULE=1 -I/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include -I/usr/src/linux/include -O2 -mpreferred-stack-boundary=2 -march=i686 -I/usr/src/linux/include/asm-i386/mach-default -D__SMP__ -DCONFIG_SMP -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -I/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/alsa-kernel/core/seq/oss seq_oss.c seq_oss_init.c seq_oss_timer.c seq_oss_ioctl.c seq_oss_event.c seq_oss_rw.c seq_oss_synth.c seq_oss_midi.c seq_oss_readq.c seq_oss_writeq.c > .depend
make[4]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/acore/seq/oss'
copying file alsa-kernel/core/seq/seq_clientmgr.c
patching file seq_clientmgr.c
Hunk #2 succeeded at 2467 (offset 12 lines).
copying file alsa-kernel/core/seq/seq_memory.c
patching file seq_memory.c
gcc -M -D__KERNEL__ -D__isapnp_now__ -DMODULE=1 -I/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include -I/usr/src/linux/include -O2 -mpreferred-stack-boundary=2 -march=i686 -I/usr/src/linux/include/asm-i386/mach-default -D__SMP__ -DCONFIG_SMP -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -I/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/alsa-kernel/core/seq seq_device.c seq_dummy.c seq_midi_event.c seq_midi.c seq.c seq_lock.c seq_clientmgr.c seq_memory.c seq_queue.c seq_fifo.c seq_prioq.c seq_timer.c seq_system.c seq_ports.c seq_info.c > .depend
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/acore/seq'
copying file alsa-kernel/core/memalloc.c
patching file memalloc.c
Hunk #2 succeeded at 74 (offset -7 lines).
Hunk #3 succeeded at 127 (offset -7 lines).
Hunk #4 succeeded at 620 (offset -6 lines).
Hunk #5 succeeded at 1000 (offset 62 lines).
copying file alsa-kernel/core/pcm_native.c
patching file pcm_native.c
Hunk #2 succeeded at 2611 (offset 2 lines).
Hunk #3 succeeded at 2631 (offset 2 lines).
Hunk #4 succeeded at 2684 (offset 2 lines).
Hunk #5 succeeded at 2711 (offset 2 lines).
Hunk #6 succeeded at 2798 (offset 2 lines).
Hunk #7 succeeded at 2825 (offset 2 lines).
Hunk #8 succeeded at 2853 (offset 2 lines).
Hunk #9 succeeded at 2880 (offset 2 lines).
Hunk #10 succeeded at 2908 (offset 2 lines).
Hunk #11 succeeded at 2931 (offset 2 lines).
Hunk #12 succeeded at 2947 (offset 2 lines).
Hunk #13 succeeded at 2967 (offset 2 lines).
Hunk #14 succeeded at 2979 (offset 2 lines).
Hunk #15 succeeded at 3009 (offset 2 lines).
Hunk #16 succeeded at 3021 (offset 2 lines).
Hunk #17 succeeded at 3043 (offset 2 lines).
Hunk #18 succeeded at 3155 (offset 2 lines).
Hunk #19 succeeded at 3171 (offset 2 lines).
copying file alsa-kernel/core/rawmidi.c
patching file rawmidi.c
Hunk #1 succeeded at 1320 (offset 4 lines).
copying file alsa-kernel/core/timer.c
patching file timer.c
Hunk #2 succeeded at 1754 (offset 21 lines).
Hunk #3 succeeded at 1782 (offset 1 line).
copying file alsa-kernel/core/sound.c
patching file sound.c
Hunk #1 succeeded at 157 (offset 3 lines).
Hunk #2 succeeded at 369 (offset 3 lines).
Hunk #3 succeeded at 386 (offset 3 lines).
Hunk #4 succeeded at 519 (offset 21 lines).
copying file alsa-kernel/core/init.c
patching file init.c
Hunk #2 succeeded at 196 (offset 2 lines).
copying file alsa-kernel/core/info.c
patching file info.c
Hunk #6 succeeded at 484 (offset -10 lines).
Hunk #7 succeeded at 497 (offset -10 lines).
Hunk #8 succeeded at 912 (offset -10 lines).
copying file alsa-kernel/core/control.c
patching file control.c
Hunk #2 succeeded at 1173 (offset 245 lines).
gcc -M -D__KERNEL__ -D__isapnp_now__ -DMODULE=1 -I/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include -I/usr/src/linux/include -O2 -mpreferred-stack-boundary=2 -march=i686 -I/usr/src/linux/include/asm-i386/mach-default -D__SMP__ -DCONFIG_SMP -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD memalloc.c sgbuf.c memory_wrapper.c pcm.c pcm_native.c pcm_lib.c pcm_timer.c pcm_misc.c pcm_memory.c rawmidi.c rtctimer.c timer.c sound.c init.c memory.c info.c control.c misc.c device.c wrappers.c isadma.c sound_oss.c info_oss.c > .depend
make[2]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/acore'
make[2]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/i2c'
make -C other fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/i2c/other'
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/i2c/other'
make[2]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/i2c'
make[2]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/drivers'
make -C mpu401 fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/drivers/mpu401'
gcc -M -D__KERNEL__ -D__isapnp_now__ -DMODULE=1 -I/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include -I/usr/src/linux/include -O2 -mpreferred-stack-boundary=2 -march=i686 -I/usr/src/linux/include/asm-i386/mach-default -D__SMP__ -DCONFIG_SMP -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD mpu401_uart.c > .depend
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/drivers/mpu401'
make -C opl3 fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/drivers/opl3'
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/drivers/opl3'
make -C opl4 fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/drivers/opl4'
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/drivers/opl4'
make -C vx fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/drivers/vx'
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/drivers/vx'
make[2]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/drivers'
make[2]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/isa'
make -C ad1816a fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/isa/ad1816a'
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/isa/ad1816a'
make -C ad1848 fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/isa/ad1848'
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/isa/ad1848'
make -C cs423x fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/isa/cs423x'
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/isa/cs423x'
make -C es1688 fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/isa/es1688'
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/isa/es1688'
make -C gus fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/isa/gus'
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/isa/gus'
make -C msnd fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/isa/msnd'
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/isa/msnd'
make -C opti9xx fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/isa/opti9xx'
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/isa/opti9xx'
make -C sb fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/isa/sb'
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/isa/sb'
make -C wavefront fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/isa/wavefront'
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/isa/wavefront'
make[2]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/isa'
make[2]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/synth'
make -C emux fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/synth/emux'
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/synth/emux'
make[2]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/synth'
make[2]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/pci'
make -C ac97 fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/pci/ac97'
gcc -M -D__KERNEL__ -D__isapnp_now__ -DMODULE=1 -I/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include -I/usr/src/linux/include -O2 -mpreferred-stack-boundary=2 -march=i686 -I/usr/src/linux/include/asm-i386/mach-default -D__SMP__ -DCONFIG_SMP -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD ac97_codec.c ac97_proc.c ac97_patch.c > .depend
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/pci/ac97'
make -C ali5451 fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/pci/ali5451'
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/pci/ali5451'
make -C au88x0 fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/pci/au88x0'
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/pci/au88x0'
make -C cs46xx fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/pci/cs46xx'
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/pci/cs46xx'
make -C emu10k1 fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/pci/emu10k1'
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/pci/emu10k1'
make -C ice1712 fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/pci/ice1712'
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/pci/ice1712'
make -C korg1212 fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/pci/korg1212'
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/pci/korg1212'
make -C mixart fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/pci/mixart'
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/pci/mixart'
make -C nm256 fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/pci/nm256'
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/pci/nm256'
make -C pdplus fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/pci/pdplus'
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/pci/pdplus'
make -C rme9652 fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/pci/rme9652'
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/pci/rme9652'
make -C trident fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/pci/trident'
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/pci/trident'
make -C vx222 fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/pci/vx222'
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/pci/vx222'
make -C ymfpci fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/pci/ymfpci'
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/pci/ymfpci'
gcc -M -D__KERNEL__ -D__isapnp_now__ -DMODULE=1 -I/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include -I/usr/src/linux/include -O2 -mpreferred-stack-boundary=2 -march=i686 -I/usr/src/linux/include/asm-i386/mach-default -D__SMP__ -DCONFIG_SMP -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD via82xx.c > .depend
make[2]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/pci'
make[2]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/usb'
make -C us428 fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/usb/us428'
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/usb/us428'
make[2]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/usb'
make[1]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8'
make[1]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/support'
make[1]: Nothing to be done for `first_rule'.
make[1]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/support'
make[1]: Entering directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/acore'
copying file alsa-kernel/core/hwdep.c
patching file hwdep.c
Hunk #1 succeeded at 308 (offset 16 lines).
gcc -D__KERNEL__ -DMODULE=1 -I/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include -I/usr/src/linux/include -O2 -mpreferred-stack-boundary=2 -march=i686 -I/usr/src/linux/include/asm-i386/mach-default -D__SMP__ -DCONFIG_SMP -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -DKBUILD_BASENAME=sgbuf -c -o sgbuf.o sgbuf.c
gcc -D__KERNEL__ -DMODULE=1 -I/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include -I/usr/src/linux/include -O2 -mpreferred-stack-boundary=2 -march=i686 -I/usr/src/linux/include/asm-i386/mach-default -D__SMP__ -DCONFIG_SMP -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -DKBUILD_BASENAME=memory_wrapper -c -o memory_wrapper.o memory_wrapper.c
In file included from sgbuf.c:12:
/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/adriver.h:134: error: redefinition of `PDE'
/usr/src/linux/include/linux/proc_fs.h:263: error: `PDE' previously defined hereIn file included from memory_wrapper.c:12:
/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/adriver.h:134: error: redefinition of `PDE'
/usr/src/linux/include/linux/proc_fs.h:263: error: `PDE' previously defined herememory_wrapper.c: In function `snd_compat_vmalloc_to_page':
memory_wrapper.c:33: warning: implicit declaration of function `VMALLOC_VMADDR'
memory_wrapper.c:39: warning: implicit declaration of function `pte_offset'
memory_wrapper.c:39: warning: assignment makes pointer from integer without a cast
make[1]: *** [sgbuf.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [memory_wrapper.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/acore'
make: *** [compile] Error 1

!!! ERROR: media-sound/alsa-driver-0.9.8 failed.
!!! Function src_compile, Line 64, Exitcode 2
!!! Parallel Make Failed


Cosa potrebbe essere?
_________________
Some of those that were forces, are the sames that bore crosses,
Some of those that were crosses, are the sames that are forces
Back to top
View user's profile Send private message
shev
Bodhisattva
Bodhisattva


Joined: 03 Feb 2003
Posts: 4084
Location: Italy

PostPosted: Fri Feb 27, 2004 10:53 pm    Post subject: Reply with quote

Neomubumba wrote:
Ops mi ero dimenticato di dare emerge alsa-driver però mi impedisce l'installazione. Questo è l'errore:
[snip]
Cosa potrebbe essere?


Ma non hai detto che usavi un kernel 2.6? In questo caso non serve più emergere alsa, poichè il supporto è già incluso nel nuovo kernel.

Piuttosto, sei sicuro di aver fatto tutti i passi descritti nelle guide per filo e per segno? In caso affermativo, hai attivato i vari canali con alsamixer, ovvero tolto l'unmute dai vari mixer? Per vedere quali sono muti basta guardare se in cima alla rispettiva colonnina in alsamixer ci stanno due "MM" o meno. Se ci stanno premi "m" per levarle e alza il volume.
_________________
Se per vivere ti dicono "siediti e stai zitto" tu alzati e muori combattendo
Back to top
View user's profile Send private message
Neomubumba
Tux's lil' helper
Tux's lil' helper


Joined: 17 Feb 2004
Posts: 136
Location: Milano

PostPosted: Sat Feb 28, 2004 8:43 am    Post subject: Reply with quote

Ho ricompilato il kernel mettendo il modulo della mia scheda PCI audio come Modulo ed ho editato il file /etc/modules.autoload.d/kernel-2.6 facendogli caricare il modulo giusto (via82xx). Ho fatto emerge alsa-lib alsa-utils Nel kernel c'erano i moduli per ALSA e OSS come specificato nelle guide (messi statici).

Però non sento ancora alcun suono. Le mie casse sono delle Creative Inspire 5.1 Digital 5500 ed ho collegato il cavo RCA-to-RCA Cable (senza il cavetto in più) all'uscita S/PDIF della mia sceda ASUS A7V8X-X (il sistema di altoparlanti è un Creative Inspire 5.1 5500 http://it.europe.creative.com/support/manuals/welcome.asp per vedere come si dovrebbe collegare il sistema di altoparlanti e http://www.asus.it/support/download/selectftp.aspx?l1_id=1&l2_id=10&l3_id=21&m_id=2&f_name=e1198_a7v8x-x.pdf~zaqwedc
per vedere come è fatta la scheda madre)

Il collegamento è giusto?

Non lo so stò diventando scemo a configuare questo ALSA!!!!!

Grazie ancora a tutti per l'aiuto
_________________
Some of those that were forces, are the sames that bore crosses,
Some of those that were crosses, are the sames that are forces
Back to top
View user's profile Send private message
emix
Veteran
Veteran


Joined: 30 Nov 2003
Posts: 1014

PostPosted: Sat Feb 28, 2004 8:53 am    Post subject: Reply with quote

Neomubumba wrote:
Il collegamento è giusto?

Secondo me ti conviene provare prima di tutto se funziona in una configurazione un pò più "normale". Prova ad esempio a collegare una cuffia (se non hai delle casse) all'uscita standard della scheda madre. Può darsi che per l'uscita S/PDIF ci siano altre cose da configurare, ma intanto così vedi se il modulo è quello giusto e se hai impostato tutto correttamente.
Back to top
View user's profile Send private message
Mr.Evolution
Guru
Guru


Joined: 30 Dec 2003
Posts: 346
Location: Padova (Italy)

PostPosted: Sat Feb 28, 2004 9:56 am    Post subject: Reply with quote

a me è bastato fare un emerge alsa-tools, alsa-lib ed alsa qualcos'altro ma non alsa-driver (già incluso nel kernel 2.6), con l'alsamixer ho tolto mute da tutto e suonava da DIO!
PS: io la giuda non l'ho mai letta, sono andato a naso, avrò installato roba in più ma male non fa.
Se proprio devi usare qualcosa in Win fallo in una finestra Wine
Back to top
View user's profile Send private message
Neomubumba
Tux's lil' helper
Tux's lil' helper


Joined: 17 Feb 2004
Posts: 136
Location: Milano

PostPosted: Mon Mar 01, 2004 3:21 pm    Post subject: Reply with quote

Intanto ringrazio tutti per l'aiuto che mi avete dato.
Alla fine ce l'ho fatta. Riesco a sentire bene tutto. Alsa funziona (mi sono servito di questa pagina http://www.alsa-project.org/alsa-doc/doc-php/template.php?company=VIA&card=&chip=via8235&module=via82xx
e della guida del passaggio dal kernel 2.4 al 2.6 (usando solo la parte che riguaradante ALSA http://www.gentoo.it/tips/kernel-2.6.0.html.

Ora l'unico problema che mi riguarda è che ho dovuto collegare l'impianto audio alla presa line-in della scheda madre e non alla S/PDIF che è l'uscita digitale per il suono dolby surround (visto che collegandola non sento ancora alcun suono). Secondo voi devo cambiare qualche impostazione nel BIOS per usare l'uscita S/PDIF?
_________________
Some of those that were forces, are the sames that bore crosses,
Some of those that were crosses, are the sames that are forces
Back to top
View user's profile Send private message
Mr.Evolution
Guru
Guru


Joined: 30 Dec 2003
Posts: 346
Location: Padova (Italy)

PostPosted: Mon Mar 01, 2004 5:24 pm    Post subject: Reply with quote

ci deve essere un programmino incluso quando installi i driver emu10k dal portage che ti abilita l'uscita digitale
Back to top
View user's profile Send private message
Neomubumba
Tux's lil' helper
Tux's lil' helper


Joined: 17 Feb 2004
Posts: 136
Location: Milano

PostPosted: Mon Mar 01, 2004 6:09 pm    Post subject: Reply with quote

Il driver che ho installato non è l'emu10k ma quello per il chipset VIA.
Stò diventando scemo in giro per internet a cercare una soluzione ma non riesco a trovarla. Per caso sai che programma è per la emu10k?
Magari è lo stesso anche per questa....
_________________
Some of those that were forces, are the sames that bore crosses,
Some of those that were crosses, are the sames that are forces
Back to top
View user's profile Send private message
Mr.Evolution
Guru
Guru


Joined: 30 Dec 2003
Posts: 346
Location: Padova (Italy)

PostPosted: Mon Mar 01, 2004 6:41 pm    Post subject: Reply with quote

sinceramente non mi ricordo a memoria perché sono in giro...nei prox giorni ti facci sapere. Ma il CHIP dovrebbe essere lo stesso e quindi dovresti poter usare l'emu10k (magari sto dicendo una grandissima cavolata...)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
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