i cannot get this thing to make any sound, and i don't know what else to
do.  i'm running a gateway solo 2500 which uses the opl3sa modules.  it
works flawlessly under oss, but to get where i need to go, i've got to
have alsa installed.

i've built it all from source with no problems.  i've cranked everything
to full with alsamixer, checked the speaker volume and cables, etc.
nothing.

cat /usr/share/sounds/error.wav > /dev/dsp hangs until i give it a ctl-c.
nothing in any of my log files gives any indication of what the problem
might be.

i don't really know how much information to give (or which information),
so I've included alot below.  if i've left out something important, please
let me know and i'll get it right out.

the modules install at boot-up as follows:

# cat /proc/modules | grep snd
snd-pcm-oss            18560   0 (autoclean)
snd-pcm-plugin         15408   0 (autoclean) [snd-pcm-oss]
snd-mixer-oss           5056   0 (autoclean) [snd-pcm-oss]
snd-card-opl3sa2        7936   0 (autoclean)
snd-cs4231             18848   0 (autoclean) [snd-card-opl3sa2]
snd-pcm                30624   0 (autoclean) [snd-pcm-oss snd-pcm-plugin
snd-cs4231]
snd-mixer              23464   0 (autoclean) [snd-mixer-oss
snd-card-opl3sa2 snd-cs4231]
snd-opl3                4896   0 (autoclean) [snd-card-opl3sa2]
snd-hwdep               3392   0 (autoclean) [snd-opl3]
snd-timer               8448   0 (autoclean) [snd-cs4231 snd-pcm snd-opl3]
snd-mpu401-uart         2560   0 (autoclean) [snd-card-opl3sa2]
snd-rawmidi             9600   0 (autoclean) [snd-mpu401-uart]
snd-seq-device          4092   0 (autoclean) [snd-rawmidi]
snd                    34464   1 (autoclean) [snd-pcm-oss snd-pcm-plugin
snd-mixer-oss snd-card-opl3sa2 snd-cs4231 snd-pcm snd-mixer snd-opl3
snd-hwdep snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]

the available interrupts for opl3sa are 5, 7, 9 and 10.  i'm running on
irq 7:

# cat /proc/interrupts
           CPU0
  0:      57043          XT-PIC  timer
  1:       3511          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  3:       2028          XT-PIC  3c589_cs
  7:          0          XT-PIC  OPL3-SA
 10:          4          XT-PIC  i82365
 12:       6527          XT-PIC  PS/2 Mouse
 14:     223467          XT-PIC  ide0
 15:          0          XT-PIC  ide1
NMI:          0
ERR:          0

(however, i've tried IRQ 5 and 9 as well -- all with no luck.)  /dev/snd
was created with no problem:

# ls /dev/snd
total 0
dr-xr-xr-x    2 root     root            0 Oct 24 14:11 .
dr-xr-xr-x    5 root     root            0 Oct 24 14:11 ..
crw-rw-rw-    1 root     root     116,   0 Oct 24 14:11 controlC0
crw-rw-rw-    1 root     root     116,   8 Oct 24 14:11 midiC0D0
crw-rw-rw-    1 root     root     116,   6 Oct 24 14:11 mixerC0D0
crw-rw-rw-    1 root     root     116,  24 Oct 24 14:11 pcmC0D0c
crw-rw-rw-    1 root     root     116,  16 Oct 24 14:11 pcmC0D0p
crw-rw-rw-    1 root     root     116,  33 Oct 24 14:11 timer

also, /proc/asound was created.

#cat /proc/asound/cards
0 [card1          ]: OPL3SA - Yamaha OPL3-SA3
                     Yamaha OPL3-SA3 at 0x370, irq 7, dma 0&1

# cat /proc/asound/devices
  0: [0]   : control
  6: [0- 0]: mixer
  8: [0- 0]: raw midi
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
 33:       : timer

# cat /proc/asound/oss-devices
  0: [0- 0]: mixer
  2: [0- 2]: raw midi
  3: [0- 3]: digital audio
  4: [0- 4]: digital audio
  5: [0- 5]: digital audio
  9: [0- 9]: raw midi

# cat /proc/asound/pcm
00-00: CS4231 : Yamaha OPL3-SA3 : playback 1 : capture 1

# cat /proc/asound/sndstat
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
Yamaha OPL3-SA3 at 0x370, irq 7, dma 0&1

Audio devices:
0: Yamaha OPL3-SA3 (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices:
0: MPU-401 (UART)

Timers:
7: system timer

Mixers:
0: Yamaha OPL3-SA3

# cat /proc/asound/timers
G0: system timer : 10000.0us (10000000 ticks)
C0-0: Yamaha OPL3-SA3 : 9.945us (65535 ticks)

# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 0.5.11.
Compiled on Oct 24 2001 for kernel 2.4.6.

# cat /proc/asound/seq/drivers
snd-seq-midi,empty,1

to my untrained eye, everything seems to be correct.  but - obviously -
it's not.  if anyone has a clue, please let me know.

thanks.
-- 
 ____) ,_)        ,_)
(-(__  |_  _  _ |/
 ____) | |(_)(_ |\
(                 \_,
 _______________________________________________
| http://www.exitwound.org : hard to find       |
 _______________________________________________
| Where humor is concerned there are no         |
| standards -- no one can say what is good or   |
| bad, although you can be sure that everyone   |
| will. -- John Kenneth Galbraith               |
 _______________________________________________
 -------------BEGIN GEEK CODE BLOCK-------------
| Version: 3.1                                  |
| GJ/IT d- s: a C+++>$ UL++++ P+++ L+++ E--- W++|
| N+@ o K- w O- M- V PS+ PE Y+ PGP++ t+@ 5@ X++ |
| R tv+@ b+ DI++++ D+ G++ e++++ h---- r+++ y+++ |
 --------------END GEEK CODE BLOCK--------------



_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to