Skip to contentSkip to conversation

: JACK connecting to SPDIF failes!

ALSA - lib 0000508 [email protected] 2 participants 2 messages Sep 20, 2004

lore
Share & tools
lore
#0 lore raw

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:05 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]

Bug History
Date Modified Username Field Change
======================================================================
09-20-04 13:25 hothead New Bug
09-20-04 14:05 mistatapas Bugnote Added: 0001785
======================================================================

-------------------------------------------------------
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

#1 lore raw

I'm not in ALSA mantis yet, but I will just note this:

Quoted 6 lines

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..

it has already been improved in the latest JACK release (0.99.0)

--p

-------------------------------------------------------
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