View previous topic :: View next topic |
Author |
Message |
edux Apprentice
Joined: 15 Nov 2005 Posts: 223 Location: Bologna
|
Posted: Thu Sep 14, 2006 1:05 pm Post subject: |
|
|
Dovresti per favore postare informazioni piu' chiare e dettagliate, cosa hai fatto, che errori (precisi) da', qual e' la tua configurazione con lspci, come hai compilato il kernel, quali script hai messo all'avvio e quali moduli fai caricare all'avvio. _________________ E' la seconda più grande testa di scimmia che abbia mai visto!
(Guybrush Threepwood) |
|
Back to top |
|
|
Ic3M4n Advocate
Joined: 02 Nov 2004 Posts: 3489 Location: Bergamo.
|
Posted: Thu Sep 14, 2006 1:17 pm Post subject: |
|
|
dai un Code: | /etc/init.d/alsasound restart |
e ti sputa fuori tutti gli errori. |
|
Back to top |
|
|
micio Tux's lil' helper
Joined: 13 Sep 2006 Posts: 98
|
Posted: Thu Sep 14, 2006 5:59 pm Post subject: |
|
|
ecco cosa appare
Code: | # /etc/init.d/alsasound restart
* Storing ALSA Mixer Levels ...
/usr/sbin/alsactl: save_state:1163: No soundcards found... [ !! ] * Unloading ALSA ... [ ok ] * Unloading ALSA modules ... [ ok ] * Loading ALSA modules ...
* Could not detect custom ALSA settings. Loading all detected alsa drivers.
* Loading: snd_ad1889 ... [ ok ] * Loading: snd_ali5451 ... [ ok ] * Loading: snd_als300 ... [ ok ] * Loading: snd_als4000 ... [ ok ] * Loading: snd_atiixp ... [ ok ] * Loading: snd_atiixp_modem ... [ ok ] * Loading: snd_au8810 ... [ ok ] * Loading: snd_au8820 ... [ ok ] * Loading: snd_au8830 ... [ ok ] * Loading: snd_azt3328 ... [ ok ] * Loading: snd_bt87x ... [ ok ] * Loading: snd_ca0106 ... [ ok ] * Loading: snd_cmipci ... [ ok ] * Loading: snd_cs4281 ... [ ok ] * Loading: snd_cs46xx ... [ ok ] * Loading: snd_cs5535audio ... [ ok ] * Loading: snd_emu10k1 ... [ ok ] * Loading: snd_emu10k1x ... [ ok ] * Loading: snd_ens1370 ...
WARNING: Error inserting snd_ak4531_codec (/lib/modules/2.6.17-gentoo-r7/alsa-driver/pci/ac97/snd-ak4531-codec.ko): Invalid module format
FATAL: Error inserting snd_ens1370 (/lib/modules/2.6.17-gentoo-r7/alsa-driver/pci/snd-ens1370.ko): Invalid module format [ !! ] * Loading: snd_ens1371 ... [ ok ] * Loading: snd_es1938 ... [ ok ] * Loading: snd_es1968 ... [ ok ] * Loading: snd_fm801 ... [ ok ] * Loading: snd_hda_intel ... [ ok ] * Loading: snd_hdsp ... [ ok ] * Loading: snd_hdspm ... [ ok ] * Loading: snd_ice1712 ... [ ok ] * Loading: snd_ice1724 ... [ ok ] * Loading: snd_intel8x0 ... [ ok ] * Loading: snd_intel8x0m ... [ ok ] * Loading: snd_korg1212 ... [ ok ] * Loading: snd_maestro3 ... [ ok ] * Loading: snd_mixart ... [ ok ] * Loading: snd_nm256 ... [ ok ] * Loading: snd_pcxhr ... [ ok ] * Loading: snd_riptide ... [ ok ] * Loading: snd_rme32 ... [ ok ] * Loading: snd_rme96 ... [ ok ] * Loading: snd_rme9652 ... [ ok ] * Loading: snd_sonicvibes ... [ ok ] * Loading: snd_trident ... [ ok ] * Loading: snd_via82xx ... [ ok ] * Loading: snd_via82xx_modem ... [ ok ] * Loading: snd_vx222 ... [ ok ] * Loading: snd_ymfpci ... [ ok ] * Loading: snd-seq-oss ... [ ok ] * Loading: snd-pcm-oss ... [ ok ] * ERROR: Failed to load necessary drivers [ ok ] * Restoring Mixer Levels ... [ ok ] |
|
|
Back to top |
|
|
randomaze Bodhisattva
Joined: 21 Oct 2003 Posts: 9985
|
Posted: Thu Sep 14, 2006 6:21 pm Post subject: |
|
|
micio wrote: | ecco cosa appare |
Prova ad usare:
_________________ Ciao da me! |
|
Back to top |
|
|
edux Apprentice
Joined: 15 Nov 2005 Posts: 223 Location: Bologna
|
Posted: Thu Sep 14, 2006 7:45 pm Post subject: |
|
|
Ma come è possibile che ti escano tutte quelle robe se hai compilato il kernel con il supporto per 1 SOLO driver?
O non l'hai fatto? Per inciso se voi che carichi un driver solo devi modificare il file modprobe.conf, e impostare gli alias corretti per alsa.
Ma ti ripeto, come hai compilato il kernel??? _________________ E' la seconda più grande testa di scimmia che abbia mai visto!
(Guybrush Threepwood) |
|
Back to top |
|
|
micio Tux's lil' helper
Joined: 13 Sep 2006 Posts: 98
|
Posted: Thu Sep 14, 2006 11:43 pm Post subject: |
|
|
ma io per quanto riguarda il kernel mi limito a scrivere in /usr/src/linux make menuconfig e nel seguente menù nella sezione device & driver ---->> sound--->>> ho abilitato solo la scheda audio solo come pezzo hardware diciamo... poi tutto quello ke riguarda alsa è disabilitato, dopo di ke l'ho ricompilato con make (una cosa ke ho notato è ke verso la fine parla di "stage 2" nn so se possa essere utile) e poi riavvio... alsaconf e mi ridà quell'errore, xò dopo nel terminale mi fa vedere
Code: | ===============================================================================
Now ALSA is ready to use.
For adjustment of volumes, use your favorite mixer.
Have a lot of fun!
localhost micio # alsamixer
alsamixer: function snd_ctl_open failed for default: No such device
|
come potete vedere ho provato a usare alsamixer e quello è il risultato.. devo aggiungere che almeno prima quando lo compilavo nel kernel alsa, con alsasmixer riuscivo quanto meno ad alsare il volumo (ma non con gnome) e allora quasi "sperando" ke fosse un problema di gnome, dal terminale ho provato a lanciare l'mplayer x far funzionare un mp3, lui leggeva, ma nn sentivo nulla (problema di codec in questo caso??) insomma io nn riesco a capire se magari nel kernel va bene e quindi è gnome ke fa le bizze e di conseguenza mplayer nn ha il codec x gli mp3 (dubito FORTEMENTE) oppure se proprio nn va neppure nel kernel.. per fare una prova sapete indicarmi un programma o un comando quantomeno x leggere i .wav? quelli dovrebbe leggerli a prescindere dai codec..
grazie ancora x l'aiuto ke tentate di darmi!!
Micio! |
|
Back to top |
|
|
nikko96 Apprentice
Joined: 22 Jul 2005 Posts: 229 Location: Pulcinella's Country
|
Posted: Fri Sep 15, 2006 10:06 am Post subject: |
|
|
A mio parere dovresti fare un reset e ricominciare da capo,seguendo la guida gentoo:
nella guida si dice che ci sono due modi per far funzionare alsa
1)compilandolo nel kernel (consigliato perchè più stabile e funzionale che non devi ricompilare alsa ad ogni update del kernel)
2)compilare il pacchetto alsa-driver
Io ti consiglio la prima via facendo come segue,ricordati di unmergere gli alsa-driver Code: | # emerge -C alsa-driver |
e di commentare se non cancellare la riga Code: | ALSA_CARDS="ENS1370" | nel make.conf se l'hai inserita.
Configurazione kernel per alsa:
Code: |
Device Drivers --->
Sound --->
<M> Sound card support
Advanced Linux Sound Architecture --->
<M> Advanced Linux Sound Architecture
<M> Sequencer support
< > Sequencer dummy client
<M> OSS Mixer API
<M> OSS PCM (digital audio) API
[*] OSS PCM (digital audio) API - Include plugin system
[ ] Dynamic device file minor numbers (EXPERIMENTAL)
[ ] Dynamic device file minor num
[ ] Support old ALSA API
[*] Verbose procfs contents
[ ] Verbose printk
[ ] Debug
Generic devices --->
ISA devices --->
PCI devices --->
<M > (Creative) Ensoniq AudioPCI 1370 ------->attiva solo questo,cioè il tuo
USB devices ---> |
Quindi dopo aver ricompilato e installato il nuovo kernel usache si trova nel pacchetto alsa-utils per configure,aggiungi gli script di avvio
al runlevel di boot con Code: | rc-update add alsasound boot |
il tuo utente al gruppo audio se non ci sta Code: | gpasswd -a <tuoutente> audio |
Infine usi alsamixer per aggiustare il volume.
Spero di essere stato chiaro,comunque leggiti bene la guida,ciao _________________ My system: cpu Intel core 2 duo e6750,mb asus p5n-e sli,scheda grafica nvidia GeForce 9600 GT,kernel 2.6.31-gentoo-r6 |
|
Back to top |
|
|
|