SpiderKenny2
Posts: 18
Joined: Wed Apr 22, 2015 3:14 pm

Starting jack with C-Media USB Audio Card

Tue Aug 23, 2016 3:45 pm

I'm trying to use jack for an audio application, but I'm having trouble getting jackd to run.
I have a C-Media USB audio device connected via a powered USB hub.

aplay -l gives the following:

Code: Select all

play -l
**** List of PLAYBACK Hardware Devices ****
card 0: Set [C-Media USB Headphone Set], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 1: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
And when I try to start jackd I get the following:

Code: Select all

jackd -d alsa -C -P
jackdmp 1.9.9
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2012 Grame.
jackdmp 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 server starting in realtime mode with priority 10
control device hw:0
control device hw:0
Failed to connect to session bus for device reservation Unable to autolaunch a dbus-daemon without a $DISPLAY for X11

Failed to acquire device name : Audio0 error : Invalid argument
Audio device hw:0 cannot be acquired...
Cannot initialize driver
JackServer::Open failed with -1
Failed to open server
Any ideas?

SrMouraSilva
Posts: 1
Joined: Mon Feb 06, 2017 9:52 pm

Re: Starting jack with C-Media USB Audio Card

Mon Feb 06, 2017 9:55 pm

For linux users:

When you connect with raspberry with ssh, use -X

Code: Select all

ssh -X pi@...
For more details find "Raspberry headless jackd"

Return to “Troubleshooting”