LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 05-13-2005, 10:58 PM   #1
kl9a
LQ Newbie
 
Registered: Jan 2004
Location: Moscow, ID
Distribution: Mandrake 9.2
Posts: 4

Rep: Reputation: 0
JACK and Mandrake 10.1


I'm trying to record using my Mic in. I have an onboard CMI8738 chip. I know it works because I can do it fine in Windows. Using Mandrake 10.1 Official, and QJackQTL for my JACK GUI. Here is what it outputs when I start it up:

20:56:26.653 Statistics reset.
20:56:26.666 Startup script...
20:56:26.667 artsshell -q terminate
20:56:26.796 MIDI connection graph change.
20:56:27.084 Startup script terminated with exit status=256.
20:56:27.085 JACK is starting...
20:56:27.086 /usr/bin/jackd -R -m -dalsa -dhw:0 -r44100 -p1024 -n2 -i1 -o1
20:56:27.104 JACK was started with PID=16567 (0x40b7).
jackd 0.99.0
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
loading driver ..
apparent rate = 44100
creating alsa driver ... hw:0|hw:0|1024|2|44100|1|1|nomon|swmeter|-|32bit
control device hw:0
configuring for 44100Hz, period = 1024 frames, buffer = 2 periods
Couldn't open hw:0 for 32bit samples trying 24bit instead
Couldn't open hw:0 for 24bit samples trying 16bit instead
Couldn't open hw:0 for 32bit samples trying 24bit instead
Couldn't open hw:0 for 24bit samples trying 16bit instead
JACK: unable to mlock() port buffers: Operation not permitted
jack_create_thread: error -1 switching current thread to rt for inheritance: Unknown error 4294967295
cannot start watchdog thread
cannot load driver module alsa
20:56:27.260 JACK was stopped successfully.
20:56:29.316 Could not connect to JACK server as client.

I try it with OSS and I get the same, except it cannot load driver module oss.

What is going on??? I'm clueless, and nothing online from a google search has helped at all. Not many people seem to have good luck with JACK!!

Please help!!

Thanks!
 
Old 05-13-2005, 11:25 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
hi jack works fine but it needs to be run with root permissions or with a special kernel patch
i think just run it with sudo
sudo qjackctl
then
sudo ladccad --no-ipv6 (if you are trying to use that)
then
sudo ardour

that works for me (not using mandrake)
some distros have disabled audio for root so make sure root has permissions on audio devices
 
Old 05-14-2005, 11:13 AM   #3
kl9a
LQ Newbie
 
Registered: Jan 2004
Location: Moscow, ID
Distribution: Mandrake 9.2
Posts: 4

Original Poster
Rep: Reputation: 0
Ok, let's go back a step

So really, I am not getting any audio into my mic (or line in) on my soundcard that linux can see.

Using QArecord, and looking at the bar graph. Also have Audacity and it shows the same thing.

What is going on that I don't have any input audio? Works fine in windows. Maybe fixing this will fix the JACK problem. Says I'm using snd-cmipci driver/module on my CMI8738. Output works just fine in all progs.

??????????
 
Old 05-14-2005, 01:47 PM   #4
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
in alsa you have to enable a "capture" device
the device names sometimes are different from driver to driver
do
amixer to see all the available devices
they say stuff like
Capture 100 [100%]
Capture [off]
Capture 15 [100%] [on]
or whatever

try something like
amixer set Capture cap
amixer set Mix cap
amixer set Mic cap

untill you can hear the mic out of the speakers

(man amixer)
 
  


Reply



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
JACK and Slackware 10.2 Focle_Wulf-190 Slackware 3 09-25-2005 10:30 AM
JACK, Ardour ALSA - Mandrake 10.1 trey85stang Linux - Software 2 05-22-2005 08:30 AM
Problems with JACK little_penguin Linux - Software 3 04-05-2005 02:37 PM
How to use Jack??? it-s Linux - Software 2 02-20-2005 10:34 PM
Problems with JACK superxorn Linux - Software 1 08-28-2004 11:03 AM

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

All times are GMT -5. The time now is 11:31 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