PDA

View Full Version : [SOLVED] Sound not working Mac Mini Intel



jarkinber
May 28th, 2010, 09:10 AM
Hello,

I have just done a fresh single-boot install of lucid Linux and my sound is not working. I own a Mac Mini Intel 3,1 and i have already tried this command:
sudo gedit /etc/modprobe.d/alsa-base.conf and added this line to the bottom of the file: options snd-hda-intel model=imac24 but the sound still doesn't work.

Please could someone help me, as i really want to be able to use sound!:confused:

linuxopjemac
May 28th, 2010, 09:45 AM
Did you unmute all channels afterwards ?


alsamixer

toggle with "m"

jarkinber
May 28th, 2010, 11:44 PM
Well this is what alsamixer looked like after i pressed 'm' on every section, please tell me if this is right?
sorry im a noob so youll have to download the picture..
http://www.mediafire.com/?ny2njtnjmy3
thankyou!!

linuxopjemac
May 29th, 2010, 09:44 AM
All your channels are unmuted now. If it does not work, then you could try the alsa backport module for your kernel.

jarkinber
May 29th, 2010, 11:39 AM
How would i do that?

linuxopjemac
May 29th, 2010, 08:11 PM
sudo apt-get install linux-backports-modules-alsa-generic

jarkinber
May 29th, 2010, 11:27 PM
i tried that in terminal but the error returned was:
Couldn't find package linux-backports-modules-alsa-generic

linuxopjemac
May 30th, 2010, 08:48 AM
try

sudo apt-get install linux-backports-modules-alsa-lucid-generic

if that does not work, just search in synaptics package manager for alsa and see if you find a suitable backports module. I don't exactly know what kernel you use.

jarkinber
May 30th, 2010, 09:11 AM
Thank you this did work and it installed. But what do i do next?
Oh by the way i am running Lucid Linux Ubuntu 10.04 on a 3,1 mac mini.

linuxopjemac
May 30th, 2010, 09:28 AM
Reboot, unmute channels which are muted and check if you have sound.

macalan
May 30th, 2010, 08:48 PM
I had the same issue and this site helped a lot. http://monespaceperso.org/blog-en/2010/05/02/upgrade-alsa-1-0-23-on-ubuntu-lucid-lynx-10-04/

jarkinber
May 31st, 2010, 07:26 AM
Thankyou macalan, i followed the instructions on that website very carefully, but it didn't work. the alsa version is still the same! everything seemed to work properly, but i still haven't got sound.

linuxopjemac
May 31st, 2010, 08:12 AM
If you find out what audio card is in your book you might want to try t he options for macs with a similar setup:

http://mac.linux.be/content/sound-problems

The solutions are for Karmic Koala though....

Specs site:
http://www.everymac.com

jarkinber
May 31st, 2010, 10:16 AM
well, the entries on that website are for macbook and imac and i dont think will work with my mac mini... oh well, i'll try it anyway.

linuxopjemac
May 31st, 2010, 11:05 AM
If you have a very recent alsa you might want to try the model macmini3

http://mailman.alsa-project.org/pipermail/alsa-devel/2010-February/025259.html

it's in 1.0.23
http://www.alsa-project.org/main/index.php/Changes_v1.0.22_v1.0.23

- ALSA: hda - Add Macmini 3,1 support
BugLink: https://bugs.edge.launchpad.net/ubuntu/+source/linux/+bug/343989
Add a model quirk for the NVIDIA based Macmini hardware, aka Macmini 3,1. The
pinout is almost identical to the mb5 quirk, except for no microphone and
the line-in mixer controls being on a different index. Everything works in
2ch mode, but as I am not sure what needs to be changed for 6ch mode, or
whether the Mac Mini's chip supports 6ch mode, I have simply duplicated
the code from the mb5 quirk for the mac mini chmode management. The new
model parameter for this quirk is "macmini3".

jarkinber
May 31st, 2010, 12:21 PM
sorry im a noob how do install it????

linuxopjemac
May 31st, 2010, 12:29 PM
Reading from your former post it seems that you already tried to install 1.0.23...


Thankyou macalan, i followed the instructions on that website very carefully, but it didn't work. the alsa version is still the same! everything seemed to work properly, but i still haven't got sound.

Try again. Note this:

For Ubuntu change please “sudo make install” to “sudo checkinstall” or “sudo checkinstall -D –install=no”! There are other comments. Try to read them. You will get it to work I'm sure.

just edit the /etc/modprobe.d/alsa-base.conf file and add at the end:

options snd-hda-intel model=macmini3 power_save=10 power_save_controller=N

with:

sudo nano /etc/modprobe.d/alsa-base.conf
CTRL-X and "y" to save.

jarkinber
June 1st, 2010, 07:46 AM
i tried that, didn't work. terminal says checkinstall: command not found
and same with the other commands so i just used make install again, but my driver version is still 1.0.22.1. thankyou for all your help so far! please tell me if you know anything else!

jarkinber
June 1st, 2010, 09:01 AM
I tried those commands but terminal said it couldnt find command: checkinstall. i tried installing it again, but now it cant even find alsamixer now.
$ alsamixer
cannot open mixer: No such file or directory
i am soo confused about all of this!!
Thankyou everyone for all of your help and please continue because i really want to get my sound working.

ZeroLinux
June 1st, 2010, 12:29 PM
i tried that, didn't work. terminal says checkinstall: command not found

sudo apt-get install checkinstall

BTW, Why do you try to install in a such complicated way?
Just do this:
1) Add repository: ppa:ubuntu-audio-dev/ppa
In terminal: sudo add-apt-repository ppa:ubuntu-audio-dev/ppa
Or through menu Software Sources
2) Reload
In terminal: sudo apt-get update
3) Get to know you kernel
In Terminal: uname -a
4) Install appropriate kernel
In Terminal: sudo apt-get install linux-alsa-driver-modules-2.6.32-22-generic (it was in my case I mean 2.6.32-22)
5) reboot
In Terminal: sudo shutdown -r now

if you want to have alsamixer back:
In terminal: sudo apt-get install alsa-utils

jarkinber
June 2nd, 2010, 10:31 AM
i don't understand what you mean by 'install appropriate kernel' but i tried all of this, nothing has changed, still 1.0.22.1. i even tried installing alsa mixer, but it said it was already installed, so i uninstalled it, re-enstalled it, still says mixer: command not found when i typed in alsamixer.
and when i used checkinstall, it failed installing. it got to installed deb file: failed. this is really annoying!! i hope this has worked for other people, but im not having any luck.

jarkinber
June 2nd, 2010, 11:33 AM
ok. ive decided to re-install ubuntu and give a fresh start because i think i may have tinkered with the files and will try again when i have a fresh install. Thanks Guys!

linuxopjemac
June 2nd, 2010, 12:12 PM
You might want to instal a linix 2.6.33 kernel from synaptics package manager,...

jarkinber
June 2nd, 2010, 12:49 PM
:)
You might want to instal a linix 2.6.33 kernel from synaptics package manager,...
awesome. will do as soon as i can.

linuxopjemac
June 2nd, 2010, 12:57 PM
I think that the Mac Mini 3,1 has good audio as of 2.6.34...
http://mac.linux.be/content/kernel-2634-released

The Mac Mini 3,1 will have better sound support as well, it will have its own code in the ALSA configuration: macmini3.
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=e458b1fadf9239d1fdb165ff4c4 ea0d807041bec


If it is true what they say there, then the option mb5 would work too in etc/modprobe.d/alsa-base.conf

jarkinber
June 3rd, 2010, 10:21 AM
sudo apt-get install checkinstall

BTW, Why do you try to install in a such complicated way?
Just do this:
1) Add repository: ppa:ubuntu-audio-dev/ppa
In terminal: sudo add-apt-repository ppa:ubuntu-audio-dev/ppa
Or through menu Software Sources
2) Reload
In terminal: sudo apt-get update
3) Get to know you kernel
In Terminal: uname -a
4) Install appropriate kernel
In Terminal: sudo apt-get install linux-alsa-driver-modules-2.6.32-22-generic (it was in my case I mean 2.6.32-22)
5) reboot
In Terminal: sudo shutdown -r now

if you want to have alsamixer back:
In terminal: sudo apt-get install alsa-utils
Once i did this with a clean install, it worked!! My sound is working!!!! But i still dont know how to install the new kernel, but if someone could tell me that would be even better!!

jarkinber
June 3rd, 2010, 10:25 AM
Thread Solved! :)

linuxopjemac
June 3rd, 2010, 10:31 AM
Finally. Enjoy. It found a place on my sound wiki (http://mac.linux.be/content/sound-problems).

jarkinber
June 3rd, 2010, 11:32 AM
awesome thanks. Could you please tell me how install the latest kernel?

linuxopjemac
June 3rd, 2010, 12:02 PM
do you really need it ? Never change a winning team. If everything works, I would leave it as it is.

If you insist, choose a kernel from the synaptics package manager.

https://help.ubuntu.com/community/SynapticHowto

ZeroLinux
June 3rd, 2010, 02:11 PM
Thread Solved! :)
Pleasure to help.

ZeroLinux
June 3rd, 2010, 02:13 PM
But i still don't know how to install the new kernel, but if someone could tell me that would be even better!!
If you followed instructions you have the latest at the moment. It will be updated automatically, because you have a right repository added. You don't need to worry.