LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   [JACK] cannot open alsa_pcm device for playback (https://www.linuxquestions.org/questions/linux-software-2/%5Bjack%5D-cannot-open-alsa_pcm-device-for-playback-540327/)

tarsier 03-24-2007 07:41 PM

[JACK] cannot open alsa_pcm device for playback
 
Hi everyone!

Having some trouble with JACK 0.103.0

I just compiled a new 2.6.20.3 vanilla Linux kernel on my Slackware 11.0 system.

I have compiled ALSA and required drivers as a module, and when I run lsmod I can see that the appropriate drivers are loaded:

$lsmod

Module Size Used by
ipv6 207360 14
snd_intel8x0 27776 0
snd_ac97_codec 84484 1 snd_intel8x0
ac97_bus 2816 1 snd_ac97_codec
snd_pcm 63852 2 snd_intel8x0,snd_ac97_codec
snd_timer 18216 1 snd_pcm
snd 40292 4 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
snd_page_alloc 7944 2 snd_intel8x0,snd_pcm

Sound seems to play fine in all applications. When I run the following to start the JACK server, however:

$jackd -d alsa

I get the following error:

loading driver ..
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
control device hw:0
control open "hw:0" (No such file or directory)
ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
cannot load driver module alsa
no message buffer overruns

I also tried using oss as a backend:

$jackd -d oss

and I get the following output:

loading driver ..
oss_driver: /dev/dsp : 0x10/2/48000 (4096)
oss_driver: indevbuf 4096 B, outdevbuf 4096 B
oss_driver: using barrier mode, (dual thread)
OSS: write() failed: oss_driver.c@976, count=-1/4096, errno=19

Another weird issue that I'm sure is related. When my ALSA rc script runs the following commands:

load_alsa_mixer
load_alsa_oss_modules

I get:

/usr/sbin/alsactl: load_state:1236: No soundcards found...
./rc.alsa: line 33: load_alsa_oss_modules: command not found

Which is weird, because the ALSA is definitely playing sound!

Has anyone had any similar troubles/experiences with JACK? Any ideas for fixes?

Thanks a bunch :) -


All times are GMT -5. The time now is 04:22 PM.