[PlanetCCRMA] cannot get jack & alsa running as non-root user

francisco echeverria franciscoecheverria@vtr.net
Sun Feb 13 16:38:02 2005


Hi  all

first of all thanks to chaos for the answer of my previous post... it 
was a really dumb question...:P

Now my actual problem:

i've upgraded my fc1 ccrma partition to fc2 not without problems, but 
now everything appears to work fine for me (fc2 not ccrma), except that 
i cannot run qjackctl as a normal user. My upgrade process consist on 
uninstalling all extra packages  (ccrma and others), then upgrade to fc2 
via yum, and finally getting ccrma fc2 packages and updates.

first: it gets me into an error telling me that he could not open ALSA 
sequencer as client and so there's no midi patchbay available.
   
    20:51:59.149 Patchbay deactivated.
    20:51:59.596 Statistics reset.
    20:51:59.601 Could not open ALSA sequencer as a client. MIDI 
patchbay will be not available.
    ALSA lib seq_hw.c:446:(snd_seq_hw_open) open /dev/snd/seq failed: 
Acces denied

second: when i try starting  jackd using alsa driver (oss and dummy 
aparently workingbut without midi patchbay) i get this:

    21:07:16.285 Startup script...
    21:07:16.285 artsshell -q terminate
    21:07:16.621 Startup script terminated with exit status=256.
    21:07:16.622 JACK is starting...
    21:07:16.622 /usr/bin/jackd -R -dalsa -dhw:0 -r44100 -p1024 -n2 -S
    21:07:16.640 JACK was started with PID=10504 (0x2908).
    jackd 0.99.36
    Copyright 2001-2003 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 = 44100
    creating alsa driver ... 
hw:0|hw:0|1024|2|44100|0|0|nomon|swmeter|-|16bit
    ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to 
capture-only mode
    cannot load driver module alsa
    21:07:16.781 JACK was stopped successfully.
    21:07:18.669 Could not connect to JACK server as client.

That's it.. some aditional info:

bash-2.05b$ ls -l /dev/snd/seq
crw-------  1 root root 116, 1 feb 23  2004 /dev/snd/seq (the same for 
everything in /dev/snd)

The kernel version is 2.6.10-2.1.ll.rhfc2.ccrma

bash-2.05b$ /sbin/lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 745 Host (rev 01)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI 
bridge (AGP)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS85C503/5513 (LPC 
Bridge)
00:02.1 SMBus: Silicon Integrated Systems [SiS]: Unknown device 0016
00:02.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 
Controller (rev 07)
00:02.3 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 
Controller (rev 07)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0)
00:09.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 07)
00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
RTL-8139/8139C/8139C+ (rev 10)
01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 
MX/MX 400] (rev b2)

bash-2.05b$ /etc/rc.d/init.d/alsasound status
ALSA sound driver loaded.

bash-2.05b$ /etc/rc.d/init.d/rtload status
Realtime kernel module is loaded, current parameters are:
 any=1; gid=-1; mlock=1

bash-2.05b$ /sbin/lsmod
Module                          Size          Used by
snd_pcm_oss                63392  0
snd_mixer_oss              21504  1   snd_pcm_oss
snd_seq_midi               10272  0
snd_seq_midi_event     9728  1     snd_seq_midi
snd_seq                        74896  2   snd_seq_midi,snd_seq_midi_event
snd_ens1371                33760  0
snd_rawmidi                32032  2   snd_seq_midi,snd_ens1371
snd_seq_device            9740  3     snd_seq_midi,snd_seq,snd_rawmidi
snd_ac97_codec          75256  1   snd_ens1371
snd_pcm                    120968  3 snd_pcm_oss,snd_ens1371,snd_ac97_codec
snd_timer                     37380  2 snd_seq,snd_pcm
snd                               73732  11 
snd_pcm_oss,snd_mixer_oss,snd_seq_midi,snd_seq_midi_event,snd_seq,snd_ens1371,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm,snd_timer
soundcore                  11232  1 snd
gameport                    5248  1 snd_ens1371
nvidia                       3472284  12
realtime                    5128  0
commoncap              8064  1 realtime
snd_page_alloc        10884  1 snd_pcm
autofs4                    28292  0
iptable_filter              3712  0
ip_tables                  18944  1 iptable_filter
8139too                    30208  0
mii                         4864  1 8139too
floppy                     65840  0
sg                             38176  0
sr_mod                     19108  0
ide_scsi               17924  0
scsi_mod              136960  3 sg,sr_mod,ide_scsi
vfat                       14080  1


If there is anything more that i can tell let me know please, i woul 
like tu run everithing as a non-root user, i hope there's no need to 
reinstall everything cleanly...

thanks in advance

pancho.