View previous topic :: View next topic |
Author |
Message |
*ferris* n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/21814559243471c7a6e220.jpg)
Joined: 28 Oct 2004 Posts: 32
|
Posted: Sat Oct 08, 2005 7:01 pm Post subject: [ALSA] Non si sente con utente diverso da root... |
|
|
Ciao a tutti!
Ho appena finito di confirgurare gli alsa driver utilizzando dmix (creando quindi il file ~/.asoundrc), sembrerebbe andare tutto bene se non fosse per il fatto che quando mi loggo con un utente diverso da root riesco a sentire i suoni del kde ma da console non sento niente e mi dà questo errore: Code: | alsaplayer -o alsa -d ossmix canzone.mp3
mad_open() failed
mad_open() failed
...done playing | mentre con xmms non sento niente...
Qualcuno ha qualche idea del motivo di questo problema?
PS: Preciso che ho aggiunto l'utente al gruppo audio con il comando: Code: | gpasswd -a user audio |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xdarma l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/184279067143ff0e9b28a94.jpg)
Joined: 08 Dec 2003 Posts: 720 Location: tra veneto e friuli (italy)
|
Posted: Sat Oct 08, 2005 9:36 pm Post subject: |
|
|
potresti provare a dare i comandi:
cat /etc/group | grep audio
e postare il risultato?
giusto per essere sicuro che "utente" sia stato aggiunto al gruppo audio
xdarma |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
*ferris* n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/21814559243471c7a6e220.jpg)
Joined: 28 Oct 2004 Posts: 32
|
Posted: Sun Oct 09, 2005 12:51 am Post subject: |
|
|
xdarma wrote: | potresti provare a dare i comandi:
cat /etc/group | grep audio
e postare il risultato?
giusto per essere sicuro che "utente" sia stato aggiunto al gruppo audio
xdarma |
Code: | cat /etc/group | grep audio
audio:x:18:ferris | Penso che non ci siano problemi per quanto riguarda i gruppi giusto? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
*ferris* n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/21814559243471c7a6e220.jpg)
Joined: 28 Oct 2004 Posts: 32
|
Posted: Mon Oct 10, 2005 11:37 am Post subject: |
|
|
Nessuno ha qualche idea? ![Question :?:](images/smiles/icon_question.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Dece Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/88448477244fee66ca1b40.jpg)
Joined: 23 Nov 2004 Posts: 291 Location: Bologna/Rimini Italy
|
Posted: Mon Oct 10, 2005 12:54 pm Post subject: |
|
|
hai provato a disabilitare arts? potrebbe creare un conflitto con alsa |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
*ferris* n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/21814559243471c7a6e220.jpg)
Joined: 28 Oct 2004 Posts: 32
|
Posted: Mon Oct 10, 2005 6:00 pm Post subject: |
|
|
Dece wrote: | hai provato a disabilitare arts? potrebbe creare un conflitto con alsa | Non dovrebbe creare lo stesso conflitto anche da root? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
.:chrome:. Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1738078993454a825c7608f.jpg)
Joined: 19 Feb 2005 Posts: 4588 Location: Brescia, Italy
|
Posted: Mon Oct 10, 2005 6:07 pm Post subject: |
|
|
domanda studida. hai controllato che i device vengano assegnati al gruppo corretto?
cosa ti dice Code: | ls -lR /dev/s[ou]*nd | ![Question :?:](images/smiles/icon_question.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
*ferris* n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/21814559243471c7a6e220.jpg)
Joined: 28 Oct 2004 Posts: 32
|
Posted: Mon Oct 10, 2005 9:51 pm Post subject: |
|
|
k.gothmog wrote: | domanda studida. hai controllato che i device vengano assegnati al gruppo corretto?
cosa ti dice Code: | ls -lR /dev/s[ou]*nd | ![Question :?:](images/smiles/icon_question.gif) | Questo è quello che mi restituisce il comando che mi hai suggerito: Code: | ls -lR /dev/s[ou]*nd
/dev/sound:
total 0
crw-rw---- 1 root audio 14, 12 Oct 10 14:59 adsp
crw-rw---- 1 root audio 14, 4 Oct 10 14:59 audio
crw-rw---- 1 root audio 14, 3 Oct 10 14:59 dsp
crw-rw---- 1 root audio 14, 0 Oct 10 14:59 mixer
crw-rw---- 1 root audio 14, 1 Oct 10 14:59 sequencer
crw-rw---- 1 root audio 14, 8 Oct 10 14:59 sequencer2 | è corretto o c'è qualche problema? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
.:chrome:. Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1738078993454a825c7608f.jpg)
Joined: 19 Feb 2005 Posts: 4588 Location: Brescia, Italy
|
Posted: Mon Oct 10, 2005 10:15 pm Post subject: |
|
|
è corretto. i device sono scrivibili dai membri del gruppo audio
verifica di afre effettivamente parte di quel gruppo, col comando id |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
*ferris* n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/21814559243471c7a6e220.jpg)
Joined: 28 Oct 2004 Posts: 32
|
Posted: Tue Oct 11, 2005 9:15 am Post subject: |
|
|
k.gothmog wrote: | è corretto. i device sono scrivibili dai membri del gruppo audio
verifica di afre effettivamente parte di quel gruppo, col comando id |
Nella lista dei gruppi ritornata dal comando id è presente anche il gruppo audio quindi non dovrebbero esserci problemi da questo punto di vista... ![Rolling Eyes :roll:](images/smiles/icon_rolleyes.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Dece Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/88448477244fee66ca1b40.jpg)
Joined: 23 Nov 2004 Posts: 291 Location: Bologna/Rimini Italy
|
Posted: Tue Oct 11, 2005 12:32 pm Post subject: |
|
|
*ferris* wrote: | Non dovrebbe creare lo stesso conflitto anche da root? | in teoria si, ma le vie dei conflitti sono infinite a me qualche conflitto tra alsa e arts è capitato: se hai problemi di riproduzione solo con kde in funzione allora non è un'ipotesi da scartare |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|