Hello!
I have a GravisPnP and a GUS ACE soundcard in my computer.
I compile the 2001-09-20 CVS export, with the 2.4.9 kernel.
When I start the "alsaconf" I get the next messages:
Error parsing snd-ainstr-gf1.filename:
filename^: /lib/modules/2.4.9/misc/snd-ainstr-gf1.o
snd-ainstr-gf1.filename skipped
Error parsing snd-ainstr-gf1.description:
description^: "Advanced Linux Sound Architecture GF1 (GUS) Patch support."
snd-ainstr-gf1.description skipped
Error parsing snd-ainstr-gf1.author:
author^: "Jaroslav Kysela <[EMAIL PROTECTED]>"
snd-ainstr-gf1.author skipped
Error parsing snd-ainstr-iw.filename:
pcx filename^: /lib/modules/2.4.9/misc/snd-ainstr-iw.ox
snd-ainstr-iw.filename skipped
...
It because the 2.4.9 kernel???
Other...
When I play a SHORT wav with aplay:
aplay /dos/c/windows/tada.wav
Playing WAVE '/dos/c/windows/tada.wav' : Unsigned 8 bit, Rate 22050 Hz, Mono
xrun!!! (at least 0.428 ms long)
And I hear a click and a little pause et the end.
When I want to use my IW GF1 pcm:
aplay -D hw:0,1 /dos/c/windows/tada.wav
Playing WAVE '/dos/c/windows/tada.wav' : Unsigned 8 bit, Rate 22050 Hz, Mono
aplay: set_params:744: Access type not available
Or with alsaplayer:
alsaplayer -d hw:0,1 /dos/c/windows/tada.wav
AlsaPlayer 0.99.50-alpha1
(C) 1999-2001 Andy Lo A Foe <[EMAIL PROTECTED]> and others.
Output plugin: ALSA output v1.9.0beta7
Unavailable hw params:
ACCESS: RW_NONINTERLEAVED
FORMAT: S8 U8 S16_LE U16_LE
SUBFORMAT: STD
SAMPLE_BITS: [8 16]
FRAME_BITS: [8 32]
CHANNELS: [1 2]
RATE: [5510 48000]
PERIOD_TIME: (333 11894011)
PERIOD_SIZE: [16 65536]
PERIOD_BYTES: [64 131072]
PERIODS: [1 1024]
BUFFER_TIME: (333 11894011)
BUFFER_SIZE: [16 65536]
BUFFER_BYTES: [64 65536]
TICK_TIME: 10000
ERROR: failed to set fragment size/count. Exiting...
When I want to use my ACE GF1 pcm, the same:
aplay -D hw:1,0 /dos/c/windows/tada.wav
I get the next message:
Playing WAVE '/dos/c/windows/tada.wav' : Unsigned 8 bit, Rate 22050 Hz, Mono
aplay: set_params:744: Access type not available
When I start alsaplayer:
/alsaplayer -d hw:1,0 /dos/c/windows/tada.wav
AlsaPlayer 0.99.50-alpha1
(C) 1999-2001 Andy Lo A Foe <[EMAIL PROTECTED]> and others.
Output plugin: ALSA output v1.9.0beta7
Unavailable hw params:
ACCESS: RW_NONINTERLEAVED
FORMAT: S8 U8 S16_LE U16_LE
SUBFORMAT: STD
SAMPLE_BITS: [8 16]
FRAME_BITS: [8 32]
CHANNELS: [1 2]
RATE: [5510 48000]
PERIOD_TIME: (333 11894011)
PERIOD_SIZE: [16 65536]
PERIOD_BYTES: [64 131072]
PERIODS: [1 1024]
BUFFER_TIME: (333 11894011)
BUFFER_SIZE: [16 65536]
BUFFER_BYTES: [64 65536]
TICK_TIME: 10000
ERROR: failed to set fragment size/count. Exiting...
Through the OSS interface I could use the GusACE pcm (why not an oss
device to the second PCM e.g. audio01 or something like?):
mpg123 -a /dev/audio1 .. sound (more or less) good, but say:
ALSA pcm_lib.c:180: Unexpected hw_pointer value (stream = 0, delta:
-107, max jitter = 8192): wrong
interrupt acknowledge?
ALSA pcm_lib.c:180: Unexpected hw_pointer value (stream = 0, delta:
-126, max jitter = 8192): wrong
interrupt acknowledge?
ALSA pcm_lib.c:180: Unexpected hw_pointer value (stream = 0, delta:
-119, max jitter = 8192): wrong
interrupt acknowledge?
ALSA pcm_lib.c:180: Unexpected hw_pointer value (stream = 0, delta:
-123, max jitter = 8192): wrong
interrupt acknowledge?
ALSA pcm_lib.c:180: Unexpected hw_pointer value (stream = 0, delta:
-121, max jitter = 8192): wrong
interrupt acknowledge?
...
Other...
Why my Gravis ACE has a Master, Line and Mic Switch on alsamixer???
There is no Line and Mic on ACE, and no control on
synth out!! (But has a joystick port without an external
connector!! So, if we could disable it, will be a good
thing!)
my /etc/asound.state
...
state.GusACE {
control.1 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Master Playback Switch'
value true
}
control.2 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Line Switch'
value false
}
control.3 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Mic Switch'
value false
}
control.4 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 127'
iface MIXER
name 'PCM Playback Volume'
value.0 64
value.1 64
}
}
And when we use a midi-synth device on GUS cards?????
My /etc/modules.conf part of alsa:
# ALSA native device support
alias char-major-116 snd
options snd snd_major=116 snd_cards_limit=2
alias snd-card-0 snd-card-interwave
alias snd-card-1 snd-card-gusclassic
options snd-card-interwave snd_index=0 snd_id="GusPnP"
options snd-card-gusclassic snd_index=1 snd_id="GusACE"
# OSS/Free setup
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
alias sound-slot-1 snd-card-1
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-12 snd-pcm-oss
My /proc/asound/sndstat:
Sound Driver:3.8.1a-980706 (ALSA v0.9.0beta7 emulation code)
Kernel: Linux ixtys 2.4.9 #8 Tue Sep 11 21:18:41 Pann 2001 i586
Config options: 0
Installed drivers:
Type 10: ALSA emulation
Card config:
AMD InterWave at 0x220, irq 11, dma 6&7
Gravis UltraSound Ace at 0x250, irq 5, dma 5&5
Audio devices:
0: AMD InterWave rev B (chip) (DUPLEX)
1: GF1 (synth)
Synth devices: NOT ENABLED IN CONFIG
Midi devices:
0: AMD InterWave
Timers:
7: system timer
Mixers:
0: mixer00
1: mixer10
Thanks a lot!
Gergely
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel