12727 Realtek ALC892 seems to work, but no sound comes out. Please help - 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 June 8th, 2012, 00:32
Chris_H Chris_H is offline
Junior Member
 
Join Date: Mar 2012
Location: the console
Posts: 43
Thanks: 4
Thanked 1 Time in 1 Post
Default

Greetings all,

Code:
FreeBSD udns 8.3-STABLE FreeBSD 8.3-STABLE #2: Sun May 20 22:25:10 PDT 2012
root@udns:/usr/obj/usr/src/sys/AMD64  amd64
OK. Now that I've got that out of the way, here's my situation:

I've got an MSI mobo with an AMD 3 core CPU. The sound is onboard, and is a Realtek ALC892.

loader.conf:
Code:
sound_load="YES"
snd_hda_load="YES"
I've searched the forums, read the handbook, following all the hints therein. I have 4 stereo output(s) -- front, rear, center subwoofer, & side surround. I have headphones plugged into each of those output(s),

Code:
# ls /dev/ | grep dsp
dsp0.0
dsp0.1
dsp1.0
dsp2.0
but performing the following:
Code:
cat /dev/random > /dev/dsp0.0
cat /dev/random > /dev/dsp0.1
cat /dev/random > /dev/dsp1.0
cat /dev/random > /dev/dsp2.0
produces no sound!

/dev/sndstat:
Code:
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: <HDA Realtek ALC892 PCM #0 Analog> (play/rec) default
pcm1: <HDA Realtek ALC892 PCM #1 Analog> (play/rec)
pcm2: <HDA Realtek ALC892 PCM #2 Digital> (play)
--Chris

P.S.: Here's all the relevant output.


__________________
uname FreeBSD 8.2-STABLE AMD64
Feminists believe FreeBSD should have come with woman(1) pages.

Last edited by Chris_H; June 8th, 2012 at 02:49.
Reply With Quote
  #2  
Old June 8th, 2012, 12:24
mav@ mav@ is offline
FreeBSD Developer
 
Join Date: Feb 2008
Location: Dnepropetrovsk, Ukraine
Posts: 554
Thanks: 0
Thanked 136 Times in 119 Posts
Default

I don't see obvious problem in provided logs. It should work. Just make sure that in all 3 of your mixers "pcm" and "vol" controls are not set to zero.

You may try to update your system as I've just merged to 8-STABLE many HDA changes. I have no specific hopes, but who knows?

Last edited by DutchDaemon; June 8th, 2012 at 16:20.
Reply With Quote
  #3  
Old June 8th, 2012, 15:18
Chris_H Chris_H is offline
Junior Member
 
Join Date: Mar 2012
Location: the console
Posts: 43
Thanks: 4
Thanked 1 Time in 1 Post
Default

Greetings mav, and thank you for your reply. I have the mixer vols set @75%. In fact,
I issued the following in an xterm:
Code:
# mixer pcm 100 vol 100
which reported:
Code:
Setting the mixer pcm from 75:75 to 100:100.
So all I can figure, is that it isn't "wired" correctly.
I notice in the following:
Code:
hdac0: Processing audio FG cad=0 nid=1...
hdac0: GPIO: 0x40000002 NumGPIO=2 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
hdac0:  nid 17 0x411111f0 as 15 seq  0       Speaker  None jack  1 loc  1 color   Black misc 1
hdac0:  nid 18 0x411111f0 as 15 seq  0       Speaker  None jack  1 loc  1 color   Black misc 1
hdac0:  nid 20 0x01014410 as  1 seq  0      Line-out  Jack jack  1 loc  1 color   Green misc 4
hdac0:  nid 21 0x01011412 as  1 seq  2      Line-out  Jack jack  1 loc  1 color   Black misc 4
hdac0:  nid 22 0x01016411 as  1 seq  1      Line-out  Jack jack  1 loc  1 color  Orange misc 4
hdac0:  nid 23 0x01012414 as  1 seq  4      Line-out  Jack jack  1 loc  1 color    Grey misc 4
hdac0:  nid 24 0x01a19c40 as  4 seq  0           Mic  Jack jack  1 loc  1 color    Pink misc 12
hdac0:  nid 25 0x02a19c50 as  5 seq  0           Mic  Jack jack  1 loc  2 color    Pink misc 12
hdac0:  nid 26 0x0181344f as  4 seq 15       Line-in  Jack jack  1 loc  1 color    Blue misc 4
hdac0:  nid 27 0x02214c20 as  2 seq  0    Headphones  Jack jack  1 loc  2 color   Green misc 12
hdac0:  nid 28 0x593301f0 as 15 seq  0            CD  None jack  3 loc 25 color Unknown misc 1
hdac0:  nid 29 0x4007f603 as  0 seq  3      Line-out  None jack  7 loc  0 color   Other misc 6
hdac0:  nid 30 0x014b1130 as  3 seq  0     SPDIF-out  Jack jack 11 loc  1 color   Black misc 1
hdac0:  nid 31 0x411111f0 as 15 seq  0       Speaker  None jack  1 loc  1 color   Black misc 1
hdac0: Patched pins configuration:
hdac0:  nid 17 0x411111f0 as 15 seq  0       Speaker  None jack  1 loc  1 color   Black misc 1 [DISABLED]
hdac0:  nid 18 0x411111f0 as 15 seq  0       Speaker  None jack  1 loc  1 color   Black misc 1 [DISABLED]
hdac0:  nid 20 0x01014410 as  1 seq  0      Line-out  Jack jack  1 loc  1 color   Green misc 4
hdac0:  nid 21 0x01011412 as  1 seq  2      Line-out  Jack jack  1 loc  1 color   Black misc 4
hdac0:  nid 22 0x01016411 as  1 seq  1      Line-out  Jack jack  1 loc  1 color  Orange misc 4
hdac0:  nid 23 0x01012414 as  1 seq  4      Line-out  Jack jack  1 loc  1 color    Grey misc 4
hdac0:  nid 24 0x01a19c40 as  4 seq  0           Mic  Jack jack  1 loc  1 color    Pink misc 12
hdac0:  nid 25 0x02a19c50 as  5 seq  0           Mic  Jack jack  1 loc  2 color    Pink misc 12
hdac0:  nid 26 0x0181344f as  4 seq 15       Line-in  Jack jack  1 loc  1 color    Blue misc 4
hdac0:  nid 27 0x02214c20 as  2 seq  0    Headphones  Jack jack  1 loc  2 color   Green misc 12
hdac0:  nid 28 0x593301f0 as 15 seq  0            CD  None jack  3 loc 25 color Unknown misc 1 [DISABLED]
hdac0:  nid 29 0x4007f603 as  0 seq  3      Line-out  None jack  7 loc  0 color   Other misc 6 [DISABLED]
hdac0:  nid 30 0x014b1130 as  3 seq  0     SPDIF-out  Jack jack 11 loc  1 color   Black misc 1
hdac0:  nid 31 0x411111f0 as 15 seq  0       Speaker  None jack  1 loc  1 color   Black misc 1 [DISABLED]
hdac0: Association 0 (1) out:
hdac0:  Pin nid=20 seq=0
hdac0:  Pin nid=22 seq=1
hdac0:  Pin nid=21 seq=2
hdac0:  Pin nid=23 seq=4
hdac0: Association 1 (2) out:
hdac0:  Pin nid=27 seq=0
hdac0: Association 2 (3) out:
hdac0:  Pin nid=30 seq=0
hdac0: Association 3 (4) in:
hdac0:  Pin nid=24 seq=0
hdac0:  Pin nid=26 seq=15
hdac0: Association 4 (5) in:
hdac0:  Pin nid=25 seq=0
hdac0: Tracing association 0 (1)
hdac0:  Pin 20 traced to DAC 2
hdac0:  Pin 22 traced to DAC 4
hdac0:  Pin 21 traced to DAC 3
hdac0:  Pin 23 traced to DAC 5
hdac0: Association 0 (1) trace succeeded
hdac0: Tracing association 1 (2)
hdac0:  Pin 27 traced to DAC 37
hdac0: Association 1 (2) trace succeeded
hdac0: Tracing association 2 (3)
hdac0:  Pin 30 traced to DAC 6
hdac0: Association 2 (3) trace succeeded
hdac0: Tracing association 3 (4)
hdac0:  Pin 24 traced to ADC 8
hdac0:  Pin 26 traced to ADC 8
hdac0: Association 3 (4) trace succeeded
hdac0: Tracing association 4 (5)
hdac0:  Pin 25 traced to ADC 9
hdac0: Association 4 (5) trace succeeded
hdac0: Tracing input monitor
hdac0:  Tracing nid 11 to out
hdac0:  nid 11 is input monitor
hdac0:  Tracing nid 34 to out
hdac0:  Tracing nid 35 to out
hdac0: Tracing other input monitors
hdac0:  Tracing nid 24 to out
hdac0:  Tracing nid 25 to out
hdac0:  Tracing nid 26 to out
hdac0: Tracing beeper
hdac0: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref
That the "speaker" is "[DISABLED]". If the colors mentioned in the output coincide with those of the output jacks; the "Rear" output has been disabled. As many times as I've read the snd_hda(4) man page, I can't quite grasp how I might "re-wire" the "speaker" output to [ACTIVE], or [ENABLED]. If you, or anyone else can think of something, I'd be very grateful.

Thanks again.

Oh. I forgot to mention in response; I've been tracking 8_STABLE, which puts me @ 8.3. Last kernel build was 05-20, which is only 3 wks. old. Can't imagine that being too old. But who knows.
__________________
uname FreeBSD 8.2-STABLE AMD64
Feminists believe FreeBSD should have come with woman(1) pages.

Last edited by DutchDaemon; June 8th, 2012 at 16:21. Reason: Do not truncate lines.
Reply With Quote
  #4  
Old June 8th, 2012, 16:58
mav@ mav@ is offline
FreeBSD Developer
 
Join Date: Feb 2008
Location: Dnepropetrovsk, Ukraine
Posts: 554
Thanks: 0
Thanked 136 Times in 119 Posts
Default

Modern CODECs usually have excessive functionality that may be unused in a specific setup. The driver prints [DISABLED] for parts of the CODEC that are not configured or not used for the configuration.

Last edited by DutchDaemon; June 8th, 2012 at 22:42.
Reply With Quote
  #5  
Old June 8th, 2012, 18:08
Chris_H Chris_H is offline
Junior Member
 
Join Date: Mar 2012
Location: the console
Posts: 43
Thanks: 4
Thanked 1 Time in 1 Post
Default

Hello mav, and thanks for the reply.

I'm not sure I completely follow. Does this mean that it won't be possible for me to use the "speaker" output with FreeBSD? I currently have 6 stereo ports available -- line-in, front, mic, rear, center surround, and side surround. I would figure that given there are jacks (1/8") that they'd be available. Doesn't snd_hd(4) permit me to "wire" my chosen in(out)put(s)?

Thanks again, for the reply, mav.

--Chris

This would sure be a lot simpler, if I could simply solder the in(out)put(s).

__________________
uname FreeBSD 8.2-STABLE AMD64
Feminists believe FreeBSD should have come with woman(1) pages.

Last edited by DutchDaemon; June 8th, 2012 at 22:43. Reason: Do not truncate lines!
Reply With Quote
  #6  
Old June 8th, 2012, 19:04
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,701
Thanks: 429
Thanked 1,757 Times in 1,456 Posts
Default

Try the second output:
# sysctl hw.snd.default_unit=1
Reply With Quote
  #7  
Old June 8th, 2012, 20:24
Chris_H Chris_H is offline
Junior Member
 
Join Date: Mar 2012
Location: the console
Posts: 43
Thanks: 4
Thanked 1 Time in 1 Post
Default

Greetings wblock, and thanks for the reply.

Your suggestion had no effect, nor did
Code:
sysctl hw.snd.default_unit=2
On a good note; halting the system, and powering it off, then starting the system up again, did make the output to the "front" port work. Now, if I can just get the rest of them to work.

But at least I can hear files on the system.

Thanks again for taking the time to respond -- and for cleaning up my mess yesterday.
__________________
uname FreeBSD 8.2-STABLE AMD64
Feminists believe FreeBSD should have come with woman(1) pages.

Last edited by DutchDaemon; June 8th, 2012 at 22:43. Reason: Do not truncate lines!
Reply With Quote
  #8  
Old June 9th, 2012, 10:21
mav@ mav@ is offline
FreeBSD Developer
 
Join Date: Feb 2008
Location: Dnepropetrovsk, Ukraine
Posts: 554
Thanks: 0
Thanked 136 Times in 119 Posts
Default

Quote:
Originally Posted by Chris_H View Post
I'm not sure I completely follow. Does this mean that it won't be possible for me to use the "speaker" output with FreeBSD?
These pins are disabled not because they are "speaker", but because they are configured as unconnected. "Speaker" there is probably left from the default CODEC configuration and most likely it means nothing.

Last edited by DutchDaemon; June 9th, 2012 at 23:16.
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
[Solved] FreeBSD 9 Realtek ALC898 Sound Driver markfisher System Hardware 10 January 25th, 2012 05:18
[Solved] Realtek ALC883 no sound problem! Scotoner Multimedia 3 March 30th, 2011 10:50
[Solved] RealTek ALC892 no sound (snd_hda) Tinny System Hardware 2 December 30th, 2010 20:25
[PC-BSD 8.0] sound driver doesn't make sound card Intel ICH5 (82801EB) work Detective System Hardware 1 March 15th, 2010 00:24
[Solved] Yet another no sound problem Realtek ALC888 BSDRich Multimedia 3 July 1st, 2009 08:29


All times are GMT +1. The time now is 08:38.


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