Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Risolto] hda-intel: Sigmatel STAC9228 muta
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
mlg82
n00b
n00b


Joined: 18 Oct 2006
Posts: 29

PostPosted: Fri Apr 18, 2008 3:07 pm    Post subject: [Risolto] hda-intel: Sigmatel STAC9228 muta Reply with quote

Il Dell Vostro 1400 monta una comunissima hda-intel con chip Sigmatel STAC9228.
Attualmente la scheda non produce suoni, ma utilizzando gli auricolari riesco a sentire. Si capisce facilmente che c'è un problema.

Googolando ho visto una soluzione che su Ubuntu funziona...aggiungere:
Code:
options snd-hda-intel probe_mask=1 model=3stack


Altro problema è che odio Ubuntu :), quindi ho cercato ancora ed ho giocato un po' con alsaconf e /etc/modules.d/alsa.
Bene...ad un certo punto l'audio ha funzionato, ma il tempo di un riavvio, una compilazione del kernel per altri motivi e mi ritrovo punto e a capo.
Mi aiutate?


Last edited by mlg82 on Wed Apr 30, 2008 3:32 pm; edited 3 times in total
Back to top
View user's profile Send private message
mlg82
n00b
n00b


Joined: 18 Oct 2006
Posts: 29

PostPosted: Fri Apr 18, 2008 3:41 pm    Post subject: Reply with quote

Ho continuato a fare delle prove ed ho scoperto che le opzioni da caricare sono:
Code:
options snd-hda-intel model=5stack
anche se model=dell-3stack va comunque bene (cambia qualche cosa tipo volume del microfono e qualche altro controllo...è da approfondire)

Per fare le prove ho fatto così:
1) chiudo tutti i processi che utilizzano snd ------ lsof /dev/snd/*
2) killo tutti i processi che hai ricevuto come output del comando precedente ------ kill -9 $pid
3) scarico il modulo ------- modprobe -r snd_hda_intel
4) carico il modulo con le opzioni che voglio provare ------- modprobe snd_hda_intel model=5stack
5) ricarico alsasound ------- /etc/init.d/alsasound restart
6) controllo il livello del volume e che non sia muto

Una volta scoperto i parametri da passare snd_hda_intel li vado a mettere in
Code:
/etc/modules.d/alsa
quindi aggiungo la riga
Code:
options snd-hda-intel model=5stack

riavvio, ma il problema persiste....perchè?

Se rifaccio la procedura di sopra invece funziona...dove sbaglio?
Back to top
View user's profile Send private message
crisandbea
Veteran
Veteran


Joined: 03 Jul 2005
Posts: 1778
Location: BOSCO (SA) ... ma domiciliato a Bologna....

PostPosted: Fri Apr 18, 2008 4:44 pm    Post subject: Reply with quote

aggiungi la riga da te scritta prima in
Code:
/etc/modprobe.d/alsa-base
e non in
Code:
/etc/modules.d/alsa


il file alsa-base probabilmente non lo hai, lo crei senza problemi.

per verificare la giusta riga da inserire controlla nella documentazione di alsa.

ciao
_________________
se fossi un disegnatore ti disegnerei, se fossi uno scrittore ti scriverei, se fossi un inventore ti inventerei...ma sono solo un trombettista!!!
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Fri Apr 18, 2008 4:45 pm    Post subject: Reply with quote

cerca meglio sul forum od attendi istruzioni su come abilitare i device "blacklisted".
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
mlg82
n00b
n00b


Joined: 18 Oct 2006
Posts: 29

PostPosted: Fri Apr 18, 2008 8:38 pm    Post subject: Reply with quote

crisandbea wrote:
aggiungi la riga da te scritta prima in
Code:
/etc/modprobe.d/alsa-base
e non in
Code:
/etc/modules.d/alsa


il file alsa-base probabilmente non lo hai, lo crei senza problemi.


Ho fatto me dici, ma comunque non si risolve il problema. Devo dare un bel
Code:
# alsaconf

Per far funzionare l'audio.....ci siamo quasi
Back to top
View user's profile Send private message
crisandbea
Veteran
Veteran


Joined: 03 Jul 2005
Posts: 1778
Location: BOSCO (SA) ... ma domiciliato a Bologna....

PostPosted: Sat Apr 19, 2008 10:40 am    Post subject: Reply with quote

mlg82 wrote:
crisandbea wrote:
aggiungi la riga da te scritta prima in
Code:
/etc/modprobe.d/alsa-base
e non in
Code:
/etc/modules.d/alsa


il file alsa-base probabilmente non lo hai, lo crei senza problemi.


Ho fatto me dici, ma comunque non si risolve il problema. Devo dare un bel
Code:
# alsaconf

Per far funzionare l'audio.....ci siamo quasi

che dovevi dare alsaconf pensavo era sottointeso visto che avresti dovuto leggere la guida di configurazione per alsa...

ciauz
_________________
se fossi un disegnatore ti disegnerei, se fossi uno scrittore ti scriverei, se fossi un inventore ti inventerei...ma sono solo un trombettista!!!
Back to top
View user's profile Send private message
mlg82
n00b
n00b


Joined: 18 Oct 2006
Posts: 29

PostPosted: Sat Apr 19, 2008 5:09 pm    Post subject: Reply with quote

crisandbea wrote:
che dovevi dare alsaconf pensavo era sottointeso visto che avresti dovuto leggere la guida di configurazione per alsa...

ciauz


Forse non mi sono spiegato bene, ma alsaconf devo darlo ad ogni riavvio del notebook.
La guida di configurazione per alsa l'ho letta
Back to top
View user's profile Send private message
crisandbea
Veteran
Veteran


Joined: 03 Jul 2005
Posts: 1778
Location: BOSCO (SA) ... ma domiciliato a Bologna....

PostPosted: Sat Apr 19, 2008 5:52 pm    Post subject: Reply with quote

mlg82 wrote:
crisandbea wrote:
che dovevi dare alsaconf pensavo era sottointeso visto che avresti dovuto leggere la guida di configurazione per alsa...

ciauz


Forse non mi sono spiegato bene, ma alsaconf devo darlo ad ogni riavvio del notebook.
La guida di configurazione per alsa l'ho letta

di regola dovresti darlo solo la prima volta, probabilmente c'è qualcosa che non va(non carica i moduli credo al boot) verifica.

ciauz
_________________
se fossi un disegnatore ti disegnerei, se fossi uno scrittore ti scriverei, se fossi un inventore ti inventerei...ma sono solo un trombettista!!!
Back to top
View user's profile Send private message
mlg82
n00b
n00b


Joined: 18 Oct 2006
Posts: 29

PostPosted: Sat Apr 19, 2008 8:14 pm    Post subject: Reply with quote

i moduli li carica all'avvio, il volume non è muto, ma comunque non si sente. Ad ogni riavvio devo dare alsaconf ed il tutto funziona.
Sto cercando ancora su google ed ho trovato qualcosina...proverò ancora; altrimenti, c'è un modo per dare alsaconf al boot e dirgli di rispondere affermativo a tutte le domande che fa? (almeno è un workaround temporaneo).
Spero di essermi spiegato
Back to top
View user's profile Send private message
crisandbea
Veteran
Veteran


Joined: 03 Jul 2005
Posts: 1778
Location: BOSCO (SA) ... ma domiciliato a Bologna....

PostPosted: Sat Apr 19, 2008 9:03 pm    Post subject: Reply with quote

mlg82 wrote:
i moduli li carica all'avvio, il volume non è muto, ma comunque non si sente. Ad ogni riavvio devo dare alsaconf ed il tutto funziona.
Sto cercando ancora su google ed ho trovato qualcosina...proverò ancora; altrimenti, c'è un modo per dare alsaconf al boot e dirgli di rispondere affermativo a tutte le domande che fa? (almeno è un workaround temporaneo).
Spero di essermi spiegato


hai dato
Code:
rc-update add alsasound  boot
???

ciauz
_________________
se fossi un disegnatore ti disegnerei, se fossi uno scrittore ti scriverei, se fossi un inventore ti inventerei...ma sono solo un trombettista!!!
Back to top
View user's profile Send private message
mlg82
n00b
n00b


Joined: 18 Oct 2006
Posts: 29

PostPosted: Sat Apr 19, 2008 9:17 pm    Post subject: Reply with quote

Code:
rc-update add alsasound default
è equivalente? Perchè se lo è l'ho dato
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Sun Apr 20, 2008 12:57 pm    Post subject: Reply with quote

Non è esattamente la stessa cosa ma non dovrebbe influire più di tanto. Il parametro probe_mask perchè lo hai omesso?
Mi sa che il problema potrebbe essere quello ma non ho tempo e voglia di verificare, il caldo improvviso di oggi mi sta sfiancando, documentati un poco in più.
Quote:
MORE NOTES ON "azx_get_response timeout" PROBLEMS:
On some hardwares, you may need to add a proper probe_mask option
to avoid the "azx_get_response timeout" problem above, instead.
This occurs when the access to non-existing or non-working codec slot
(likely a modem one) causes a stall of the communication via HD-audio
bus. You can see which codec slots are probed by enabling
CONFIG_SND_DEBUG_DETECT, or simply from the file name of the codec
proc files. Then limit the slots to probe by probe_mask option.
For example, probe_mask=1 means to probe only the first slot, and
probe_mask=4 means only the third slot.


Mi pare che questo thread e questo siano strettamente collegati (ovvero anche se con software ed hardware differente il problema è lo stesso)
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
mlg82
n00b
n00b


Joined: 18 Oct 2006
Posts: 29

PostPosted: Mon Apr 21, 2008 9:56 am    Post subject: Reply with quote

Ho fatto degli esperimenti modificando manualmente i parametri da passare a modprobe ed ho notato che il problema sta nel fatto che alsasound al boot (ho messo alsasound in runlevel boot e non in runlevel default) non legge, o meglio non interpreta, le options che ho messo in
Code:
/etc/modprobe.d/alsa-base

e le ignora bellamente anche se le metto in
Code:
/etc/modules.d/alsa
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Mon Apr 21, 2008 5:44 pm    Post subject: Reply with quote

ehm, il kernel ed i moduli come sono installati? Manuale, genkernel, genkernel --menuconfig...
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
Tigerwalk
Guru
Guru


Joined: 15 May 2007
Posts: 475
Location: Napoli

PostPosted: Mon Apr 21, 2008 6:12 pm    Post subject: Reply with quote

mlg82 wrote:
Ho fatto degli esperimenti modificando manualmente i parametri da passare a modprobe ed ho notato che il problema sta nel fatto che alsasound al boot (ho messo alsasound in runlevel boot e non in runlevel default) non legge, o meglio non interpreta, le options che ho messo in
Code:
/etc/modprobe.d/alsa-base

e le ignora bellamente anche se le metto in
Code:
/etc/modules.d/alsa

Code:
echo "options snd-hda-intel model=3stack" >> /etc/modules.d/alsa

dovrebbe bastare. L'importante è che tu dia questo dopo che hai dato alsaconf, perchè altrimenti il file viene sovrascritto dalle nuove impostazioni.
Quindi, riassumendo, dai alsaconf, carichi il modulo della tua scheda con modprobe (es. modprobe snd-hda-intel model=3stack). Dai alsamixer ed alzi i volumi. Dai echo "options snd-hda-intel model=3stack" >> /etc/modules.d/alsa e quindi riavvìi.
_________________
Linux user N°447789
Carpe diem (quam minimum credula postero) -Orazio (I,11)
Back to top
View user's profile Send private message
mlg82
n00b
n00b


Joined: 18 Oct 2006
Posts: 29

PostPosted: Tue Apr 22, 2008 10:09 am    Post subject: Reply with quote

@djinnZ:
Il kernel l'ho compilato manualmente

@Tigerwalk:
ho provato come dici, anche se, come ho detto, la scheda audio funziona solo dopo un alsaconf

Ho installato alsa-lib, alsa-header, alsa-utils in ~amd64, ho ricompilato il kernel, ho riseguito la procedura di configurazione della guida per alsa, ma ho sempre lo stesso problema. Non so se c'è soluzione, ma a questo punto non so che fare
Back to top
View user's profile Send private message
mlg82
n00b
n00b


Joined: 18 Oct 2006
Posts: 29

PostPosted: Wed Apr 30, 2008 3:31 pm    Post subject: Reply with quote

Finalmente ho risolto questo problema.
Avendo notato che all'avvio non venivano caricate le impostazioni della scheda audio, anche dopo aver seguito la guida per configurare alsa, ho deciso di mettere questa riga in /etc/modules.autoload.d/kernel-2.6
Code:
snd-hda-intel probe_mask=1 model=5stack


Facendo così la scheda funziona, anche se non capisco perchè se passavo queste opzioni tramite: /etc/modules.d/alsa oppure tramite /etc/modprobe.d/alsa-base la scheda non funzionasse se non dopo un alsaconf dopo ogni riavvio del SO.
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Thu May 01, 2008 8:12 pm    Post subject: Reply with quote

Una volta era
Code:
module-update
ora dovrebbe essere
Code:
update-modules
:wink:
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
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