LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 08-03-2004, 10:46 PM   #1
oxman
Member
 
Registered: Mar 2002
Location: Oregon
Distribution: Ubuntu
Posts: 44

Rep: Reputation: 15
No soundcard detection


I've been running RH 9 for some time with no sound problems. After installing Fedora Core 2 my sound card (opl3sax) is not detected and I have no sound. Alsa drivers support the card.
After running modprobe snd-card-opl3sa2 I get :

FATAL: Module snd_card_opl3sa2 not found.

If I do soundcard detection I get:

No sound cards detected

Any help would be greatly appreciated.
 
Old 08-04-2004, 07:03 AM   #2
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Can you post the output of lspci please?
 
Old 08-04-2004, 08:42 AM   #3
oxman
Member
 
Registered: Mar 2002
Location: Oregon
Distribution: Ubuntu
Posts: 44

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by adz
Can you post the output of lspci please?
Only if you teach me how to install and use debian I have been wanting to for years. Thanks for the reply.

Below is the lspci print:

00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
00:07.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
01:00.0 VGA compatible controller: S3 Inc. Savage 4 (rev 03)
 
Old 08-05-2004, 08:58 AM   #4
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
OK. Could you now please post the output of lspci -v? It seems that your sound card is not getting picked up by the PCI bus. This is the output of lspci on my computer and I've bolded the important bit:
Code:
0000:00:00.0 Host bridge: Intel Corp. 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 01)
0000:00:02.0 VGA compatible controller: Intel Corp. 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01)
0000:00:1d.0 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
0000:00:1d.1 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
0000:00:1d.2 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
0000:00:1d.7 USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0 EHCI Controller (rev 01)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 81)
0000:00:1f.0 ISA bridge: Intel Corp. 82801DB/DBL (ICH4/ICH4-L) LPC Bridge (rev 01)
0000:00:1f.1 IDE interface: Intel Corp. 82801DB/DBL (ICH4/ICH4-L) UltraATA-100 IDE Controller (rev 01)
0000:00:1f.3 SMBus: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 01)
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
0000:01:08.0 Ethernet controller: Intel Corp. 82801BD PRO/100 VE (CNR) Ethernet Controller (rev 81)
You seem to be missing that bit (that I've bolded). If nothing like that comes up under lspci -v then try the following:

1. Make sure your card is properly inserted into the PCI slot. Possibly take it out and put it back in.

2. Use a different PCI slot.

3. Take your card out, clean the connectors with something like ethanol, methylated spirirts, methanol, isopropanol, etc. Do not use water, acetone or any petroleum based products.

4. If all of those fail, try booting another OS (if available) or putting the card into another computer to see if it gets detected.

Quote:
Only if you teach me how to install and use debian I have been wanting to for years.
Well there are a lot of tutorials and HOWTOs out there. I suggest trying those. There is a good one here. It's actually not as hard as some people make it out to be. I didn't use any tutorials and it worked just fine. If you have already tried and failed then you'd have to specify where you failed and what (if any) error messages you got.

Last edited by adz; 08-05-2004 at 09:06 AM.
 
Old 08-05-2004, 11:33 AM   #5
oxman
Member
 
Registered: Mar 2002
Location: Oregon
Distribution: Ubuntu
Posts: 44

Original Poster
Rep: Reputation: 15
Thanks for the reply mate!

Nothing even comes close to your code. Fedora is just not picking up my sound card. The card is now working quite well in another OS and did quite well in RH9. I wish I would have backed up /etc of RH9.

Thanks for the lead on the tutorial.

Stanley




Code:
00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
        Flags: bus master, medium devsel, latency 64
        Memory at ec000000 (32-bit, prefetchable)
        Capabilities: [a0] AGP version 1.0
 
00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03) (prog-if 00 [Normal decode])
        Flags: bus master, 66Mhz, medium devsel, latency 128
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
        Memory behind bridge: e8000000-e80fffff
        Prefetchable memory behind bridge: f0000000-f7ffffff
 
00:07.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
        Flags: bus master, medium devsel, latency 0
 
00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01) (prog-if 80 [Master])
        Flags: bus master, medium devsel, latency 64
        I/O ports at 1020 [size=16]
 
00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01) (prog-if 00 [UHCI])
        Flags: bus master, medium devsel, latency 64, IRQ 9
        I/O ports at 1000 [size=32]
 
00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
        Flags: medium devsel, IRQ 9
 
01:00.0 VGA compatible controller: S3 Inc. Savage 4 (rev 03) (prog-if 00 [VGA])
        Subsystem: Diamond Multimedia Systems SpeedStar A200
        Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 11
        Memory at e8000000 (32-bit, non-prefetchable)
        Memory at f0000000 (32-bit, prefetchable) [size=128M]
        Capabilities: [dc] Power Management version 1
        Capabilities: [80] AGP version 2.0
 
Old 08-05-2004, 07:11 PM   #6
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
OK. Can you go to /lib/modules and do a find -iname *opl3*. Then try modprobing any modules that come up.

If that fails then I'm out of ideas. It's strange that the card would not get picked up by Fedora since I always thought that the lspci code was the same everywhere. Usually, if Linux doesn't know what it is it just prints "unknown device" but still gives the vital statistics.
 
Old 08-05-2004, 11:30 PM   #7
oxman
Member
 
Registered: Mar 2002
Location: Oregon
Distribution: Ubuntu
Posts: 44

Original Poster
Rep: Reputation: 15
adz, thanks so much for your time. Here's what /lib/modules and do a find -iname *opl3* gives me.

Code:
./2.6.5-1.358/kernel/sound/isa/snd-opl3sa2.ko
./2.6.5-1.358/kernel/sound/drivers/opl3
./2.6.5-1.358/kernel/sound/drivers/opl3/snd-opl3-synth.ko
./2.6.5-1.358/kernel/sound/drivers/opl3/snd-opl3-lib.ko
./2.6.5-1.358/build/sound/drivers/opl3
./2.6.5-1.358/build/include/config/snd/opl3
./2.6.5-1.358/build/include/config/snd/opl3sa2
./2.6.5-1.358/build/include/sound/opl3.h
Looks like the drivers are there to me. I'll just have to keep at it.
Thanks again.
Stanley
 
Old 08-06-2004, 09:36 AM   #8
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
well, above you stated that you used the command modprobe snd-card-opl3sa2. If this is not a typo then you should have typed modprobe snd-opl3sa2. Try that and see what happens.
 
Old 08-06-2004, 10:19 AM   #9
oxman
Member
 
Registered: Mar 2002
Location: Oregon
Distribution: Ubuntu
Posts: 44

Original Poster
Rep: Reputation: 15
Well, I guess that's progress. Instead of the "FATAL" I just get # and a flashing curser with no print out? when doing > modprobe snd-opl3sa2
 
Old 08-06-2004, 08:41 PM   #10
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Does sound work after that? Does snd-opl3sa2 show up in the output of lsmod? Does anything change in lspci?
 
Old 08-07-2004, 01:13 AM   #11
oxman
Member
 
Registered: Mar 2002
Location: Oregon
Distribution: Ubuntu
Posts: 44

Original Poster
Rep: Reputation: 15
greetings again adz and thank you.

Still no change in performance. The sound card is not detected. One thing did change though and that was the lsmod print out. Here it is:

Code:
snd_opl3sa2            13284  4
snd_opl3_lib            7424  1 snd_opl3sa2
snd_hwdep               6276  1 snd_opl3_lib
snd_cs4231_lib         18948  1 snd_opl3sa2
snd_mpu401_uart         4864  1 snd_opl3sa2
snd_rawmidi            17184  1 snd_mpu401_uart
snd_seq_device          6152  2 snd_opl3_lib,snd_rawmidi
snd_pcm                68872  2 snd_opl3sa2,snd_cs4231_lib
snd_page_alloc          7940  2 snd_cs4231_lib,snd_pcm
snd_timer              17156  3 snd_opl3_lib,snd_cs4231_lib,snd_pcm
                                                                                
snd_mixer_oss          13824  2
snd                    38372  14 snd_opl3sa2,snd_opl3_lib,snd_hwdep,snd_cs4231_lib,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_pcm,snd_timer,snd_mixer_oss
soundcore               6112  3 snd
One peculiarity is that my first printout was
Code:
snd_opl3sa2            13284  0
After redoing the lsmod it changed to 4

Also the gnome alsa mixer recognizes the card but gives me no options to open a file
 
Old 08-07-2004, 03:20 AM   #12
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Does anything change in lspci? Post the results again, please (after inserting the modules).

Also, did you install the alsa-libs and alsa-utils (they will be available from the same place you got the drivers)? If not, then do so. Once you have done that run an app called alsamixer and raise all the levels to something close to 100% and try to play a sound. Preferably not an audio CD.
 
Old 08-07-2004, 07:31 PM   #13
oxman
Member
 
Registered: Mar 2002
Location: Oregon
Distribution: Ubuntu
Posts: 44

Original Poster
Rep: Reputation: 15
argh!!!! I just rebooted and lost all of the sound again. Going to the alsamixer shows that the default settings are back where they were. There are no changes in lspci. and lsmod shows only 0 as user for snd_opl3sa2. Do you think it's a permissions problem? Can't see that because i tried logging on as root and still no joy? I reset the alsamixer as root and I have the CD again etc.

There are no changes in lspci. The drivers modules are not being loaded. Can you make anything of it?
 
Old 08-07-2004, 09:35 PM   #14
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
I assume since you're using alsamixer that you have the alsa libs and utils installed.

Quote:
Going to the alsamixer shows that the default settings are back where they were.
Meaning what exactly? They've gone back to zero/muted? That's normal behaviour. There is a way to save your settings with alsactl but don't worry about that yet.

Quote:
Do you think it's a permissions problem?
No I don't think so. But to be sure make sure you're part of the group that has ownership over the sound devices. In Debian it's the "audio" group.

Quote:
I reset the alsamixer as root and I have the CD again etc.
you don't need to do it as root and what CD are you talking about? I said test the sound with something other than an audio CD.

Quote:
There are no changes in lspci. The drivers modules are not being loaded. Can you make anything of it?
I don't understand. First you say snd-opl3sa2 shows up in lsmod (and is therefore loaded) then you say that the driver modules aren't loaded. Which is it?
 
Old 08-08-2004, 12:42 AM   #15
oxman
Member
 
Registered: Mar 2002
Location: Oregon
Distribution: Ubuntu
Posts: 44

Original Poster
Rep: Reputation: 15
yes the alsa libs and utils are installed

xmms plays ogg files

modules must be loaded then. just the sound card is not detected? i assumed that if the sound card is not detected the modules wouldn't be loaded. The system sound card detection utility says, "no sound card detected".

for the record lspci -v

Code:
00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
        Flags: bus master, medium devsel, latency 64
        Memory at ec000000 (32-bit, prefetchable)
        Capabilities: [a0] AGP version 1.0
 
00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03) (prog-if 00 [Normal decode])
        Flags: bus master, 66Mhz, medium devsel, latency 128
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
        Memory behind bridge: e8000000-e80fffff
        Prefetchable memory behind bridge: f0000000-f7ffffff
 
00:07.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
        Flags: bus master, medium devsel, latency 0
 
00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01) (prog-if 80 [Master])
        Flags: bus master, medium devsel, latency 64
        I/O ports at 1020 [size=16]
 
00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01) (prog-if 00 [UHCI])
        Flags: bus master, medium devsel, latency 64, IRQ 9
        I/O ports at 1000 [size=32]
 
00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
        Flags: medium devsel, IRQ 9
 
01:00.0 VGA compatible controller: S3 Inc. Savage 4 (rev 03) (prog-if 00 [VGA])
        Subsystem: Diamond Multimedia Systems SpeedStar A200
        Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 11
        Memory at e8000000 (32-bit, non-prefetchable)
        Memory at f0000000 (32-bit, prefetchable) [size=128M]
        Capabilities: [dc] Power Management version 1
        Capabilities: [80] AGP version 2.0
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Soundcard Detection Problems ShatteredFlames Linux - Hardware 1 12-27-2004 04:16 PM
soundcard detection problems darkangel29 Linux - Newbie 2 11-08-2004 12:10 PM
Soundcard detection gagda1 Linux - Newbie 1 10-13-2004 10:32 AM
no soundcard detection denzil Linux - Newbie 3 09-30-2003 08:56 AM
SoundCard Detection Problem qtzaman Linux - Hardware 3 07-29-2003 08:05 AM


All times are GMT -5. The time now is 08:04 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration