The log putput
Tue Oct 23 14:29:21 2012: control device hw:0
14:30:04.545 D-BUS: SetParameterValue('driver:inchannels', '2'): Parameter value type mismatch: was expecting 'i', got 'u'. (org.jackaudio.Error.InvalidArgs)
14:30:04.548 D-BUS: SetParameterValue('driver:outchannels', '2'): Parameter value type mismatch: was expecting 'i', got 'u'. (org.jackaudio.Error.InvalidArgs)
14:30:04.690 D-BUS: JACK server is starting...
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
14:30:04.741 D-BUS: JACK server was started (org.jackaudio.service aka jackdbus).
Tue Oct 23 14:30:04 2012: [1m[31mERROR: Parameter value type mismatch: was expecting 'i', got 'u'[0m
Tue Oct 23 14:30:04 2012: [1m[31mERROR: Parameter value type mismatch: was expecting 'i', got 'u'[0m
Tue Oct 23 14:30:04 2012: Starting jack server...
Tue Oct 23 14:30:04 2012: JACK server starting in realtime mode with priority 10
Tue Oct 23 14:30:04 2012: control device hw:0
Tue Oct 23 14:30:04 2012: control device hw:0
Tue Oct 23 14:30:04 2012: Acquired audio card Audio0
Tue Oct 23 14:30:04 2012: creating alsa driver ... hw:0|hw:0|128|2|48000|0|0|nomon|swmeter|soft-mode|32bit
Tue Oct 23 14:30:04 2012: control device hw:0
Tue Oct 23 14:30:04 2012: configuring for 48000Hz, period = 128 frames (2.7 ms), buffer = 2 periods
Tue Oct 23 14:30:04 2012: ALSA: final selected sample format for capture: 32bit integer little-endian
Tue Oct 23 14:30:04 2012: ALSA: use 2 periods for capture
Tue Oct 23 14:30:04 2012: ALSA: final selected sample format for playback: 32bit integer little-endian
Tue Oct 23 14:30:04 2012: ALSA: use 2 periods for playback
Tue Oct 23 14:30:04 2012: graph reorder: new port 'system:capture_1'
Tue Oct 23 14:30:04 2012: New client 'system' with PID 0
Tue Oct 23 14:30:04 2012: graph reorder: new port 'system:capture_2'
Tue Oct 23 14:30:04 2012: graph reorder: new port 'system:playback_1'
Tue Oct 23 14:30:04 2012: graph reorder: new port 'system:playback_2'
Tue Oct 23 14:30:04 2012: graph reorder: new port 'system:playback_3'
Tue Oct 23 14:30:04 2012: graph reorder: new port 'system:playback_4'
Tue Oct 23 14:30:04 2012: graph reorder: new port 'system:playback_5'
Tue Oct 23 14:30:04 2012: graph reorder: new port 'system:playback_6'
14:30:06.948 JACK connection change.
14:30:06.949 Server configuration saved to "/home/tina/.jackdrc".
14:30:06.950 Statistics reset.
14:30:06.954 Client activated.
iochannels and outchannels parameters are exposed as signed ints by the jack alsa driver. We could probably fix the alsa driver but in any case qjackctl should respect the type that is assigned to the parameter.
dbus-send --print-reply --type=method_call --dest=org.jackaudio.service /org/jackaudio/Controller org.jackaudio.Configure.GetParameterInfo array:string:drivers,alsa,outchannels
method return sender=:1.1 -> dest=:1.24 reply_serial=2
struct {
byte 105
string "outchannels"
string "Number of playback channels (defaults to hardware max)"
string "Number of playback channels (defaults to hardware max)"
}
105 is the type byte. ascii value for 'i' is 105
the jack2 codebase should get fixed: the alsa driver parameters 'inchannels' and 'outchannels' types should be set to JackDriverParamUInt (and not as JackDriverParamInt as is currently on jack2-git)--the correct type (unsigned int) should be the same for all drivers (portaudio, oss, firewire, coreaudio, etc.) and more importantly as the same as in the jack1 codebase.