[alsa-devel] snd-hdsp driver error?

Lars Zobbe fedesensfar at gmail.com
Fri Nov 6 00:30:58 CET 2009


Thanks Raymound. I've attached the outputs in 2 separate files, one with
alsa-info and the other 5 command in another file.

I'm not sure alsa-info ran as it was supposed to. The output was rather
short as you can se in the attached file en in the terminal I got this:

alsa-info.sh: 381: [[: not found
ALSA Information Script v 0.4.58
--------------------------------

This script visits the following commands/files to collect diagnostic
information about your ALSA installation and sound related hardware.

  dmesg
  lspci
  lsmod
  aplay
  amixer
  alsactl
  /proc/asound/
  /sys/class/sound/
  ~/.asoundrc (etc.)

See 'alsa-info.sh --help' for command line options.

alsa-info.sh: 607: [[: not found
alsa-info.sh: 607: [[: not found
alsa-info.sh: 5: [[: not found
alsa-info.sh: 5: [[: not found
alsa-info.sh: 5: [[: not found
alsa-info.sh: 5: [[: not found
alsa-info.sh: 5: [[: not found
alsa-info.sh: 5: [[: not found
alsa-info.sh: 5: [[: not found
alsa-info.sh: 734: [[: not found
alsa-info.sh: 759: [[: not found
Automatically upload ALSA information to www.alsa-project.org? [y/N] : read:
759: Illegal option -e
alsa-info.sh: 795: [[: not found

alsa-info.sh: 795: [[: not found

I hope that helps. And please tell me if you need more info.
Lars.


On Thu, Nov 5, 2009 at 5:29 AM, Raymond Yau <superquad.vortex2 at gmail.com>wrote:

> Please provide the full pulseaudio log and output of alsa-info.sh
>
> http://www.pulseaudio.org/wiki/Troubleshooting
>
> pulseaudio -k; pulseaudio -vvv
>
> and
>
> aplay -v -Dfront:0 32bit.wav
>
> aplay -v -M -Dfront:0 32bit.wav
>
> aplay -v -Dplughw:0 any.wav
>
> aplay -v -M -Dplughw:0 any.wav
>
>
> 2009/11/4 Lars Zobbe <fedesensfar at gmail.com>
>
> > Hi Raymond.
> >
> > I so sorry Raymond. But I'm not sure what to do with this info. Is there
> > something more I have to tell you? Is there anything I can do to make
> > pulseaudio able to detect via udev? Can I copy-paste that bit of code you
> > sent me somewhere?
> > Please tell me if there's more you need to know.
> > Greetings.
> > Lars.
> >
> >
> >
> >
> > On Tue, Nov 3, 2009 at 7:48 AM, Raymond Yau <superquad.vortex2 at gmail.com
> >wrote:
> >
> >> I guess route plugin used by RME96*.conf does not support mmap when
> there
> >> is
> >> channel conversion since minimum channels supported by hdsp is 14
> >>
> >>
> >> static struct snd_pcm_hardware snd_hdsp_playback_subinfo =
> >> {
> >>    .info = (SNDRV_PCM_INFO_MMAP |
> >>                 SNDRV_PCM_INFO_MMAP_VALID |
> >>                 SNDRV_PCM_INFO_NONINTERLEAVED |
> >>                 SNDRV_PCM_INFO_SYNC_START |
> >>                 SNDRV_PCM_INFO_DOUBLE),
> >> #ifdef SNDRV_BIG_ENDIAN
> >>    .formats = SNDRV_PCM_FMTBIT_S32_BE,
> >> #else
> >>    .formats = SNDRV_PCM_FMTBIT_S32_LE,
> >> #endif
> >>    .rates = (SNDRV_PCM_RATE_32000 |
> >>                 SNDRV_PCM_RATE_44100 |
> >>                 SNDRV_PCM_RATE_48000 |
> >>                 SNDRV_PCM_RATE_64000 |
> >>                 SNDRV_PCM_RATE_88200 |
> >>                 SNDRV_PCM_RATE_96000),
> >>    .rate_min = 32000,
> >>    .rate_max = 96000,
> >>    .channels_min = 14,
> >>    .channels_max = HDSP_MAX_CHANNELS,
> >>    .buffer_bytes_max = HDSP_CHANNEL_BUFFER_BYTES * HDSP_MAX_CHANNELS,
> >>    .period_bytes_min = (64 * 4) * 10,
> >>    .period_bytes_max = (8192 * 4) * HDSP_MAX_CHANNELS,
> >>    .periods_min = 2,
> >>    .periods_max = 2,
> >>    .fifo_size = 0
> >> };
> >>
> >> 2009/11/2 Lars Zobbe <fedesensfar at gmail.com>
> >>
> >> > Hi.
> >> >
> >> > Talking to one of the pulseaudio developers (*Colin Guthrie*) about a
> >> > problem with pulseaudio loading modules and my sound card (RME HDSP
> >> 9632),
> >> > I
> >> > was adviced to inform you about the problem.
> >> >
> >> > I'm on ubuntu 9.10, 64bit, kernel 2.6.31 with an amd64 x2 3800+
> >> processor.
> >> >
> >> >
> >> > Symptoms are:
> >> > Can only make pulseaudio load modules with the deprecated load-module
> >> > module-detect command, module-udev-detect doesn't detect anything (no
> >> sound
> >> > - only null sink output in padevchooser).
> >> > I get terrible stuttering.
> >> > I can remove pulseaudio and make things work, more or less. However,
> >> that
> >> > leaves me without software mixing and apps fighting for the rights to
> >> make
> >> > sound. And more inconveniences (fx. no volume-control).
> >> > I can play sound from audacity without stuttering by choosing the
> >> cardname
> >> > directly in output HDSP, not ALSA, not pulseaudio.
> >> >
> >> >
> >> > When trying to run alsa-info.sh I get a lot of "not found" errors. So
> >> > you'll
> >> > get some manual info (they might have moved som files around in ubuntu
> >> > 9.10).
> >> >
> >> > This is part of my syslog during a boot. (I did the formatting to
> bold).
> >> >
> >> > Nov  2 10:57:32 lars-desktop pulseaudio[1524]: module.c: module-detect
> >> is
> >> > deprecated: Please use module-udev-detect instead of module-detect!
> >> > Nov  2 10:57:37 lars-desktop pulseaudio[1524]: ratelimit.c: 27 events
> >> > suppressed
> >> > Nov  2 10:57:39 lars-desktop pulseaudio[1612]: module.c: module-detect
> >> is
> >> > deprecated: Please use module-udev-detect instead of module-detect!
> >> > Nov  2 10:57:44 lars-desktop pulseaudio[1612]: ratelimit.c: 23 events
> >> > suppressed
> >> > Nov  2 10:57:44 lars-desktop pulseaudio[1612]: alsa-sink.c: ALSA woke
> us
> >> up
> >> > to write new data to the device, but there was actually nothing to
> >> write!
> >> > Nov  2 10:57:44 lars-desktop pulseaudio[1612]: alsa-sink.c: *Most
> likely
> >> > this is a bug in the ALSA driver 'snd_hdsp'. Please report this issue
> to
> >> > the
> >> > ALSA developers.*
> >> > Nov  2 10:57:44 lars-desktop pulseaudio[1612]: alsa-sink.c: We were
> >> woken
> >> > up
> >> > with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or
> >> > another value < min_avail.
> >> > Nov  2 10:57:49 lars-desktop pulseaudio[1612]: ratelimit.c: 99 events
> >> > suppressed
> >> >
> >> > Later if I try to play audio I get terrible skipping or stuttering and
> >> my
> >> > syslog (in less than a minute) writes:
> >> > Nov  2 11:55:16 lars-desktop pulseaudio[1612]: ratelimit.c: 16 events
> >> > suppressed
> >> > Nov  2 11:55:21 lars-desktop pulseaudio[1612]: ratelimit.c: 34 events
> >> > suppressed
> >> > Nov  2 11:55:26 lars-desktop pulseaudio[1612]: ratelimit.c: 70 events
> >> > suppressed
> >> > Nov  2 11:55:31 lars-desktop pulseaudio[1612]: ratelimit.c: 29 events
> >> > suppressed
> >> > Nov  2 11:55:36 lars-desktop pulseaudio[1612]: ratelimit.c: 43 events
> >> > suppressed
> >> > Nov  2 11:55:41 lars-desktop pulseaudio[1612]: ratelimit.c: 161 events
> >> > suppressed
> >> > Nov  2 11:55:46 lars-desktop pulseaudio[1612]: ratelimit.c: 28 events
> >> > suppressed
> >> > Nov  2 11:55:51 lars-desktop pulseaudio[1612]: ratelimit.c: 18 events
> >> > suppressed
> >> > Nov  2 11:55:56 lars-desktop pulseaudio[1612]: ratelimit.c: 16 events
> >> > suppressed
> >> >
> >> > Here's the relevant part (concerning my sound card) of lspci -vvv
> >> >
> >> > 02:09.0 Multimedia audio controller: Xilinx Corporation RME Hammerfall
> >> DSP
> >> > (rev 9a)
> >> >    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> >> > Stepping- SERR- FastB2B- DisINTx-
> >> >    Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
> >> > <TAbort- <MAbort- >SERR- <PERR- INTx-
> >> >    Latency: 255
> >> >    Interrupt: pin A routed to IRQ 19
> >> >    Region 0: Memory at fdff0000 (32-bit, non-prefetchable) [size=64K]
> >> >    Kernel driver in use: RME Hammerfall DSP
> >> >    Kernel modules: snd-hdsp
> >> >
> >> > And:
> >> > lars at lars-desktop:~$ aplay -l
> >> > **** List of PLAYBACK Hardware Devices ****
> >> > card 0: DSP [Hammerfall DSP], device 0: RME Hammerfall HDSP 9632 [RME
> >> > Hammerfall HDSP 9632]
> >> >  Subdevices: 1/1
> >> >  Subdevice #0: subdevice #0
> >> >
> >> >
> >> > lars at lars-desktop:~$ cat /proc/asound/version
> >> > Advanced Linux Sound Architecture Driver Version 1.0.21.
> >> > Compiled on Oct 15 2009 for kernel 2.6.31-14-generic (SMP).
> >> >
> >> > lars at lars-desktop:~$ cat /proc/asound/cards
> >> >  0 [DSP            ]: H-DSP - Hammerfall DSP
> >> >                      RME Hammerfall HDSP 9632 at 0xfdff0000, irq 19
> >> >
> >> >
> >> > lars at lars-desktop:~$ cat /proc/asound/modules
> >> >  0 snd_hdsp
> >> >
> >> > I don't have .asound.conf files.
> >> >
> >> > lars at lars-desktop:~$ hdsploader
> >> > hdsploader - firmware loader for RME Hammerfall DSP cards
> >> > Looking for HDSP + Multiface or Digiface cards :
> >> > Card 0 : RME Hammerfall HDSP 9632 at 0xfdff0000, irq 19
> >> >
> >> > And of course. My computer makes no sound if I don't load the
> hdspmixer
> >> at
> >> > startup. I guess that's just normal for this card though.
> >> >
> >> > Please let me know, if you need more info. I really hope you can help
> >> out
> >> > here. And that this might help you to.
> >> >
> >> > Thanks for the great work you do. Greetings.
> >> > Lars Zobbe.
> >> > _______________________________________________
> >> > Alsa-devel mailing list
> >> > Alsa-devel at alsa-project.org
> >> > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> >> >
> >> _______________________________________________
> >> Alsa-devel mailing list
> >> Alsa-devel at alsa-project.org
> >> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> >>
> >
> >
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>


More information about the Alsa-devel mailing list