Opened 14 years ago

Last modified 2 years ago

#7196 new bug

Apple Mac Mini 2010 Model with No Sound

Reported by: macsociety Owned by: korli
Priority: normal Milestone: Unscheduled
Component: Drivers/Audio/HDA Version: R1/Development
Keywords: Mac Mini 2010 No Sound Cc:
Blocked By: Blocking:
Platform: x86

Description

Installed and using Haiku R1/alpha2 (Revision 36769) GCC 2 Hybrid on my 2010 model Apple Mac Mini. Have 2 issues but this bug report is for NO AUDIO. HDA shows in the Media Preference but no sound at all. Tried removing the HDA app and installing OpenSound but that also produces no sound. In fact, once OpenSound was installed the Media Preference shows no drivers at all as HDA is gone and it is now just empty so can't even select a sound driver. Would be great to have sound on this system as the Mac Mini 2010 is a great little system with millions sold so this could be one great common little Haiku system!

Attachments (3)

ListDevTJFerreira.2 (3.3 KB ) - added by macsociety 14 years ago.
ListDev of my Mac Mini 2010 Saved In StyledEdit
ListDevTJFerreira (3.3 KB ) - added by macsociety 14 years ago.
ListDev of my Mac Mini 2010 Saved In StyledEdit
syslog copy (254.6 KB ) - added by macsociety 14 years ago.
Sys Log of my system to see if that could help.

Download all attachments as: .zip

Change History (35)

by macsociety, 14 years ago

Attachment: ListDevTJFerreira.2 added

ListDev of my Mac Mini 2010 Saved In StyledEdit

by macsociety, 14 years ago

Attachment: ListDevTJFerreira added

ListDev of my Mac Mini 2010 Saved In StyledEdit

comment:1 by macsociety, 14 years ago

Hope you can view my ListDev file. Did in Terminal while in Haiku and copy and pasted to a StyledEdit file. That is how I saved it so hope you can open it. If not let me know. Also, I have heard people mention getting some SysLog or something but I have no idea on how to do this. If someone can tell me, I will do it. Thanks! tj

by macsociety, 14 years ago

Attachment: syslog copy added

Sys Log of my system to see if that could help.

comment:2 by macsociety, 14 years ago

Component: Audio & VideoAudio & Video/Codecs

comment:3 by macsociety, 14 years ago

Added my Sys Log to the ticket.

comment:4 by macsociety, 14 years ago

Installed nightly build (the one for Feb 4th) and still have no sound using stock HDA driver that appears to be seen by the Media Preference but just no sound happens. Try to play a WAV file and I see in Media Player the little sound bar jumping around like it is sending audio (like a little EQ) but no sound happens.

comment:5 by macsociety, 14 years ago

Component: Audio & Video/CodecsAudio & Video

comment:6 by tonestone57, 14 years ago

Component: Audio & VideoDrivers/Audio/HDA
Owner: changed from nobody to korli
Version: R1/alpha2R1/Development

User tested on recent nightly.

Changed to: 1) R1 development 2) HDA driver since issue seems related to this

comment:7 by korli, 14 years ago

For the record, the model you own is in fact this one ? http://en.wikipedia.org/wiki/Mac_Mini#Unibody_Mac_Mini

in reply to:  7 comment:8 by macsociety, 14 years ago

Replying to korli:

For the record, the model you own is in fact this one ? http://en.wikipedia.org/wiki/Mac_Mini#Unibody_Mac_Mini

Yes, this is the correct one. As you can see, this Mac Mini has built in Ethernet and also WiFi. Would be great if one or both could be used. 8-)

Thanks!

TJ

comment:9 by fishpond, 14 years ago

TJ, you actually have two hda devices, one main and one as part of the nVidia graphics card. Are both listed in media preferences? If yes, you may have to switch to the one that has speakers connected...the nvidia HDA transmits via the HDMI cable to the monitor.

in reply to:  9 comment:10 by macsociety, 14 years ago

Replying to fishpond:

TJ, you actually have two hda devices, one main and one as part of the nVidia graphics card. Are both listed in media preferences? If yes, you may have to switch to the one that has speakers connected...the nvidia HDA transmits via the HDMI cable to the monitor.

Only one HDA shows up. So, nothing else to switch to. Since maybe like you said the sound is being sent via HDMI, I do see a headphones port on my ASUS LCD Monitor. I am connecting it via HDMI cable to the Mac Mini. Maybe if I connect headphones to the monitor instead of my speakers to the Mac Mini I can hear sound via Haiku. Will try that for the sake of trying it. Will report back.

But per your question, only 1 HDA shows in Media Preferences.

tj

in reply to:  9 comment:11 by macsociety, 14 years ago

Replying to fishpond:

TJ, you actually have two hda devices, one main and one as part of the nVidia graphics card. Are both listed in media preferences? If yes, you may have to switch to the one that has speakers connected...the nvidia HDA transmits via the HDMI cable to the monitor.

No luck. Connected my external speakers to the rear of my ASUS monitor that is getting signal from the Mac Mini via HDMI cable. No sound still. So, not sure if the one HDA that appears in the Media Preference is the built-in Mac Mini sound card that probably also works with the headphones speaker port on the Mac Mini or something else.

Would think whatever the built-in sound for the headphones port would be the one needed for Haiku sound?? tj

comment:12 by macsociety, 14 years ago

For the heck of it tried OpenSound again after the nightly install but still no sound. I even removed the hda file and then moved the oss files from my home folder to the boot/system folder in corresponding folders but no sound either. In fact I hosed my install that way so need to make a new install on my USB Thumb Drive. Before moving the OSS files though I went to media preference just to see if any new drivers showed and it shows empty, zero, nada. So, like it does not see the OSS files were installed at all. I would think when I used the Terminal and had it install the OpenSound files it puts them in the proper places so should show up in media preference if it is seen I guess. But anyway, figured I would report no luck over here even though I tinker. Do the OSS files get installed proper places when I did that Terminal install like I did? They go to the home config kernal driver areas and not the /boot/system areas. I would guess Haiku should see the files in the Home config area I take it? tj

comment:13 by diver, 14 years ago

Have a look at syslog while installing OSS. Run tail -F /var/log/syslog . Maybe this alone would hint at what goes wrong.

in reply to:  12 comment:14 by anevilyak, 14 years ago

Replying to macsociety:

Before moving the OSS files though I went to media preference just to see if any new drivers showed and it shows empty, zero, nada. So, like it does not see the OSS files were installed at all.

That in and of itself doesn't mean much. If OSS doesn't find any supported devices (or can't initialize them correctly), then it will simply not show up at all, regardless of whether the driver is correctly installed or not.

Do the OSS files get installed proper places when I did that Terminal install like I did? They go to the home config kernal driver areas and not the /boot/system areas. I would guess Haiku should see the files in the Home config area I take it?

It does indeed. The idea is, /boot/system strictly contains things that were part of the OS install, while home/config contains only things added by the user. This is done for two reasons: 1) When doing an upgrade to a new OS version, it's guaranteed that home/config will be left alone, while /boot/system is considered fair game for the installer to tinker with as needed ; and 2) If the user installs a driver that has negative effects like locking up the system, all you have to do is enter the boot menu at startup and start in safe mode, and any user-installed add-ons will be ignored, thus getting you back into a bootable system to fix what you just broke.

comment:15 by macsociety, 14 years ago

Thanks for the better understanding of how the home/config area works. I will hold tight and hope down the road the proper driver to allow sound to work on the Mac Mini 2010 model happens in Haiku Nightly Build and once notified, I will try it right away. 8-). I am SO ready to use Haiku daily for basic computing but no way that will happen without sound. I have a work around for my networking issue the same Mac Mini has but so far there seems to be something off kilter to allow sound to work. Once that happens, I will get it loaded and start using Haiku daily so I can report other common bugs and issues I experience. Just can't live without sound so will have to wait. But, would be sweet to have a very new system being sold today that can be recommended to others to use for Haiku. tj

comment:16 by macsociety, 14 years ago

Just wondering if anyone is waiting on anything more from me on the Mac Mini 2010 Sound issue or if all is now in your plate to see it through? Just want to make sure I hold up my end of the deal. 8-) If you need something more, please let me know. I take it now once a issue is handed in like this we just wait until some point days, weeks, months, years down the road that a fix was found and a updated nightly build is told to me to download and try? Just want to make sure I am not missing anything. I think you all see the reason why no sound at this point and just waiting to add driver for the Minis sound board to add to a nightly build? Thanks, looking forward to using my Mini as a Haiku box, TJ Ferreira

Last edited 14 years ago by macsociety (previous) (diff)

comment:17 by korli, 14 years ago

This issue is in fact tricky as each model could require some quirks and our driver isn't perfect. Could you try to run FreeBSD (a live cd for instance) and check sound?

comment:18 by macsociety, 14 years ago

Where can I download a FreeBSD Live CD and what version should I be downloading? I did go to FreeBSD and download version 8.2 and the only one in the downloads for i386 I found that had the word Live in in was a Livefs. I did get it but it seems to be a Live Installer that my Mini did boot from but it was in all text. It does not seem like it was a normal LIVE CD that boots you to the actual OS where you can use it. So, maybe if you can point me to the LiveCD you want me to try and I will give it a go. tj

*The neat thing about the Livefs iso I did download, it boots to the text installer and actually saw my bluetooth keyboard which I found impressive. So, I was able to select Quit to stop the installer since I did not want to hose my Mini OS X right now and was expecting an actual boot to the real OS.

comment:19 by macsociety, 14 years ago

For example, since the FreeBSD.org web site does not appear to have what I would call a Live CD, I did find some others that say they are based on FreeBSD. Example, http://ghostbsd.org/get-ghostbsd/

This is a beta Live CD I guess based on FreeBSD 8.3? Has no installer but just a Live CD. Will that work?

They also had a non Beta version but figured I need to get the newest but let me know.

tj

comment:21 by macsociety, 14 years ago

Thanks for the link but my aging eyes are not finding a LiveCD to download. I see CD installers and such but I am looking to run only as a LiveCD to test if sound happens and have no plans to install FreeBSD.

So, if indeed this pcbsd has a livecd version, can you point me to it. I don't see it <grin>.

tj

comment:22 by anevilyak, 14 years ago

Sorry, my mistake, they seem to have removed theirs.. try http://www.freesbie.org/ should still work though.

comment:23 by tangobravo, 14 years ago

The latest Freesbie release was in 2007, and based on FreeBSD 6.2, so I guess is unlikely to contain any specific code for new sound chips. I suppose it would still be interesting to see if there is some generic code in there that is able to work better than Haiku's drivers.

comment:24 by macsociety, 14 years ago

I am d/ling GhostBSD as it appears based on FreeBSD 8.2 so figured it was a better choice. Is a LiveCD and we will see. 552MB so takes me ALONG time to download as I am on slow A$$ internest here. <grin>. Will let you know how it goes. tj

in reply to:  17 comment:25 by tonestone57, 14 years ago

His Audio Card:

device Multimedia controller (Audio device) [4|3|0]
  vendor 10de: nVidia Corporation
  device 0d94: Unknown

Looks like FreeBSD added in support for that device back in Nov 2009. http://svn.freebsd.org/viewvc/base/release/8.2.0/sys/dev/sound/pci/hda/hdac.c?r1=199705&r2=199706

Guessing sound should work with FreeBSD but testing is always best to make certain it does.

Edit: I also see his card is using IRQ 15 which is not standard. 14 & 15 are for IDE. IRQ issue?

1528 KERN: HDA: Detected controller @ PCI:0:8:0, IRQ:15, type 10de/0d94 (10de/cb89)
Last edited 14 years ago by tonestone57 (previous) (diff)

comment:26 by macsociety, 14 years ago

Sorry Korli, GhostBSD Live CD will not even boot on the Mac Mini so I am unable to test for sound. I am trying though and happy to try others if there is a LiveCD you can recommend. For whatever reason, she freezes booting up to this LiveCD I grabbed. Per tonestone57, he confirms that the 2009 release of FreeBSD supports the driver my Mac Mini has. From that, can you get whatever code or items from that to use in a future Haiku Nightly Build and have me test it. At least we know my Mac Mini will run Haiku and get networking using a external USB ethernet dongle but really need sound to make this even usable so I can work the heck out of Haiku and help with future bug finds, etc... Plan is to use Haiku daily here at my office so I hope to be a good contributor to the Haiku platform.

Anyway, hope since FreeBSD appears to support the sound driver my Mini has that you can get what you need from that, add to Haiku, and let me give it a test down the road.

Thanks much!

tj

comment:27 by korli, 14 years ago

No, having declared a PCI id in the FreeBSD driver isn't sufficient to have it working. The codec and subdevice/vendor id usually have also to be used to discriminate the behavior (especially on Mac).

comment:28 by macsociety, 14 years ago

OK, so is there anything else you need from me at this point? Or is this the end of the road? LiveCD I had for GhostBSD would not boot my Mac Mini and it hang so no way to test sound from it. Not sure what that would do anyway if what tonestone57 showed is not enough for you to work from. I am always willing to take direction and try things but not sure what else I can do to assist you getting info needed to add sound to Haiku running from Mac Mini 2010 models.

Let me know if there is something else, how I can get that "something else", and if not, is this just a close case now or something that can sit on back burner and one day maybe a solution found.

Regards and thanks for what was done so far,

tj

comment:29 by diver, 14 years ago

On your place I would try to install FreeBSD 8.2.

comment:30 by pulkomandy, 6 years ago

Milestone: R1R1/beta2

comment:31 by pulkomandy, 5 years ago

Milestone: R1/beta2Unscheduled

Removing HDA audio tickets from Beta2 milestone, no one has worked on it and opensound is available at least as a stopgap.

comment:32 by waddlesplash, 2 years ago

Please retest under a recent nightly.

Note: See TracTickets for help on using tickets.