Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
beep for sound
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
idella4
Retired Dev
Retired Dev


Joined: 09 Jun 2006
Posts: 1600
Location: Australia, Perth

PostPosted: Wed Jan 13, 2010 8:22 am    Post subject: beep for sound Reply with quote

This should be the best choice of category for this.
I don't have sound on my gentoo which is not good for multimedia. The kernel config should be ok I suspect, but you never know.
It's an intel on board hardware for sound and there is no doubt about the right driver, snd_hda_intel.
I have alsa-utils

Code:

idella@gentoo /usr/src $ sudo emerge --search alsa-utils
Searching...
[ Results for search key : alsa-utils ]
[ Applications found : 1 ]

*  media-sound/alsa-utils
      Latest version available: 1.0.20-r5
      Latest version installed: 1.0.20-r5
      Size of files: 1,020 kB
      Homepage:      http://www.alsa-project.org/
      Description:   Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)




Code:

idella@gentoo /usr/src $ sudo lspci
......
00:09.0 Audio device: nVidia Corporation MCP73 High Definition Audio (rev a1)


I run alsaconf which should be quite satisfactory, and I have

Code:

idella@gentoo /usr/src $ lsmod
Module                  Size  Used by
snd_pcm_oss            31008  0
snd_mixer_oss          12288  1 snd_pcm_oss
snd_seq_dummy           2692  0
snd_seq_oss            25088  0
snd_seq_midi_event      5760  1 snd_seq_oss
snd_seq                40048  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          5772  3 snd_seq_dummy,snd_seq_oss,snd_seq
wlan_wep                4864  3
wlan_scan_sta           8576  1
ath_rate_sample         8704  1
snd_pcsp                8480  0
snd_hda_intel         316564  0
ath_pci                68256  0
snd_pcm                51460  3 snd_pcm_oss,snd_pcsp,snd_hda_intel
nvidia               7219812  20
wlan                  138736  5 wlan_wep,wlan_scan_sta,ath_rate_sample,ath_pci
ath_hal               187728  3 ath_rate_sample,ath_pci
snd_timer              16392  2 snd_seq,snd_pcm
snd_page_alloc          7176  2 snd_hda_intel,snd_pcm



I ran alsamixer.
After all this I get an annoying system beep for sound, about 1 per second, which I've never come across before.
Now the bad news, this is a kde 3.5, rather than the latest. Before prompting me to update, I have another current version of gentoo which is fine.
This system is about 20 months old and works fine except for the sound. Kernel is 2.6.26. For my own reasons I've decided to leave this as is.
I emerged the alsa-utils which is a current version, so there is a vague chance that the alsa-utils might be too new for the rest of the system, but I doubt it.
With a music cd in the cd drive, kscd finds the music ok, then plays the tracks but no sound is produced.

I'm confused why there is something wrong since the basics all seem to be in place and are a mirror of the current healthy gentoo.

ny helpers please?
_________________
idella4@aus
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8708
Location: ~Brussels - Belgique

PostPosted: Wed Jan 13, 2010 8:40 am    Post subject: Reply with quote

or did you enable pcspkr kernel module (in the "event" section).
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
idella4
Retired Dev
Retired Dev


Joined: 09 Jun 2006
Posts: 1600
Location: Australia, Perth

PostPosted: Wed Jan 13, 2010 9:28 am    Post subject: Reply with quote

pcspkr kernel module

yes

Code:

CONFIG_PCSPKR_PLATFORM=y


Is that right or wrong for a healthy system?
_________________
idella4@aus
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Wed Jan 13, 2010 10:28 am    Post subject: Reply with quote

Code:
$ zcat /proc/config.gz | grep pcspkr
CONFIG_PCSPKR_PLATFORM=y
CONFIG_INPUT_PCSPKR=y


There's another possibility:
Code:
CONFIG_SND_HDA_INPUT_BEEP
I will try this instead of INPUT_PCSPKR the next time I compile a kernel.
Back to top
View user's profile Send private message
idella4
Retired Dev
Retired Dev


Joined: 09 Jun 2006
Posts: 1600
Location: Australia, Perth

PostPosted: Wed Jan 13, 2010 2:06 pm    Post subject: Reply with quote

eh ,yes, well my config has just CONFIG_PCSPKR_PLATFORM, not CONFIG_INPUT_PCSPKR. I don't have CONFIG_SND_HDA_INPUT_BEEP.
How does this help towards procuring sound? Do I turn the above off?
I have 2 separate issues, the beeping, and no sound when invoked.
_________________
idella4@aus
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54236
Location: 56N 3W

PostPosted: Sun Jan 17, 2010 11:39 am    Post subject: Reply with quote

idella4,

Your kernel looks ok. Lets address the two issues separately - the no sound first.

Your front speakers need to be plugged into the pale green jack socket. Its these we will work with, if you have surround, that will fall into place.
Your sound card
Code:
 nVidia Corporation MCP73 High Definition Audio
can generate either digital sound or analogue sound but not both at the same time.
To ensure you get analogue sound for you speakers, all the controls with IEC in their names must be muted, that turn off digital, so the card reverts to analogue mode.
Muted is indicated with MM in the box under the slider - not all controls have sliders.

The controls Master and PCM if you have it, must be unmuted [OO] in the box below the sliders, and the sliders set to about 70%.

Test with
Code:
mplayer -ao alsa /path/to/sound/file
mplayer will play the sound file given. If it fails, mplayer also gives useful error messages, which is why I picked it for testing. Be sure to post them.

Please post
Code:
emerge --info
if it fails too - there are a few USE flags you need, which are normally set in your profile.

Moving slowly onto the other part of the problem, where does the beep come from, your speakers or the motherboard sounder that the BIOS beeps as part of its POST ?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum