Pagina 1 di 3
Messaggio di aRts
Inviato: sab 17 mag 2008, 11:03
da manhunt
salve!
è da qualche giorno che compare un messaggio di errore all'avvio del sistema:
Sound server information message:
error while initializing the sound server:
device: default can't be opened for playback (invalid argument)
the sound server will continue , using the null output device
premetto che non ho smanettato con la periferica audio. ho provato a googlare un pò, ma ad ogni topic che trovato simile al mio la discussione si fermava (inconcludente).
pls help me ^__^
Re: Messaggio di aRts
Inviato: sab 17 mag 2008, 12:43
da anycolouryoulike
Hai provato a lanciare alsaconf?
Re: Messaggio di aRts
Inviato: sab 17 mag 2008, 13:49
da manhunt
quando lancio il comando, mi esce "no supported pnp or pci card found. would you like to probe legacy isa sound card/chips?", che devo fare?
nb: la musica si sente bene da amarok, ma invece non si sente da xmms. ho provato a riavviare il server sonoro dal centro di controllo e mi da (ovviamente) lo stesso errore che mi lancia all'avvio della sessione
Re: Messaggio di aRts
Inviato: sab 17 mag 2008, 14:17
da anycolouryoulike
Rispondi si, anche se non credo tu abbia una scheda su bus ISA...
Usi il kernel di default? Magari prova a postare l'lsmod.
Re: Messaggio di aRts
Inviato: sab 17 mag 2008, 14:35
da manhunt
da alsaconf, se faccio SI mi dice "probing legacy ISA cards might make your system unstable. proceed?", faccio YES e poi conclude dicendo "No legacy drivers are available"
da lsmod, esce
Codice: Seleziona tutto
Module Size Used by
nvidia 6221800 26
i2c_i801 13328 0
btw, è stata una mia mancanza ma dovevo forse dirti che ho un portatile (o nn fa differenza?)
il kernel che uso è 2.6.23.9
Re: Messaggio di aRts
Inviato: dom 18 mag 2008, 12:17
da anycolouryoulike
In linea di massima non fa differenza il fatto che sia un portatile.
Sembra un problema di kernel invece, l'hai compilato tu?
Re: Messaggio di aRts
Inviato: dom 18 mag 2008, 12:45
da manhunt
no, l'ha compilato 1 mio amico. ma prima funzionava bene. potrebbe essere che dopo 1 aggiornamento con swaret sia potuto succedere qualcosa?
Re: Messaggio di aRts
Inviato: dom 18 mag 2008, 12:49
da anycolouryoulike
Possibile... su che Slackware sei?
Controlla di avere installati i pacchetti di ALSA:
Codice: Seleziona tutto
root@darkstar:~# ls /var/log/packages/ | grep alsa
alsa-lib-1.0.15-i486-1
alsa-oss-1.0.15-i486-1
alsa-utils-1.0.15-i486-3
Re: Messaggio di aRts
Inviato: dom 18 mag 2008, 12:56
da manhunt
alsa-lib-1.0.16-i486-1sm
alsa-oss-1.0.15-i486-2sm
alsa-utils-1.0.16-i486-1sm
sto su Slackware 12.0
Re: Messaggio di aRts
Inviato: dom 18 mag 2008, 13:17
da anycolouryoulike
Confermi di riuscire a sentire la musica con Amarok?
Non ho capito come fa a funzionare la tua scheda senza moduli e senza alsa-driver!
Che scheda audio hai?
Io controllerei che i moduli siano presenti...
Dai un
lspci -n, incolla l'output
qui e premi check per oontrollare di quali moduli ha bisogno la tua scheda.
Poi lancia questo comando per controllare che siano presenti:
Codice: Seleziona tutto
find /lib/modules/$(uname -r)/ -iname "<modulo_della_tua_scheda>\.ko"
Nel mio caso:
Codice: Seleziona tutto
root@darkstar:~# find /lib/modules/$(uname -r)/ -iname "snd-hda-intel\.ko"
/lib/modules/2.6.25.1/kernel/sound/pci/hda/snd-hda-intel.ko
Re: Messaggio di aRts
Inviato: dom 18 mag 2008, 13:50
da manhunt
anycolouryoulike ha scritto:Confermi di riuscire a sentire la musica con Amarok?
si
Che scheda audio hai?
Formato audio supportato : 16-bit stereo
Altoparlanti : altoparlanti stereo Harman Kardon® integrati
Produttore : Toshiba Bass Enhanced Sound System con tecnologia SRS® TruSurround XT™ e SRS® WOW
il software presente in WindowsXP è della Realtek
Dai un
lspci -n, incolla l'output
qui e premi check per oontrollare di quali moduli ha bisogno la tua scheda.
Intel Corporation
82801G (ICH7 Family) High Definition Audio Controller
snd-hda-intel
Poi lancia questo comando per controllare che siano presenti:
Codice: Seleziona tutto
find /lib/modules/$(uname -r)/ -iname "<modulo_della_tua_scheda>\.ko"
Nel mio caso:
Codice: Seleziona tutto
root@darkstar:~# find /lib/modules/$(uname -r)/ -iname "snd-hda-intel\.ko"
/lib/modules/2.6.25.1/kernel/sound/pci/hda/snd-hda-intel.ko
non da niente questo comando
Re: Messaggio di aRts
Inviato: dom 18 mag 2008, 14:10
da anycolouryoulike
manhunt ha scritto:Intel Corporation
82801G (ICH7 Family) High Definition Audio Controller
snd-hda-intel
A quanto pare abbiamo la stessa scheda!
Quindi se
find /lib/modules/$(uname -r)/ -iname "snd-hda-intel\.ko" non ti restituisce niente credo dovrai ricompilare il kernel...
Dovresti aprire da root il config del tuo kernel, ossia
kwrite /usr/src/linux/.config, poi sostituisci la parte relativa ai driver sonori con questa che uso io:
Codice: Seleziona tutto
#
# Sound
#
CONFIG_SOUND=m
#
# Advanced Linux Sound Architecture
#
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_SEQ_DUMMY=m
# CONFIG_SND_MIXER_OSS is not set
# CONFIG_SND_PCM_OSS is not set
# CONFIG_SND_SEQUENCER_OSS is not set
# CONFIG_SND_DYNAMIC_MINORS is not set
# CONFIG_SND_SUPPORT_OLD_API is not set
# CONFIG_SND_VERBOSE_PROCFS is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
#
# Generic devices
#
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set
#
# PCI devices
#
# CONFIG_SND_AD1889 is not set
# CONFIG_SND_ALS300 is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CA0106 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_OXYGEN is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS5530 is not set
# CONFIG_SND_CS5535AUDIO is not set
# CONFIG_SND_DARLA20 is not set
# CONFIG_SND_GINA20 is not set
# CONFIG_SND_LAYLA20 is not set
# CONFIG_SND_DARLA24 is not set
# CONFIG_SND_GINA24 is not set
# CONFIG_SND_LAYLA24 is not set
# CONFIG_SND_MONA is not set
# CONFIG_SND_MIA is not set
# CONFIG_SND_ECHO3G is not set
# CONFIG_SND_INDIGO is not set
# CONFIG_SND_INDIGOIO is not set
# CONFIG_SND_INDIGODJ is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_EMU10K1X is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_FM801 is not set
CONFIG_SND_HDA_INTEL=m
# CONFIG_SND_HDA_HWDEP is not set
CONFIG_SND_HDA_CODEC_REALTEK=y
# CONFIG_SND_HDA_CODEC_ANALOG is not set
# CONFIG_SND_HDA_CODEC_SIGMATEL is not set
# CONFIG_SND_HDA_CODEC_VIA is not set
# CONFIG_SND_HDA_CODEC_ATIHDMI is not set
# CONFIG_SND_HDA_CODEC_CONEXANT is not set
# CONFIG_SND_HDA_CODEC_CMEDIA is not set
# CONFIG_SND_HDA_CODEC_SI3054 is not set
CONFIG_SND_HDA_GENERIC=y
# CONFIG_SND_HDSP is not set
# CONFIG_SND_HDSPM is not set
# CONFIG_SND_HIFIER is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_PCXHR is not set
# CONFIG_SND_RIPTIDE is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_SIS7019 is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VIRTUOSO is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_YMFPCI is not set
#
# USB devices
#
# CONFIG_SND_USB_AUDIO is not set
# CONFIG_SND_USB_USX2Y is not set
# CONFIG_SND_USB_CAIAQ is not set
#
# System on Chip audio support
#
# CONFIG_SND_SOC is not set
#
# SoC Audio support for SuperH
#
#
# ALSA SoC audio for Freescale SOCs
#
#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set
CONFIG_HID_SUPPORT=y
CONFIG_HID=y
CONFIG_HID_DEBUG=y
# CONFIG_HIDRAW is not set
Quindi dai in ordine, sempre da root:
Premi due volte ESC, se ti chiede di salvare rispondi si.
Poi bisogna sistemare il bootloader... usi LILO?
Posta anche
ls -l /boot.
Se qualcuno ha un'idea migliore si faccia avanti.
Re: Messaggio di aRts
Inviato: dom 18 mag 2008, 14:18
da manhunt
ma possibile che debba ricompilare il kernel , dopo 1 aggiornamento di swaret???
o meglio, dopo che funzionava tutto così bene?
Re: Messaggio di aRts
Inviato: dom 18 mag 2008, 14:22
da anycolouryoulike
Non so veramente che dirti...
Come ho già detto non capisco come faccia a funzionare senza moduli e senza alsa-driver.
Come ho già detto, se qualcuno ha un'idea migliore si faccia avanti.
...ma che cosa hai aggiornato con swaret? Non avrai mica aggiornato il kernel o ALSA?
Re: Messaggio di aRts
Inviato: dom 18 mag 2008, 14:23
da tigerwalk
@manunt
posta un
prova anche a dare
e poi alsamixer, alzando tutti i volumi e togliendo i mute. Se carica il modulo così, potresti risparmiarti la ricompilazione del kernel ed a questo punto dovresti dare solo il comando alsactl store e mettere in /etc/modprobe.d/ un file sound fatto così:
Codice: Seleziona tutto
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=3stack
prova.