RME HDSPe MADI under ARM issue with playback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm trying to get a RME HDSPe MADI card to run in an ARM box with Linux
4.1.6. I configured the (vendor specific TI) kernel to support the card (via
hdspm) compiled into the kernel (not as loadable module).

The MADI card is detected as a PCI device and the ALSA driver is loaded.
Unfortunately playout does NOT work: aplay is reporting an error:
ALSA lib pcm_mmap.c:374:(snd_pcm_mmap) mmap failed: No such device or
address

Does anybody have an idea what might be the reason?

I tested the card on Linux x64 and it worked flawlessly.

Below is info about the system, aplay output and an strace of the relevant
part.

Thanks in advance
Axel

Debian GNU/Linux 8 arm ttyS0
Linux arm 4.1.6-01295-g170507a #1 SMP PREEMPT Fri Jun 2 14:09:10 CEST 2017
armv7l

debian@arm:~$ lscpu
Architecture:          armv7l
Byte Order:            Little Endian
CPU(s):                2
On-line CPU(s) list:   0,1
Thread(s) per core:    1
Core(s) per socket:    2
Socket(s):             1
Model name:            ARMv7 Processor rev 2 (v7l)
CPU max MHz:           1500.0000
CPU min MHz:           1000.0000

debian@arm:~/Music$ lspci
00:00.0 PCI bridge: Texas Instruments Device 8888 (rev 01)
01:00.0 Multimedia audio controller: Xilinx Corporation RME Hammerfall DSP
MADI (rev d2)

debian@arm:~/Music$ aplay --list-devices
**** List of PLAYBACK Hardware Devices ****
card 0: HDSPMx5c7496 [RME MADI_5c7496], device 0: RME MADI [RME MADI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: H58040000encode [HDMI 58040000.encoder], device 0: HDMI
58040000.encoder snd-soc-dummy-dai-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

debian@arm:~/Music$ aplay --list-pcms
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=HDSPMx5c7496
    RME MADI_5c7496, RME MADI
    Default Audio Device
sysdefault:CARD=HDSPMx5c7496
    RME MADI_5c7496, RME MADI
    Default Audio Device
dmix:CARD=HDSPMx5c7496,DEV=0
    RME MADI_5c7496, RME MADI
    Direct sample mixing device
dsnoop:CARD=HDSPMx5c7496,DEV=0
    RME MADI_5c7496, RME MADI
    Direct sample snooping device
hw:CARD=HDSPMx5c7496,DEV=0
    RME MADI_5c7496, RME MADI
    Direct hardware device without any conversions
plughw:CARD=HDSPMx5c7496,DEV=0
    RME MADI_5c7496, RME MADI
    Hardware device with all software conversions
default:CARD=H58040000encode
    HDMI 58040000.encoder,
    Default Audio Device
sysdefault:CARD=H58040000encode
    HDMI 58040000.encoder,
    Default Audio Device
dmix:CARD=H58040000encode,DEV=0
    HDMI 58040000.encoder,
    Direct sample mixing device
dsnoop:CARD=H58040000encode,DEV=0
    HDMI 58040000.encoder,
    Direct sample snooping device
hw:CARD=H58040000encode,DEV=0
    HDMI 58040000.encoder,
    Direct hardware device without any conversions
plughw:CARD=H58040000encode,DEV=0
    HDMI 58040000.encoder,
    Hardware device with all software conversions

debian@arm:~$ aplay --version
aplay: version 1.0.28 by Jaroslav Kysela <perex@xxxxxxxx>

debian@arm:~$ aplay -vv audio.wav
Playing WAVE 'audio.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,
Stereo
ALSA lib pcm_mmap.c:374:(snd_pcm_mmap) mmap failed: No such device or
address
aplay: set_params:1297: Unable to install hw params:
ACCESS:  RW_INTERLEAVED
FORMAT:  S16_LE
SUBFORMAT:  STD
SAMPLE_BITS: 16
FRAME_BITS: 32
CHANNELS: 2
RATE: 44100
PERIOD_TIME: (46439 46440)
PERIOD_SIZE: 2048
PERIOD_BYTES: 8192
PERIODS: 2
BUFFER_TIME: (92879 92880)
BUFFER_SIZE: 4096
BUFFER_BYTES: 16384
TICK_TIME: 0

strace:
open("/dev/snd/pcmC0D0p", O_RDWR|O_NONBLOCK|O_CLOEXEC) = 4
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
ioctl(4, AGPIOC_ACQUIRE or APM_IOC_STANDBY or SNDRV_PCM_IOCTL_INFO,
0xbecdfb64) = 0
fcntl64(4, F_GETFL)                     = 0x802 (flags O_RDWR|O_NONBLOCK)
ioctl(4, AGPIOC_INFO or SNDRV_PCM_IOCTL_PVERSION, 0xbecdfacc) = 0
ioctl(4, AGPIOC_SETUP or SNDRV_PCM_IOCTL_TTSTAMP, 0xbecdfad4) = 0
mmap2(NULL, 4096, PROT_READ, MAP_SHARED, 4, 0x80000000) = -1 ENXIO (No such
device or address)



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user



[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux