rob canning wrote :
> hi fernando, thomas, list,
>
> thanks very much for your help, i feel like i may be getting close now but am still having problems...
>
> i did an apt get install on the new kernel set it asd default with GRUB
>
> when i do alsaconf i no longer get the insmod errrors but i do still get:
>
> [root@localhost robcanning]# /usr/sbin/alsaconf
> /usr/sbin/alsaconf: line 120: modinfo: command not found
> /usr/sbin/alsaconf: line 127: modinfo: command not found
> /usr/sbin/alsaconf: line 135: modinfo: command not found
>
> when i start alsasound
> [robcanning@localhost robcanning]$ /etc/rc.d/init.d/alsasound start
> ALSA driver already running
> Sound driver snd-hdsp is already loaded
>
>
> when i start alsamixer
> Card: Intel ICH5 ││ Chip: Analog Devices AD1985 ││ Item: Master
>
> and with the -c 1 argument
> [robcanning@localhost robcanning]$ /usr/bin/alsamixer -c 1
> No mixer elems found
>
>
> my modules.conf file looks like this (i have commented out the oss stuff):
>
> # --- BEGIN: Generated by ALSACONF, do not edit. ---
> # --- ALSACONF verion 1.0.1 ---
> alias char-major-116 snd
> alias char-major-14 soundcore
> #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
> alias snd-card-0ntitlntitled 1ntitled 1ed 1 snd-hdsp
> alias sound-slot-0 snd-intel8x0
> # --- END: Generated by ALSACONF, do not edit. ---
> post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
> pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
> alias sound-slot-1 snd-hdsp
> post-install sound-slot-1 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
> pre-remove sound-slot-1 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
> # -- Keep modules from being autocleaned
> add options -k snd-card-0
>
> when i run the audio software pd the Hamerfall is listed in its audio devices but when i change to it from the default (intel) it crashes with:
>
> input channels = 2, output channels = 2
> alsa: changing output device to agree with input device
> device name hw:1; channels in 2, out 2
> audio buffer set to 50
> ALSA lib pcm_hw.c:1055:(snd_pcm_hw_open) open /dev/snd/pcmC1D0c failed: No such
> device
> snd_pcm_open (input): No such device
> ALSA lib pcm_hw.c:1055:(snd_pcm_hw_open) open /dev/snd/pcmC1D0p failed: No such
> device
> snd_pcm_open (output): No such device
> ALSA lib pcm_hw.c:494:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Bad file
> descriptor
> audio I/O stuck... closing audio
>
> ALSA lib pcm_hw.c:751:(snd_pcm_hw_close) close failed
> : Bad file descriptor
> snd_pcm_close (input): Bad file descriptor
> Segmentation fault
> [robcanning@localhost robcanning]$ pd_gui: pd process exited
>
>
> when i do a dmesg i see the lines
> ALSA ../../alsa-kernel/pci/rme9652/hdsp.c:5054: card initialization pending : waiting for firmware
> PCI: Setting latency timer of device 00:1f.5 to 64
> intel8x0: clocking to 48000
>
> the red Host light is permanantly on on the front of the card - it was never like this with a pcmcia card on windows - should that light turn off on linux with a pci card?
>
Hi Rob,
You have to initialize the iobox running the hdsploader command.
After that you should run hdspmixer (a totalmix clone) that will set the
default levels. You'll also want to check hdspconf (windows/mac control
panel clone). All this tools are part of the alsa-tools package.
Hdsploader also need the alsa-firmware package to be installed. I
believe tha Planet installs all this automatically.
Note that you can't use alsamixer with the hdsp, but you can use amixer.
(googling for hdsp+linux should lead you to more information on this)
Note also that the card can only play 24/32 bits non-interleaved
streams. If you want to play 16 bits and/or interleaved files you have
to use the alsa-lib's plug layer.
Here are a few examples :
aplay -Dhw:X,0 32or24bits.wav
aplay -Dplughw:X,0 16bits.wav
where X is the hdsp alsa card number.
Thomas
hi fernando, thomas, list,
thanks very much for your help, i feel like i may be getting close now but am still having problems...
i did an apt get install on the new kernel set it asd default with GRUB
when i do alsaconf i no longer get the insmod errrors but i do still get:
[root@localhost robcanning]# /usr/sbin/alsaconf
/usr/sbin/alsaconf: line 120: modinfo: command not found
/usr/sbin/alsaconf: line 127: modinfo: command not found
/usr/sbin/alsaconf: line 135: modinfo: command not found
when i start alsasound
[robcanning@localhost robcanning]$ /etc/rc.d/init.d/alsasound start
ALSA driver already running
Sound driver snd-hdsp is already loaded
when i start alsamixer
Card: Intel ICH5 ││ Chip: Analog Devices AD1985 ││ Item: Master
and with the -c 1 argument
[robcanning@localhost robcanning]$ /usr/bin/alsamixer -c 1
No mixer elems found
my modules.conf file looks like this (i have commented out the oss stuff):
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.1 ---
alias char-major-116 snd
alias char-major-14 soundcore
#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
alias snd-card-0ntitlntitled 1ntitled 1ed 1 snd-hdsp
alias sound-slot-0 snd-intel8x0
# --- END: Generated by ALSACONF, do not edit. ---
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
alias sound-slot-1 snd-hdsp
post-install sound-slot-1 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-1 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
# -- Keep modules from being autocleaned
add options -k snd-card-0
when i run the audio software pd the Hamerfall is listed in its audio devices but when i change to it from the default (intel) it crashes with:
input channels = 2, output channels = 2
alsa: changing output device to agree with input device
device name hw:1; channels in 2, out 2
audio buffer set to 50
ALSA lib pcm_hw.c:1055:(snd_pcm_hw_open) open /dev/snd/pcmC1D0c failed: No such
device
snd_pcm_open (input): No such device
ALSA lib pcm_hw.c:1055:(snd_pcm_hw_open) open /dev/snd/pcmC1D0p failed: No such
device
snd_pcm_open (output): No such device
ALSA lib pcm_hw.c:494:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Bad file
descriptor
audio I/O stuck... closing audio
ALSA lib pcm_hw.c:751:(snd_pcm_hw_close) close failed
: Bad file descriptor
snd_pcm_close (input): Bad file descriptor
Segmentation fault
[robcanning@localhost robcanning]$ pd_gui: pd process exited
when i do a dmesg i see the lines
ALSA ../../alsa-kernel/pci/rme9652/hdsp.c:5054: card initialization pending : waiting for firmware
PCI: Setting latency timer of device 00:1f.5 to 64
intel8x0: clocking to 48000
the red Host light is permanantly on on the front of the card - it was never like this with a pcmcia card on windows - should that light turn off on linux with a pci card?
thanks again,
rob
www.robcanning.utvinternet.com
Hello,
How can we tell Timidity to use a particular sf2 file ?
Thanks
Dom
--
Dominic Genest
Étudiant 3e cycle
Département d'Informatique et de Génie Logiciel
Université Laval
97010111
Hi,
We have a couple of machines that we are having problems with. Has
anyone been able to sucessfully use a Digigram VX222 with the ALSA
drivers?
What kernel should I use? Patches?
We are getting hard lockups of our system. We have turned off all power
management. It seems to be a problem with activity on either the sound
card driver and/or the NIC driver (e100). The board is an Intel
S845WD1-E.
At this point if we do not come up with a solution by next week, the
higher ups are going to make us use Win2k. Ugh.
--
Torleiv Ringer
Broadcast Systems Analyst
Minnesota Public Radio
http://www.mpr.org
hi again,
here are some revised details of my problem!
i am actually running the planetccrma kernel 2.4.20-18.1.caps
when running alsaconf i get:
[root@localhost robcanning]# /usr/sbin/alsaconf
/usr/sbin/alsaconf: line 120: modinfo: command not found
/usr/sbin/alsaconf: line 127: modinfo: command not found
/usr/sbin/alsaconf: line 135: modinfo: command not found
then it finds:
hdsp Xilinx Corporation RME Hammerfall DSP (rev 32) │ │
│ │ intel8x0 Intel Corp. 82801EB AC'97 Audio (rev
02) │ │
│ │ legacy Probe legacy ISA (non-PnP) chips
then it configures snd-hdsp and runs alsasound start at which point
things go wrong:
Loading driver...
Starting sound driver: snd-hdsp
/lib/modules/2.4.20-18.1.caps/kernel/sound/snd-hdsp.o: init_module: No
such device
Hint: insmod errors can be caused by incorrect module parameters,
including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.20-18.1.caps/kernel/sound/snd-hdsp.o: insmod
/lib/modules/2.4.20-18.1.caps/kernel/sound/snd-hdsp.o failed
/lib/modules/2.4.20-18.1.caps/kernel/sound/snd-hdsp.o: insmod snd-hdsp
failed
done
Setting default volumes...
===============================================================================
Now ALSA is ready to use.
For adjustment of volumes, use your favorite mixer.
Have a lot of fun!
more info:
03:0c.0 Multimedia audio controller: Xilinx Corporation RME Hammerfall
DSP (rev
32)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping+ SERR+ FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 64
Interrupt: pin A routed to IRQ 5
Region 0: Memory at feae0000 (32-bit, non-prefetchable)
[size=64K]
[root@localhost robcanning]# dmesg
mory allocator: buffers allocated for 1 cards
RME Hammerfall-DSP: no cards found
Hammerfall memory allocator: buffers allocated for 1 cards
RME Hammerfall-DSP: no cards found
which is then repeated a number of times
thanks,
rob
I have just installed AGNULA/demudi-1.1.0 in my desktop machine (Intel
Celeron processor).
My need is to transfer two channels (that is, stereo) digitized sound
back and forth between a Tascam CR-RW2000 and a Pentium-class desktop
computer, so that the sound can be edited. The Tascam has both SP/DIF
coaxial and AES/EBU inputs and outputs.
I have no need for multi-channel operation (other than stereo), nor for
midi or routing.
Recent postings on the alsa-user mail list make me lean toward purchase
of a RME sound card, but I am confused as to which RME cards ALSA
supports. I also am confused as to whether a "multiface" or "digiface"
is required. The RME web site says that ALSA drivers are available for
the DIGI9652 and the DIGI9636; but these models are not listed on the
ALSA Sound Card Matrix web page.
Another possibility is to purchase a USB or Firewire device which
supports SP/DIF or AES/EBU input and output.
The main consideration is ALSA support: which devices (manufacturer
and model) work reliably and bug-free under ALSA?
RLH
Hi to all,
I've found a bugous beaviour in TiMidity++ version 2.11.3, shipped with
debian sid. I've alsa 1.0.1.
Starting timidity in server mode without -Os (alsa output) option:
$ timidity -iA
and than trying to connect a midi keyboard with
$ aconnect 64:0 128:0
it will freeze completly my system, I can save me from brutal reboot
only thanks to the _really_ magic sysrq key 'e'. Under X the sysrq key
'e' doesn't work.
I know that putting the -Os option is the right way but a freeze of the
system it is too much for a wrong option.
Does someone can confirm this beaviour?
Antonio.
PS Try it only in console, so you can recover with ALT+Stamp+e (at least
this works for me)
Hi,
I have Audigy2 ZS card. Alsa 1.0.2 and jack server from current
CVS are installed. Is it possible to force working on 24/96? I
have selected emu10k1 alsa driver. Is it valid selection?
Andrew
Hi to all,
I'm tryng to tune my machine to get the lower latency I can get with my
hardware and linux of course.
I have an audigy player with a debian sarge with the audio apps take
from the unstable branch. I've recompiled the 2.4.22 kernel with
capabilities, low latency, preempted patches. I've compiled the source
packages of alsa 1.0.1 and jack 0.94.
I can obtain a clean sound playing timidity thru my midi keyboard using
3 fragments each of 256 (but only if I'm root, otherwise I get "can't
set sched_setscheduler" and the sound became dirty, maybe I have to
recompile it?) which means a pretty low latency for me.
On the other side I can run jack (jackstart works fine) with a period
not less than 512, and I can't change the number of periods (neither
increase) that is 2 by default. For example:
$ jackstart -R -d alsa -d hw:0 -r 48000 -p 512 -n 1
[snip]
hw:0|hw:0|512|1|48000|0|0|nomon|swmeter|rt|32bit
control device hw:0
configuring for 48000Hz, period = 512 frames, buffer = 1 periods
Couldn't open hw:0 for 32bit samples trying 24bit instead
Couldn't open hw:0 for 24bit samples trying 16bit instead
ALSA: cannot set number of periods to 1 for capture
ALSA: cannot configure capture channel
cannot load driver module alsa
$
The same it is if I set number of periods higher than two (and that's
strange, can be a configuration issue?)
- Is it an hardware/driver limit, can't I reach the same latency that I
have with timidity with jack?
- Is it normal having 16 bit samples with my card?
The last but not least, I have a general question about jack: if I a
stream pass twice or more times into jack (for example alsa in -> jack
rack -> ardour -> alsa out, 3 times) does the latency increases twice or
more, proportionally, or it is only related to the various apps latency?
Ok, I stop to bother anymore you with my (maybe stupid) doubts...
Thanks for the attention, every answer will be greatly apprecciated.
Ciao, Antonio
On Wed, Feb 04, 2004 at 02:56:38 +0000, rob canning wrote:
> why do i need to type /sbin/lspci rather than just lspci which won't work?
because /sbin inst in your $PATH
- Steve