cfea [Solved] [PC-BSD] laptop speakers not working - 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 May 5th, 2010, 20:44
Understudy Understudy is offline
Junior Member
 
Join Date: Nov 2008
Location: West Palm Beach, FL
Posts: 56
Thanks: 17
Thanked 0 Times in 0 Posts
Default [PC-BSD] laptop speakers not working

Hi,

I have an aspire one 532h. The speakers on the netbook do not seem to produce sound. However if I use the headphones I can hear the sounds just fine.

I am running pc-bsd 8.0

Code:
[bhorne@pcbsd-7986 /usr/home/bhorne]$ uname -a
FreeBSD pcbsd-7986 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #4: Thu Jan  7 09:20:42 PST 2010     root@build8x32.pcbsd.org:
/usr/obj/usr/pcbsd-build80/fbsd-source/8.0-src/sys/PCBSD  i386
Part of my /boot/loader.conf

Code:
# Load sound-support
sound_load="YES"
# snd_uaudio_load="YES"
snd_hda_load="YES"
Code:
root@pcbsd-7986# cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
Installed devices:
pcm0: <HDA Realtek ALC272 PCM #0 Analog> at cad 0 nid 1 on hdac0 kld snd_hda [MPSAFE] (1p:4v/1r:4v channels duplex default)
pcm1: <HDA Realtek ALC272 PCM #1 Analog> at cad 0 nid 1 on hdac0 kld snd_hda [MPSAFE] (0p:0v/1r:1v channels simplex)
Code:
[bhorne@pcbsd-7986 /usr/home/bhorne]$ mixer
Mixer vol      is currently set to  99:99
Mixer pcm      is currently set to  99:99
Mixer mix      is currently set to   0:0
Mixer rec      is currently set to  75:75
Mixer ogain    is currently set to   0:0
Mixer monitor  is currently set to  99:99
Recording source:

So my question is what can I do to get sound from the speakers built into the laptop?

Last edited by DutchDaemon; May 5th, 2010 at 22:38. Reason: tags
Reply With Quote
  #2  
Old May 5th, 2010, 22:00
paean's Avatar
paean paean is offline
Member
 
Join Date: Dec 2008
Location: .on.ca
Posts: 112
Thanks: 17
Thanked 9 Times in 9 Posts
Default

Try running # sysctl hw.snd.default_unit=1

There are many older posts with similar suggestions. Kindly search the forum.
__________________
Clear messages, focused subject matter and purposeful objectives lead to posts useful for all.
Reply With Quote
  #3  
Old May 5th, 2010, 22:09
darkmark darkmark is offline
Junior Member
 
Join Date: May 2010
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If paean's solution does not work this can be tricky to configure correctly, but the first step is to do a verbose boot so the that the driver prints out it's default pin configuration.

# nextboot -o "-v" -k kernel
# reboot

And after boot, you can look at the output via dmesg.

As long as you have snd_hda loading on bootup you should get a pin mapping like the example in the snd_hda manpage.

Then you might have to experiment a little to figure out which is which and set your device.hints file to map the correct outputs. It took me a while too, but I eventually figured out the correct mapping on my laptop.

Now that you know what type of information you're looking for, you might be able to find a solution via google as well by exploring searches with specific pin mappings.

Be sure to publish your solution!
Reply With Quote
  #4  
Old May 5th, 2010, 22:36
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,849
Thanks: 30
Thanked 1,892 Times in 1,335 Posts
Default

Quote:
Originally Posted by Understudy View Post
I am running pc-bsd 8.0
For the record: Topics about PC-BSD / FreeNAS / DesktopBSD / m0N0WALL / pfSense (and Posting and Editing in the FreeBSD Forums).
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Administrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
  #5  
Old May 5th, 2010, 22:54
Understudy Understudy is offline
Junior Member
 
Join Date: Nov 2008
Location: West Palm Beach, FL
Posts: 56
Thanks: 17
Thanked 0 Times in 0 Posts
Default

Solved

Set the ogain to 99
Reply With Quote
Reply

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
BSD laptop graudeejs Off-Topic 14 June 7th, 2010 01:26
Anyone got a tethered phone working for laptop broadband? rossiya Mobile Computing 3 May 6th, 2010 05:30
HP Laptop; FreeBSD no brightness control, PC-BSD works... ikbendeman Mobile Computing 12 February 21st, 2010 02:57
[PC-BSD] Internet Connection on laptop jamesroy Mobile Computing 2 February 5th, 2010 08:35
Installing Free BSD on HP DV-5 series Laptop ashvinsivram Mobile Computing 6 May 6th, 2009 13:39


All times are GMT +1. The time now is 07:37.


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