LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-08-2004, 02:07 AM   #16
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53

Well it's wierd that a card should work yet not show up in lspci but hey, as long as it works. Is all good now? If you want to keep your sound levels stored between boots then you have to run alsactl store on shutdown and alsactl restore on boot. All should be well then.
 
Old 08-08-2004, 10:58 AM   #17
oxman
Member
 
Registered: Mar 2002
Location: Oregon
Distribution: Ubuntu
Posts: 44

Original Poster
Rep: Reputation: 15
Well I'm not going to give up on it so quick. (although in the long run this setup might be better) I need full capacity with sound (as funky as the old card is) beause I put custom sound files in animations made in blender. Just for kicks this morning I pulled the sound card and will reinstall it after I answer the email etc. I really would like to have the system sounds also. That's what I get for cutting edge software on dinosaur computer (and dinosaur user )Thanks for the help adz. You have been an encouragement. I'm going to go through the entire alsa site and see if I can streamline this stuff. I'll let you know what comes of it.
 
Old 08-08-2004, 06:52 PM   #18
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
I thought you said sound worked... You said the following previously:
Quote:
xmms plays ogg files
 
Old 08-08-2004, 07:26 PM   #19
oxman
Member
 
Registered: Mar 2002
Location: Oregon
Distribution: Ubuntu
Posts: 44

Original Poster
Rep: Reputation: 15
xmms does work and so does my cd player but I still am not getting system sounds nor my card detection. I found that there are others "out there" with an identical problem with the same card. The alsa driver doesnot do auto probe. I believe that is the problem. Now I'm stuck with the fact that /etc does not contain the file /etc/isapnp and I am unfamiliar with the method to do the sound configuration using alsa. I would also like to know how to store the alsa settings. I do not know how to run alsactl store on shutdown and alsactl restore on boot It sounds like a not wanted step (I'm trying to ge my wife to use linux also)


OK I did make somewhat of a discovery but i am at a loss to find the files i need in /etc. Here is what I found
Quote:
Yamaha OPL3-SA2/SA3 soundcards (*)

Just "modprobe snd-opl3sa" will not work, this driver does not do autoprobing. See below.
and also:
Quote:
OPL3-SA2 and OPL3-SA3

According to the INSTALL file you need to supply all the information for this driver. If you initialized the card with the isapnp-tools, you can probably get info from the /etc/isapnp.conf file for the following values:

snd_port - control port # for OPL3-SA chip
snd_wss_port - WSS port # for OPL3-SA chip (0x530,0xe80,0xf40,0x604)
snd_midi_port - port # for MPU-401 UART (0x300,0x330), -1 = disable
snd_fm_port - FM port # for OPL3-SA chip (0x388), -1 = disable
snd_irq - IRQ # for OPL3-SA chip (5,7,9,10)
snd_dma1 - first DMA # for Yamaha OPL3-SA chip (0,1,3)
snd_dma1_size - max first DMA size in kB (4-64kB)
snd_dma2 - second DMA # for Yamaha OPL3-SA chip (0,1,3), -1 = disable
snd_dma2_size - max second DMA size in kB (4-64kB)

You would do a "modprobe snd-card-opl3sa snd_port=0xNNN snd_wss_port=0x530 snd_midi_port=-1 snd_fm_port=0x388 snd_irq=5 snd_dma1=0 snd_dma1_size=NN snd_dma2=1 snd_dma2_size=NN" to load this driver (without midi-support. I am still convinced that midi-support is the thing you need when you have synthesizers and stuff and want to connect them to your Linux box. Never needed Midi-support even to play midi-files.)

Note that the "NN" values need to be supplied, only I do not know what would be reasonable values. I do not know if the dma size option is really required.

If you use the driver from 0.3.0-pre4, then leave out the ``card-'' part in the name.

It is apparent to me that the /etc files for rh9 and fc2 are radically different. Any leads are appreciated. Isn't there a standard of some kind for linux files? How come all of the tutorials send me to non existance directories and files in fedora core 2?
 
Old 08-08-2004, 08:47 PM   #20
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Is the card ISA? Geez I didn't realise it was that old. That's why it doesn't show up in lspci. A lack of system sounds is not necessarily a problem with the drivers. Are you using KDE? There may be a problem (as usual) with aRTs... or eSound for Gnome. Are they running? Are you playing music while listening for system sounds?

Quote:
I would also like to know how to store the alsa settings. I do not know how to run alsactl store on shutdown and alsactl restore on boot It sounds like a not wanted step (I'm trying to ge my wife to use linux also)
Well that's a slightly distro-specific problem. You have to add alsactl (re)store to your startup and shutdown scripts which is different per each distro. It's usually in /etc/rc.local/ or /etc/rc.<something>/. In Debian, they're located in /etc/init.d/ and /etc/rcX.d/. I'm not sure what you mean by an "unwanted step".

You can also load the isapnp module and use the isapnp-tools apps. I've never used them myself, though. But if it works, it works. I don't think you need to do this.

Last edited by adz; 08-08-2004 at 09:19 PM.
 
Old 08-08-2004, 10:15 PM   #21
oxman
Member
 
Registered: Mar 2002
Location: Oregon
Distribution: Ubuntu
Posts: 44

Original Poster
Rep: Reputation: 15
It's not quite as old as I am - 6/1/47 -

I have yet to get a single system sound. I'm running gnome but I did install the kde desktop option. I use various kde apps that gnome doesn't seem to have.

ok, I must confess that the idea of editing what I don't understand freaks me but I'm game if someone will "walk me through or point me to"

Here's my /etc/rc.local
Code:
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
                                                                                
touch /var/lock/subsys/local
That's it! I've used vim a few times to edit fstab and /mnt.
 
Old 08-09-2004, 12:49 AM   #22
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
OK that's a startup script. Just add the line "alsactl restore" to the end there. You also need to find your shutdown script and get that to run alsactl store otherwise the previous line wont do a lot of good. A good idea would be to run the command alsactl store manually (as root) after setting your mixer to the appropriate levels. That way you:
1. Check to see if the command works (you may also want to check the restore command)
2. Give yourself a good default in case you can't find your shutdown script(s).
 
Old 08-12-2004, 07:26 PM   #23
jgr00
LQ Newbie
 
Registered: Aug 2004
Location: Oustide Chicago, IL
Distribution: Fedora Core 2
Posts: 5

Rep: Reputation: 0
Unhappy No Soundcard Detected (Too)

I am a newbie to Fedora and basically to Linux (I do have some limited Solaris experience). I seem to have the same problem. I installed Fedora Core 2 on a Dell Optiplec GX1 (this is a test bed system). Here is what Windows XP shows the sound card as, it is the integrated sound card on the mother board of this system:

Crystal WDM Audio Codec

Device type: Sound, video and game controllers

Manufacturer: Crystal Semiconductor

Location: on Intel 82371AB/EB PCI to ISA bridge (ISA mode)



Crystal WDM Audio Control Registers

Device type: Sound, video and game controllers

Manufacturer: Crystal Semiconductor

Location: on Intel 82371AB/EB PCI to ISA bridge (ISA mode)



Crystal WDM MPU-401 Compatible

Device type: Sound, video and game controllers

Manufacturer: Crystal Semiconductor

Location: on Intel 82371AB/EB PCI to ISA bridge (ISA mode)

Here is what the commands that you suggested be run give me, And I can still not get the sound to work at ALL! Can you help me?

[root@Fedora root]# lspci
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)
00:0f.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 03)
00:11.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 24)
01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro AGP 1X/2X (rev 5c)
02:0b.0 Communication controller: Lucent Microelectronics LT WinModem (rev 02)
[root@Fedora root]# cd /lib/modules
[root@Fedora modules]# find -iname *opl3*
./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/kernel/sound/isa/snd-opl3sa2.ko
./2.6.5-1.358/build/sound/drivers/opl3
./2.6.5-1.358/build/include/sound/opl3.h
./2.6.5-1.358/build/include/config/snd/opl3
./2.6.5-1.358/build/include/config/snd/opl3sa2
./2.6.7-1.494.2.2/kernel/sound/drivers/opl3
./2.6.7-1.494.2.2/kernel/sound/drivers/opl3/snd-opl3-synth.ko
./2.6.7-1.494.2.2/kernel/sound/drivers/opl3/snd-opl3-lib.ko
./2.6.7-1.494.2.2/kernel/sound/isa/snd-opl3sa2.ko
./2.6.7-1.494.2.2/build/sound/drivers/opl3
./2.6.7-1.494.2.2/build/include/sound/opl3.h
./2.6.7-1.494.2.2/build/include/config/snd/opl3
./2.6.7-1.494.2.2/build/include/config/snd/opl3sa2
[root@Fedora modules]# cd /
[root@Fedora /]# modprobe modprobe snd-opl3sa2
FATAL: Module modprobe not found.
[root@Fedora /]# modprobe snd-opl3sa2
FATAL: Error inserting snd_opl3sa2 (/lib/modules/2.6.7-1.494.2.2/kernel/sound/isa/snd-opl3sa2.ko): No such device
[root@Fedora /]# lspci -v
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 f0000000 (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 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
I/O behind bridge: 0000e000-0000efff
Memory behind bridge: fc000000-feffffff
Prefetchable memory behind bridge: f6000000-f6ffffff
Expansion ROM at 0000e000 [disabled] [size=4K]

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 32
I/O ports at ffa0 [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 11
I/O ports at cce0 [size=32]

00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
Flags: medium devsel, IRQ 9

00:0f.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, medium devsel, latency 64
Bus: primary=00, secondary=02, subordinate=02, sec-latency=64
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: fa000000-fbffffff
Prefetchable memory behind bridge: 00000000f5000000-00000000f5f00000
Expansion ROM at 0000d000 [disabled] [size=4K]
Capabilities: [dc] Power Management version 1

00:11.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 24)
Subsystem: Dell Computer Corporation 3C905B Fast Etherlink XL 10/100
Flags: bus master, medium devsel, latency 64, IRQ 11
I/O ports at cc00 [size=f9000000]
Memory at ff000000 (32-bit, non-prefetchable) [size=128]
Expansion ROM at 00020000 [disabled]
Capabilities: [dc] Power Management version 1

01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro AGP 1X/2X (rev 5c) (prog-if 00 [VGA])
Subsystem: Dell Computer Corporation Optiplex GX1 Onboard Display Adapter
Flags: bus master, stepping, medium devsel, latency 64, IRQ 9
Memory at fd000000 (32-bit, non-prefetchable)
I/O ports at ec00 [size=256]
Memory at fcfff000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [50] AGP version 1.0

02:0b.0 Communication controller: Lucent Microelectronics LT WinModem (rev 02)
Subsystem: Zoom Telephonics Inc: Unknown device 9300
Flags: bus master, medium devsel, latency 64, IRQ 9
Memory at fafffc00 (32-bit, non-prefetchable)
I/O ports at dcf8 [size=8]
I/O ports at d800 [size=256]
Capabilities: [f8] Power Management version 2


Any help would be greatly appreciated.

Thanks,

Jim Rausch
 
Old 08-27-2004, 09:32 AM   #24
oxman
Member
 
Registered: Mar 2002
Location: Oregon
Distribution: Ubuntu
Posts: 44

Original Poster
Rep: Reputation: 15
What did you finally come up with? I switched cards and I have sound on FC2. Now I'm facing the nightmare of get simple midi's to play? It's a great system but the sound end of it is pretty funky compared to previous RH releases.

Last edited by oxman; 08-27-2004 at 09:34 AM.
 
Old 08-27-2004, 09:34 PM   #25
jgr00
LQ Newbie
 
Registered: Aug 2004
Location: Oustide Chicago, IL
Distribution: Fedora Core 2
Posts: 5

Rep: Reputation: 0
Unhappy

Oxman,

I didn't get any reply using this thread so I posted a new one. In it I explain what I did to get all the sound things to work on my PC but it is lost on each reboot and I have to set the parms again. See the posting "Sound card not detected by Fedora Core 2 and no sound." , posted by me jgr00. This may or may not help as I think you went through this already. I agree from what I have seen posted (I did not use the older Fedora), they changed something in Core 2 that messed up the sound card detection. It will probably be fixed at some point, the problem is it may be later than sooner.

Jim Rausch
 
Old 08-28-2004, 12:51 AM   #26
oxman
Member
 
Registered: Mar 2002
Location: Oregon
Distribution: Ubuntu
Posts: 44

Original Poster
Rep: Reputation: 15
I think overall the alsa is going to be THE way to go. Unfortunately it is not up to snuff yet in Fedora. I installed alsa in rh9 and it worked great, in fact much better than it does in fc2. You saw my solution. Well now I'm trying to get alsa to play midi files and there are some major hurdles. I've installed timidity++ and I am trying to get alsa in sync with it What are you going to do for a solution for your set up?
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 10:42 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration