I'm having problems getting sound into or out of my RME 9652.

For input, I'm connecting the toslink output of a DAT deck to the
ADAT1 input of the RME.  When I do arecord -f DAT this.wav, I get
nothing but zeroes.

For input, I'm connecting the toslink output the RME's ADAT1 to the
digital input of an Adcom preamp.  When I connect the DAT deck optical
out to the Adcom preamp digital in, I get beautiful music.  But when I
run aplay knowngood.wav, I get no sound.

I have tested the toslink cables, the digital output of the DAT deck,
and the digital input of the Adcom preamp, and all work fine.  When
I'm connecting the cables, I notice that there is laser light coming
out of the cable connected to the RME's ADAT1 output.

I am using the CVS version of ALSA checked out Wednesday, May 1,
2002.  I'm appending the following information in case it helps:

. output of uname -a
. output of cat /proc/interrupts
. output of cat /proc/devices
. output of cat /proc/asound/cards
. output of cat /proc/asound/card0/rme9652 
. output of lsmod before and after modprobe snd-rme9652
. error messages from alsaconf
. output of amixer -d controls
. output of aplay -L
. output of aplay -v yes__ive_seen_all_good_people__your_move.wav
. output of arecord -v -f dat this.wav
. error seen in /var/log/messages

I have scoured the FAQ, Usenet, and the web for solutions to this, but
I haven't found anything yet.  Since every third FAQ says that ALSA
comes with the mixers muted, that was the first thing I tried, but it
appears that the RME doesn't even have a mixer, and so there is no
muting or unmuting to do.  The alsaconf program returns a ton of
errors, and saves a file of zero length (whether I have the sound
modules loaded or not).  Can anyone point me to the appropriate
document?  Is there any other debugging information I can provide?

Thanks,
Dave

[root@home ALSA]# uname -a
Linux home.localdomain 2.4.7-10 #1 Thu Sep 6 16:46:36 EDT 2001 i686 unknown
You have new mail in /var/spool/mail/root
[root@home ALSA]# cat /proc/interrupts 
           CPU0       
  0:    4591586          XT-PIC  timer
  1:      26646          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  3:     116329          XT-PIC  serial
  5:      15848          XT-PIC  rme9652
  8:          1          XT-PIC  rtc
 10:      23091          XT-PIC  eth0
 11:         29          XT-PIC  aic7xxx
 12:      58003          XT-PIC  PS/2 Mouse
 14:      70291          XT-PIC  ide0
 15:       3328          XT-PIC  ide1
NMI:          0 
LOC:          0 
ERR:          0
MIS:          0
[root@home ALSA]# cat /proc/devices 
Character devices:
  1 mem
  2 pty
  3 ttyp
  4 ttyS
  5 cua
  6 lp
  7 vcs
 10 misc
 14 sound
 29 fb
 36 netlink
108 ppp
116 alsa
119 vmnet
128 ptm
129 ptm
130 ptm
131 ptm
132 ptm
133 ptm
134 ptm
135 ptm
136 pts
137 pts
138 pts
139 pts
140 pts
141 pts
142 pts
143 pts
162 raw
180 usb
226 drm
254 pcmcia

Block devices:
  1 ramdisk
  2 fd
  3 ide0
  9 md
 22 ide1
[root@home ALSA]# cat /proc/asound/cards 
0 [card0          ]: RME9652 - RME Digi9652
                     RME Digi9652 at 0xda000000, irq 5
[root@home ALSA]# cat /proc/asound/card0/rme9652 
RME Digi9652 (Card #1)
Buffers: capture f2400000 playback f2200000
IRQ: 5 Registers bus: 0xda000000 VM: 0xfb2ba000
Control register: 404e

Latency: 8192 samples (2 periods of 32768 bytes)
Hardware pointer (frames): 0
Passthru: no
Clock mode: autosync
Pref. sync source: ADAT1

IEC958 input: Coaxial
IEC958 output: Coaxial only
IEC958 quality: Consumer
IEC958 emphasis: off
IEC958 Dolby: off
IEC958 sample rate: error flag set

ADAT Sample rate: 48000Hz
ADAT1: No Lock
ADAT2: No Lock
ADAT3: No Lock

Timecode signal: no
Punch Status:

 1: off  2: off  3: off  4: off  5: off  6: off  7: off  8: off 
 9: off 10: off 11: off 12: off 13: off 14: off 15: off 16: off 
17: off 18: off 19: off 20: off 21: off 22: off 23: off 24: off 
25: off 26: off 
[root@home ALSA]# rmmod snd-rme9652
[root@home ALSA]# rmmod snd-pcm
[root@home ALSA]# rmmod snd-timer
[root@home ALSA]# rmmod snd
[root@home ALSA]# rmmod soundcore
[root@home ALSA]# rmmod snd-rme9652-mem
[root@home ALSA]# lsmod
Module                  Size  Used by
ppp_deflate            41760   0  (autoclean)
bsd_comp                4352   0  (autoclean)
ppp_async               6768   1  (autoclean)
ppp_generic            19392   3  (autoclean) [ppp_deflate bsd_comp ppp_async]
slhc                    5504   1  (autoclean) [ppp_generic]
mga                   101312   1 
agpgart                27552   3 
binfmt_misc             6416   1 
vmnet                  19712   6 
vmmon                  18752   0  (unused)
parport_pc             14768   1  (autoclean)
lp                      6416   0  (autoclean)
parport                25568   1  (autoclean) [parport_pc lp]
ds                      7056   2 
i82365                 13056   2 
pcmcia_core            41728   0  [ds i82365]
autofs                 11584   0  (autoclean) (unused)
eepro100               17696   1 
appletalk              20880  11  (autoclean)
ipx                    16544   0  (autoclean)
ipchains               39232   0 
usbcore                51808   1 
ext3                   64624   7 
jbd                    41056   7  [ext3]
aic7xxx               114576   0  (unused)
sd_mod                 11584   0  (unused)
scsi_mod               95760   2  [aic7xxx sd_mod]
[root@home ALSA]# modprobe snd-rme9652
[root@home ALSA]# lsmod
Module                  Size  Used by
snd-rme9652            15504   0  (unused)
snd-pcm                50016   0  [snd-rme9652]
snd-timer              10000   0  [snd-pcm]
snd                    27072   0  [snd-rme9652 snd-pcm snd-timer]
soundcore               4464   0  [snd]
snd-rme9652-mem         2240   2  [snd-rme9652]
ppp_deflate            41760   0  (autoclean)
bsd_comp                4352   0  (autoclean)
ppp_async               6768   1  (autoclean)
ppp_generic            19392   3  (autoclean) [ppp_deflate bsd_comp ppp_async]
slhc                    5504   1  (autoclean) [ppp_generic]
mga                   101312   1 
agpgart                27552   3 
binfmt_misc             6416   1 
vmnet                  19712   6 
vmmon                  18752   0  (unused)
parport_pc             14768   1  (autoclean)
lp                      6416   0  (autoclean)
parport                25568   1  (autoclean) [parport_pc lp]
ds                      7056   2 
i82365                 13056   2 
pcmcia_core            41728   0  [ds i82365]
autofs                 11584   0  (autoclean) (unused)
eepro100               17696   1 
appletalk              20880  11  (autoclean)
ipx                    16544   0  (autoclean)
ipchains               39232   0 
usbcore                51808   1 
ext3                   64624   7 
jbd                    41056   7  [ext3]
aic7xxx               114576   0  (unused)
sd_mod                 11584   0  (unused)
scsi_mod               95760   2  [aic7xxx sd_mod]
[root@home ALSA]# 

----------------------------------------------------
--- some output pasted from the alsaconf progam: ---
----------------------------------------------------
Error parsing snd-mixer-oss.filename: filename^:
/lib/modules/2.4.7-10/kernel/sound/acore/oss/snd-mixer-oss.o
snd-mixer-oss.filename skipped Error parsing
snd-mixer-oss.description: description^: "Mixer OSS emulation for
ALSA."  snd-mixer-oss.description skipped Error parsing
snd-mixer-oss.author: author^: "Jaroslav Kysela <[EMAIL PROTECTED]>"
snd-mixer-oss.author skipped Error parsing snd-pcm-oss.filename:
filename^: /lib/modules/2.4.7-10/kernel/sound/acore/oss/snd-pcm-oss.o
snd-pcm-oss.filename skipped Error parsing snd-pcm-oss.description:
description^: "PCM OSS emulation for ALSA."  snd-pcm-oss.description
skipped Error parsing snd-pcm-oss.author: author^: "Jaroslav Kysela

.... et cetera ad-infinitum.
Then I press OK to continue, and SAVE.  The alsa-modules.conf file is empty.
----------------------------------------------------

[dave@home dave]$ amixer -d controls
numid=3,iface=MIXER,name='IEC958 Playback Con Mask'
numid=4,iface=MIXER,name='IEC958 Playback Pro Mask'
numid=11,iface=PCM,name='ADAT1 Sync Check'
numid=12,iface=PCM,name='ADAT2 Sync Check'
numid=13,iface=PCM,name='ADAT3 Sync Check'
numid=16,iface=PCM,name='ADAT3 Sync Check'
numid=9,iface=PCM,name='Channels Thru'
numid=5,iface=PCM,name='IEC958 Input Connector'
numid=6,iface=PCM,name='IEC958 Output also on ADAT1'
numid=1,iface=PCM,name='IEC958 Playback Default'
numid=10,iface=PCM,name='IEC958 Sample Rate'
numid=15,iface=PCM,name='Passthru'
numid=8,iface=PCM,name='Preferred Sync Source'
numid=7,iface=PCM,name='Sync Mode'
numid=14,iface=PCM,name='Timecode Valid'
[dave@home dave]$ amixer -d contents
numid=3,iface=MIXER,name='IEC958 Playback Con Mask'
  ; type=IEC958,access=r----,values=1
  : values=?
numid=4,iface=MIXER,name='IEC958 Playback Pro Mask'
  ; type=IEC958,access=r----,values=1
  : values=?
numid=11,iface=PCM,name='ADAT1 Sync Check'
  ; type=ENUMERATED,access=r----,values=1,items=4
  ; Item #0 'No Lock'
  ; Item #1 'Lock'
  ; Item #2 'No Lock Sync'
  ; Item #3 'Lock Sync'
  : values=0
numid=12,iface=PCM,name='ADAT2 Sync Check'
  ; type=ENUMERATED,access=r----,values=1,items=4
  ; Item #0 'No Lock'
  ; Item #1 'Lock'
  ; Item #2 'No Lock Sync'
  ; Item #3 'Lock Sync'
  : values=0
numid=13,iface=PCM,name='ADAT3 Sync Check'
  ; type=ENUMERATED,access=r----,values=1,items=4
  ; Item #0 'No Lock'
  ; Item #1 'Lock'
  ; Item #2 'No Lock Sync'
  ; Item #3 'Lock Sync'
  : values=0
numid=16,iface=PCM,name='ADAT3 Sync Check'
  ; type=ENUMERATED,access=r----,values=1,items=4
  ; Item #0 'No Lock'
  ; Item #1 'Lock'
  ; Item #2 'No Lock Sync'
  ; Item #3 'Lock Sync'
  : values=0
numid=9,iface=PCM,name='Channels Thru'
  ; type=BOOLEAN,access=rw---,values=26
  : 
values=off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off
numid=5,iface=PCM,name='IEC958 Input Connector'
  ; type=ENUMERATED,access=rw---,values=1,items=3
  ; Item #0 'ADAT1'
  ; Item #1 'Coaxial'
  ; Item #2 'Internal'
  : values=1
numid=6,iface=PCM,name='IEC958 Output also on ADAT1'
  ; type=BOOLEAN,access=rw---,values=1
  : values=off
numid=1,iface=PCM,name='IEC958 Playback Default'
  ; type=IEC958,access=rw---,values=1
  : values=?
numid=10,iface=PCM,name='IEC958 Sample Rate'
  ; type=INTEGER,access=r----,values=1,min=0,max=96000,step=0
  : values=-1
numid=15,iface=PCM,name='Passthru'
  ; type=BOOLEAN,access=rw---,values=1
  : values=off
numid=8,iface=PCM,name='Preferred Sync Source'
  ; type=ENUMERATED,access=rw---,values=1,items=4
  ; Item #0 'IEC958 In'
  ; Item #1 'ADAT1 In'
  ; Item #2 'ADAT2 In'
  ; Item #3 'ADAT3 In'
  : values=1
numid=7,iface=PCM,name='Sync Mode'
  ; type=ENUMERATED,access=rw---,values=1,items=3
  ; Item #0 'AutoSync'
  ; Item #1 'Master'
  ; Item #2 'Word Clock'
  : values=0
numid=14,iface=PCM,name='Timecode Valid'
  ; type=BOOLEAN,access=r----,values=1
  : values=off

[dave@home dave]$ aplay -L
PCM list:
hw {
        @args.0 CARD
        @args.1 DEV
        @args.2 SUBDEV
        @args.CARD {
                type string
                default {
                        @func getenv
                        vars {
                                0 ALSA_PCM_CARD
                                1 ALSA_CARD
                        }
                        default {
                                @func refer
                                name 'defaults.pcm.card'
                        }
                }
        }
        @args.DEV {
                type integer
                default {
                        @func igetenv
                        vars {
                                0 ALSA_PCM_DEVICE
                        }
                        default {
                                @func refer
                                name 'defaults.pcm.device'
                        }
                }
        }
        @args.SUBDEV {
                type integer
                default {
                        @func refer
                        name 'defaults.pcm.subdevice'
                }
        }
        type hw
        card $CARD
        device $DEV
        subdevice $SUBDEV
}
plughw {
        @args.0 CARD
        @args.1 DEV
        @args.2 SUBDEV
        @args.CARD {
                type string
                default {
                        @func getenv
                        vars {
                                0 ALSA_PCM_CARD
                                1 ALSA_CARD
                        }
                        default {
                                @func refer
                                name 'defaults.pcm.card'
                        }
                }
        }
        @args.DEV {
                type integer
                default {
                        @func igetenv
                        vars {
                                0 ALSA_PCM_DEVICE
                        }
                        default {
                                @func refer
                                name 'defaults.pcm.device'
                        }
                }
        }
        @args.SUBDEV {
                type integer
                default {
                        @func refer
                        name 'defaults.pcm.subdevice'
                }
        }
        type plug
        slave.pcm {
                type hw
                card $CARD
                device $DEV
                subdevice $SUBDEV
        }
}
plug {
        @args.0 SLAVE
        @args.SLAVE {
                type string
        }
        type plug
        slave.pcm $SLAVE
}
shm {
        @args.0 SOCKET
        @args.1 PCM
        @args.SOCKET {
                type string
        }
        @args.PCM {
                type string
        }
        type shm
        server $SOCKET
        pcm $PCM
}
tee {
        @args.0 SLAVE
        @args.1 FILE
        @args.2 FORMAT
        @args.SLAVE {
                type string
        }
        @args.FILE {
                type string
        }
        @args.FORMAT {
                type string
                default raw
        }
        type file
        slave.pcm $SLAVE
        file $FILE
        format $FORMAT
}
file {
        @args.0 FILE
        @args.1 FORMAT
        @args.FILE {
                type string
        }
        @args.FORMAT {
                type string
                default raw
        }
        type file
        slave.pcm null
        file $FILE
        format $FORMAT
}
null {
        type null
}
default {
        type plug
        slave.pcm {
                type hw
                card {
                        @func getenv
                        vars {
                                0 ALSA_PCM_CARD
                                1 ALSA_CARD
                        }
                        default {
                                @func refer
                                name 'defaults.pcm.card'
                        }
                }
                device {
                        @func igetenv
                        vars {
                                0 ALSA_PCM_DEVICE
                        }
                        default {
                                @func refer
                                name 'defaults.pcm.device'
                        }
                }
                subdevice {
                        @func refer
                        name 'defaults.pcm.subdevice'
                }
        }
}
cards 'cards.pcm'
front 'cards.pcm.front'
rear 'cards.pcm.rear'
center_lfe 'cards.pcm.center_lfe'
surround40 'cards.pcm.surround40'
surround51 'cards.pcm.surround51'
iec958 'cards.pcm.iec958'
spdif 'cards.pcm.iec958'
[dave@home dave]$ 

[dave@home dave]$ aplay -v yes__ive_seen_all_good_people__your_move.wav
Playing WAVE 'yes__ive_seen_all_good_people__your_move.wav' : Signed 16 bit Little 
Endian, Rate 44100 Hz, Stereo
Plug PCM: Route conversion PCM (sformat=S32_LE)
Transformation table:
0 <- 0
1 <- 1
2 <- none
3 <- none
4 <- none
5 <- none
6 <- none
7 <- none
8 <- none
9 <- none
10 <- none
11 <- none
12 <- none
13 <- none
14 <- none
15 <- none
16 <- none
17 <- none
18 <- none
19 <- none
20 <- none
21 <- none
22 <- none
23 <- none
24 <- none
25 <- none
Its setup is:
stream       : PLAYBACK
access       : RW_INTERLEAVED
format       : S16_LE
subformat    : STD
channels     : 2
rate         : 44100
exact rate   : 44100 (44100/1)
msbits       : 16
buffer_size  : 8192
period_size  : 4096
period_time  : 92879
tick_time    : 10000
tstamp_mode  : NONE
period_step  : 1
sleep_min    : 0
avail_min    : 4096
xfer_align   : 4096
start_threshold  : 8192
stop_threshold   : 8192
silence_threshold: 0
silence_size : 0
boundary     : 1073741824
Slave: Hardware PCM card 0 'RME Digi9652' device 0 subdevice -1

Its setup is:
stream       : PLAYBACK
access       : MMAP_NONINTERLEAVED
format       : S32_LE
subformat    : STD
channels     : 26
rate         : 44100
exact rate   : 44100 (44100/1)
msbits       : 24
buffer_size  : 8192
period_size  : 4096
period_time  : 92879
tick_time    : 10000
tstamp_mode  : NONE
period_step  : 1
sleep_min    : 0
avail_min    : 4096
xfer_align   : 4096
start_threshold  : 8192
stop_threshold   : 8192
silence_threshold: 0
silence_size : 0
boundary     : 1073741824
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 04110 (0x100e) ###                  12%
Max peak (8192 samples): 10087 (0x2767) #######              30%
Max peak (8192 samples): 16029 (0x3e9d) ##########           49%
Max peak (8192 samples): 19920 (0x4dd0) #############        60%
Max peak (8192 samples): 20328 (0x4f68) #############        62%
Max peak (8192 samples): 23264 (0x5ae0) ###############      71%
Max peak (8192 samples): 26217 (0x6669) #################    80%
Max peak (8192 samples): 16541 (0x409d) ###########          50%
Max peak (8192 samples): 11944 (0x2ea8) ########             36%
Max peak (8192 samples): 17208 (0x4338) ###########          52%
Max peak (8192 samples): 13019 (0x32db) ########             39%
Max peak (8192 samples): 14702 (0x396e) #########            44%
Max peak (8192 samples): 02691 (0x0a83) ##                   8%
Max peak (8192 samples): 08467 (0x2113) ######               25%
Max peak (8192 samples): 21312 (0x5340) ##############       65%
Aborted...
[dave@home dave]$ 

[dave@home dave]$ arecord -v -f dat this.wav
Recording WAVE 'this.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
Plug PCM: Route conversion PCM (sformat=S32_LE)
Transformation table:
0 <- 0
1 <- 1
Its setup is:
stream       : CAPTURE
access       : RW_INTERLEAVED
format       : S16_LE
subformat    : STD
channels     : 2
rate         : 48000
exact rate   : 48000 (48000/1)
msbits       : 16
buffer_size  : 8192
period_size  : 4096
period_time  : 85333
tick_time    : 10000
tstamp_mode  : NONE
period_step  : 1
sleep_min    : 0
avail_min    : 4096
xfer_align   : 4096
start_threshold  : 1
stop_threshold   : 8192
silence_threshold: 0
silence_size : 0
boundary     : 1073741824
Slave: Hardware PCM card 0 'RME Digi9652' device 0 subdevice -1

Its setup is:
stream       : CAPTURE
access       : MMAP_NONINTERLEAVED
format       : S32_LE
subformat    : STD
channels     : 26
rate         : 48000
exact rate   : 48000 (48000/1)
msbits       : 24
buffer_size  : 8192
period_size  : 4096
period_time  : 85333
tick_time    : 10000
tstamp_mode  : NONE
period_step  : 1
sleep_min    : 0
avail_min    : 4096
xfer_align   : 4096
start_threshold  : 1
stop_threshold   : 8192
silence_threshold: 0
silence_size : 0
boundary     : 1073741824
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Max peak (8192 samples): 00000 (0x0000) #                    0%
Aborted...
[dave@home dave]$ 

---------------------------------------------------------------------
--- Here's what I see in /var/log/messages after running arecord: ---
---------------------------------------------------------------------
May  2 22:46:36 home modprobe: modprobe: Can't locate module snd-card-1

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to