Feb 27 snapshot on iBook, sound problems

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Feb 27 snapshot on iBook, sound problems

Dennis Schwarz
Hi,

mpg321 doesn't produce any sound. The last and only time sound worked on this iBook was after the following commit by jason@:

Modified files:
        sys/arch/macppc/dev: snapper.c

Log message:
on the iBook G3, there are too many devices with the same gpio name;
prefer the first found.  Now, FINALLY, I have my own music at the
hackathon.  ok drahn
[and yes, dale, I'm working on mplayer]

any ideas ? dmesg, mixerctl, audioctl output follows

thanks,

Dennis

dmesg:

[ using 338996 bytes of bsd ELF symbol table ]
console out [ATY,Bee_A]console in [keyboard] ADB found
using parent ATY,BeeParent:: memaddr 98000000 size 8000000, : consaddr 9c008000, : ioaddr 90020000, size 20000: memtag 8000, iotag 8000: width 1024 linebytes 1024 height 768 depth 8
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2006 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 3.9 (GENERIC) #851: Mon Feb 27 18:39:51 MST 2006
    [hidden email]:/usr/src/sys/arch/macppc/compile/GENERIC
real mem = 134217728 (131072K)
avail mem = 110862336 (108264K)
using 1254 buffers containing 6709248 bytes (6552K) of memory
mainbus0 (root): model PowerBook4,3
cpu0 at mainbus0: 750FX (Revision 0x203): 900 MHz: 512KB L2 cache
memc0 at mainbus0: uni-n
ki2c0 at memc0 offset 0xf8001000
iic0 at ki2c0
admtmp0 at iic0 addr 0xac
mpcpcibr0 at mainbus0 pci: uni-north, Revision 0xff
pci0 at mpcpcibr0 bus 0
pchb0 at pci0 dev 11 function 0 "Apple Pangea AGP" rev 0x00
vgafb0 at pci0 dev 16 function 0 "ATI Radeon Mobility M7 LW" rev 0x00, mmio
wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation)
mpcpcibr1 at mainbus0 pci: uni-north, Revision 0x0
pci1 at mpcpcibr1 bus 0
pchb1 at pci1 dev 11 function 0 "Apple Pangea" rev 0x00
macobio0 at pci1 dev 23 function 0 "Apple Pangea Macio" rev 0x00
openpic0 at macobio0 offset 0x40000: version 0x4614
macgpio0 at macobio0 offset 0x50
macgpio1 at macgpio0 offset 0x9 irq 47
"programmer-switch" at macgpio0 offset 0x11 not configured
"firewire-linkon" at macgpio0 offset 0x5b not configured
"cpu-vcore-select" at macgpio0 offset 0x6b not configured
"extint-gpio4" at macgpio0 offset 0x5c not configured
"gpio9" at macgpio0 offset 0x73 not configured
"extint-gpio12" at macgpio0 offset 0x64 not configured
"gpio5" at macgpio0 offset 0x6f not configured
"gpio6" at macgpio0 offset 0x70 not configured
"extint-gpio4" at macgpio0 offset 0x5c not configured
"gpio11" at macgpio0 offset 0x75 not configured
"extint-gpio15" at macgpio0 offset 0x67 not configured
"escc-legacy" at macobio0 offset 0x12000 not configured
zsc0 at macobio0 offset 0x13000: irq 22,23
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
snapper0 at macobio0 offset 0x10000: irq 30,1,2
"timer" at macobio0 offset 0x15000 not configured
adb0 at macobio0 offset 0x16000 irq 25: via-pmu, 3 targets
akbd0 at adb0 addr 2: PowerBook G4 keyboard (Inverted T)
wskbd0 at akbd0: console keyboard, using wsdisplay0
ams0 at adb0 addr 3: EMP trackpad <tpad> 2-button, 400 dpi
wsmouse0 at ams0 mux 0
abtn0 at adb0 addr 7: brightness/volume/eject buttons
apm0 at adb0: battery flags 0x1, 0% charged
pi2c0 at adb0
iic1 at pi2c0
"battery" at macobio0 offset 0x0 not configured
"backlight" at macobio0 offset 0xf300 not configured
ki2c1 at macobio0 offset 0x18000
iic2 at ki2c1
wdc0 at macobio0 offset 0x1f000 irq 19: DMA
wd0 at wdc0 channel 0 drive 0: <TOSHIBA MK4021GAS>
wd0: 16-sector PIO, LBA, 38154MB, 78140160 sectors
atapiscsi0 at wdc0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <TOSHIBA, DVD-ROM SD-R2412, 1R19> SCSI0 5/cdrom removable
wd0(wdc0:0:0): using PIO mode 4, DMA mode 2
cd0(wdc0:0:1): using PIO mode 4, DMA mode 2
wi0 at macobio0 offset 0x30000 irq 57:
wi0: Firmware 8.70 variant 1, address 00:30:65:2b:4a:f3
audio0 at snapper0
ohci0 at pci1 dev 24 function 0 "Apple Pangea USB" rev 0x00: irq 27, version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Apple OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ohci1 at pci1 dev 25 function 0 "Apple Pangea USB" rev 0x00: irq 28, version 1.0
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: Apple OHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
mpcpcibr2 at mainbus0 pci: uni-north, Revision 0x6
pci2 at mpcpcibr2 bus 0
pchb2 at pci2 dev 11 function 0 "Apple Pangea PCI" rev 0x00
"Apple Pangea FireWire" rev 0x00 at pci2 dev 14 function 0 not configured
gem0 at pci2 dev 15 function 0 "Apple Pangea GMAC" rev 0x00: irq 41, address 00:0d:93:af:dc:52
bmtphy0 at gem0 phy 0: BCM5221 100baseTX PHY, rev. 4
bootpath: '/pci@f2000000/mac-io@17/ata-4@1f000/disk@0/bsd'
boot device: wd0.
root on wd0a
rootdev=0x0 rrootdev=0xb00 rawdev=0xb02
ugen0 at uhub1 port 2
ugen0: HCF USB V.90 Data/Fax Modem Apple internal modem, rev 1.10/1.00, addr 2
i2s_set_rate: timeout
i2s_set_rate: timeout
i2s_set_rate: timeout
i2s_set_rate: timeout
i2s_set_rate: timeout
i2s_set_rate: timeout

mixerctl -av:

outputs.select=speaker  { speaker headphones }
outputs.master=80,80 volume
record.source=  { cd mic line }
record.record=0,0 volume
outputs.bass=0,0
outputs.treble=0,0

audioctl -a while mpg321 is trying to play an mp3

name=SNAPPER
version=
config=snapper
encodings=slinear:16,slinear_be:16,slinear_le:16*,ulinear_be:16*,ulinear_le:16*,mulaw:8*,alaw:8*,slinear:8*,ulinear:8*
properties=full_duplex
full_duplex=0
fullduplex=0
blocksize=8192
hiwat=8
lowat=6
monitor_gain=0
mode=playsync
play.rate=44100
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=57344
play.samples=8192
play.eof=0
play.pause=0
play.error=0
play.waiting=0
play.open=1
play.active=0
play.buffer_size=65536
record.rate=44100
record.channels=2
record.precision=16
record.encoding=slinear_be
record.gain=0
record.balance=32
record.port=0x0
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