Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
scheda audio non inclusa negli alsa [risolto]
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
Trifaux666
Tux's lil' helper
Tux's lil' helper


Joined: 21 Sep 2003
Posts: 112
Location: Italia - Roma

PostPosted: Sun Sep 21, 2003 10:16 am    Post subject: scheda audio non inclusa negli alsa [risolto] Reply with quote

Salve a tutti. Ho gentoo da pochissimo tempo e sono un perfetto niubbo.

Ho già cercato in questo forum (la sezione italiana) dei thread che riguardassero il mio problema, ma non ne ho trovati (se ho cercato male, perdonatemi!)

Il problema è l'audio. Io ho una sola scheda SiS 635 integrata nella scheda madre.

Seguendo questa guida per mettere i driver ALSA, http://www.gentoo.it/doc/alsa-guide-it.html

sono andato subito a controllare che la mia scheda fosse supportata, nel "Soundcard Matrix" a questo indirizzo: http://www.alsa-project.org/alsa-doc/

ma sono riuscito a trovare solo schede SiS quali 733, 735, 740, 745 (dei quali solo il 735 è supportato pienamente)

Vorrei sapere se posso usare quei modelli comunque perchè sono compatibili, oppure se non si può, e (dato che il supporto della mia scheda non c'è nel kernel) vorrei sapere come fare per farla funzionare...


Last edited by Trifaux666 on Sun Sep 21, 2003 9:04 pm; edited 2 times in total
Back to top
View user's profile Send private message
teknux
Guru
Guru


Joined: 19 Feb 2003
Posts: 517
Location: Rome, IT

PostPosted: Sun Sep 21, 2003 10:40 am    Post subject: Reply with quote

io ti consiglierei di provare comunque visto che alla peggio non si sente la tua scheda..., se non va si pensa ad altre soluzioni (tipo l'OSS? si immagino sia frustrante...)

poi figurati che il mio chip è supportato ma si sente a ciofega e non so ancora come risolvere...

saluti,
tek
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Sun Sep 21, 2003 11:08 am    Post subject: Reply with quote

Stando a quanto scritto qui, ma non ho approfondito, la tua sk dovrebbe rientrare nel pacchetto SiS 7012.

Prova quindi a usare alsa con quel driver, sul sito Alsa c'e' scritto come fare.
_________________
Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito
Back to top
View user's profile Send private message
Trifaux666
Tux's lil' helper
Tux's lil' helper


Joined: 21 Sep 2003
Posts: 112
Location: Italia - Roma

PostPosted: Sun Sep 21, 2003 11:18 am    Post subject: Reply with quote

grazie a entrambi per l'aiuto, ora provo a mettere gli alsa con quei drivers. Se dovessi avere altri problemi posto qua... (ma spero di no)
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Sun Sep 21, 2003 12:03 pm    Post subject: Reply with quote

Beh, almeno fai sapere se risolvi :)
_________________
Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito
Back to top
View user's profile Send private message
Trifaux666
Tux's lil' helper
Tux's lil' helper


Joined: 21 Sep 2003
Posts: 112
Location: Italia - Roma

PostPosted: Sun Sep 21, 2003 12:18 pm    Post subject: Reply with quote

tranquilli faccio sempre sapere se risolvo, e in che modo :)
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30996
Location: here

PostPosted: Sun Sep 21, 2003 12:42 pm    Post subject: Reply with quote

cerri wrote:
Beh, almeno fai sapere se risolvi :)

Inoltre se risolvi riedita il titolo mettendo il tag [risolto] alla fine.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Trifaux666
Tux's lil' helper
Tux's lil' helper


Joined: 21 Sep 2003
Posts: 112
Location: Italia - Roma

PostPosted: Sun Sep 21, 2003 3:30 pm    Post subject: Reply with quote

sto seguendo la guida di www.gentoo.it, e mentre mi sto compilando gli alsa, mi sorge un dubbio:

Code:
env ALSA_CARDS='modulo' emerge alsa-driver
se io ho il modulo SiS 7012, come lo metto, senza spazio? (cioè "env ALSA_CARDS='SiS7012o' emerge alsa-driver") non vorrei fare casini prima di cominciare....
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30996
Location: here

PostPosted: Sun Sep 21, 2003 3:46 pm    Post subject: Reply with quote

Trifaux666 wrote:
sto seguendo la guida di www.gentoo.it, e mentre mi sto compilando gli alsa, mi sorge un dubbio:

Code:
env ALSA_CARDS='modulo' emerge alsa-driver
se io ho il modulo SiS 7012, come lo metto, senza spazio? (cioè "env ALSA_CARDS='SiS7012o' emerge alsa-driver") non vorrei fare casini prima di cominciare....

Per la tua scheda sonora devi usare il modulo intel8x0 quindi dai il comando
Code:
ALSA_CARDS='intel8x0' emerge  alsa-driver

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Trifaux666
Tux's lil' helper
Tux's lil' helper


Joined: 21 Sep 2003
Posts: 112
Location: Italia - Roma

PostPosted: Sun Sep 21, 2003 4:19 pm    Post subject: Reply with quote

"ALSA modules were successfully compiled." evvai :)

solo che ora quando faccio partire amixer con
Code:
amixer
mi viene fuori
Code:
amixer: Mixer attach default error: No such device


secondo la guida devo eseguire dei comandi, ecco cosa succede quando li eseguo:
Code:
bash-2.05b# insmod snd-mixer-oss
Using /lib/modules/2.4.20-gentoo-r6/kernel/sound/acore/oss/snd-mixer-oss.o
insmod: a module named snd-mixer-oss already exists
bash-2.05b# insmod snd-pcm-oss
Using /lib/modules/2.4.20-gentoo-r6/kernel/sound/acore/oss/snd-pcm-oss.o
insmod: a module named snd-pcm-oss already exists
bash-2.05b# amixer
amixer: Mixer attach default error: No such device

:/ e siamo da capo a dodici. qualche consiglio?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30996
Location: here

PostPosted: Sun Sep 21, 2003 4:52 pm    Post subject: Reply with quote

@Trifaux666: hai fatto modprobe snd-intel8x0? Nel kernel hai attivato
i moduli oss?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Trifaux666
Tux's lil' helper
Tux's lil' helper


Joined: 21 Sep 2003
Posts: 112
Location: Italia - Roma

PostPosted: Sun Sep 21, 2003 4:57 pm    Post subject: Reply with quote

fedeliallalinea wrote:
@Trifaux666: hai fatto modprobe snd-intel8x0? Nel kernel hai attivato
i moduli oss?
non ho messo oss nel compilare, ma con il comando modprobe ora sembra funzionare.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30996
Location: here

PostPosted: Sun Sep 21, 2003 4:59 pm    Post subject: Reply with quote

Trifaux666 wrote:
fedeliallalinea wrote:
@Trifaux666: hai fatto modprobe snd-intel8x0? Nel kernel hai attivato
i moduli oss?
non ho messo oss nel compilare, ma con il comando modprobe ora sembra funzionare.

E' giusto che tu non li hai messi perche' alsa non va daccordo con oss.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Sun Sep 21, 2003 6:53 pm    Post subject: Reply with quote

Aggiungo snd-intel8x0 nel file /etc/modules.autoload.d/kernel-2.4 e sarà up a ogni riavvio :)
_________________
Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito
Back to top
View user's profile Send private message
Trifaux666
Tux's lil' helper
Tux's lil' helper


Joined: 21 Sep 2003
Posts: 112
Location: Italia - Roma

PostPosted: Sun Sep 21, 2003 8:57 pm    Post subject: Reply with quote

ci sono riuscito :D allora ricapitolo per chi in seguito avesse un problema del genere, con una sola shceda audio:

attivare i moduli nel kernel
Code:
 # cd /usr/src/linux

# make menuconfig
     Sound  --->
     <M> Sound card support
     (deselezionare tutte le altre)

# make dep && make clean bzImage modules modules_install
# cp /usr/src/linux/arch/i386/boot/bzImage /boot/bzImage

(ricordandosi di avere montato la partizione di boot prima)

poi con il kernel nuovo,
Code:
# env ALSA_CARD='modulo' emerge alsa-driver

poi editare il file /etc/modules.d/alsa (controllando le seguenti linee)
Code:
     # Alsa 0.9.X kernel modules' configuration file.
     # $Header: /home/cvsroot/gentoo-src/gentoo-xml/htdocs/doc/en/alsa-guide.xml,v 1.1 2002/11/09 18:47:44 drobbins Exp $
     # ALSA portion
     alias char-major-116 snd
     options snd snd_major=116 snd_cards_limit=1
     # OSS/Free portion
     alias char-major-14 soundcore

     ##
     ## IMPORTANT:
     [...]
     ##  ALSA portion
     alias snd-card-0 snd-modulo
     [...]
     alias /dev/mixer snd-mixer-oss
     alias /dev/dsp snd-pcm-oss
     alias /dev/midi snd-seq-oss


per confermare la configurazione:
Code:
# update-modules


controllare che /etc/devfsd.conf ha i devices e i permessi registrati correttamente
Code:
# ALSA/OSS stuff
# Comment/change these if you want to change the permissions on
# the audio devices
LOOKUP          snd          MODLOAD ACTION snd
LOOKUP          dsp          MODLOAD
LOOKUP          mixer        MODLOAD
LOOKUP          midi         MODLOAD
REGISTER        sound/.*     PERMISSIONS root.audio 660
REGISTER        snd/.*       PERMISSIONS root.audio 660


a questo punto tutto è configurato, basta far partire ALSA al bootstrap
Code:
# rc-update add alsasound boot


poi per farlo partire senza riavviare
Code:
# /etc/init.d/alsasound start


ma il suono non funziona, perche' i canali sono ancora senza volume quindi emergiare alsa-utils

Code:
# emerge alsa-utils
# amixer


se non dovesse andare, è perchè non avete attivato il modulo, fatelo con
Code:
modprobe snd-modulo


a questo punto settare il volume
Code:
# amixer set Master 100 unmute
# amixer set PCM 100 unmute


e il gioco è fatto :)
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30996
Location: here

PostPosted: Sun Sep 21, 2003 9:02 pm    Post subject: Reply with quote

Aggiungi il tag [risolto] al titolo del post.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Trifaux666
Tux's lil' helper
Tux's lil' helper


Joined: 21 Sep 2003
Posts: 112
Location: Italia - Roma

PostPosted: Sun Sep 21, 2003 9:06 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Aggiungi il tag [risolto] al titolo del post.
ci stavo provando, ma avevo fatto un po' di casino e volevo pulire prima ;)

grazie a tutti per l'aiuto.
Back to top
View user's profile Send private message
maur8
Apprentice
Apprentice


Joined: 04 Mar 2003
Posts: 229
Location: Pescara (in serie B!!!), Italy

PostPosted: Sun Sep 21, 2003 10:47 pm    Post subject: Reply with quote

Bravo bell'esepmio di come si usa il forum! 8)
_________________
Maur8.
"They decided our fate in a microsecond. Extermination"
Sgt. Kyle Rise, The Terminator
Back to top
View user's profile Send private message
rayman2
n00b
n00b


Joined: 16 Oct 2003
Posts: 35

PostPosted: Thu Oct 16, 2003 2:11 pm    Post subject: Reply with quote

Ho seguito la guida fino all'edit di /etc/modules.d/alsa ma quando faccio
update-modules

questo è l'output:

depmod: *** Unresolved symbols in /lib/modules/2.4.20-gaming-r3/kernel/drivers/net/starfire.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20-gaming-r3/kernel/sound/isa/ad1816a/snd-ad1816a-lib.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20-gaming-r3/kernel/sound/isa/cs423x/snd-cs4231-lib.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20-gaming-r3/kernel/sound/isa/sb/snd-sb16-dsp.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20-gaming-r3/kernel/sound/isa/sb/snd-sb8-dsp.o

Ho usato il modulo emu10k1 perchè ho una soundblaster live
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Thu Oct 16, 2003 2:29 pm    Post subject: Reply with quote

Devi ricompilare il kernel facendo:
Code:
# make dep clean bzImage modules modules_install

_________________
Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito
Back to top
View user's profile Send private message
codadilupo
Advocate
Advocate


Joined: 05 Aug 2003
Posts: 3135

PostPosted: Thu Oct 16, 2003 2:58 pm    Post subject: Reply with quote

Uhmmm... allora io questo che l'ho scritto a fare ?

'ngheee, 'ngheeee ! :cry: :cry: :cry:

Scherzi a parte, benvenuto negli alsa ;-)

Coda
Back to top
View user's profile Send private message
rayman2
n00b
n00b


Joined: 16 Oct 2003
Posts: 35

PostPosted: Thu Oct 16, 2003 3:13 pm    Post subject: Reply with quote

X cerri: credo di averlo già fatto.
X codadilup: non ho capito cosa vuoi dire con " e allora io questo cosa l'ho scritto a fare"
Back to top
View user's profile Send private message
codadilupo
Advocate
Advocate


Joined: 05 Aug 2003
Posts: 3135

PostPosted: Thu Oct 16, 2003 3:31 pm    Post subject: Reply with quote

rayman2 wrote:
X cerri: credo di averlo già fatto.
X codadilup: non ho capito cosa vuoi dire con " e allora io questo cosa l'ho scritto a fare"


al link che ho postato c'era il mio tentativo di installazione degli alsa con la scheda audio SiS ;-)

P.S.: credo che cerri ti stesse suggerendo un comando breve per la compilazione del kernel

Coda
Back to top
View user's profile Send private message
Trifaux666
Tux's lil' helper
Tux's lil' helper


Joined: 21 Sep 2003
Posts: 112
Location: Italia - Roma

PostPosted: Wed Dec 03, 2003 9:14 pm    Post subject: Reply with quote

ricompilando il kernel, ho ricompilato anceh alsa.
l'audio funziona, ma mi sputa fuori sta roba...
Code:
bash-2.05b# /etc/init.d/alsasound start
 * Initialising ALSA....
 * Starting sound driver: snd-intel8x0 Warning: ignoring snd_major=116, no such parameter in this module
Warning: ignoring snd_cards_limit=1, no such parameter in this module
Module snd loaded, with warnings
Module snd-seq-device loaded, with warnings
Module snd-rawmidi loaded, with warnings
Module snd-mpu401-uart loaded, with warnings
Module snd-ac97-codec loaded, with warnings
Module snd-timer loaded, with warnings
Module snd-pcm loaded, with warnings
Module snd-intel8x0 loaded, with warnings
che significa?
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