Bug 143715

Summary: Audio Quit After Installing 8.0
Product: Base System Reporter: Michael Bechtold <wmichaelb>
Component: kernAssignee: Gavin Atkinson <gavin>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Michael Bechtold 2010-02-10 02:30:01 UTC
Hi, I recently installed the PC-BSD 8.0 beta upgrade, and in the process, my 
audio output disappeared. It worked well on PC-BSD 7.1, and also does so when 
the machine is booted from a Fedora 11 live CD, so it's not hardware. I've 
been working with Kris on the PC-BSD team on testing this and that, but he now 
feels we need to bring this issue up to the FreeBSD driver team. 

KDE Info Center gives the following information:

FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
Installed devices:
pcm0: <Intel ICH4 (82801DB)> at io 0xfebff800, 0xfebff400 irq 17 bufsz 16384 
kld snd_ich [MPSAFE] (1p:4v/ir/4v channels duplex default)

The sound support for loader.conf looks like this:

# Load sound-support
sound_load="YES"
snd_uaudio_load="YES"


The sound support for rc.conf looks like this:

# Enable sound-support
snddetect_enable="YES"
mixer_enable="YES"

If I try to play an mp3 file with mplayer from a terminal, I get this:

Music/Norwegian_Wood.mp3
MPlayer 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.06GHz (Family: 15, Model: 2, Stepping: 9)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.

Playing /home/mikeb1/Desktop/Music/Norwegian_Wood.mp3.
Audio file file format detected.
Clip info:
 Title: Norwegian Wood (This Bird Has
 Artist: Buddy Rich
 Album: Big Swing Face
 Year: 1967
 Comment: Amazon.com Song ID: 20205921
 Track: 1
 Genre: Jazz
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...

but absolutely no sound comes out of the speakers. I'm happy to help with this one if I can, and thanks in advance.

How-To-Repeat: Install PC-BSD 8.0 and try to play an mp3 or other sound file.
Comment 1 Gavin Atkinson freebsd_committer freebsd_triage 2010-02-13 21:30:10 UTC
State Changed
From-To: open->feedback

To submitter: firstly, what type of sound card are you using?  The output 
of the KDE application suggests that you are using the onboard ICH4 
sound card, however the fact you have "snd_uaudio_load" in loader.conf 
suggests that you may be using a USB audio device? 

Can you give the output of the folliwing commands in a terminal please: 

ls -l /dev/pcm* 
cat /dev/sndstat 
dmesg |grep pcm 

Thanks! 



Comment 2 Gavin Atkinson freebsd_committer freebsd_triage 2010-02-13 21:30:10 UTC
Responsible Changed
From-To: freebsd-i386->gavin

Track 

http://www.freebsd.org/cgi/query-pr.cgi?pr=143715 

Date: Mon, 29 Mar 2010 10:31:41 -0400
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2010-04-10 23:59:16 UTC
State Changed
From-To: feedback->closed

From misfiled PR kern/145618: 

Date: Sat, 10 Apr 2010 16:15:39 -0400