Subject: no awacs sound on powerbook g4 titanium
To: None <port-macppc@netbsd.org>
From: Markus W Kilbinger <mk@kilbi.de>
List: port-macppc
Date: 08/09/2007 12:01:13
Hi!
After upgrading the whole -current kernel and userland on my powerbook
g4 titanium today I can no longer hear any awacs sound on this laptop!
Awacs sound was working fine with older -current snapshots of about
March 2007. Some facts about the machine:
dmesg:
NetBSD 4.99.27 (MACPPC) #34: Thu Aug 9 11:27:36 MEST 2007
root@qie:/usr/src/sys/arch/macppc/compile/MACPPC
total memory = 256 MB
avail memory = 239 MB
timecounter: Timecounters tick every 10.000 msec
init_interrupt: found OpenPIC @ pa 0x80040000, 0x80040000
mainbus0 (root)
cpu0 at mainbus0: 7410 (Revision 1.3), ID 0 (primary)
cpu0: HID0 8094c0a4<EMCP,DOZE,DPM,EIEC,ICE,DCE,SGE,BTIC,BHT>, powersave: 1
cpu0: 500.00 MHz, no-parity 1MB WB L2 cache (PB SRAM) at 2:1 ratio
uni_n0 at mainbus0 address 0xf8000000
ki2c0 at uni_n0 address 0xf8001000
iic0 at ki2c0: I2C bus
uninorth0 at mainbus0
[...]
awacs0 at obio0 offset 0x14000 Screamer: irq 24,9,10
awacs0: awacs0: codec status reg 00403100
speaker
ext_volume 6 6
speaker_volume 6 6
loopthrough_volume 0 0
audio0 at awacs0: full duplex
audioctl -a:
name=AWACS
version=
config=awacs
encodings=slinear:16,slinear_be:16,slinear_le:16*,ulinear_be:16*,ulinear_le:16*,mulaw:8*,alaw:8*
properties=full_duplex
full_duplex=0
fullduplex=0
blocksize=4096
hiwat=16
lowat=1
monitor_gain=0
mode=
play.rate=22050
play.channels=2
play.precision=16
play.encoding=slinear_be
play.gain=127
play.balance=32
play.port=0x0
play.avail_ports=0x0
play.seek=4096
play.samples=783872
play.eof=0
play.pause=0
play.error=1
play.waiting=0
play.open=0
play.active=0
play.buffer_size=65536
record.rate=22050
record.channels=2
record.precision=16
record.encoding=slinear_be
record.gain=176
record.balance=32
record.port=0x4
record.avail_ports=0x7
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
mixertctl -av:
monitor.output=speaker { speaker headphones }
monitor.master=144,144 volume
record.source=cd { cd mic line }
record.record=176,176 volume
The kernel is compiled with AWACS_DEBUG.
If I try to change 'monitor.output=headphones' it doesn't work:
awacs_set_port dev = 3, type = 2
awacs0: switching to speaker
.. and sticks to 'monitor.output=speaker'.
Changing e. g. 'monitor_gain=32' doesn't work and sticks to
monitor_gain=0
Another kernel output after starting mplayer is:
trigger_output 0xd00e9000 0xd00f9000 0x1000
All audio outputting programs I tried (mplayer, mpg123, ogg123) seem
to run fine and show normal/successfull audio data output production,
but I can't hear anything.
Is this a known problem/bug? Anything else I can try?
Markus.