NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/44670: audio output doesn't work on my MacBook1,1



>Number:         44670
>Category:       kern
>Synopsis:       audio output doesn't work on my MacBook1,1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 02 20:35:00 +0000 2011
>Originator:     Taylor R Campbell <campbell+netbsd%mumble.net@localhost>
>Release:        NetBSD 5.99.47
>Organization:
>Environment:
System: NetBSD oberon.local 5.99.47 NetBSD 5.99.47 (RIAMONODEBUG) #31: Mon Feb 
28 05:14:15 UTC 2011  
root@smalltalk.local:/home/riastradh/netbsd/current/obj/sys/arch/i386/compile/RIAMONODEBUG
 i386
Architecture: i386
Machine: i386
>Description:

        I can't coax my MacBook into producing audio output --
        `audioplay -d /dev/audio foo' produces output neither in the
        internal speakers nor through the headphone jack.  I have also
        tried a NetBSD 5.1 kernel with azalia(4), to no avail.  (I may
        have needed to wire up mixerctl in some hairy way to make it
        work with azalia(4), and I didn't try very hard to do that.)

        Here's some relevant information from the -current kernel.  Let
        me know if you want more -- e.g., any kind of debugging output
        from the hdaudio(4) driver.

% egrep -i '(audio|hdafg)' < /var/run/dmesg.boot
hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
hdaudio0: interrupting at ioapic0 pin 22
hdafg0 at hdaudio0: Sigmatel STAC9221 A1
hdafg0: ADC00 2ch: Mic In [Built-In]
hdafg0: DAC01 6ch: Speaker [Jack] [Built-In], SPDIF Out [Jack]
hdafg0: 6ch/2ch 44100Hz 48000Hz 88200Hz 96000Hz 192000Hz 16/16 20/32 24/32
audio0 at hdafg0: full duplex, playback, capture, independent
audio1 at pad0: half duplex, playback, capture
% mixerctl -av
outputs.master=254,254 volume delta=2
outputs.master.mute=off  [ off on ]
outputs.master2=254,254 volume delta=2
outputs.master2.mute=off  [ off on ]
record.monitor=0,0 volume delta=51
inputs.beep=255,255 volume delta=64
inputs.reclvl=0,0 volume delta=17
inputs.reclvl.mute=off  [ off on ]
outputs.dacsel=DAC01  { DAC01 }
record.source=ADC00  { ADC00 }
% audioctl -a
name=Sigmatel
version=STAC9221 A1
config=01h
encodings=slinear_le:16,slinear_be:16*,ulinear_le:16*,ulinear_be:16*,mulaw:8*,alaw:8*,slinear_le:32,slinear_be:32*,ulinear_le:32*,ulinear_be:32*
properties=full_duplex,independent
full_duplex=0
fullduplex=0
blocksize=9600
hiwat=6
lowat=1
monitor_gain=0
mode=
play.rate=8000
play.channels=1
play.precision=8
play.encoding=mulaw
play.gain=254
play.balance=32
play.port=0x0
play.avail_ports=0x0
play.seek=0
play.samples=7421
play.eof=0
play.pause=0
play.error=1
play.waiting=0
play.open=0
play.active=0
play.buffer_size=65536
record.rate=8000
record.channels=1
record.precision=8
record.encoding=mulaw
record.gain=0
record.balance=32
record.port=0x0
record.avail_ports=0x0
record.seek=0
record.samples=0
record.eof=0
record.pause=0
record.error=0
record.waiting=0
record.open=0
record.active=0
record.buffer_size=65536
record.errors=0

>How-To-Repeat:

        Install NetBSD on a MacBook1,1.  Attempt to make audio output.
        Watch the little red light in the headphone jack with chagrin.

>Fix:

        Yes, please!  Unfortunately, the solution to PR kern/44484
        doesn't solve my problem.



Home | Main Index | Thread Index | Old Index