LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-24-2007, 07:41 PM   #1
tarsier
LQ Newbie
 
Registered: Feb 2006
Posts: 4

Rep: Reputation: 0
[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 -
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Audacity - No Playback device listed doobers Linux - Software 4 03-12-2005 12:26 AM
JACK - device in use/cannot connect to server hinkipunk Linux - Software 3 02-03-2005 10:30 AM
playback device mrmojo Linux - Newbie 12 12-06-2004 10:46 PM
Device can't be opened for playback zupermanz Mandriva 0 06-05-2004 06:46 AM
no playback device j-charles Linux - Newbie 3 08-19-2003 06:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration