Mac Mini 4,1, Mac Os X Mountain Lion, HDMI sound not working: Solved.

I’ve had this problem since the first use of Mountain Lion. With Snow Leopard everything worked without problem, except for stuck volume controls (this is why I moved to Mountain Lion).
I searched, over many seas, a solution to this common problem: someone call the apple customer care, some others install modified kexts. I did nothing of the above. Here I show a really simple workaround to start again using your HDMI audio. Keep reading.

My Mac Mini 4,1 is connected via HDMI to my ASUS 22″ 1080p monitor.
When you press option+click on the volume control you’ll see a list of available devices to output your audio. If you have a setup similar to mine, you then have headphones and HDMI monitor option listed. Like this image shows.
0If you select your HDMI monitor, selection goes to the headphones automatically, and also does your audio. Pretty disappointing! It will be more fair not showing me that option!
But let’s move on.

Give a CTRL-Space to open Spotlight and search for midi audio, like this:

2

In this panel we can see what’s going on in our Mac, you know how they say:

Don+_e3eca75e0b637d4f19b1257bbf148b1a

LET’S SEE ALL THE PERIPHERALS!!

So here is the panel, you’ll se headphones option, and also HDMI. If you click on HDMI and then select Configure button on bottom-right, you’ll be amazed to know that audio works by testing left and right channel!!! Why do they don’t work normally by default then? The answer is: I don’t know!

3

So what’s next? Hit the plus button bottom-left and then add a combined device(translations may vary)
5And select with device use with this new device. In my case I want audio to go only via the HDMI port, so I checked that. Then right-clicked this new device and told it to be the default one for audio (you can change this also with option+click on volume control). Be sure to have 44100Hz selected (option that worked for my setup).

4

This is another shot, a useless one, but I can’t just throw it in the bin…it’s always a creation of mine, you know what I mean?

Let’s sums things up: this new device lets you use you HDMI monitor to play audio like it did before. You can personalize your menu, renaming device, hide others, but this is not the point of this post.
Here’s the result:
1And it works like a charm! Without calling Apple Geniuses, installing modified kext (dangerous) and other tricks!
I hope this was somewhat useful to you.
Let me know how it goes, or better solutions in the comments below!
Thanks for your time.

Update on shell-fm

Today I found another excellent, really really excellent web interface! It is based on ruby, sinatra and jquery!
you can find it here: http://madebynathan.com/2010/06/25/last-fm-on-embedded-systems/

I’ve installed git, ruby and sinatra on my raspberry pi , created the config.yml file and I was good to go!
(shell-fm was already installed on my r-pi following my precedent blog post)
Look here! Isn’t it nice? There’s also Album cover!!!
Nice work!Image

Raspberry pi: no audio after update

I had a mini heart attack when I found that after the last update/upgrade of debian ‘Raspbian’ distro, audio was absent!!!
“here we go!” – I’ve said to myself – “Finally I’ve managed to broken this little pi..” . No audio, only music with HUGE noise! signal was so low!
But after a few minute I typed into a ssh session to the pi, the command “alsamixer” and found that audio was MUTED! Y U NO STAY UNMUTED AFTER UPDATE? everything is fine now.
Never get mini heart attacks for these things!

Last (but not least) post on Shell-fm: on Windows 7.

You may say I’m in love with shell-fm, and that’s pretty much true since I’m in love with Last.fm, so in love that I want it (shell-fm) also on Windows systems.
Now it’s time to do the installation on a completely development-tools free system. Unlike debian and mac os x, there’s no gcc, make and so on. BAD, really BAD (the whole process is gonna be a 30 minute work, shame on you Windows!)

Let’s try to fix it installing a Unix-like environment with Cygwin!
That’s it, download&install Cygwin.
During installation be sure to select to install at least these packages(use the search toolbar):

gcc,

make,

libao (all that you can find),

pkg-config,

git,

gcc-c++,

gcc-core,

wget,

nano

then hit next and let the tool install the unix system for you.

Begin downloading shell-fm with git.

As for the mac version, install libmad manually, giving a

wget http://downloads.sourceforge.net/project/mad/libmad/0.15.1b/libmad-0.15.1b.tar.gz

(version may differ or maybe not, it’s an old project) in a cygwin terminal session and then ‘unzipp it’ with

tar -zxvf libmad-0.15.1b.tar.gz

then procede with the usual process of ./configure , make e make install ( not as root, cygwin does not have a root user).

Go here for libmad installation process and shell-fm installation process: now that we have a unix system with cygwin it’s is pretty much the same thing on windows too
https://piergiu.wordpress.com/2012/07/23/again-shell-fm/
The only thing to do is to copy libmad libraries into the right place, like so:

cd /usr/local/lib/
cp * /usr/lib/gcc/i686-pc-cygwin/3.4.4/

and then do make of shell-fm, and make install.
Now a bunch of images during the process. Enjoy!

Questo slideshow richiede JavaScript.

HUGE BONUS!!!

Morrissey with a cat on his head

Morrissey with a cat on his head