Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Audio e alsa -- problemi [solved]
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
augustus
Apprentice
Apprentice


Joined: 28 Aug 2003
Posts: 173
Location: Italy

PostPosted: Wed Sep 10, 2003 10:11 am    Post subject: Audio e alsa -- problemi [solved] Reply with quote

Salve!
Ho nuovamente un problema: quando faccio partire KDE ottengo il messaggio di errore:

"Error while initializing the sound-driver:
device /dev/dsp can't be opened (No such file or directory)"
Vado nella directiry /dev/ e in effetti dsp non c'è!

Qual'è il problema?


Io ho pensato fosse necessario installare alsa: ma se do
emerge alsa
a metà della compilazione mi compare un messaggio di errore:
"../alsa-kernel/core/sound_oss.c:27:2: #error "Enable the OSS soundcore multiplexer (CONFIG_SOUND) in the kernel. "

Che faccio? Urge una ricompilatio kernel ? Il supporto per l'audio non dovrebbe essere già abilitato? (il kernel l'avevo compilato con genkernel)

grazie


Last edited by augustus on Wed Sep 10, 2003 6:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30966
Location: here

PostPosted: Wed Sep 10, 2003 10:14 am    Post subject: Reply with quote

Hai attivato gli oss nel kernel? Se si toglili perche alsa non va tanto
d'accordo con oss.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
augustus
Apprentice
Apprentice


Joined: 28 Aug 2003
Posts: 173
Location: Italy

PostPosted: Wed Sep 10, 2003 10:19 am    Post subject: Reply with quote

Quote:
Hai attivato gli oss nel kernel? Se si toglili perche alsa non va tanto
d'accordo con oss.


Il kernel è stato compilato da genkernel, quindi non so di preciso cosa sia abilitato.
Allora faccio una compilazione manuale, seguendo il tuo consiglio.
Back to top
View user's profile Send private message
shev
Bodhisattva
Bodhisattva


Joined: 03 Feb 2003
Posts: 4084
Location: Italy

PostPosted: Wed Sep 10, 2003 11:05 am    Post subject: Reply with quote

the-matrix wrote:

Allora faccio una compilazione manuale, seguendo il tuo consiglio.


Segui anche la guida per l'installazione di alsa che trovi nella doc di gentoo.org, aiuta certamente.
_________________
Se per vivere ti dicono "siediti e stai zitto" tu alzati e muori combattendo
Back to top
View user's profile Send private message
augustus
Apprentice
Apprentice


Joined: 28 Aug 2003
Posts: 173
Location: Italy

PostPosted: Wed Sep 10, 2003 2:37 pm    Post subject: Reply with quote

Allora: ho ricompilato il kernel togliendo gli oss e ho compilato gli alsa-driver seguendo la guida di gentoo.it.

Quando avvio il servizio, però, ho un errore:

Code:
gentoo etc # /etc/init.d/alsasound start
  * Initialiging ALSA....
  * Starting sound driver: snd-via82xx /lib/modules/2.4.20-gaming-r3/kernel/sound/pci/snd-via82xx.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters


Sembra che fallisca al caricare il modulo snd-via82xx ...

Nel caso serva:

Code:
gentoo etc # cat /proc/pci | grep audio
     Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 32).
gentoo etc #



Avete suggerimenti?
Back to top
View user's profile Send private message
Panda
Apprentice
Apprentice


Joined: 31 Jul 2003
Posts: 223
Location: Cremona <=> Catania

PostPosted: Wed Sep 10, 2003 3:05 pm    Post subject: Reply with quote

ti consiglio di mettere al kernel oss come modulo (tanto quanto basta per far compilare alsa). Riemergere alsa (magari con ALSA_CARDS="via82xx" emerge alsa-driver, per evitare di compilare tutto il resto) e poi di dare un'occhiata a questo thread https://forums.gentoo.org/viewtopic.php?p=445021&highlight=#445021 per sistemare devfs e far caricare correttamente il modulo.

byez
Back to top
View user's profile Send private message
augustus
Apprentice
Apprentice


Joined: 28 Aug 2003
Posts: 173
Location: Italy

PostPosted: Wed Sep 10, 2003 6:21 pm    Post subject: Reply with quote

Ho provato a fare come suggerito da Panda, ma non ha funzionato.

Ho allora adottato una soluzione molto poco elegante (ma funziona ;-)): dopo aver installato gli alsa driver, nonostante i messaggi di errore che mi segnalavano il mancato caricamento del modulo via82xx ho avviato KDE e ho notato che l'audio funziona a dovere.
Al che, per togliere i messaggi di errore, non ho fatto altro che spostare il file snd-via82xx.o in un'altra cartella: così non viene più caricato e il messaggio di errore non c'è più (e l'audio funziona).

Se qualcuno ha delucidazioni da darmi sul perchè questa soluzione ha funzionato, gliene sarei molto grato!
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


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

PostPosted: Wed Sep 10, 2003 6:23 pm    Post subject: Reply with quote

Credo che tu abbia compilato statisticamente il modulo della tua sk audio nel kernel, che viene utilizzata in modalita' OSS (e questo spiega perche' alsa da errore).
Puoi postare il tuo .config, nella parte interessata?
_________________
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
augustus
Apprentice
Apprentice


Joined: 28 Aug 2003
Posts: 173
Location: Italy

PostPosted: Wed Sep 10, 2003 6:34 pm    Post subject: Reply with quote

E' quello che ho pensato anch'io: non posto il .config, perchè ti posso già dire che in effetti ho abilitato come built-in (non come modulo) il supporto per la mia scheda nel kernel ... proverò a disabilitare quel supporto e a reinstallare i driver alsa.

Però anche qui ho un dubbio: nelle altre distro sono solito compilare il kernel con il supporto per la scheda (anche perchè altrimenti l'audio non funziona): e i driver alsa funzionano correttamente ... why?
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


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

PostPosted: Wed Sep 10, 2003 7:13 pm    Post subject: Reply with quote

Impossibile e'. :D
_________________
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
Panda
Apprentice
Apprentice


Joined: 31 Jul 2003
Posts: 223
Location: Cremona <=> Catania

PostPosted: Wed Sep 10, 2003 11:36 pm    Post subject: Reply with quote

cerri wrote:
Credo che tu abbia compilato statisticamente il modulo della tua sk audio nel kernel, che viene utilizzata in modalita' OSS (e questo spiega perche' alsa da errore).
Puoi postare il tuo .config, nella parte interessata?


che io sappia via82xx non c'e' in OSS... ma solo in alsa... almeno io ho un portatile con quel chip e ho dovuto emergere alsa... cmq a me risulta che per compilare senza errori alsa ed evitare di spostare a mano moduli, basti mettere M a OSS, ovvero compilare solo il modulo soundcore.o senza altri driver specifici. In modo che poi venga utilizzato quello di alsa con la legacy oss.
Back to top
View user's profile Send private message
Legolas80
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jun 2003
Posts: 128

PostPosted: Thu Sep 11, 2003 7:53 am    Post subject: Reply with quote

Panda wrote:
che io sappia via82xx non c'e' in OSS... ma solo in alsa...

Che io sappia invece c'è... :wink:
Cmq utilizza gli alsa visto che dal kernel 2.6 gli OSS saranno deprecated.
Back to top
View user's profile Send private message
Panda
Apprentice
Apprentice


Joined: 31 Jul 2003
Posts: 223
Location: Cremona <=> Catania

PostPosted: Thu Sep 11, 2003 11:04 am    Post subject: Reply with quote

Legolas80 wrote:
Che io sappia invece c'è... :wink:

scusa ma ti riferisci a CONFIG_SOUND_VIA82CXXX ?
Se e' cosi' allora sara' la mia scheda che non e' supportata da OSS...
Back to top
View user's profile Send private message
Legolas80
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jun 2003
Posts: 128

PostPosted: Thu Sep 11, 2003 11:43 am    Post subject: Reply with quote

Panda wrote:
scusa ma ti riferisci a CONFIG_SOUND_VIA82CXXX ?

Si mi riferisco a quello... Che scheda hai?
Back to top
View user's profile Send private message
augustus
Apprentice
Apprentice


Joined: 28 Aug 2003
Posts: 173
Location: Italy

PostPosted: Thu Sep 11, 2003 12:29 pm    Post subject: Reply with quote

cerri wrote:
Credo che tu abbia compilato statisticamente il modulo della tua sk audio nel kernel, che viene utilizzata in modalita' OSS (e questo spiega perche' alsa da errore).
Puoi postare il tuo .config, nella parte interessata?


Ok, ho ricompilato il kernel senza il supporto statico per la scheda audio, quindi ho ricompilato gli alsa-driver ed ora ALSA non mi da più il messaggio di errore.

Grazie a tutti! :D
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


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

PostPosted: Thu Sep 11, 2003 2:40 pm    Post subject: Reply with quote

/me contento :D
_________________
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
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