Subject: Re: tester needed: auich and 1.6 branch
To: TAMURA Kent <kent@NetBSD.org>
From: Ian Zagorskih <ianzag@megasignal.com>
List: port-i386
Date: 02/04/2004 18:18:36
This is a multi-part message in MIME format.

------=_NextPart_000_000D_01C3EB4B.4E255590
Content-Type: text/plain;
	charset="koi8-r"
Content-Transfer-Encoding: 7bit


Sorry for cross-reply but I lost the original message.

----- Original Message -----
From: "Aymeric Vincent" <Aymeric.Vincent@labri.fr>
To: "TAMURA Kent" <kent@NetBSD.org>
Cc: <port-i386@NetBSD.org>
Sent: Wednesday, February 04, 2004 4:13 PM
Subject: Re: tester needed: auich and 1.6 branch


>
>         Hi,
>
> TAMURA Kent <kent2004?@hauN.org> writes:
>
> > I ported new devices support of -current auich to NetBSD 1.6
> > branch.  I'd like to know whether it works.  New supported
> > devices are ICH4, ICH5, nForce, nForce2, nForce3, SiS 7012, AMD
> > 768, and AMD 8111.  4ch/6ch playback is not ported.
> >
> > To test the driver, download the following files, copy them to
> > src/sys/dev/pci/, rebuild a kernel, install and reboot.
> >
> > http://www.hauN.org/kent/netbsd-1-6/auich.c
> > http://www.hauN.org/kent/netbsd-1-6/auichreg.h
> > http://www.hauN.org/kent/netbsd-1-6/pcidevs
> > http://www.hauN.org/kent/netbsd-1-6/pcidevs.h
> > http://www.hauN.org/kent/netbsd-1-6/pcidevs_data.h
>

I have tried above files with NetBSD-1.6.1-stable/i386. Audio seems to work
fine in mpg123, xmms and artsd/KDE3. At least audio output. Though I'm just
wondering why there are attachment of audio1 at audio0 so i got two audio
busses :)

Well, one problem still stayed - no sound while playing audio CDROMs through
audio card. I guess this isn't auich problem and more likely atapibus || cd.
Just found that on the same machine running under -current, sound output is
enabled and all works fine.

Anyway, at least with this patches I havn't to add entries for i82801DB/DBM
(ICH4) support into auich.c :)

dmesg output is attached.

// wbr

------=_NextPart_000_000D_01C3EB4B.4E255590
Content-Type: text/plain;
	name="dmesg.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="dmesg.txt"

NetBSD 1.6.1 (Ianzag) #2: Wed Feb  4 17:33:18 NOVT 2004=0A=
    ianzag@ianzag:/usr/src/sys/arch/i386/compile/Ianzag=0A=
cpu0: Intel Pentium 4 (686-class), 1818.08 MHz=0A=
cpu0: D-cache 8 KB 64b/line 4-way=0A=
cpu0: features 3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>=0A=
cpu0: features 3febfbff<PGE,MCA,CMOV,FGPAT,PSE36,CFLUSH,DS,ACPI,MMX>=0A=
cpu0: features 3febfbff<FXSR,SSE,SSE2,SS,HTT,TM>=0A=
total memory =3D 255 MB=0A=
avail memory =3D 234 MB=0A=
using 3296 buffers containing 13184 KB of memory=0A=
BIOS32 rev. 0 found at 0xfa0e0=0A=
mainbus0 (root)=0A=
pci0 at mainbus0 bus 0: configuration mode 1=0A=
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok=0A=
pchb0 at pci0 dev 0 function 0=0A=
pchb0: Intel 82845 Host (rev. 0x11)=0A=
agp0 at pchb0: aperture at 0xd0000000, size 0x8000000=0A=
ppb0 at pci0 dev 1 function 0: Intel 82845 AGP (rev. 0x11)=0A=
pci1 at ppb0 bus 1=0A=
pci1: i/o space, memory space enabled=0A=
vga0 at pci1 dev 0 function 0: Nvidia Corporation product 0x0171 (rev. =
0xa3)=0A=
wsdisplay0 at vga0 (kbdmux ignored): console (80x25, vt100 emulation)=0A=
uhci0 at pci0 dev 29 function 0: Intel 82801DB USB UHCI Controller #1 =
(rev. 0x01)=0A=
uhci0: interrupting at irq 12=0A=
usb0 at uhci0: USB revision 1.0=0A=
uhub0 at usb0=0A=
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1=0A=
uhub0: 2 ports with 2 removable, self powered=0A=
uhci1 at pci0 dev 29 function 1: Intel 82801DB USB UHCI Controller #2 =
(rev. 0x01)=0A=
uhci1: interrupting at irq 4=0A=
usb1 at uhci1: USB revision 1.0=0A=
uhub1 at usb1=0A=
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1=0A=
uhub1: 2 ports with 2 removable, self powered=0A=
uhci2 at pci0 dev 29 function 2: Intel 82801DB USB UHCI Controller #3 =
(rev. 0x01)=0A=
uhci2: interrupting at irq 3=0A=
usb2 at uhci2: USB revision 1.0=0A=
uhub2 at usb2=0A=
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1=0A=
uhub2: 2 ports with 2 removable, self powered=0A=
Intel 82801DB/DBM USB EHCI Controller (USB serial bus, interface 0x20, =
revision 0x01) at pci0 dev 29 function 7 not configured=0A=
ppb1 at pci0 dev 30 function 0: Intel 82801BA Hub-to-PCI Bridge (rev. =
0x81)=0A=
pci2 at ppb1 bus 2=0A=
pci2: i/o space, memory space enabled=0A=
rtk0 at pci2 dev 9 function 0: RealTek 8139 10/100BaseTX=0A=
rtk0: interrupting at irq 11=0A=
rtk0: Ethernet address 00:20:ed:42:63:05=0A=
ukphy0 at rtk0 phy 7: Generic IEEE 802.3u media interface=0A=
ukphy0: OUI 0x000000, model 0x0000, rev. 0=0A=
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto=0A=
pcib0 at pci0 dev 31 function 0=0A=
pcib0: Intel 82801DB LPC Interface Bridge (rev. 0x01)=0A=
pciide0 at pci0 dev 31 function 1: Intel 82801DB IDE Controller (ICH4) =
(rev. 0x01)=0A=
pciide0: bus-master DMA support present=0A=
pciide0: primary channel wired to compatibility mode=0A=
wd0 at pciide0 channel 0 drive 0: <IC35L060AVER07-0>=0A=
wd0: drive supports 16-sector PIO transfers, LBA addressing=0A=
wd0: 58644 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 120103200 =
sectors=0A=
wd0: 32-bit data port=0A=
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)=0A=
wd1 at pciide0 channel 0 drive 1: <Maxtor 2B010H1>=0A=
wd1: drive supports 16-sector PIO transfers, LBA addressing=0A=
wd1: 9771 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 20012832 =
sectors=0A=
wd1: 32-bit data port=0A=
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)=0A=
pciide0: primary channel interrupting at irq 14=0A=
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using =
DMA data transfers)=0A=
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using =
DMA data transfers)=0A=
pciide0: secondary channel wired to compatibility mode=0A=
atapibus0 at pciide0 channel 1: 2 targets=0A=
cd0 at atapibus0 drive 1: <ASUS CD-S500/A, , V1.4D> type 5 cdrom =
removable=0A=
cd0: 32-bit data port=0A=
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)=0A=
pciide0: secondary channel interrupting at irq 15=0A=
cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using =
DMA data transfers)=0A=
Intel 82801DB SMBus Controller (SMBus serial bus, revision 0x01) at pci0 =
dev 31 function 3 not configured=0A=
auich0 at pci0 dev 31 function 5: i82801DB/DBM (ICH4/ICH4M) AC-97 Audio=0A=
auich0: interrupting at irq 5=0A=
auich0: ALG32 codec; 20 bit DAC, 18 bit ADC, Realtek 3D=0A=
audio0 at auich0: full duplex, mmap, independent=0A=
isa0 at pcib0=0A=
pckbc0 at isa0 port 0x60-0x64=0A=
pckbd0 at pckbc0 (kbd slot)=0A=
pckbc0: using irq 1 for kbd slot=0A=
wskbd0 at pckbd0 (mux ignored): console keyboard, using wsdisplay0=0A=
pcppi0 at isa0 port 0x61=0A=
spkr0 at pcppi0=0A=
sysbeep0 at pcppi0=0A=
npx0 at isa0 port 0xf0-0xff: using exception 16=0A=
apm0 at mainbus0: Power Management spec V1.2=0A=
biomask f7dd netmask ffdd ttymask ffdf=0A=
auich0: measured ac97 link rate at 48006 Hz, will use 48000 Hz=0A=
audio1 at auich0: full duplex, mmap, independent=0A=
uhub3 at uhub0 port 1=0A=
uhub3: Chuntex Ex1300 hub, class 9/1, rev 1.00/0.01, addr 2=0A=
uhub3: 5 ports with 4 removable, self powered=0A=
uhidev0 at uhub3 port 2 configuration 1 interface 0=0A=
uhidev0: Logitech USB Mouse, rev 1.10/6.20, addr 3, iclass 3/1=0A=
ums0 at uhidev0: 3 buttons and Z dir.=0A=
wsmouse0 at ums0 (mux ignored)=0A=
uhidev1 at uhub3 port 4 configuration 1 interface 0=0A=
uhidev1: Chuntex product 0x1786, rev 1.00/0.01, addr 4, iclass 3/0=0A=
uhidev1: 34 report ids=0A=
uhid0 at uhidev1 reportid 1: input=3D0, output=3D0, feature=3D128=0A=
uhid1 at uhidev1 reportid 2: input=3D0, output=3D0, feature=3D2=0A=
uhid2 at uhidev1 reportid 3: input=3D2, output=3D0, feature=3D2=0A=
uhid3 at uhidev1 reportid 5: input=3D0, output=3D0, feature=3D1=0A=
uhid4 at uhidev1 reportid 6: input=3D3, output=3D0, feature=3D3=0A=
uhid5 at uhidev1 reportid 7: input=3D1, output=3D0, feature=3D1=0A=
uhid6 at uhidev1 reportid 8: input=3D6, output=3D0, feature=3D6=0A=
uhid7 at uhidev1 reportid 9: input=3D3, output=3D0, feature=3D3=0A=
uhid8 at uhidev1 reportid 10: input=3D3, output=3D0, feature=3D3=0A=
uhid9 at uhidev1 reportid 12: input=3D5, output=3D0, feature=3D5=0A=
uhid10 at uhidev1 reportid 32: input=3D0, output=3D0, feature=3D1=0A=
uhid11 at uhidev1 reportid 33: input=3D0, output=3D0, feature=3D4=0A=
uhid12 at uhidev1 reportid 34: input=3D0, output=3D0, feature=3D1=0A=
boot device: wd1=0A=
root on wd1a dumps on wd1b=0A=
root file system type: ffs=0A=
wsdisplay0: screen 1 added (80x25, vt100 emulation)=0A=
wsdisplay0: screen 2 added (80x25, vt100 emulation)=0A=
wsdisplay0: screen 3 added (80x25, vt100 emulation)=0A=
wsdisplay0: screen 4 added (80x25, vt100 emulation)=0A=

------=_NextPart_000_000D_01C3EB4B.4E255590--