12a04 [Solved] Older macbook headphones? - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Desktop Usage > Multimedia

Multimedia Having problems running your new shiny and blinking gadget or watching DVDs, listening to CDs etc.?

Reply
 
Thread Tools Display Modes
  #1  
Old February 16th, 2012, 04:41
forkandwait forkandwait is offline
Junior Member
 
Join Date: Nov 2009
Posts: 28
Thanks: 2
Thanked 0 Times in 0 Posts
Default Older macbook headphones?

Hi all,

I can't get the headphones on my older (6 years) cheap white macbook to run. I have speakers ok, and I know I had headphones before installing FreeBSD (9.0), but I can't seem to be able to figure this out.

I have found a lot of posts to the effect of "experiment with /boot/device.hints" but I don't know what to do at all with that.

Here is the output from the latest dmesg: http://pastebin.com/QYYAiyGb

If anybody can help, I would sure appreciate it. I can answer further questions if there are any.

Thanks.

Last edited by DutchDaemon; February 16th, 2012 at 11:23.
Reply With Quote
  #2  
Old February 16th, 2012, 13:09
mav@ mav@ is offline
FreeBSD Developer
 
Join Date: Feb 2008
Location: Dnepropetrovsk, Ukraine
Posts: 557
Thanks: 0
Thanked 139 Times in 120 Posts
Default

Provided dmesg is not informative enough. Please boot with verbose kernel messages (respective button in boot menu) and repeat.

Last edited by DutchDaemon; February 17th, 2012 at 01:06.
Reply With Quote
  #3  
Old February 16th, 2012, 15:45
forkandwait forkandwait is offline
Junior Member
 
Join Date: Nov 2009
Posts: 28
Thanks: 2
Thanked 0 Times in 0 Posts
Default

http://pastebin.com/v6y3f3fj

(Unix is a journey, not a destination...)

tx
Reply With Quote
  #4  
Old February 17th, 2012, 13:46
mav@ mav@ is offline
FreeBSD Developer
 
Join Date: Feb 2008
Location: Dnepropetrovsk, Ukraine
Posts: 557
Thanks: 0
Thanked 139 Times in 120 Posts
Default

I see the driver applies some changes to the codec configuration. Is that you've set something via device hints or it was done by the driver itself? Because what is done -- done wrong. If that's you -- remove it and try to add instead:
Code:
hint.hdac.0.cad0.nid10.config="seq=15 device=Headphones"
hint.hdac.0.cad0.nid16.config="as=15"
Reply With Quote
The Following User Says Thank You to mav@ For This Useful Post:
forkandwait (February 18th, 2012)
  #5  
Old February 18th, 2012, 06:25
forkandwait forkandwait is offline
Junior Member
 
Join Date: Nov 2009
Posts: 28
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Seems to work. Thanks!
Reply With Quote
  #6  
Old September 10th, 2012, 13:20
nano nano is offline
Junior Member
 
Join Date: Mar 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello everyone,

I think that I have the same model of the opener or the very next generation, being it a late 2006 or 2,1 white MacBook. The problem I have with the soundcard Sigmatel STAC9221 it's the same, that is the internal speakers are working correctly, while I get no sound from the headphones jack, nor it does mute when I insert the jack.

I tried to paste the lines above in my device.hints with no success, so I decided to ask for help here. Here's my dmesg with verbose boot: http://pastebin.com/zUDmhUhn

I hope someone can help me, thank you in advance for your attention

Last edited by DutchDaemon; September 10th, 2012 at 14:24. Reason: Don't repost posts held for moderation.
Reply With Quote
  #7  
Old September 10th, 2012, 22:39
mav@ mav@ is offline
FreeBSD Developer
 
Join Date: Feb 2008
Location: Dnepropetrovsk, Ukraine
Posts: 557
Thanks: 0
Thanked 139 Times in 120 Posts
Default

In your case CODEC configuration is different and so may be wiring. Try two such combination:
Code:
hint.hdac.0.cad0.nid10.config="as=4"
hint.hdac.0.cad0.nid15.config="as=1 seq=15"
Reply With Quote
  #8  
Old September 11th, 2012, 11:55
nano nano is offline
Junior Member
 
Join Date: Mar 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you really much for your effort and suggestion, but unfortunately these two lines seem not to work, and they actually muted the internal speaker that was working before.
Reply With Quote
  #9  
Old September 17th, 2012, 00:57
mav@ mav@ is offline
FreeBSD Developer
 
Join Date: Feb 2008
Location: Dnepropetrovsk, Ukraine
Posts: 557
Thanks: 0
Thanked 139 Times in 120 Posts
Default

Please show verbose dmesg with these tunables set.
Reply With Quote
  #10  
Old September 17th, 2012, 12:23
nano nano is offline
Junior Member
 
Join Date: Mar 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

http://pastebin.com/jGyj8L4s Here it is. Thank you
Reply With Quote
  #11  
Old September 17th, 2012, 22:00
mav@ mav@ is offline
FreeBSD Developer
 
Join Date: Feb 2008
Location: Dnepropetrovsk, Ukraine
Posts: 557
Thanks: 0
Thanked 139 Times in 120 Posts
Default

Oops, my bad, try this:
Code:
hint.hdac.0.cad0.nid10.config="as=4 seq=15"
hint.hdac.0.cad0.nid15.config="as=1 seq=15"
Reply With Quote
Reply

Tags
macbook headphone

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
No sound in headphones cuq Multimedia 6 February 5th, 2012 02:50
[Solved] Again, snd_hda headphones problem lichray Mobile Computing 1 August 19th, 2011 21:24
usb and jack headphones qpai Multimedia 5 August 31st, 2010 10:56
[Solved] No sound from headphones kurdupovk Multimedia 2 August 20th, 2009 07:22
Plugging headphones in doesn't mute speakers??? fonz Multimedia 4 February 14th, 2009 02:51


All times are GMT +1. The time now is 21:23.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0