View Full Version : [ubuntu] [SOLVED] No sound in Hardy on imac20 aluminium
RRR-007
June 16th, 2008, 05:51 PM
Hi
I recently installed hardy on my imac20" aluminium. After a great struggle that i successfully configured ndiswrapper, wireless keyboard and wireless mouse etc., from the info available on this forum. Now landed in a big trouble of getting sound working on imac. I cant hear any sound in speaker, i tried all the suggestions from this forum. options sda-hda-intel on alsa-base doesn't work for me.
Also in the alsamixer gui, there is no option for speaker available in switches tab instead i have got IEC958 & IEC958 capture. I dont know what to do with this option. I installed the latest alsa-driver 1.0.16 but no hope... no sound in speaker but i can hear barely very very minimun sound in the headphone... can anyone help me to figure out the problem and get sound working on my machine..... also let me know where to enable speaker option in alsa-mixer
](*,)
cyberdork33
June 16th, 2008, 06:20 PM
check the FAQ:
http://ubuntuforums.org/showthread.php?t=493393
RRR-007
June 17th, 2008, 02:28 PM
cyberdork,
I have visited this link (imac aluminium - sound patch) already but I am not sure whether it works for alsa-driver 1.0.16 or not. Mine is alsa-driver 1.0.16. Honestly that i didn't give a try when i saw the patch marked as alsa-1.0.15-imac.txt.
Is the same patch work for 1.0.16 in hardy? if so, I think i'll have to download 1.0.16 driver again and follow the instructions mentioned in that link.
I really appreciate you since I have seen many of your replies in this forum. Indeed I fixed many issues revolved around ubuntu-hardy from the day one I installed it on my machine based on your replies.
Its a great work !!!....
thanks a lot...
RRR-007
June 22nd, 2008, 10:29 AM
I tried to apply the patch alsa-1.0.15-imac.txt to alsa-driver-1.0.16 and got the following error:
sudo patch < alsa-1.0.15-imac.txt
patching file patch_realtek.c
Hunk #1 succeeded at 175 (offset 16 lines).
Hunk #2 succeeded at 5718 (offset 404 lines).
Hunk #3 succeeded at 5912 (offset 404 lines).
Hunk #4 succeeded at 6054 (offset 402 lines).
Hunk #5 succeeded at 6158 (offset 403 lines).
Hunk #6 FAILED at 6389.
1 out of 6 hunks FAILED -- saving rejects to file patch_realtek.c.rej
Also i ignored the above failure message and went on with the instructions,
sudo mv -v /lib/modules/$(uname -r)/ubuntu/media/snd-hda-intel/snd-hda-intel{,-ubuntu}.ko
mv: cannot stat `/lib/modules/2.6.24-18-generic/ubuntu/media/snd-hda-intel/snd-hda-intel.ko': No such file or directory
The above error was due to the fact that I dont have snd-hda-intel folder under media :-(
somebody please help me !!!!!!!!!!!!!!!!!!!!!!!!!!!!...................... .....
Kimmik
June 22nd, 2008, 04:59 PM
I have an iMac 20" alu too. I had problem getting sound to work, I tried everything that was posted on the forums and wikis.
The solution was simple.
Don't mess around with installing alsastuff etc. Don't change anything from the default configuration! Just include
options snd_hda_intel model=mbp3
at the end of alsa-base and options (in /etc/modprobe.d).
I don't know which one is right, but it works when you put it in both files (options and alsa-base).
Reboot and it should work.
If it doesn't work (probably because you have tried to use patches etc.), boot a different kernel.
You can do that in grub (when you startup the iMac).
Boot an older unchanged kernel or see if there's a new one available via update.
Or reinstall ubuntu completely.
If it still doesn't work, check if the speaker checkbox is checked.
RRR-007
June 25th, 2008, 10:28 AM
Yes, you are right. I messed up the alsa-base driver by installing patches, fixes e.t.c...,,
So, I completely reinstalled ubuntu from CD, this time, I followed your suggestion of editing alsabase and options from modprobe.d folder.
First I tried with snd-hda-intel model=mbp3 ( i believe its not snd_hda_intel), sound quality was too low and there was no base sound capture.
Then, I tried with snd-hda-intel model=imac24... now its rocking :guitar: but not close to the sound when i run in Mac OS :-( I know its a high expectation from free OS .....
btw, your imac alu becomes extremely hot when you run ubuntu in it?
Mine is almost to be melted...:confused: if i touch the top portion of my imac after running ubuntu for sometime, it is extremely hot to the extent of burning my fingers :-( ....
ok, i'll create a new thread for this issuee... thanks a lot for helping out to fix sound issues...
ninjapenguin
June 25th, 2008, 09:50 PM
Thank you for this solution, I was soundless on ubuntu for a bit until i saw this forum.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.