: JACK connecting to SPDIF failes!
A BUGNOTE has been added to this bug.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000508
======================================================================
Reported By: hothead
Assigned To:
======================================================================
Project: ALSA - lib Bug ID: 508 Category: pcm - digital audio Reproducibility: always Severity: trivial Priority: normal Status: new ====================================================================== Date Submitted: 09-20-2004 13:25 CEST Last Modified: 09-20-2004 14:55 CEST
======================================================================
Summary: JACK connecting to SPDIF failes!
Description:
Trying to connect trough alsa to the spdif output on an nforce2 soundchip via JACK failes with the following error message:
13:16:14.915 /usr/bin/jackd -R -dalsa -dhw:0,2 -r48000 -p1024 -n2 -S -i2 -o2
13:16:14.936 JACK was started with PID=12828 (0x321c).
jackd 0.98.1
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 = 48000
creating alsa driver ... hw:0,2|hw:0,2|1024|2|48000|2|2|nomon|swmeter|-|16bit
ALSA lib pcm_hw.c:1155:(snd_pcm_hw_open) open /dev/snd/pcmC0D2c failed: No such file or directory
jackd: pcm.c:690: snd_pcm_nonblock: Assertion `pcm' failed. 13:16:14.994 JACK was stopped successfully.
13:16:16.966 Could not connect to JACK server as client.
======================================================================
----------------------------------------------------------------------
mistatapas - 09-20-2004 14:05 CEST
----------------------------------------------------------------------
hw:0,2 is probably a playback only device so start jackd with the -P option.
ALSA lib pcm_hw.c:1155:(snd_pcm_hw_open) open /dev/snd/pcmC0D2c failed: No such file or directory
One might think about making jackd's error message a little more verbose though. This one is confusing new users. But this should rather be discussed on the jackit-devel mailing list..
Alternatively to starting with the -P option you might also try specifying a valid pcm device for capturing [Use -C hw:0,0 for example]
----------------------------------------------------------------------
hothead - 09-20-2004 14:55 CEST
----------------------------------------------------------------------
Thanks mistatapas!
It was my fault.
hw:0,2 is just for playback.
You have to specify hw:0,0 for capture and hw:0,2 for playback when starting JACK.
'jackd -d alsa -d hw:0,2 -P -S -C hw:0,0'
You might see the following output:
bash-2.05b$ jackd -d alsa -d hw:0,2 -P -S -C hw:0,0 jackd 0.98.1
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 ..
creating alsa driver ... hw:0,2|hw:0,0|1024|2|48000|0|0|nomon|swmeter|-|16bit control device hw:0
configuring for 48000Hz, period = 1024 frames, buffer = 2 periods
Bug History
Date Modified Username Field Change
======================================================================
09-20-04 13:25 hothead New Bug 09-20-04 14:05 mistatapas Bugnote Added: 0001785 09-20-04 14:55 hothead Bugnote Added: 0001786
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php