LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 11-18-2004, 01:37 AM   #16
allforcarrie
Member
 
Registered: Sep 2004
Distribution: Ubuntu
Posts: 157

Rep: Reputation: 30

i was having the same trouble i guess mandrake doesnt support nvidia base audio...... mine just started working.... it was wierd.
 
Old 11-18-2004, 07:49 AM   #17
xxvm1
Member
 
Registered: Jul 2004
Distribution: WinXP Pro, Mandrake 10
Posts: 88

Original Poster
Rep: Reputation: 15
i'm now getting loud crackling from my speakers with normal found faintly in the background.

I think i'm damned to never have proper sound
 
Old 11-18-2004, 09:39 AM   #18
allforcarrie
Member
 
Registered: Sep 2004
Distribution: Ubuntu
Posts: 157

Rep: Reputation: 30
turn your wav volume down and speakers up.
 
Old 11-18-2004, 12:26 PM   #19
xxvm1
Member
 
Registered: Jul 2004
Distribution: WinXP Pro, Mandrake 10
Posts: 88

Original Poster
Rep: Reputation: 15
How do i turn WAV volume down? Mandrake 10 appears to have no kind of volume controls.
 
Old 11-18-2004, 02:40 PM   #20
Wyk3d
LQ Newbie
 
Registered: Jul 2004
Distribution: Mandrake Linux 9.1
Posts: 23

Rep: Reputation: 15
-Try using the 'alsamixer' command for volumes.

Alsa not loading on boot can have several causes. First you should check these:

1) Check if when booting mandrake you get 'Loading sound module [OK]' and a 'Loading mixer settngs [OK]' messages.
2) Before and after you start alsa from mcc you should run the following command and compare the output:
'lsmod | grep snd'
(post the two outputs)

There may be several ways to solve this but i should see these results first.

Steve

Last edited by Wyk3d; 11-18-2004 at 02:41 PM.
 
Old 11-18-2004, 03:25 PM   #21
allforcarrie
Member
 
Registered: Sep 2004
Distribution: Ubuntu
Posts: 157

Rep: Reputation: 30
turn labels on in mixer and adjust the wav volume or just mess around with levels.
 
Old 11-18-2004, 06:10 PM   #22
xxvm1
Member
 
Registered: Jul 2004
Distribution: WinXP Pro, Mandrake 10
Posts: 88

Original Poster
Rep: Reputation: 15
Before ALSA was started in MCC:

snd-usb-audio 68064 0
snd-rawmidi 24288 1 snd-usb-audio
snd-seq-device 8232 1 snd-rawmidi
snd-pcm 99300 1 snd-usb-audio
snd-page-alloc 12484 1 snd-pcm
snd-timer 25604 1 snd-pcm
snd 54756 5 snd-usb-audio,snd-rawmidi,snd-seq-device,snd-pcm,snd-timer
soundcore 9664 1 snd
usbcore 104604 6 hid,snd-usb-audio,ehci-hcd,ohci-hcd

After ALSA was started in MCC:

snd-seq-oss 34112 0
snd-seq-midi-event 7584 1 snd-seq-oss
snd-seq 54000 4 snd-seq-oss,snd-seq-midi-event
snd-pcm-oss 54244 0
snd-mixer-oss 19520 1 snd-pcm-oss
snd-intel8x0 34408 0
snd-ac97-codec 63332 1 snd-intel8x0
snd-pcm 99300 2 snd-pcm-oss,snd-intel8x0
snd-timer 25604 2 snd-seq,snd-pcm
gameport 4544 1 snd-intel8x0
snd-page-alloc 12484 2 snd-intel8x0,snd-pcm
snd-mpu401-uart 7520 1 snd-intel8x0
snd-rawmidi 24288 1 snd-mpu401-uart
snd-seq-device 8232 3 snd-seq-oss,snd-seq,snd-rawmidi
snd 54756 12 snd-seq-oss,snd-seq-midi-event,snd-seq,snd-pcm-oss,snd-mixer-oss,snd-intel8x0,snd-ac97-codec,snd-pcm,snd-timer,snd-mpu401-uart,snd-rawmidi,snd-seq-device
soundcore 9664 1 snd

I've used the alsamixer command and messed about with the volumes in there a bit randomly and it seems to have taken away the crackling for now. I don't know if the above provided pastes are any good but have a look and see if you can get an idea of what's going on.

Thanks for the patience and helpfulness.
 
Old 11-19-2004, 09:17 AM   #23
madhyena
LQ Newbie
 
Registered: Apr 2004
Location: Romania
Distribution: Mandrake 9.1
Posts: 8

Rep: Reputation: 0
- Ooops

Last edited by madhyena; 11-19-2004 at 09:29 AM.
 
Old 11-19-2004, 02:04 PM   #24
Wyk3d
LQ Newbie
 
Registered: Jul 2004
Distribution: Mandrake Linux 9.1
Posts: 23

Rep: Reputation: 15
Ok this shows that the audio modules are not loaded before starting it from mcc, but this was predictable, I just wanted to be sure. The first question was actually more important. Please answer all these questions because i need a lot of information to solve a problem.

I asked if you see the 'Loading sound module [OK]' and 'Loading mixer settings [OK]' when the system boots (in verbose mode). You might not see these or you might see a failed.

Now the rest is actually quite complicated as there are several things that need to be checked.
To have you do this remotely is not really possible so you would need someone over there who knows the basics of shellscripting.

If you don't see these then:
On my mandrake 9.1 the /etc/rc.d/init.d/sound file has an error and it loads the module but doesn't load the mixer settings i had to solve this by commenting the right lines. What has to be done is adding 'echo test;' lines and to keep running the script to see if execution gets to the specified pont. If you find an if statement that doesn't allow the modules from being modprobe-d you should either comment things so that the only the correct part of the if gets executed or change the test string to something that always gives 'true' (or 'false' depending on whether it's in the 'else' or the main part).

If you do but these fail then:
Check /etc/rc.d/init.d/sound for the command that fails by using the same 'echo test;' lines to find the line where the error occurs.Manually run that command and check the man page for the command or search the net for the returned error message.

If they do appear and don't fail then:
(There is a brutish solution but it might work and it isn't too hard to do)
The modules are not being loaded so we're going to add the modules to the system boot modules list.
-vi /etc/modules
-add the following:
snd-seq-oss
snd-seq-midi-event
snd-seq
snd-pcm-oss
snd-mixer-oss
snd-intel8x0
snd-ac97-codec
snd-mpu401-uart
-save and reboot

Anyway glad to have helped.

Last edited by Wyk3d; 11-19-2004 at 02:05 PM.
 
Old 11-19-2004, 05:02 PM   #25
xxvm1
Member
 
Registered: Jul 2004
Distribution: WinXP Pro, Mandrake 10
Posts: 88

Original Poster
Rep: Reputation: 15
I don't suppose switching distros would give me any better luck ?
 
Old 11-20-2004, 01:49 AM   #26
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,040

Rep: Reputation: 35
Hi Steve,

Forgive me for dropping into this thread, but I am having the same problem with my sound. I have none with Mandrake 10.0
and I ran the script you recommend in Konsole. Is there anything you notice that is wrong?


[root@yahoo.com init.d]# - Run the snd-debug script:
bash: -: command not found
[root@yahoo.com init.d]# echo "My Sound Debug"
My Sound Debug
[root@yahoo.com init.d]# echo "*** Detected soundcards ***"
*** Detected soundcards ***
[root@yahoo.com init.d]# lspcidrake -v | fgrep AUDIO
snd-trident : Silicon Integrated Systems [SiS]|7018 PCI Audio [MULTIMEDIA_AUDIO] (vendor:1039 device:7018)
[root@yahoo.com init.d]# echo "*** Available sound-slots ***"
*** Available sound-slots ***
[root@yahoo.com init.d]# grep sound-slot /etc/modules.conf
alias sound-slot-0 snd-trident
[root@Yahoo.com init.d]# echo "*** Sound module list ***"
*** Sound module list ***
[root@yahoo.com init.d]# lsmod | fgrep snd
snd-seq-midi 8160 0
snd-trident-synth 12512 1
snd-ainstr-simple 3136 1 snd-trident-synth
snd-seq-instr 8160 1 snd-trident-synth
snd-seq-midi-emul 7776 1 snd-trident-synth
snd-seq-oss 31232 0
snd-seq-midi-event 7552 2 snd-seq-midi,snd-seq-oss
snd-seq 51024 9 snd-seq-midi,snd-trident-synth,snd-seq-instr,snd-seq-midi-emul,snd-seq-oss,snd-seq-midi-event
snd-pcm-oss 51812 0
snd-mixer-oss 17952 1 snd-pcm-oss
snd-trident 43780 2 snd-trident-synth
snd-ac97-codec 58148 1 snd-trident
snd-pcm 93156 2 snd-pcm-oss,snd-trident
snd-timer 24484 2 snd-seq,snd-pcm
gameport 4480 1 snd-trident
snd-page-alloc 11972 3 snd-trident-synth,snd-trident,snd-pcm
snd-util-mem 4448 1 snd-trident
snd-mpu401-uart 7072 1 snd-trident
snd-rawmidi 23616 2 snd-seq-midi,snd-mpu401-uart
snd-seq-device 8008 6 snd-seq-midi,snd-trident-synth,snd-seq-oss,snd-seq,snd-trident,snd-rawmidi
snd 52484 17 snd-seq-midi,snd-seq-instr,snd-seq-oss,snd-seq-midi-event,snd-seq,snd-pcm-oss,snd-mixer-oss,snd-trident,snd-ac97-codec,snd-pcm,snd-timer,snd-util-mem,snd-mpu401-uart,snd-rawmidi,snd-seq-device
soundcore 9248 1 snd
[root@miadolphins@sbcglobal init.d]# echo "*** Check sound configuration ***"
*** Check sound configuration ***
[root@yahoo.com init.d]# chkconfig --list sound
sound 0: off 1: off 2: on 3: on 4: on 5: on 6: off
[root@yahoo.com init.d]# echo "*** Check alsa configuration ***"
*** Check alsa configuration ***
[root@yahoo.com init.d]# chkconfig --list alsa
alsa 0ff 1ff 2n 3n 4n 5 on 6ff
[root@yahoo.com init.d]# #echo "*** Mixer volumes (check for mute) ***"
[root@yahoo.com init.d]# #aumix -q #this part commented because
[root@yahoo.com init.d]# #amixer #mdk10 doesn't have aumix
[root@yahoo.com init.d]# echo "*** dsp users (only one allowed) ***"
*** dsp users (only one allowed) ***
[root@yahoo.com init.d]# fuser -v /dev/dsp

Thanks, d-1

Last edited by dolphans1; 07-18-2011 at 11:26 PM.
 
Old 11-20-2004, 03:31 AM   #27
Wyk3d
LQ Newbie
 
Registered: Jul 2004
Distribution: Mandrake Linux 9.1
Posts: 23

Rep: Reputation: 15
Dolphans1

Hmm, sound-slot-0 is occupied by your SiS Pci SoundCard, all the modules are loaded as necessary and nothing is using the /dev/dsp. So you're ok to go. I think, all you need to do is run the audunmute script to unmute thing and mess around with alsamixer to get the volumes you desire.
If this doesn't help then post any error messages or any other symptoms that you get.

Xxvm1

There are many nice distros out there and you would definitely find one that sets up your sound card well. BUT until you aren't fully acquainted with linux inner-workings i suggest you stick to mandrake because it's THE best distro for home use.
Did you check the boot messages ? You should really try that last part i wrote after 'If they do appear and don't fail then:' That just might solve you're problem and as you already know 'vi' this shouldn't be too hard.

Hope this helps..
Steve

Last edited by Wyk3d; 11-20-2004 at 03:32 AM.
 
Old 11-20-2004, 07:44 AM   #28
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,040

Rep: Reputation: 35
Wyk3d,

Prior to running into your thread here, I tried configuring ALSA and missing around with the slidders and that did not work, then I did a search on here and found this thread.

I am confused on how I run the audunmute script.

This is the section you wrote on it:

Code:
- If all is ok all you nee to do is to run the unmute script (audunmute):
 amixer set PCM 22 unmute
 amixer set PC\ Speaker 22 unmute
 amixer set Master 22 unmute
 amixer set Master\ Mono 22 unmute
 amixer set Headphone 22 unmute
 amixer set Phone 22 unmute
 amixer set Aux 22 unmute
 amixer set Video 22 unmute
 amixer set CD 22 unmute
 amixer set Input\ Gain 22 unmute
 amixer set Line 22 unmute
 amixer set MIC 22 unmute
How do I run that scirpt? What is the exact command I enter? I tried ./audunmute and got bad bash command.

I have tried in superuser mode and do not know what else to do.

I appreciate your help.

d-1













Quote:
Originally posted by Wyk3d
Dolphans1

Hmm, sound-slot-0 is occupied by your SiS Pci SoundCard, all the modules are loaded as necessary and nothing is using the /dev/dsp. So you're ok to go. I think, all you need to do is run the audunmute script to unmute thing and mess around with alsamixer to get the volumes you desire.
If this doesn't help then post any error messages or any other symptoms that you get.

Xxvm1

There are many nice distros out there and you would definitely find one that sets up your sound card well. BUT until you aren't fully acquainted with linux inner-workings i suggest you stick to mandrake because it's THE best distro for home use.
Did you check the boot messages ? You should really try that last part i wrote after 'If they do appear and don't fail then:' That just might solve you're problem and as you already know 'vi' this shouldn't be too hard.

Hope this helps..
Steve

Last edited by dolphans1; 11-20-2004 at 07:45 AM.
 
Old 11-20-2004, 08:21 AM   #29
Wyk3d
LQ Newbie
 
Registered: Jul 2004
Distribution: Mandrake Linux 9.1
Posts: 23

Rep: Reputation: 15
Ok i've edited my first post so it's a bit easyer to understand. (read it again please)

Further details on creating and saving scripts is found in post #9.
 
Old 11-20-2004, 09:18 PM   #30
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,040

Rep: Reputation: 35
This is the script I ran:

Code:
[root@yahoo.com init.d]# amixer set PCM 22 unmute
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 22 [71%] [on]
  Front Right: Playback 22 [71%] [on]
[root@yahoo.com init.d]#  amixer set PC\ Speaker 22 unmute
Simple mixer control 'PC Speaker',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 15
  Mono: Playback 15 [100%] [on]
[root@yahoo.com init.d]#  amixer set Master 22 unmute
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 22 [71%] [on]
  Front Right: Playback 22 [71%] [on]
[root@yahoo.com init.d]#  amixer set Master\ Mono 22 unmute
Simple mixer control 'Master Mono',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 22 [71%] [on]
[root@yahoo.com init.d]#  amixer set Headphone 22 unmute
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 22 [71%] [on]
  Front Right: Playback 22 [71%] [on]
[root@yahoo.com init.d]#  amixer set Phone 22 unmute
Simple mixer control 'Phone',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Mono
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono: Playback 22 [71%] [on]
  Front Left: Capture [off]
  Front Right: Capture [off]
[root@yahoo.com init.d]#  amixer set Aux 22 unmute
Simple mixer control 'Aux',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 22 [71%] [on] Capture [off]
  Front Right: Playback 22 [71%] [on] Capture [off]
[root@yahoo.com init.d]#  amixer set Video 22 unmute
Simple mixer control 'Video',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 22 [71%] [on] Capture [off]
  Front Right: Playback 22 [71%] [on] Capture [off]
[root@miadolphins@sbcglobal init.d]#  amixer set CD 22 unmute
Simple mixer control 'CD',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 22 [71%] [on] Capture [off]
  Front Right: Playback 22 [71%] [on] Capture [off]
[root@yahoo.com init.d]#  amixer set Input\ Gain 22 unmute
amixer: Unable to find simple control 'Input Gain',0

[root@yahoo.com init.d]#  amixer set Line 22 unmute
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 22 [71%] [on] Capture [off]
  Front Right: Playback 22 [71%] [on] Capture [off]
[root@yahoo.com init.d]#  amixer set MIC 22 unmute
amixer: Unable to find simple control 'MIC',0

[root@yahoo.com init.d]#
Does this look OK?

Thanks.....d-1

Last edited by dolphans1; 07-18-2011 at 11:30 PM.
 
  


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
No Sound on Slackware 10.1 With VIA VT1612A AC97 2.2 Integrated Soundcard necrozen Linux - Hardware 24 10-17-2005 02:43 PM
VIA 823x integrated soundcard screwing everything up sal Linux - Hardware 1 01-11-2005 08:06 AM
Intel SoundMax Integrated soundcard problem on RH Greek Acrobat Linux - Hardware 9 05-12-2004 06:35 AM
Having trouble with SoundMAX Integrated soundcard computercolinx Linux - Hardware 0 05-09-2004 01:38 AM
soundcard via integrated wont play alerts correctly frees2012 Linux - Hardware 0 01-14-2004 07:26 PM

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

All times are GMT -5. The time now is 05:50 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