List Info

Thread: Aureon 7.1 sort-of-working: jack problems




Aureon 7.1 sort-of-working: jack problems
user name
2006-04-09 20:34:34
Hello All,

I followed Davide Morelli instructions ( http://www.davidemorelli.it/dokuwiki/doku.php?id=other:freebob_on_ubuntu ) for installing freebob on ubuntu and it was apparently successful:

Using freebob library version: libfreebob 0.0.5

  port = 0, devices_on_bus = 1
  get info for device = 0, node = 1
Direction:       ;       0 (capture)

Connection Info
===============

Number of connections:  1

 ; Connection  0
  -------------
   ; [ 0] Id:     ;    0
    [ 0] Port: ;      0
    [ 0] Node: ;      1
    [ 0] Plug: ;      0
    [ 0] Dimension:  3
    [ 0] Samplerate: 44100
    [ 0] IsoChannel: -1
   ; [ 0] IsMaster:   0
    [ 0] Number of stream infos: 3

 ;   StreamId  Position Location Format Type DPort Name
    --------------------------------------------------
    [ 0]:[ 0] 0x00   ;  0x01     0x06   0x04 0x00  Aureon FW Rec L
    [ 0]:[ 1] 0x01   ;  0x02     0x06   0x04 0x00  Aureon FW Rec R
    [ 0]:[ 2] 0x02   ;  0x01     0x0d   0x0a 0x00  MidiPort_1


Direction:   ;           1 (playback)

Connection Info
===============

Number of connections:  1

 ; Connection  0
  -------------
   ; [ 0] Id:     ;    0
    [ 0] Port: ;      0
    [ 0] Node: ;      1
    [ 0] Plug: ;      0
    [ 0] Dimension:  10
   ; [ 0] Samplerate: 44100
    [ 0] IsoChannel: -1
   ; [ 0] IsMaster:   0
    [ 0] Number of stream infos: 10

    StreamId  Position Location Format Type DPort Name
    --------------------------------------------------
    [ 0]:[ 0] 0x01   ;  0x01     0x06   0x03 0x00  MultiChannel 7.1 Front left
    [ 0]:[ 1] 0x06   ;  0x02     0x06   0x03 0x00  MultiChannel 7.1 Front right
    [ 0]:[ 2] 0x02   ;  0x05     0x06   0x03 0x00  MultiChannel 7.1 Rear left
    [ 0]:[ 3] 0x07   ;  0x06     0x06   0x03 0x00  MultiChannel 7.1 Rear right
    [ 0]:[ 4] 0x03   ;  0x03     0x06   0x03 0x00  MultiChannel 7.1 Center
    [ 0]:[ 5] 0x08   ;  0x04     0x06   0x03 0x00  MultiChannel 7.1 Subwoofer
    [ 0]:[ 6] 0x04   ;  0x07     0x06   0x03 0x00  MultiChannel 7.1 Surround left   ; [ 0]:[ 7] 0x09     0x08   ;  0x06   0x03 0x00  MultiChannel 7.1 Surround right
    [ 0]:[ 8] 0x00   ;  0x01     0x00   0x04 0x00  SPDIF/AC3 Out left
    [ 0]:[ 9] 0x05   ;  0x02     0x00   0x04 0x00  SPDIF/AC3 Out right


I can run jackd and it seems to tick over nicely in the background:

tominspiron:~$ jackstart  -d freebob
jackd 0.100.8
Copyright 2001-2005 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

JACK compiled with System V SHM support.
loading driver ..
FREEBOB MSG: freebob_streaming.c:92 (freebob_streaming_init): FreeBob Streaming Device Init
FREEBOB MSG: freebob_streaming.c:93 (freebob_streaming_init):  Using FreeBob lib version libfreebob 0.0.5
FREEBOB MSG: freebob_streaming.c:94 (freebob_streaming_init):  Device information:
FREEBOB MSG: freebob_streaming.c:96 (freebob_streaming_init):  Device options:
FREEBOB MSG: freebob_streaming.c:98 (freebob_streaming_init):   Port  ;        : 0
FREEBOB MSG: freebob_streaming.c:99 (freebob_streaming_init):   Device Node Id        ;  : -1
FREEBOB MSG: freebob_streaming.c:100 (freebob_streaming_init): ;  Samplerate          ; : 44100
FREEBOB MSG: freebob_streaming.c:101 (freebob_streaming_init): ;  Period Size           : 512
FREEBOB MSG: freebob_streaming.c:102 (freebob_streaming_init): ;  Nb Buffers  ;         : 3
FREEBOB MSG: freebob_streaming.c:103 (freebob_streaming_init): ;  RAW1394 ISO Buffers      : 100
FREEBOB MSG: freebob_streaming.c:104 (freebob_streaming_init):   RAW1394 ISO Prebuffers  ; : 0
FREEBOB MSG: freebob_streaming.c:105 (freebob_streaming_init):   RAW1394 ISO IRQ Interval : 4
DEBUG freebob_streaming.c:162 (freebob_streaming_init): port = 0, devices_on_bus = 1
DEBUG freebob_streaming.c:166 (freebob_streaming_init): set samplerate for device = 0, node = 1
Nb devices 1
Nb devices 1
FREEBOB: Register MIDI IN port cap_0_1_0_MidiPort_1

FREEBOB: Driver compiled on Apr  8 2006 11:18:15
FREEBOB: Created driver freebob_pcm
       ;     period_size: 512
 ;           period_usecs: 11609
        ;    sample rate: 44100
        ;    running with Realtime scheduling, priority 60
FBDRV MSG: freebob_driver.c:82 (freebob_driver_attach): Registering capture port cap_0_1_0_Aureon FW Rec L
FBDRV MSG: freebob_driver.c:82 (freebob_driver_attach): Registering capture port cap_0_1_0_Aureon FW Rec R
FBDRV MSG: freebob_driver.c:76 (freebob_driver_attach): Don't register capture port cap_0_1_0_MidiPort_1
FBDRV MSG: freebob_driver.c:113 (freebob_driver_attach): Registering playback port pbk_0_1_0_MultiChannel 7.1 Front left
FBDRV MSG: freebob_driver.c:113 (freebob_driver_attach): Registering playback port pbk_0_1_0_MultiChannel 7.1 Front right
FBDRV MSG: freebob_driver.c:113 (freebob_driver_attach): Registering playback port pbk_0_1_0_MultiChannel 7.1 Rear left
FBDRV MSG: freebob_driver.c:113 (freebob_driver_attach): Registering playback port pbk_0_1_0_MultiChannel 7.1 Rear right
FBDRV MSG: freebob_driver.c:113 (freebob_driver_attach): Registering playback port pbk_0_1_0_MultiChannel 7.1 Center
FBDRV MSG: freebob_driver.c:113 (freebob_driver_attach): Registering playback port pbk_0_1_0_MultiChannel 7.1 Subwoofer
FBDRV MSG: freebob_driver.c:113 (freebob_driver_attach): Registering playback port pbk_0_1_0_MultiChannel 7.1 Surround left
FBDRV MSG: freebob_driver.c:113 (freebob_driver_attach): Registering playback port pbk_0_1_0_MultiChannel 7.1 Surround right
FBDRV MSG: freebob_driver.c:107 (freebob_driver_attach): Don't register playback port pbk_0_1_0_SPDIF/AC3 Out left
FBDRV MSG: freebob_driver.c:107 (freebob_driver_attach): Don't register playback port pbk_0_1_0_SPDIF/AC3 Out right
Driver start...

DEBUG freebob_streaming.c:567 (freebob_streaming_start):  creating capture connections...
DEBUG freebob_streaming.c:570 (freebob_streaming_start): Executing CMP procedure...
cannot use real-time scheduling (FIFO at priority 59) [for thread -1238709328, from thread -1238709328] (1: Operation not permitted)
FREEBOB: MIDI queue thread started
cannot use real-time scheduling (FIFO at priority 59) [for thread -1247102032, from thread -1247102032] (1: Operation not permitted)
libiec61883 warning: Established connection on channel 2.
You may need to manually set the channel on the receiving node.
DEBUG freebob_streaming.c:625 (freebob_streaming_start):  creating playback connections...
DEBUG freebob_streaming.c:628 (freebob_streaming_start): Executing CMP procedure...
libiec61883 warning: Established connection on channel 3.
You may need to manually set the channel on the transmitting node.
DEBUG freebob_streaming.c:777 (freebob_streaming_start): Connection summary:
DEBUG freebob_streaming.c:789 (freebob_streaming_start):   Capture : from node 01.00 to node 00.-1 on channel 02  {0x8107580}  [MASTER]
DEBUG freebob_streaming.c:795 (freebob_streaming_start):   Playback: from node 00.-1 to node 01.00 on channel 03  {0x8107684}  [SLAVE]
DEBUG freebob_streaming.c:901 (freebob_streaming_print_bufferfill): 0: 0
DEBUG freebob_streaming.c:901 (freebob_streaming_print_bufferfill): 1: 61440
DEBUG freebob_streaming.c:836 (freebob_streaming_start): Armed...
DEBUG freebob_streaming.c:503 (freebob_streaming_start_thread): FREEBOB: successfull init of packet transfer semaphore
DEBUG freebob_streaming.c:2808 (freebob_streaming_start_watchdog): Starting Watchdog...
DEBUG freebob_streaming.c:521 (freebob_streaming_start_thread): Created packet transfer thread
FREEBOB ERR: thread.c:214 (freebob_acquire_real_time_scheduling): cannot use real-time scheduling (FIFO at priority 70) [for thread -1264149584, from thread -1264149584] (1: Operation not permitted)FREEBOB ERR: thread.c:214 (freebob_acquire_real_time_scheduling): cannot use real-time scheduling (FIFO at priority 60) [for thread -1272542288, from thread -1272542288] (1: Operation not permitted)DEBUG freebob_streaming.c:1653 (freebob_iso_packet_iterator): Entering packetizer thread...
DEBUG freebob_streaming.c:1529 (freebob_streaming_wait_for_sync_stream): Waiting for the sync stream...
DEBUG freebob_streaming.c:1424 (freebob_streaming_start_iso_connection): Init ISO master receive handler on channel 2...
DEBUG freebob_streaming.c:1425 (freebob_streaming_start_iso_connection):    (BUFFER=100,PACKET_MAX=2048,IRQ=4)...
DEBUG freebob_streaming.c:1449 (freebob_streaming_start_iso_connection): Start ISO receive for connection on channel 2 at cycle -1...
       880690007: Stop connection on channel 2 ...
DEBUG freebob_streaming.c:1519 (freebob_streaming_stop_iso_connection): Shutdown connection on channel 2 ...
DEBUG freebob_streaming.c:1558 (freebob_streaming_wait_for_sync_stream):   stream is running.
DEBUG freebob_streaming.c:1424 (freebob_streaming_start_iso_connection): Init ISO master receive handler on channel 2...
DEBUG freebob_streaming.c:1425 (freebob_streaming_start_iso_connection):    (BUFFER=100,PACKET_MAX=2048,IRQ=4)...
DEBUG freebob_streaming.c:1449 (freebob_streaming_start_iso_connection): Start ISO receive for connection on channel 2 at cycle 4109...
DEBUG freebob_streaming.c:1480 (freebob_streaming_start_iso_connection): Init ISO slave transmit handler on channel 3...
DEBUG freebob_streaming.c:1481 (freebob_streaming_start_iso_connection):    (BUFFER=100,PACKET_MAX=2048,IRQ=4)...
DEBUG freebob_streaming.c:1491 (freebob_streaming_start_iso_connection): Start ISO transmit for connection on channel 3 at cycle 4109
DEBUG freebob_streaming.c:901 (freebob_streaming_print_bufferfill): 0: 0
DEBUG freebob_streaming.c:901 (freebob_streaming_print_bufferfill): 1: 61440
DEBUG freebob_streaming.c:1659 (freebob_iso_packet_iterator): Go Go Go!!!
 -> [C, 01,     ;  2135, 6243,    0, (R: 0512)][P, 01,       2248, 6355, ;   0, (R -> [C, 01,     ;  4273, 0428,   47, (R: 0512)][P, 01,       4302, 0545, ;   1, (R -> [C, 01,     ;  6409, 2602,   85, (R: 0512)][P, 01,       6414, 276 etc...


... and I can see all outputs:

tominspiron:~$ jack_lsp
freebob_pcm:cap_0_1_0_Aureon FW Rec L
freebob_pcm:cap_0_1_0_Aureon FW Rec R
freebob_pcm:pbk_0_1_0_MultiChannel 7.1 Front left
freebob_pcm:pbk_0_1_0_MultiChannel 7.1 Front right
freebob_pcm:pbk_0_1_0_MultiChannel 7.1 Rear left
freebob_pcm:pbk_0_1_0_MultiChannel 7.1 Rear right
freebob_pcm:pbk_0_1_0_MultiChannel 7.1 Center
freebob_pcm:pbk_0_1_0_MultiChannel 7.1 Subwoofer
freebob_pcm:pbk_0_1_0_MultiChannel 7.1 Surround left
freebob_pcm:pbk_0_1_0_MultiChannel 7.1 Surround right

Yet when I try yo connect any app to it (XMMS, brutefir, freqtweak etc.) I get messages that say the server/daemon isn't running:

XMMS:
ERR: JACK_OpenDevice:jack server not running?
jack_open:failed to open jack with JACK_Open(), error 1
jack_close:
jack_close:resetting driver, not closing now, destructor will close for us

brutefir:
JACK I/O: Could not become JACK client. JACK daemon not running?
Error at line 10 for input device using module "jack".

freqtweak:
JACK Error: No good client name or JACK server not running?
Error connecting to jack!


Any ideas what I might be doing wrong?
On a seperate, but possibly related note I tried to install jack-audio-connection-kit 0.101.1 and when I run configure it doesn't seem to see libfreebob. Is there a configure switch I need to make it do so?

tominspiron:~/SOURCE/jack-audio-connection-kit-0.101.1$ ./configure --with-default-tmpdir=/dev/shm --prefix=/usr
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking whether ln -s works... yes
checking whether byte ordering is bigendian... no
checking platform dependencies... os/gnu-linux, cpu/i486
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking /usr/include/nptl/pthread.h usability... yes
checking /usr/include/nptl/pthread.h presence... yes
checking for /usr/include/nptl/pthread.h... yes
checking for getopt_long... yes
checking for gethostent... yes
checking for setsockopt... yes
checking for connect... yes
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for pthread_create... no
checking for pthread_create in -lpthread... yes
checking for on_exit... yes
checking for atexit... yes
checking for posix_memalign... yes
checking for sin in -lm... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for mlockall... yes
checking shared memory support... System V shmget().
checking whether we can compile MMX code... yes
checking whether we can compile SSE code... yes
checking for pthread_barrier_init in -lpthread... yes
checking for Pa_Initialize in -lportaudio... no
checking CoreAudio/CoreAudio.h usability... no
checking CoreAudio/CoreAudio.h presence... no
checking for CoreAudio/CoreAudio.h... no
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for ALSA... yes
checking for LIBFREEBOB... no
checking for SNDFILE... configure: WARNING: *** the jackrec example client will not be built
checking for readline in -lreadline... no
checking for readline in -lreadline... no
checking for readline in -lreadline... no
checking readline/chardefs.h usability... no
checking readline/chardefs.h presence... no
checking for readline/chardefs.h... no
configure: WARNING: *** the jack_transport example client will not be built
checking for doxygen... false
configure: WARNING: *** doxygen not found, docs will not be built
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config/Makefile
config.status: creating config/sysdeps/Makefile
config.status: creating doc/Makefile
config.status: creating doc/reference.doxygen
config.status: creating drivers/Makefile
config.status: creating drivers/alsa/Makefile
config.status: creating drivers/dummy/Makefile
config.status: creating drivers/oss/Makefile
config.status: creating drivers/portaudio/Makefile
config.status: creating drivers/coreaudio/Makefile
config.status: creating drivers/freebob/Makefile
config.status: creating example-clients/Makefile
config.status: creating jack.pc
config.status: creating jack.spec
config.status: creating jack/Makefile
config.status: creating jack/version.h
config.status: creating jackd/Makefile
config.status: creating jackd/jackd.1
config.status: creating libjack/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

jack-audio-connection-kit 0.101.1 :

| Build with ALSA support............................... : true
| Build with OSS support................................ : true
| Build with CoreAudio support.......................... : false
| Build with PortAudio support.......................... : false
| Build with FreeBob support............................ : false
|
| Default driver backend................................ : "alsa"
| Shared memory interface............................... : "System V"



Thanks very much for any help,

Thomas Hood


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )