Re: [LAU] could not start jack - already registered problem

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-user@...>
Date: Thursday, April 25, 2013 - 6:40 am

Am 24.04.2013 17:15, schrieb Johannes Kroll:

Right now I have go the situation:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++

zettberlin@zettberlin-Lenovo-U410:~$ lsof /dev/snd/pcm*
zettberlin@zettberlin-Lenovo-U410:~$ cat /proc/asound/cards
0 [Loopback ]: Loopback - Loopback
Loopback 1
1 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xeb610000 irq 46
2 [MobilePre ]: USB-Audio - MobilePre
M Audio MobilePre at usb-0000:00:14.0-2, full speed

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Thu Apr 25 08:29:57 2013: JACK server starting in realtime mode with
priority 10
Thu Apr 25 08:29:57 2013: ERROR: cannot register object path
"/org/freedesktop/ReserveDevice1/Audio2": A handler is already
registered for /org/freedesktop/ReserveDevice1/Audio2
Thu Apr 25 08:29:57 2013: ERROR: Failed to acquire device name : Audio2
error : A handler is already registered for
/org/freedesktop/ReserveDevice1/Audio2
Thu Apr 25 08:29:57 2013: ERROR: Audio device hw:MobilePre,0 cannot be
acquired...
Thu Apr 25 08:29:57 2013: ERROR: Cannot initialize driver
Thu Apr 25 08:29:57 2013: ERROR: JackServer::Open failed with -1
Thu Apr 25 08:29:57 2013: ERROR: Failed to open server
Thu Apr 25 08:30:04 2013: ------------------
Thu Apr 25 08:30:04 2013: Controller activated. Version 1.9.9.5
(unknown) built on Sat Dec 22 19:50:40 2012
Thu Apr 25 08:30:04 2013: Loading settings from
"/home/zettberlin/.config/jack/conf.xml" using expat_2.1.0 ...
Thu Apr 25 08:30:04 2013: setting parameter 'engine':'driver':'(null)'
to value "alsa"
Thu Apr 25 08:30:04 2013: setting parameter 'engine':'realtime':'(null)'
to value "true"
Thu Apr 25 08:30:04 2013: setting parameter 'engine':'verbose':'(null)'
to value "false"
Thu Apr 25 08:30:04 2013: setting parameter
'engine':'client-timeout':'(null)' to value "1000"
Thu Apr 25 08:30:04 2013: setting parameter 'drivers':'alsa':'device' to
value "hw:2"
Thu Apr 25 08:30:04 2013: setting parameter 'drivers':'alsa':'capture'
to value "hw:MobilePre,0"
Thu Apr 25 08:30:04 2013: setting parameter 'drivers':'alsa':'playback'
to value "hw:MobilePre,0"
Thu Apr 25 08:30:04 2013: setting parameter 'drivers':'alsa':'rate' to
value "48000"
Thu Apr 25 08:30:04 2013: setting parameter 'drivers':'alsa':'period' to
value "256"
Thu Apr 25 08:30:04 2013: setting parameter 'drivers':'alsa':'nperiods'
to value "3"
Thu Apr 25 08:30:04 2013: setting parameter 'drivers':'alsa':'hwmon' to
value "false"
Thu Apr 25 08:30:04 2013: setting parameter 'drivers':'alsa':'hwmeter'
to value "false"
Thu Apr 25 08:30:04 2013: setting parameter 'drivers':'alsa':'duplex' to
value "true"
Thu Apr 25 08:30:04 2013: setting parameter 'drivers':'alsa':'softmode'
to value "true"
Thu Apr 25 08:30:04 2013: setting parameter 'drivers':'alsa':'monitor'
to value "false"
Thu Apr 25 08:30:04 2013: setting parameter 'drivers':'alsa':'dither' to
value "n"
Thu Apr 25 08:30:04 2013: setting parameter 'drivers':'alsa':'shorts' to
value "true"
Thu Apr 25 08:30:04 2013: setting parameter
'drivers':'alsa':'midi-driver' to value "seq"
Thu Apr 25 08:30:04 2013: Listening for D-Bus messages
Thu Apr 25 08:30:04 2013: Starting jack server...
Thu Apr 25 08:30:04 2013: JACK server starting in realtime mode with
priority 10
Thu Apr 25 08:30:05 2013: Acquired audio card Audio2
Thu Apr 25 08:30:05 2013: creating alsa driver ...
hw:MobilePre,0|hw:MobilePre,0|256|3|48000|0|0|nomon|swmeter|soft-mode|16bit
Thu Apr 25 08:30:05 2013: Using ALSA driver USB-Audio running on card 2
- M Audio MobilePre at usb-0000:00:14.0-2, full speed
Thu Apr 25 08:30:05 2013: configuring for 48000Hz, period = 256 frames
(5.3 ms), buffer = 3 periods
Thu Apr 25 08:30:05 2013: ALSA: final selected sample format for
capture: 16bit little-endian
Thu Apr 25 08:30:05 2013: ALSA: use 3 periods for capture
Thu Apr 25 08:30:05 2013: ERROR: ALSA: cannot set hardware parameters
for capture
Thu Apr 25 08:30:05 2013: ERROR: ALSA: cannot configure capture channel
Thu Apr 25 08:30:05 2013: ERROR: Cannot initialize driver
Thu Apr 25 08:30:05 2013: ERROR: JackServer::Open failed with -1
Thu Apr 25 08:30:05 2013: ERROR: Failed to open server
##############################################################
Now I unplug the Mobile Pre....
Replug it
And:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Thu Apr 25 08:34:19 2013: ------------------
Thu Apr 25 08:34:19 2013: Controller activated. Version 1.9.9.5
(unknown) built on Sat Dec 22 19:50:40 2012
Thu Apr 25 08:34:20 2013: Loading settings from
"/home/zettberlin/.config/jack/conf.xml" using expat_2.1.0 ...
Thu Apr 25 08:34:20 2013: setting parameter 'engine':'driver':'(null)'
to value "alsa"
Thu Apr 25 08:34:20 2013: setting parameter 'engine':'realtime':'(null)'
to value "true"
Thu Apr 25 08:34:20 2013: setting parameter 'engine':'verbose':'(null)'
to value "false"
Thu Apr 25 08:34:20 2013: setting parameter
'engine':'client-timeout':'(null)' to value "1000"
Thu Apr 25 08:34:20 2013: setting parameter 'drivers':'alsa':'device' to
value "hw:2"
Thu Apr 25 08:34:20 2013: setting parameter 'drivers':'alsa':'capture'
to value "hw:MobilePre,0"
Thu Apr 25 08:34:20 2013: setting parameter 'drivers':'alsa':'playback'
to value "hw:MobilePre,0"
Thu Apr 25 08:34:20 2013: setting parameter 'drivers':'alsa':'rate' to
value "48000"
Thu Apr 25 08:34:20 2013: setting parameter 'drivers':'alsa':'period' to
value "256"
Thu Apr 25 08:34:20 2013: setting parameter 'drivers':'alsa':'nperiods'
to value "3"
Thu Apr 25 08:34:20 2013: setting parameter 'drivers':'alsa':'hwmon' to
value "false"
Thu Apr 25 08:34:20 2013: setting parameter 'drivers':'alsa':'hwmeter'
to value "false"
Thu Apr 25 08:34:20 2013: setting parameter 'drivers':'alsa':'duplex' to
value "true"
Thu Apr 25 08:34:20 2013: setting parameter 'drivers':'alsa':'softmode'
to value "true"
Thu Apr 25 08:34:20 2013: setting parameter 'drivers':'alsa':'monitor'
to value "false"
Thu Apr 25 08:34:20 2013: setting parameter 'drivers':'alsa':'dither' to
value "n"
Thu Apr 25 08:34:20 2013: setting parameter 'drivers':'alsa':'shorts' to
value "true"
Thu Apr 25 08:34:20 2013: setting parameter
'drivers':'alsa':'midi-driver' to value "seq"
Thu Apr 25 08:34:20 2013: Listening for D-Bus messages
Thu Apr 25 08:34:20 2013: Starting jack server...
Thu Apr 25 08:34:20 2013: JACK server starting in realtime mode with
priority 10
Thu Apr 25 08:34:20 2013: Acquired audio card Audio2
Thu Apr 25 08:34:20 2013: creating alsa driver ...
hw:MobilePre,0|hw:MobilePre,0|256|3|48000|0|0|nomon|swmeter|soft-mode|16bit
Thu Apr 25 08:34:20 2013: Using ALSA driver USB-Audio running on card 2
- M Audio MobilePre at usb-0000:00:14.0-2, full speed
Thu Apr 25 08:34:20 2013: configuring for 48000Hz, period = 256 frames
(5.3 ms), buffer = 3 periods
Thu Apr 25 08:34:20 2013: ALSA: final selected sample format for
capture: 16bit little-endian
Thu Apr 25 08:34:20 2013: ALSA: use 3 periods for capture
Thu Apr 25 08:34:20 2013: ALSA: final selected sample format for
playback: 16bit little-endian
Thu Apr 25 08:34:20 2013: ALSA: use 3 periods for playback
Thu Apr 25 08:34:20 2013: port created: Midi-Through:midi/playback_1
Thu Apr 25 08:34:20 2013: port created: Midi-Through:midi/capture_1
Thu Apr 25 08:34:20 2013: graph reorder: new port 'system:capture_1'
Thu Apr 25 08:34:20 2013: New client 'system' with PID 0
Thu Apr 25 08:34:20 2013: graph reorder: new port 'system:capture_2'
Thu Apr 25 08:34:20 2013: graph reorder: new port 'system:playback_1'
Thu Apr 25 08:34:20 2013: graph reorder: new port 'system:playback_2'
Thu Apr 25 08:34:20 2013: graph reorder: new port 'system:midi_capture_1'
Thu Apr 25 08:34:20 2013: graph reorder: new port 'system:midi_playback_1'
################################################################

Please, people! Is there nobody out there who could say, what is
registering the Device? I guess, it has to do with dbus but I really
would like to jump straight to the core of the problem, learning all
mysteries of dbus/freedesktop/Jackdbus whatever is not an option for me.
So if anybody could point me to that spurious registering-process it
would be most appreciated :-)

best regards

HZN

>

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [LAU] could not start jack - already registered problem, Hartmut Noack, (Thu Apr 25, 6:40 am)
Re: [LAU] could not start jack - already registered problem, Patrick Shirkey, (Thu Apr 25, 7:56 am)