Subject: audio on iBook
To: None <port-macppc@netbsd.org>
From: None <amoschos@in.gr>
List: port-macppc
Date: 04/21/2006 15:13:16
Hi

i am running NetBSD 3.99.18 on an whithe ibook 500Mhz dual usb and i am =
having some problems playing mp3.
Dmesg reports:
awacs0 at obio0 offset 0x10000: irq 30,1,2
audio0 at awacs0: full duplex

audioctl -a reports:
name=3DAWACS
version=3D
config=3Dawacs
encodings=3Dslinear:16,slinear_be:16,slinear_le:16*,ulinear_be:16*,ulinea=
r_le:16*,mulaw:8*,alaw:8*
properties=3Dfull_duplex
full_duplex=3D0
fullduplex=3D0
blocksize=3D4096
hiwat=3D16
lowat=3D1
monitor_gain=3D0
mode=3D
play.rate=3D44100
play.channels=3D2
play.precision=3D16
play.encoding=3Dslinear_be
play.gain=3D127
play.balance=3D32
play.port=3D0x0
play.avail_ports=3D0x0
play.seek=3D4096
play.samples=3D9818112
play.eof=3D0
play.pause=3D0
play.error=3D1
play.waiting=3D0
play.open=3D0
play.active=3D0
play.buffer_size=3D65536
record.rate=3D44100
record.channels=3D2
record.precision=3D16
record.encoding=3Dslinear_be
record.gain=3D176
record.balance=3D32
record.port=3D0x4
record.avail_ports=3D0x7
record.seek=3D0
record.samples=3D0
record.eof=3D0
record.pause=3D0
record.error=3D0
record.waiting=3D0
record.open=3D0
record.active=3D0
record.buffer_size=3D65536
record.errors=3D0

mixerctl -a reports:
monitor.output=3Dspeaker
outputs.speaker=3D80,80
outputs.headphones=3D240,240
record.source=3Dcd
record.record=3D176,176

whenever i play an mp3 file on xmms or mpg123 everything seems normal =
but no sound is getting out of the ibook (both speaker and =
headphones).Using lsof i can see /dev/audio been used by the process =
(mpg123 or xmms-OSS driver for output-), on xmms every time it starts =
playing, volume is at the minimum level.
I tried to adjust volume and redirect to headphones using mixerctl but =
nothing.

I have also tried to use the snapper audio driver but kernel saw nothing =
as "audio".

Is the awacs driver reported to work on this model?
If yes is anything i could do to make it work?

Regards
Andreas

BTW is there a way to simulate a right click in xfce4?