[PlanetCCRMA] RME card/alsa

Jeroen Vriesman joenix@the-djs.com
Thu Jul 24 12:42:01 2003


Hello all,

I'm trying to find some help with my RME card, and hope that there are some wise men and women here who can help me.

I got the ccrma packages installed, on a machine with RH9, and a Digi968 card.
The card seems do work with optical SPDIF (I can see a green 'lock' light on my AD converter), also when I change asound.state to make it a slave, and let the AD convertor do the timing, I can see that it locks (in /proc/asound/card0/rme96).

First I tried to start alsamixer, but it said 'no elelents found', but after searching the mailing lists, I saw that this card didn't have a mixer, fine, no mixer.

But when I try to play a sound with aplay, or another player, it starts playing, but I don't hear anything.

With the same confguration on mandrake I could record and play, so I don't know what's wrong, everything seems to be allright, just no sound. 

Any idea whats wrong?

Besides that, does anyone know how to use ADAT, in stead of SPDIF, I couldn't find it anywhere, or how to use 24 bits samples?

And when I try to start jack:

[root@quaffelwaus root]# jackstart -d alsa --device=hw:0

JACK compiled with System V SHM support
loading driver ..
creating alsa driver ... hw:0|hw:0|1024|2|48000|nomon|swmeter|rt
open
ALSA: cannot set number of periods to 2 for capture
ALSA: cannot configure capture channel
starting engine
engine driver not set; cannot start
cannot start main JACK thread
jack main caught signal 15
received signal 11 during shutdown (ignored)

I've got no idea what that means, all I know is that I'm lost here...

This is my configuration:

[root@quaffelwaus root]# cat /etc/modules.conf
alias eth0 e100
alias eth1 e100
alias usb-controller usb-uhci
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 0.9.0 ---
alias char-major-116 snd
alias snd-card-0 snd-rme96
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
options snd major=116 cards_limit=1 \
        device_mode=0666 device_gid=0 device_uid=0
options snd-rme96 index=0
add options -k snd-card-0
# --- END: Generated by ALSACONF, do not edit. ---

[root@quaffelwaus root]# cat /etc/asound.state

state.Digi968 {
	control.1 {
		comment.access 'read write'
		comment.type IEC958
		iface PCM
		name 'IEC958 Playback Default'
		value '0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.2 {
		comment.access 'read write inactive'
		comment.type IEC958
		iface PCM
		name 'IEC958 Playback PCM Stream'
		value '0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.3 {
		comment.access read
		comment.type IEC958
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '3b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.4 {
		comment.access read
		comment.type IEC958
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '1f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.5 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.item.0 Optical
		comment.item.1 Coaxial
		comment.item.2 Internal
		iface PCM
		name 'Input Connector'
		value Optical
	}
	control.6 {
		comment.access 'read write'
		comment.type BOOLEAN
		iface PCM
		name 'Loopback Input'
		value false
	}
	control.7 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.item.0 Slave
		comment.item.1 Master
		comment.item.2 Wordclock
		iface PCM
		name 'Clock Mode'
		value Slave
	}
}

[root@quaffelwaus root]# cat /proc/asound/card0/rme96
RME Digi96/8 at 0xfc000000, irq 9 (index #1)

General settings
  period size: 8192 bytes

Input settings
  input: optical (2 channels)
  sample rate: 44100 Hz
  sample format: 16 bit

Output settings
  output signal: normal playback
  sample rate: 44100 Hz
  sample format: 16 bit
  clock mode: slave
  format: IEC958 (consumer)
  emphasis: off
  non-audio (dolby): off

I really hope someone can help me, because I just don't understand it,

Cheers,
Jeroen.