Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ALSA] Non si sente con utente diverso da root...
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
*ferris*
n00b
n00b


Joined: 28 Oct 2004
Posts: 32

PostPosted: Sat Oct 08, 2005 7:01 pm    Post subject: [ALSA] Non si sente con utente diverso da root... Reply with quote

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... 8O
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
View user's profile Send private message
xdarma
l33t
l33t


Joined: 08 Dec 2003
Posts: 720
Location: tra veneto e friuli (italy)

PostPosted: Sat Oct 08, 2005 9:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
*ferris*
n00b
n00b


Joined: 28 Oct 2004
Posts: 32

PostPosted: Sun Oct 09, 2005 12:51 am    Post subject: Reply with quote

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
View user's profile Send private message
*ferris*
n00b
n00b


Joined: 28 Oct 2004
Posts: 32

PostPosted: Mon Oct 10, 2005 11:37 am    Post subject: Reply with quote

Nessuno ha qualche idea? :?: :roll: :?:
Back to top
View user's profile Send private message
Dece
Apprentice
Apprentice


Joined: 23 Nov 2004
Posts: 291
Location: Bologna/Rimini Italy

PostPosted: Mon Oct 10, 2005 12:54 pm    Post subject: Reply with quote

hai provato a disabilitare arts? potrebbe creare un conflitto con alsa
Back to top
View user's profile Send private message
*ferris*
n00b
n00b


Joined: 28 Oct 2004
Posts: 32

PostPosted: Mon Oct 10, 2005 6:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Mon Oct 10, 2005 6:07 pm    Post subject: Reply with quote

domanda studida. hai controllato che i device vengano assegnati al gruppo corretto?
cosa ti dice
Code:
ls -lR /dev/s[ou]*nd
:?:
Back to top
View user's profile Send private message
*ferris*
n00b
n00b


Joined: 28 Oct 2004
Posts: 32

PostPosted: Mon Oct 10, 2005 9:51 pm    Post subject: Reply with quote

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
:?:
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
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Mon Oct 10, 2005 10:15 pm    Post subject: Reply with quote

è corretto. i device sono scrivibili dai membri del gruppo audio
verifica di afre effettivamente parte di quel gruppo, col comando id
Back to top
View user's profile Send private message
*ferris*
n00b
n00b


Joined: 28 Oct 2004
Posts: 32

PostPosted: Tue Oct 11, 2005 9:15 am    Post subject: Reply with quote

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... :roll:
Back to top
View user's profile Send private message
Dece
Apprentice
Apprentice


Joined: 23 Nov 2004
Posts: 291
Location: Bologna/Rimini Italy

PostPosted: Tue Oct 11, 2005 12:32 pm    Post subject: Reply with quote

*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
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