Salve
sono nuovo ho un problema perché non riesco a far partire le mie casse che sono collegate tramite USB. Con suse 10 ci ero riusciuto istallando drivers alsa e poi seguendo questa guida http://www.alsa-project.org/alsa-doc/doc-php/template.php?module=usb-audio
ma non è la stessa cosa con FC 5. Qualcuno può darmi una dritta su come fare uscire l’audio sulle casse USB.
NB Il suono c’è la scheda audio funziona e l’uscita per le cuffie anche.
Hai degli avvvisi di errori quando compili? modinfo soundcore come suggeriscono loro cosa ti dice?
Pochi dettagli!
gronbyt
Ecco qui quello che mi dice
[root@localhost bufalo]# cd /usr/src
[root@localhost src]# cd alsa
[root@localhost alsa]# cd alsa-driver-1.0.10 [root@localhost alsa-driver-1.0.10]# ./configure --with-cards=usb-audio --with-sequencer=yes;make;make install
checking for gcc… no
checking for cc… no
checking for cc… no
checking for cl… no
configure: error: no acceptable C compiler found in $PATH
See config.log' for more details. make all-deps make[1]: Entering directory
/usr/src/alsa/alsa-driver-1.0.10’
make[1]: Nothing to be done for all-deps'. make[1]: Leaving directory
/usr/src/alsa/alsa-driver-1.0.10’
Please, run the configure script as first…
rm -f /snd*.*o /persist.o /isapnp.o
make[1]: Entering directory /usr/src/alsa/alsa-driver-1.0.10/acore' Makefile:6: /usr/src/alsa/alsa-driver-1.0.10/Makefile.conf: No such file or directory /usr/src/alsa/alsa-driver-1.0.10/Rules.make:75: /Rules.make1: No such file or directory make[1]: *** No rule to make target
/Rules.make1’. Stop.
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.10/acore’
make: *** [install-modules] Error 1
[root@localhost alsa-driver-1.0.10]#
Dai primi warning sembra che non hai installato gcc, non le trova.
gronbyt
Ciao,
come ha detto gronbyt devi installare gcc e alcune librerie ad esso abbinate, per farlo digita questo comando da root:
# yum groupinstall "Development Tools"
[quote=SpyroTSK]
Ciao,
come ha detto gronbyt devi installare gcc e alcune librerie ad esso abbinate, per farlo digita questo comando da root:
[code]
yum groupinstall “Development Tools”
[/code][/quote]
Ho seguito la procedura ma non va. I gcc sembrano a posto ma mi indica lo stesso Error 1
Lumi?
Post
[root@localhost alsa-driver-1.0.10]# ./configure --with-cards=usb-audio --with-sequencer=yes;make;make install
checking for 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 suffix of executables…
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ANSI C… none needed
checking for ranlib… ranlib
checking for a BSD-compatible install… /usr/bin/install -c
checking how to run the C preprocessor… gcc -E
checking for egrep… grep -E
checking for ANSI C header files… yes
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… /usr/src/alsa/alsa-driver-1.0.10
checking cross compile…
checking for directory with kernel source… /lib/modules/2.6.16-1.2080_FC5/source
checking for directory with kernel build… /lib/modules/2.6.16-1.2080_FC5/buildchecking for kernel linux/version.h… no
The file /lib/modules/2.6.16-1.2080_FC5/source/include/linux/version.h does not exist.
Please install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /lib/modules/2.6.16-1.2080_FC5/source).
make all-deps
make[1]: Entering directory /usr/src/alsa/alsa-driver-1.0.10' make[1]: Nothing to be done for
all-deps’.
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.10’
Please, run the configure script as first…
rm -f /snd*.*o /persist.o /isapnp.o
make[1]: Entering directory /usr/src/alsa/alsa-driver-1.0.10/acore' Makefile:6: /usr/src/alsa/alsa-driver-1.0.10/Makefile.conf: No such file or directory /usr/src/alsa/alsa-driver-1.0.10/Rules.make:75: /Rules.make1: No such file or directory make[1]: *** No rule to make target
/Rules.make1’. Stop.
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.10/acore’
make: *** [install-modules] Error 1
[root@localhost alsa-driver-1.0.10]#
# yum install kernel-devel
# alsa-driver-1.0.10]# ./configure --with-kernel=/usr/src/kernels/2.6.16-1.2080_FC5 --with-cards=usb-audio --with-sequencer=yes;make;make install
esegui questi comandi e dovrebbe andarti, sotto alla fine dice che non trova la cartella del kernel da compilare
modifica la scritta in rosso così:
/usr/src/kernels/tua_versione_kernel
[quote=SpyroTSK]
# yum install kernel-devel
# alsa-driver-1.0.10]# ./configure --with-kernel=/usr/src/kernels/2.6.16-1.2080_FC5 --with-cards=usb-audio --with-sequencer=yes;make;make install
esegui questi comandi e dovrebbe andarti, sotto alla fine dice che non trova la cartella del kernel da compilare
modifica la scritta in rosso così:
/usr/src/kernels/tua_versione_kernel[/quote]
Ho fatto ma alla fine non mi funzionava più l’audio e allora ho reinstallato il tutto, perché ho cercato di disinstallare alsa con “make unistall” ma non andava.
Quindi sono nuovamente al punto di partenza.
Pima di procedere vorrei sapere come si fa a rimuovere installazioni precedenti.