Sound and Linux with Redhat configuration

Sound and Linux with Redhat configuration

Post by Jean-Yves Sim » Thu, 28 Nov 1996 04:00:00



Hi,
I have problem to get sound with my machine,
I am running Linux Redhat 4 with a Micron machine. This machine
has a soundblaster card (vibra16) integrated to the motherboard.
I have followed the SOUND howto to compile sound support in
the kernel but so far, no sound.

This is what I get when I log :

Console: 16 point font, 400 scans
Console: colour VGA+ 80x25, 1 virtual console (max 63)
pcibios_init : BIOS32 Service Directory structure at 0x000fcb80
pcibios_init : BIOS32 Service Directory entry at 0xf7862
pcibios_init : PCI BIOS revision 2.10 entry at 0xf7a4a
Probing PCI hardware.
Calibrating delay loop.. ok - 66.15 BogoMIPS
Memory: 14484k/16384k available (868k kernel code, 384k reserved, 648k data)
Swansea University Computer Society NET3.035 for Linux 2.0
NET3: Unix domain sockets 0.12 for Linux NET3.035.
Swansea University Computer Society TCP/IP for NET3.034
IP Protocols: IGMP, ICMP, UDP, TCP
VFS: Diskquotas version dquot_5.6.0 initialized
Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
Checking 'hlt' instruction... Ok.

Serial driver version 4.13 with no serial options enabled
tty00 at 0x03f8 (irq = 4) is a 16550A
tty01 at 0x02f8 (irq = 3) is a 16550A
PS/2 auxiliary pointing device detected -- driver installed.
Real Time Clock Driver v1.07
Sound initialization started  ***
Sound initialization complete ***

I then do a cat /dev/sndstat, and I get :
---------------------------------------
Sound Driver:3.5.4-960630 (Mon Nov 25 22:09:32 EST 1996 root,
Linux localhost 2.0.18 #1 Thu Nov 14 01:56:23 EST 1996 i586)
Kernel: Linux localhost 2.0.18 #4 Mon Nov 25 22:11:49 EST 1996 i586
Config options: 0

Installed drivers:
Type 1: OPL-2/OPL-3 FM
Type 2: Sound Blaster       *** No type 6 as shown in the HOWTO
Type 7: SB MPU-401

Card config:
(Sound Blaster at 0x220 irq 5 drq 1,5)
(SB MPU-401 at 0x330 irq 1 drq 0)
(OPL-2/OPL-3 FM at 0x388 drq 0)

Audio devices:
                     ** Should have something according to the HOWTO
Synth devices:
                     ** Should have something according to the HOWTO
Midi devices:
                     ** Should have something according to the HOWTO
Timers:
0: System clock

-----------------------------------------------------------

a cat of /proc/devices looks allright compares the the HOWTO

--------------------------------
Mixers:
Character devices:
 1 mem
 2 pty
 3 ttyp
 4 ttyp
 5 cua
 7 vcs
10 misc
14 sound
21 sg

Block devices:
 1 ramdisk
 2 fd
 8 sd
 9 md
11 sr

---------------------------------------------------------------

This is part of my config file to compile the kernel , I just
left the sound portion.

#
# Automatically generated make config: don't edit
#

#
# Code maturity level options
#
# CONFIG_EXPERIMENTAL is not set

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KERNELD=y

#
# Sound
#
CONFIG_SOUND=y
# CONFIG_PAS is not set
CONFIG_SB=y
CONFIG_ADLIB=y
# CONFIG_GUS is not set
# CONFIG_MPU401 is not set

   Note : If the above option CONFIG_MPU401 is set, then I cannot
   recompile the kernel. No error during the compilation but at the
   end of make zImage, I get
   Root device is (8,2)
   Boot sector is 512 bytes
   Setup is 4340 bytes
   System is 508 KB
   System is too big

   and the size of zImage is around 5KB.

# CONFIG_UART6850 is not set
# CONFIG_PSS is not set
# CONFIG_GUS16 is not set
# CONFIG_GUSMAX is not set
# CONFIG_MSS is not set
# CONFIG_SSCAPE is not set
# CONFIG_TRIX is not set
# CONFIG_MAD16 is not set
# CONFIG_CS4232 is not set
# CONFIG_MAUI is not set
CONFIG_AUDIO=y
CONFIG_MIDI=y
CONFIG_YM3812=y
SBC_BASE=220
SBC_IRQ=5
SBC_DMA=1
SB_DMA2=5
SB_MPU_BASE=330
SB_MPU_IRQ=-1
DSP_BUFFSIZE=65536
# CONFIG_LOWLEVEL_SOUND is not set

I also read one of the README to create the following devices using
the script.

total 16
lrwxrwxrwx   1 root     root           11 Nov 24 09:37 audio -> /dev/audio0
crw--w--w-   1 root     root      14,   4 Nov 24 09:37 audio0
crw--w--w-   1 root     root      14,  20 Nov 24 09:37 audio1
lrwxrwxrwx   1 root     root            9 Nov 24 09:37 dsp -> /dev/dsp0
crw--w--w-   1 root     root      14,   3 Nov 24 09:37 dsp0
crw--w--w-   1 root     root      14,  19 Nov 24 09:37 dsp1
lrwxrwxrwx   1 root     root           10 Nov 24 09:37 dspW -> /dev/dspW0
crw--w--w-   1 root     root      14,   5 Nov 24 09:37 dspW0
crw--w--w-   1 root     root      14,  37 Nov 24 09:37 dspW1
lrwxrwxrwx   1 root     root           11 Nov 24 09:37 midi -> /dev/midi00
crw-rw-rw-   1 root     root      14,   2 Nov 24 09:37 midi00
crw-rw-rw-   1 root     root      14,  18 Nov 24 09:37 midi01
crw-rw-rw-   1 root     root      14,  34 Nov 24 09:37 midi02
crw-rw-rw-   1 root     root      14,  50 Nov 24 09:37 midi03
lrwxrwxrwx   1 root     root           11 Nov 24 09:37 mixer -> /dev/mixer0
crw-rw-rw-   1 root     root      14,   0 Nov 24 09:37 mixer0
crw-rw-rw-   1 root     root      14,  16 Nov 24 09:37 mixer1
lrwxrwxrwx   1 root     root           10 Nov  9 15:23 mouse -> /dev/psaux
crw-rw-rw-   1 root     root      14,   8 Nov 24 09:37 music
crw-rw-rw-   1 root     root      14,  17 Nov 24 09:37 patmgr0
crw-rw-rw-   1 root     root      14,  33 Nov 24 09:37 patmgr1
crw-rw-r--   1 root     root      10,   1 Dec 31  1979 psaux
crw-rw-rw-   1 root     root      14,   1 Nov 24 09:37 sequencer
lrwxrwxrwx   1 root     root           10 Nov 24 09:37 sequencer2 -> /dev/music
crw-rw-rw-   1 root     root      14,   6 Nov 24 09:37 sndstat
crw-rw-r--   1 root     root       1,   5 Nov 19  1995 zero

I would appreciate some assistance and I think I have tried everything.
Thank you in advance.

--