You are not logged in.

#1 2005-12-28 22:26:43

thegnu
Member
From: Brooklyn, NY
Registered: 2004-05-04
Posts: 280
Website

User-run apps can't access Alsa devs [solved]

Hey all.
I've just gone through all the instructions on th Alsa Setup wiki page, and sound apps only work as root.

hw:0 is the NF4 onboard sound (CK804?)
hw:1 is my RME HDSP9652

# groups thegnu
optical audio storage scanner users
$ alsamixer
alsamixer: function snd_ctl_open failed for default: No such device

qjackctl log output:

17:22:02.363 Patchbay deactivated.
17:22:02.383 Statistics reset.
17:22:02.385 Could not open ALSA sequencer as a client. MIDI patchbay will be not available.
ALSA lib seq_hw.c:455:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
17:22:05.228 Startup script...
17:22:05.228 artsshell -q terminate
can't create mcop directory
Creating link /home/thegnu/.kde/socket-mu.
17:22:05.478 Startup script terminated with exit status=256.
17:22:05.478 JACK is starting...
17:22:05.478 /usr/bin/jackd -R -dalsa -dhw:1 -r48000 -p1024 -n2
17:22:05.484 JACK was started with PID=18394 (0x47da).
jackd 0.100.0
Copyright 2001-2005 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK compiled with System V SHM support.
loading driver ..
apparent rate = 48000
creating alsa driver ... hw:1|hw:1|1024|2|48000|0|0|nomon|swmeter|-|32bit
control device hw:1
control open "hw:1" (No such device)
cannot load driver module alsa
17:22:05.514 JACK was stopped successfully.
17:22:07.597 Could not connect to JACK server as client.
$ xmms
** WARNING**: alsa_get_mixer(): Attaching to mixer hw:0 failed: No such device

alsa-driver 1.0.10-1
jack 0.100.0-3
udev 068-5

What else?


fffft!

Offline

#2 2005-12-29 15:49:38

thegnu
Member
From: Brooklyn, NY
Registered: 2004-05-04
Posts: 280
Website

Re: User-run apps can't access Alsa devs [solved]

I had to groupadd <group> for audio, optical, etc, then add the right permissions to the udev file.  I added a note in the udev wiki


fffft!

Offline

Board footer

Powered by FluxBB