LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Fedora core 2 no sound (https://www.linuxquestions.org/questions/fedora-35/fedora-core-2-no-sound-185411/)

RedFed 05-28-2004 12:09 AM

Mooshi

Thanks, but I already tried that. (aumix). It is on max 100

The
aplay /usr/share/sounds/generic.wav
Playing WAVE '/usr/share/sounds/generic.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono
plays a good, loud beep.

I do not know if my /etc/modprobe.conf, I posted earlier, indicate something wrong.

Still no clue.

My /sbin/lspci

00:00.0 Host bridge: nVidia Corporation nForce2 AGP (different version?) (rev c1)
00:00.1 RAM memory: nVidia Corporation nForce2 Memory Controller 1 (rev c1)
00:00.2 RAM memory: nVidia Corporation nForce2 Memory Controller 4 (rev c1)
00:00.3 RAM memory: nVidia Corporation nForce2 Memory Controller 3 (rev c1)
00:00.4 RAM memory: nVidia Corporation nForce2 Memory Controller 2 (rev c1)
00:00.5 RAM memory: nVidia Corporation nForce2 Memory Controller 5 (rev c1)
00:01.0 ISA bridge: nVidia Corporation nForce2 ISA Bridge (rev a4)
00:01.1 SMBus: nVidia Corporation nForce2 SMBus (MCP) (rev a2)
00:02.0 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
00:02.1 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
00:02.2 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
00:05.0 Multimedia audio controller: nVidia Corporation nForce MultiMedia audio [Via VT82C686B] (rev a2)
00:06.0 Multimedia audio controller: nVidia Corporation nForce2 AC97 Audio Controler (MCP) (rev a1)
00:08.0 PCI bridge: nVidia Corporation nForce2 External PCI Bridge (rev a3)
00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2)
00:0c.0 PCI bridge: nVidia Corporation nForce2 PCI Bridge (rev a3)
00:0d.0 FireWire (IEEE 1394): nVidia Corporation nForce2 FireWire (IEEE 1394) Controller (rev a3)
00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev c1)
01:09.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
01:09.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
02:01.0 Ethernet controller: 3Com Corporation 3C920B-EMB Integrated Fast Ethernet Controller [Tornado] (rev 40)
03:00.0 VGA compatible controller: ATI Technologies Inc Radeon R100 QD [Radeon 7200]

jspaar 05-28-2004 02:26 AM

@vramamur:
Well I'm stumped. You're saying aplay makes sound fine, but your apps don't.
I don't know what would cause this.
One thing you might try is run xmms if you have it installed, and try each of the different sound output options to see if any of them work. They are in options->preferences->audio I/O plug-ins->Output plug-ins. If aplay works, I would think that the alsa output plugin should work in xmms, but ??

[edit: Oh - and while you're debugging sound, make sure you only have one sound application open at a time. Start the apps from a command line so that you can see any errors that they might print out.]

Anybody else have ideas?

kevinm 05-28-2004 04:59 PM

As a suggestion wonder if OP was using KDE as desktop WM as mentioned using KsCD, in FC1 there were some issues with aRTS trying to appropriate sound drivers under KDE 3.2 (I think). In this problem then KDE would try to play system sounds and restart aRTS server, which conflicted with ALSA config.

My eventual solution was to kill aRTS, chmod 000 on it and then restart X.
HTH

jspaar 05-28-2004 05:22 PM

Sounds like a good call. Other people on fedora-list said the same thing - they had to turn off artsd to get sound working in KDE. The chmod 000 thing will work, but the "official" KDE way that someone posted was:
The "Control Center" applet | Sound and Multimedia | Sound System | General Tab | uncheck "enable sound system"

Stecco 05-29-2004 08:50 AM

Hi everybody, I'm new to this forum but not so new to linux.

I've recently upgraded my FC1 to FC2.

I've a similar problem to other people here, that is the sound is defaulted to "off" when the system starts. But if I give "alsactl restore", everything works fine.

So the problem is: how to make the system do "alsactl restore" automatically at system boot? With Gentoo I had a /etc/init.d/alsa script, but as far as I've understood in Fedora Core 2 you've to act on modprobe.conf. So, here's mine (with some lines taken off):

$ cat /etc/modprobe.conf
# Note: for use under 2.4, changes must also be made to modules.conf!
alias snd-card-0 snd-intel8x0
install snd-card-0 /sbin/modprobe --first-time --ignore-install snd-card-0 && { /usr/sbin/alsactl restore >/dev/null 2>&1 || :; }
remove snd-card-0 { /usr/sbin/alsactl store >/dev/null 2>&1 || :; } ; /sbin/modprobe -r --first-time --ignore-remove snd-card-0

Why this doesn't work? Why do I still have to do "alsactl restore" manually?

Thank for your answers.

vramamur 05-29-2004 10:13 AM

Hurray
 
The checking "OFF" the sound on startup on KDE DID THE trick. I get my sounds and the music from CD working. I am using a Sound Blaster 5.1 and am getting sounds only from the front. left and right speakers. NOthing from my rear and rear center speakers. Any suggestions?

THanks
Vignesh

jspaar 05-29-2004 02:39 PM

@Stecco:
On one box I think I fixed this problem by using the actual module name instead of the alias in the 2 install/remove lines. LIke this:
install snd-intel8x0 /sbin/modprobe --ignore-install snd-intel8x0 && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-intel8x0 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove

@vramamur:
Great you got it working, and thanks for posting back so others will know how to fix KDE sound.
For the rear speakers check out this page: emu10k1 docs -- see section 2.
If you run alsamixer in a terminal, don't forget to scroll over with the right-arrow key to the sliders that don't fit on the first page. ;)

Stecco 05-29-2004 04:26 PM

Quote:

Originally posted by jspaar
[B]@Stecco:
On one box I think I fixed this problem by using the actual module name instead of the alias in the 2 install/remove lines. LIke this:
install snd-intel8x0 /sbin/modprobe --ignore-install snd-intel8x0 && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-intel8x0 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove
Thank you, jspaar, it seems like it worked. I had found a similar solution googling, but some little differences made it not to work, I suppose.

jonas73 05-29-2004 05:30 PM

i had a similar problem and found that it was the --first-time that was the culprit, not the soundcard alias. when i took that out everything worked fine.

abd_bela 05-30-2004 04:57 AM

hi, every body,
I have the same problem as you, but I could'nt fix it.
The volume is correctly set
the file /etc/modprobe.conf contains the correct parameters


alias snd-card-0 snd-intel8x0
install snd-intel8x0 /sbin/modprobe --ignore-install snd-intel8x0 && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-intel8x0 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-intel8x0
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd

when I ran the config sound , the card is recognize. but no sound.
strange

any idea is welcome
thanks a lot
bela

flysideways 05-30-2004 09:28 AM

Wierdness, I have recently installed FC2 first on a Toshiba M10-S405 laptop, er.. notebook, and an ECS K7S5A based desktop. The sound works on the desktop. I discovered after seeing some of these posts that the sound wasn't working on my laptop. It seemed to me that I remembered the sound test working at the install. On a site about enabling all the missing multimedia for FC I saw a reference to /dev/dsp and its ownership. Both computers have /dev/dsp permissions as file owner: my username and file group: root. On the laptop I reset the file group to my username and sound worked. Now that I've rebooted ,just to see, the sound still works but /dev/dsp file group is again set to root.
I have no idea what is going on here, I just know that my previously not working sound works as expected, at least as tested with the game Stones. Maybe some of you are experiencing the same wierdness that my laptop did.

I did all of this using GUI tools. Also ,as an aside, in order to browse the file system the old way, not spatially or whatever you properly call Fedora's new default way, I just go to the redhat then browse file system. Had to say that because of all of the trashing that FC2 has been getting on the web for changing how file systems are browsed. I have had mixed results with the new way and find myself using the old method most.

the_halfling 05-30-2004 12:11 PM

Similar issue...
 
Greetings:

I have read these posts and tried several solutions to no avail. I also have no sound. During the initial setup of the OS the sound card is detected correctly and I hear the test sound play. Once I login there is no sound whatsoever. Whenever I try to play a sound or listen to a CD the program used behaves normally except that no sound is heard. I loaded XP on the same system and am able to hear sound normally so the hardware is functioning. Here is the info I have gathered so far:

"[root@localhost etc]# cat modprobe.conf
alias eth0 3c59x
alias snd-card-0 snd-emu10k1
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-emu10k1 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-emu10k1
alias usb-controller uhci-hcd"

I have a Creative Labs Audigy Gamer so this appears to be correct.

When trying to play a wav file:

"[root@localhost etc]# aplay /usr/share/sounds/generic.wav
Playing WAVE '/usr/share/sounds/generic.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono"

The program terminates without error but no sound is heard.

"[root@localhost etc]# /sbin/lspci
00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-760 [IGD4-1P] System Controller (rev 13)
00:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-760 [IGD4-1P] AGP Bridge
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 40)
00:07.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:07.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1a)
00:07.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1a)
00:07.4 SMBus: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)
00:08.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 34)
00:0f.0 Multimedia audio controller: Creative Labs SB Audigy (rev 03)
00:0f.1 Input device controller: Creative Labs SB Audigy MIDI/Game port (rev 03)
00:0f.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port
01:05.0 VGA compatible controller: nVidia Corporation NV20 [GeForce3 Ti 200] (rev a3)"

LSPCI also seems to indicate that the card was detected properly.

Now here is the kicker, if I run the info center under the system tool menu I get the following information about my sound:

"Sound Driver:3.8.1a-980706 (ALSA v1.0.4rc2 emulation code)
Kernel: Linux localhost.localdomain 2.6.5-1.358 #1 Sat May 8 09:04:50 EDT 2004 i686
Config options: 0

Installed Drivers:
Type 10: ALSA emulation

Card config:
Sound Blaster Audigy (rev.3) at 0xe400, irq 5

Audio devices: NOT ENABLED IN CONFIG

Synth devices: NOT ENABLED IN CONFIG

Midi devices:
0: Audigy MPU-401 (UART)

Timers:
7: system timer

Mixers: NOT ENABLED IN CONFIG"


I will not lie and pretend that I understand the Fedora sound system at all. Unlike other configuration files the modprobe.conf has no internal notes on settings and does not seem to have a terribly clear syntax. If anyone could point out where I have gone wrong I would appreciate it.

Thanks!

The Halfling

vramamur 05-30-2004 05:46 PM

Something more strange
 
I got the sound working like you read in the earlier post but only my 2 front speakers. SO based on the advice of jspaar, I read up the documentation on the emu10k web site and decided to get the RPM for gnome-alsamixer front end. On that front end I tried to play with the sliders and found something more strange.

The "Phone" slider seems to be controlling the volume instead of the "Master". Even if I mute the MAster, the sound still keeps coming out of the speakers until the "Phone" is muted. So essentially it looks like the "Phone" slider seems to be the MAsTER.

Does anybody else see a behavior like this?

THANKS

vramamur 05-30-2004 06:26 PM

Also........
 
It looks like the sound is being controlled by the " Audio Mixer oss" as opposed to "Alsa Mixer" . How do I force the system to control sound by the Alsa MIxer rather than Audio Mixer?

Thanks

forostie 05-31-2004 02:24 AM

Hey guys,
My recent upgrade from FC1 to FC2 sucked it hard. My mouse refused to work but what bothers me most is the sound problem also. FC1 didnt register my soundcard present (ESS ES1868 PnP Audiodrive), but sound still ran through applications and on desktop. my /sbin/lspci reads:
/sbin/lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x] (rev 44)
00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C596 ISA [Mobile South] (rev 23)
00:07.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE (rev 10)
00:07.2 USB Controller: VIA Technologies, Inc. USB (rev 11)
00:07.3 Host bridge: VIA Technologies, Inc. VT82C596 Power Management (rev 30)
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 86C326 5598/6326 (rev 92)

Now, I cant see a multimedia controller there, which I believe poses a problem. Also, on FC1 when the login screen loaded, the computer made a "beep" sound. It isnt present now, but has it been removed? I cant tell.
Can anybody help?


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