Subject: Re: iBook clamshell audio
To: None <marcotrillo@gmail.com>
From: Masafumi Hotta <ma-500@khaki.plala.or.jp>
List: port-macppc
Date: 12/01/2007 14:00:27
----Next_Part(Sat_Dec__1_14:00:27_2007_475)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello.

I enjoyed the test and it worked fine on my iBook.

First I tried with the internal speaker playing WAV file with
audioplay. But there was no sound at all.
Then I set the volume with mixerctl up to 250,250 (default is 80,80).
I could listen to the sound putting my ear on the speaker.
I think it is no good because 250,250 is the maximum level.

Next plugging stereo headphones, it worked with no problems.
Setting the volume to 80,80 again, it was enough to use with my
headphones, and 250,250 was to much.

I could see the message on the shell.
" i2s0: powering down
  dac3550a0: entering low power mode"

I'm looking forward the next time to test.
Thank you.

Masafumi Hotta


----Next_Part(Sat_Dec__1_14:00:27_2007_475)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="mixer.text"

monitor.output=speaker  { speaker headphones line }
monitor.master=80,80 volume
record.record=0,0 volume
monitor.treble=128,0 
monitor.bass=128,0 

----Next_Part(Sat_Dec__1_14:00:27_2007_475)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="dmesg.text"

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 4.0_RC2 (GENERIC_MD) #1: Fri Nov 30 12:47:16 CET 2007
	mtrillo@ununoctium.lan:/tmp/ppcobj/sys/arch/macppc/compile/GENERIC_MD
total memory = 576 MB
avail memory = 543 MB
timecounter: Timecounters tick every 10.000 msec
init_interrupt: found OpenPIC @ pa 0x80040000, 0x80040000
mainbus0 at root: PowerBook2,2
cpu0 at mainbus0: 750 (Revision 2.2), ID 0 (primary)
cpu0: HID0 8090c0a4<EMCP,DOZE,DPM,ICE,DCE,SGE,BTIC,BHT>, powersave: 1
cpu0: 466.67 MHz, 512KB WB L2 cache
uni_n0 at mainbus0 address 0xf8000000
ki2c0 at uni_n0 address 0xf8001000: Keywest I2C controller
ki2c0: rate = 100 kHz
iic0 at ki2c0
uninorth0 at mainbus0
pci0 at uninorth0 bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 11 function 0
pchb0: Apple Computer UniNorth AGP Interface (rev. 0x00)
ofb0 at pci0 dev 16 function 0
ofb0: 800 x 600, 8bpp
ofb0: framebuffer address 0x96008000
wsdisplay0 at ofb0 kbdmux 1: console (ofb, vt100 emulation)
wsmux1: connecting to wsdisplay0
uninorth1 at mainbus0
pci1 at uninorth1 bus 0
pci1: i/o space, memory space enabled
pchb1 at pci1 dev 11 function 0
pchb1: Apple Computer UniNorth Host-PCI Bridge (rev. 0x00)
obio0 at pci1 dev 23 function 0: KeyLargo, addr 0x80000000
interrupt-controller at obio0 offset 0x40000 not configured
gpio at obio0 offset 0x50 not configured
i2s0 at obio0 offset 0x10000: Apple I2S transport
i2s0: interrupting at irq 1
i2s0: interrupting at irq 2
escc-legacy at obio0 offset 0x12000 not configured
zsc0 at obio0 offset 0x13000: irq 22,50
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
timer at obio0 offset 0x15000 not configured
pmu0 at obio0 offset 0x16000: rev. 12
pmu0: interrupting at irq 47
pmu0: initializing RTC
pmu0: initializing ADB
nadb0 at pmu0: Apple Desktop Bus
pmu0: power-mgt not configured
battery at obio0 offset 0x0 not configured
backlight at obio0 offset 0xf300 not configured
ki2c1 at obio0 offset 0x18000: Keywest I2C controller
ki2c1: rate = 100 kHz
iic1 at ki2c1
dac3550a0 at iic1 addr 0x9a: Micronas-Intermetall DAC 3550A
dac3550a0: 5 V power
codec0 at dac3550a0
codec0: fmt[0]: sclk_fs=32, precision=16, rates=<8000,11025,16000,22050,24000,32000,44100,48000>
wdc0 at obio0 offset 0x1f000
wdc0: interrupting at irq 19
wdc0: DMA transfer
atabus0 at wdc0 channel 0
wdc1 at obio0 offset 0x20000
wdc1: interrupting at irq 20
wdc1: DMA transfer
atabus1 at wdc1 channel 0
wdc2 at obio0 offset 0x21000
wdc2: interrupting at irq 21
wdc2: DMA transfer
atabus2 at wdc2 channel 0
i2s0: connecting to codec0
i2s0: couldn't find GPIO control for codec reset!
i2s0: enabled outputs: {speaker }
i2s0: powering down
audio0 at i2s0: full duplex
ohci0 at pci1 dev 24 function 0: Apple Computer KeyLargo USB Controller (rev. 0x00)
ohci0: interrupting at irq 27
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Apple Computer OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ohci1 at pci1 dev 25 function 0: Apple Computer KeyLargo USB Controller (rev. 0x00)
ohci1: can't map mem space
uninorth2 at mainbus0
pci2 at uninorth2 bus 0
pci2: i/o space, memory space enabled
pchb2 at pci2 dev 11 function 0
pchb2: Apple Computer UniNorth Host-PCI Bridge (rev. 0x00)
fwohci0 at pci2 dev 14 function 0: Apple Computer product 0x0018 (rev. 0x01)
fwohci0: interrupting at irq 40
fwohci0: OHCI version 1.0 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:30:65:ff:fe:bb:a3:c0
fwohci0: Phy 1394a available S400, 1 ports.
fwohci0: Link S400, max_rec 2048 bytes.
ieee1394if0 at fwohci0: IEEE1394 bus
fwip0 at ieee1394if0: IP over IEEE1394
fwohci0: Initiate bus reset
gem0 at pci2 dev 15 function 0: Apple Computer GMAC Ethernet (rev. 0x01)
gem0: interrupting at irq 41
gem0: Ethernet address 00:30:65:bb:a3:c0, 10KB RX fifo, 4KB TX fifo
bmtphy0 at gem0 phy 0: BCM5201 10/100 media interface, rev. 2
bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "mftb" frequency 16644884 Hz quality 100
resCount=4080 plen=20 len=-4
fwohci0: AR DMA status=8409,  skip buffer done
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
ieee1394if0: 1 nodes, maxhop <= 0, Not found IRM capable node
adbkbd0 at nadb0 addr 2: PowerBook G3 keyboard (Japanese layout)
wskbd0 at adbkbd0: console keyboard, using wsdisplay0
wsmouse at adbkbd0 not configured
adbms0 at nadb0 addr 3: EMP trackpad <tpad> 2-button, 400 dpi
wsmouse0 at adbms0 mux 0
nadb0: something from address 7:1f not configured
Kernelized RAIDframe activated
md0: internal 3072 KB image area
wd0 at atabus0 drive 0: <FUJITSU MHW2080AT>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66) (using DMA)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <MATSHITADVD-ROM SR-8174, , C113> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(wdc1:0:0): using PIO mode 4, DMA mode 2 (using DMA)
boot device: wd0
root on md0a dumps on md0b
root file system type: ffs
WARNING: clock gained 20 days
WARNING: CHECK AND RESET THE DATE!
i2s0: clksrc = 49152000 Hz, mclk = 48000 * 256 = 12288000, sclk / 48000 = 32
i2s0: powering down
dac3550a0: entering low power mode
i2s0: clksrc = 49152000 Hz, mclk = 48000 * 256 = 12288000, sclk / 48000 = 32
i2s0: powering down
dac3550a0: entering low power mode

----Next_Part(Sat_Dec__1_14:00:27_2007_475)----