Audio lost while booting

Asked by jfd413

I have an HP laptop dv 9500 with nvidia 8600 video card and realtech audio card. Windows vista boots fine but ubuntu has no sound. During booting the speaker symbol on my laptop goes from blue (everything fine ) to red. I have installed all the codecs 32, fluendo, gstreamer etc. I think the problem lies with the drivers during booting ( i know that was window lingo but i dont have the hang of all the shell, bash, gnome lingo so please forgive and HELP!!) Thanks Jay

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
maruscia (maruscia) said :
#1

Hi,
First, you need to update your ALSA drivers via:

sudo apt-get install linux-backports-modules

Then ensure that /etc/modprobe.d/alsa-base contains this line:

options snd-hda-intel model=hp position_fix=1

Now reboot.

Revision history for this message
jfd413 (jaydinan) said :
#2

Thanks Mara

I opened a terminal window and typed sudo apt-get install linux-backports-modules. This worked well. I then opened filesystem/etc/modeprobe.d/alsa-base. The line
"options snd-hda-intel model=hp position_fix=1" was not there. Here's what I found :

# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe --quiet snd-ioctl32 ; : ; }
install snd-pcm /sbin/modprobe --ignore-install snd-pcm && { /sbin/modprobe --quiet snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer && { /sbin/modprobe --quiet snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq && { /sbin/modprobe --quiet snd-seq-midi ; /sbin/modprobe --quiet snd-seq-oss ; : ; }
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && { /sbin/modprobe --quiet snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe -Qb saa7134-alsa ; : ; }

# Load snd-seq for devices that don't have hardware midi;
# Ubuntu #26283, #43682, #56005; works around Ubuntu #34831 for
# non-Creative Labs PCI hardware
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe -Qb snd-seq ; }
# Prevent abnormal drivers from grabbing index 0
options snd-bt87x index=-2
options cx88-alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-usx2y index=-2
options snd-usb-caiaq index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388

I inserted the line right after options snd-atiixp-modem index=-2 , and then saved

I was not allowed to save. I got the message "You do not have the permissions necessary to save the file. Please check that you typed the location correctly and try again."

I am the only one on this computer so I have the necessary permissions.
Am I inserting the line in the right place?
Any sugestions?

Thanks, Jay

Revision history for this message
jfd413 (jaydinan) said :
#3

Thanks Mara

I opened a terminal window and typed sudo apt-get install linux-backports-modules. This worked well. I then opened filesystem/etc/modeprobe.d/alsa-base. The line
"options snd-hda-intel model=hp position_fix=1" was not there. Here's what I found :

# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe --quiet snd-ioctl32 ; : ; }
install snd-pcm /sbin/modprobe --ignore-install snd-pcm && { /sbin/modprobe --quiet snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer && { /sbin/modprobe --quiet snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq && { /sbin/modprobe --quiet snd-seq-midi ; /sbin/modprobe --quiet snd-seq-oss ; : ; }
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && { /sbin/modprobe --quiet snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe -Qb saa7134-alsa ; : ; }

# Load snd-seq for devices that don't have hardware midi;
# Ubuntu #26283, #43682, #56005; works around Ubuntu #34831 for
# non-Creative Labs PCI hardware
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe -Qb snd-seq ; }
# Prevent abnormal drivers from grabbing index 0
options snd-bt87x index=-2
options cx88-alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-usx2y index=-2
options snd-usb-caiaq index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388

I inserted the line right after options snd-atiixp-modem index=-2 , and then saved

I was not allowed to save. I got the message "You do not have the permissions necessary to save the file. Please check that you typed the location correctly and try again."

I am the only one on this computer so I have the necessary permissions.
Am I inserting the line in the right place?
Any sugestions?

Thanks, Jay

Revision history for this message
maruscia (maruscia) said :
#4

Hi,
in order to modify that file inserting the line I wrote, simply open the file with administrator privileges, by using this command:

sudo gedit /etc/modprobe.d/alsa-base

Revision history for this message
Dinçer Kavraal (dkavraal) said :
#5

I have removed pulse and restarted gdm
# sudo apt-get remove pulseaudio
# sudo /etc/init.d/alsa-utils stop
# sudo /etc/init.d/gdm stop
# sudo /etc/init.d/pulseaudio stop
# sudo /etc/init.d/alsa-utils start
# sudo /etc/init.d/gdm start

then got my sound back. I had lost it trying to enable midi synth and was having same effect as you do. Anyway, it's back now.

Can you help with this problem?

Provide an answer of your own, or ask jfd413 for more information if necessary.

To post a message you must log in.