Still No Sound for 8.04 and 8.10 on Dell 1420

Asked by Mark Brown

I lost sound 6 months ago when I upgraded from 7.10 to 8.04. I just updated to 8.10 and still don't have sound. I have tried the dell fix:

Restore name of sound driver that old modem driver renamed:
$ cd /lib/modules/2.6.24-21-generic/ubuntu/sound/alsa-driver/pci/hda
$ sudo mv snd-hda-intel.ko.REPLACEDBYhsfmodem snd-hda-intel.ko

Remove old sound drivers from kernel module directory:

$ cd /lib/modules/2.6.24-21-generic/updates
$ sudo rm snd-hda-intel.ko
$ sudo rm snd-hda-codec.ko

Rebuild initrd and reboot:

$ sudo depmod -a
$ sudo update-initramfs -u
$ sudo reboot

However I always get the same error.

$ mv: cannot stat `snd-hda-intel.ko.REPLACEDBYhsfmodem': No such file or directory

I just retried this fix with the new kernel (2.6.27-7-generic). snd-hda-intel.ko is now located in /lib/modules/2.6.27-7-generic/kernel/sound/pci/hda so I tried:

$ cd /lib/modules/2.6.27-7-generic/kernel/sound/pci/hda
$ ls
snd-hda-intel.ko
$ sudo mv snd-hda-intel.ko.REPLACEDBYhsfmodem snd-hda-intel.ko
mv: cannot stat `snd-hda-intel.ko.REPLACEDBYhsfmodem': No such file or directory

Again the same error. Does anyone have an idea of how to fix this? After not having sound for 6 months I am about at the point of buying Vista - I won't but this is really irritating.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu alsa-driver Edit question
Assignee:
No assignee Edit question
Solved by:
Everthon Valadão
Solved:
Last query:
Last reply:
Revision history for this message
Philip Wyett (philwyett) said :
#1

At this point I would suggest only one course of action. Backup all your data and reinstall from scratch.

Regards

Phil

Revision history for this message
Mark Brown (mattbfl) said :
#2

I guess I will go ahead and try a frech install of 8.10. Just so I understand what is happening however, when it says

mv: cannot stat `snd-hda-intel.ko.REPLACEDBYhsfmodem': No such file or directory

does it mean it cannot find the file hsfmodem? snd-hda-intel.ko is right there in the current directory.

Thanks.

Revision history for this message
Best Everthon Valadão (valadao) said :
#3

My sound stop working with the linux kernel 2.6.27-7-generic, BUT here's a quick FIX:

sudo killall pulseaudio
sudo alsa force-reload

and them go to System>Preferences>Sound and change everything to ALSA

;-)

P.S.: PulseAudio sucks!

Revision history for this message
Ian Hodgkinson (ian-hodgkinson) said :
#4

For information on mv open a terminal and type

man mv

In this case "sudo mv snd-hda-intel.ko.REPLACEDBYhsfmodem snd-hda-intel.ko" renames the file "snd-hda-intel.ko.REPLACEDBYhsfmodem" to "snd-hda-intel.ko". As the file "snd-hda-intel.ko.REPLACEDBYhsfmodem" doesn't exist in the directory then the command is reporting an error.

Revision history for this message
Mark Brown (mattbfl) said :
#5

Thanks Everthon! The sound on my system works perfectly now. I guess Pulseaudio does indeed suck.

And thanks Ian for explaining what was going on there.

Revision history for this message
Mark Brown (mattbfl) said :
#6

Thanks Everthon Valadão, that solved my question.