Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sound stop working out of the blue.
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
snakeo2
Veteran
Veteran


Joined: 01 Jan 2006
Posts: 1237

PostPosted: Sun Nov 05, 2006 8:20 pm    Post subject: Sound stop working out of the blue. Reply with quote

another sound issue, this afternoon when i logged into gentoo, i noticed the speaker icon had the " x" across it and when i moved my mouse over it, it read muted. so I double clicked on it, and unmuted whatever was muted and proceeded to listen to my mp3's, well to my surprise amarok was playing the mp3 but without sound. i tried gxine with the same results. Now i, dont remember doing anything drastically except running emerge --sync and maybe installing other programs from portage. im not getting any errors, i check to see if all the connections and everything seems fine. now i have two sound cards, the onboard nvdia soundcard and pci soundblaster soundcard which if i remember correctly is the one i set up also to use. anyway, here is some info, hope someone can tell me whats going on, thanks


tux freeze # lspci
00:00.0 Memory controller: nVidia Corporation CK804 Memory Controller (rev a3)
00:01.0 ISA bridge: nVidia Corporation CK804 ISA Bridge (rev a3)
00:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2)
00:02.0 USB Controller: nVidia Corporation CK804 USB Controller (rev a2)
00:02.1 USB Controller: nVidia Corporation CK804 USB Controller (rev a3)
00:04.0 Multimedia audio controller: nVidia Corporation CK804 AC'97 Audio Controller (rev a2)
00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev f2)
00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3)
00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3)
00:09.0 PCI bridge: nVidia Corporation CK804 PCI Bridge (rev a2)
00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3)
00:0b.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0c.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0d.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce 6600] (rev a2)
05:06.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
05:08.0 Network controller: Texas Instruments ACX 100 22Mbps Wireless Interface
05:0b.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)

by the way, i have run alsamixer and umuted all devices and still no sound. if you need anything else, let me know.
_________________
Gigabyte MA790X-UD4P Motherboard
AMD Phenom II X4 940 Black Edition
MSI ATI R4650 PCIe2
250GB SATA Drive
4GB Corsair DDR2
Back to top
View user's profile Send private message
snakeo2
Veteran
Veteran


Joined: 01 Jan 2006
Posts: 1237

PostPosted: Sun Nov 05, 2006 8:24 pm    Post subject: Reply with quote

here is the output of lsmod

tux freeze # lsmod
Module Size Used by
ipv6 284640 8
snd_seq_midi 10368 0
snd_opl3_synth 17604 0
snd_seq_instr 9216 1 snd_opl3_synth
snd_seq_midi_emul 9408 1 snd_opl3_synth
snd_ainstr_fm 3648 1 snd_opl3_synth
snd_pcm_oss 46016 0
snd_mixer_oss 19264 1 snd_pcm_oss
snd_seq_dummy 4996 0
snd_seq_oss 36352 0
snd_seq_midi_event 9408 2 snd_seq_midi,snd_seq_oss
snd_seq 60576 9 snd_seq_midi,snd_opl3_synth,snd_seq_instr,snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_mpu401 11240 0
parport_pc 43560 0
parport 43212 1 parport_pc
snd_cmipci 42080 0
gameport 17744 1 snd_cmipci
snd_opl3_lib 12800 2 snd_opl3_synth,snd_cmipci
snd_hwdep 11848 1 snd_opl3_lib
snd_mpu401_uart 9728 2 snd_mpu401,snd_cmipci
snd_rawmidi 29760 2 snd_seq_midi,snd_mpu401_uart
snd_seq_device 10128 7 snd_seq_midi,snd_opl3_synth,snd_seq_dummy,snd_seq_oss,snd_seq,snd_opl3_lib,snd_rawmidi
snd_intel8x0 37544 1
snd_ac97_codec 108248 1 snd_intel8x0
snd_ac97_bus 3584 1 snd_ac97_codec
snd_pcm 99720 4 snd_pcm_oss,snd_cmipci,snd_intel8x0,snd_ac97_codec
snd_timer 26952 3 snd_seq,snd_opl3_lib,snd_pcm
snd 66376 18 snd_opl3_synth,snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_mpu401,snd_cmipci,snd_opl3_lib,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore 12064 1 snd
snd_page_alloc 11408 2 snd_intel8x0,snd_pcm
i2c_nforce2 8704 0
ohci_hcd 22660 0
uhci_hcd 25816 0
usb_storage 116000 0
usbhid 46624 0
ehci_hcd 34888 0
_________________
Gigabyte MA790X-UD4P Motherboard
AMD Phenom II X4 940 Black Edition
MSI ATI R4650 PCIe2
250GB SATA Drive
4GB Corsair DDR2
Back to top
View user's profile Send private message
snakeo2
Veteran
Veteran


Joined: 01 Jan 2006
Posts: 1237

PostPosted: Tue Nov 07, 2006 3:29 am    Post subject: Reply with quote

ok i fixed the problem temporarily. yesterday i ran alsaconf and set up my pci card and was able to get sound. tonight i got back from work logged in, and try listening to some mp3, and no sound again. i checked my sound setting and it had reverted to using the onboard nvidia soundcard again which is not the one i configured yesterday. is there something that could be taking place during reboot that resets the soundcard back to the onboard card???

here is my /etc/modules.d/alsa

Alsa 0.9.X kernel modules' configuration file.
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.5 2006/06/13 10:18:25 uberlord Exp $

# ALSA portion
# OSS/Free portion

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `modules-update' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
## OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##

# OSS/Free portion - card #1
## OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.11 ---
alias snd-card-0 snd-cmipci
alias sound-slot-0 snd-cmipci
# --- END: Generated by ALSACONF, do not edit. ---

any help is appreicated.
_________________
Gigabyte MA790X-UD4P Motherboard
AMD Phenom II X4 940 Black Edition
MSI ATI R4650 PCIe2
250GB SATA Drive
4GB Corsair DDR2
Back to top
View user's profile Send private message
snakeo2
Veteran
Veteran


Joined: 01 Jan 2006
Posts: 1237

PostPosted: Tue Nov 07, 2006 3:45 am    Post subject: Reply with quote

here is more info

rc-update add alsasound boot
* alsasound already installed in runlevel 'boot'; skipping

/etc/init.d/alsasound start
* WARNING: "alsasound" has already been started.

cat /proc/asound/cards
0 [CK804 ]: NFORCE - NVidia CK804
NVidia CK804 with ALC850 at 0xd8103000, irq 233
1 [CMI8738MC6 ]: CMI8738-MC6 - C-Media PCI CMI8738-MC6
C-Media PCI CMI8738-MC6 (model 55) at 0xa000, irq 58
2 [UART ]: MPU-401 UART - MPU-401 UART
MPU-401 UART at 0x330, irq 10

cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.11rc4 (Wed Mar 22 10:27:24 2006 UTC).

cat /proc/asound/oss/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.11rc4 emulation code)
Kernel: Linux tux 2.6.17-gentoo-r4 #1 SMP Sun Aug 13 22:25:35 BST 2006 x86_64
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
NVidia CK804 with ALC850 at 0xd8103000, irq 233
C-Media PCI CMI8738-MC6 (model 55) at 0xa000, irq 58
MPU-401 UART at 0x330, irq 10

Audio devices:
0: NVidia CK804 (DUPLEX)
1: C-Media PCI DAC/ADC (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices:
2: MPU-401 UART MIDI

Timers:
31: system timer

Mixers:
0: Realtek ALC850 rev 0
1: CMedia PCI
2: mixer20
_________________
Gigabyte MA790X-UD4P Motherboard
AMD Phenom II X4 940 Black Edition
MSI ATI R4650 PCIe2
250GB SATA Drive
4GB Corsair DDR2
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Tue Nov 07, 2006 3:49 am    Post subject: Reply with quote

First stop alsasound.

Then use this as your /etc/modules.d/alsa:
Code:
alias char-major-116 snd
alias char-major-14 soundcore

alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd-cmipci
alias sound-slot-0 snd-cmipci

alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-1 snd-seq-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-8 snd-seq-oss
alias sound-service-1-12 snd-pcm-oss
alias snd-card-1 snd-intel8x0
alias sound-slot-1 snd-intel8x0

and then run modules-update.
This is assuming the cmipci is the first device and the onboard nvidia is second.

If the cards have reversed positions, you may have to:
Code:
rm /etc/asound.*

and reset your mixer values after restarting alsasound.
Back to top
View user's profile Send private message
snakeo2
Veteran
Veteran


Joined: 01 Jan 2006
Posts: 1237

PostPosted: Wed Nov 08, 2006 1:12 am    Post subject: Reply with quote

thanks for the tip, quick question, how would i know if the onboard or the cmi is the first soundcard??
_________________
Gigabyte MA790X-UD4P Motherboard
AMD Phenom II X4 940 Black Edition
MSI ATI R4650 PCIe2
250GB SATA Drive
4GB Corsair DDR2
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Wed Nov 08, 2006 1:25 am    Post subject: Reply with quote

Code:
cat /proc/asound/cards

I have seen in the past changes in the some packages have made the discover of the cards be reversed.
To remedy that I just add the sound module I want to load as card0 into /etc/modules.autoload/kernel-2.6
This forces it to load that module before any coldplugging/hotplugging occurs and that card is always the first.
Back to top
View user's profile Send private message
bugg_tb
Apprentice
Apprentice


Joined: 19 Nov 2004
Posts: 282
Location: Leeds, UK

PostPosted: Wed Nov 08, 2006 2:43 pm    Post subject: Reply with quote

If you don't use your onboard soundcard you could do what I do and just disable it in the bios
Bit of hack but also free's up IRQ's etc

Tom
_________________
Remember, even at a Mensa convention someone is the dumbest person in the room!
Back to top
View user's profile Send private message
snakeo2
Veteran
Veteran


Joined: 01 Jan 2006
Posts: 1237

PostPosted: Wed Nov 15, 2006 2:50 am    Post subject: Reply with quote

im still having sound issues. i will try disabling the onboard sound from the bios and see if that works. for now i have to run as root /etc/init.d/alsasound stop and then start to be able to get sound. kinda of sucks. i will also some of the solutions suggested in this thread. thanks for the tips.
_________________
Gigabyte MA790X-UD4P Motherboard
AMD Phenom II X4 940 Black Edition
MSI ATI R4650 PCIe2
250GB SATA Drive
4GB Corsair DDR2
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