Messaggio di aRts

Se avete problemi con l'installazione e la configurazione di Slackware postate qui. Non usate questo forum per argomenti generali... per quelli usate Gnu/Linux in genere.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware, se l'argomento è generale usate il forum Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute.
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
manhunt
Linux 0.x
Linux 0.x
Messaggi: 36
Iscritto il: sab 17 mag 2008, 10:57

Messaggio di aRts

Messaggio 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 ^__^

Avatar utente
anycolouryoulike
Packager
Packager
Messaggi: 1158
Iscritto il: ven 10 ago 2007, 0:00
Slackware: 12.2
Kernel: 2.6.34.8
Desktop: KDE 3.5.10

Re: Messaggio di aRts

Messaggio da anycolouryoulike »

Hai provato a lanciare alsaconf?

manhunt
Linux 0.x
Linux 0.x
Messaggi: 36
Iscritto il: sab 17 mag 2008, 10:57

Re: Messaggio di aRts

Messaggio 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

Avatar utente
anycolouryoulike
Packager
Packager
Messaggi: 1158
Iscritto il: ven 10 ago 2007, 0:00
Slackware: 12.2
Kernel: 2.6.34.8
Desktop: KDE 3.5.10

Re: Messaggio di aRts

Messaggio 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.

manhunt
Linux 0.x
Linux 0.x
Messaggi: 36
Iscritto il: sab 17 mag 2008, 10:57

Re: Messaggio di aRts

Messaggio 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

Avatar utente
anycolouryoulike
Packager
Packager
Messaggi: 1158
Iscritto il: ven 10 ago 2007, 0:00
Slackware: 12.2
Kernel: 2.6.34.8
Desktop: KDE 3.5.10

Re: Messaggio di aRts

Messaggio 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?

manhunt
Linux 0.x
Linux 0.x
Messaggi: 36
Iscritto il: sab 17 mag 2008, 10:57

Re: Messaggio di aRts

Messaggio 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?

Avatar utente
anycolouryoulike
Packager
Packager
Messaggi: 1158
Iscritto il: ven 10 ago 2007, 0:00
Slackware: 12.2
Kernel: 2.6.34.8
Desktop: KDE 3.5.10

Re: Messaggio di aRts

Messaggio 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

manhunt
Linux 0.x
Linux 0.x
Messaggi: 36
Iscritto il: sab 17 mag 2008, 10:57

Re: Messaggio di aRts

Messaggio 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

Avatar utente
anycolouryoulike
Packager
Packager
Messaggi: 1158
Iscritto il: ven 10 ago 2007, 0:00
Slackware: 12.2
Kernel: 2.6.34.8
Desktop: KDE 3.5.10

Re: Messaggio di aRts

Messaggio 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

manhunt
Linux 0.x
Linux 0.x
Messaggi: 36
Iscritto il: sab 17 mag 2008, 10:57

Re: Messaggio di aRts

Messaggio 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

Avatar utente
anycolouryoulike
Packager
Packager
Messaggi: 1158
Iscritto il: ven 10 ago 2007, 0:00
Slackware: 12.2
Kernel: 2.6.34.8
Desktop: KDE 3.5.10

Re: Messaggio di aRts

Messaggio 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:

Codice: Seleziona tutto

cd /usr/src/linux
make menuconfig
Premi due volte ESC, se ti chiede di salvare rispondi si.

Codice: Seleziona tutto

make
make modules_install
Poi bisogna sistemare il bootloader... usi LILO?
Posta anche ls -l /boot.

Se qualcuno ha un'idea migliore si faccia avanti.

manhunt
Linux 0.x
Linux 0.x
Messaggi: 36
Iscritto il: sab 17 mag 2008, 10:57

Re: Messaggio di aRts

Messaggio da manhunt »

ma possibile che debba ricompilare il kernel , dopo 1 aggiornamento di swaret???

o meglio, dopo che funzionava tutto così bene?

Avatar utente
anycolouryoulike
Packager
Packager
Messaggi: 1158
Iscritto il: ven 10 ago 2007, 0:00
Slackware: 12.2
Kernel: 2.6.34.8
Desktop: KDE 3.5.10

Re: Messaggio di aRts

Messaggio 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?

Avatar utente
tigerwalk
Linux 3.x
Linux 3.x
Messaggi: 895
Iscritto il: lun 25 feb 2008, 22:08
Nome Cognome: Giuliano della Vecchia
Slackware: 13.37-14.2
Kernel: 3.10.17-tiger / 4.4.88-smp
Desktop: kde4/xfce4
Località: Napoli

Re: Messaggio di aRts

Messaggio da tigerwalk »

@manunt
posta un

Codice: Seleziona tutto

cat /usr/src/linux/.config | grep _SND
prova anche a dare

Codice: Seleziona tutto

modprobe snd-hda-intel model=3stack
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.

Rispondi