Subject: Sony Vaio i82801CA(ICH3) - Audio
To: None <port-i386@netbsd.org>
From: Werner Thunher <werner_thunher@yahoo.de>
List: port-i386
Date: 09/19/2004 12:39:00
I'm trying to get my soundcard(i82801CA(ICH3)) to work
correctly on my Sony Vaio PCG-GRV516G with NetBSD
1.6.2. The device is successfully registred at irq 9,
shared with device fxp0 and usb(mouse).
The interresting part: If i move my usb-mouse around
or my fxp0 is doing something(downloading), the sound
is playing. Verified with 'vmstat -i -w 1', the
counter for irq9 is incrementing.
With fxp0 and usb disabled, there is no interrupt at
irq9 if i'm moving something to /dev/audio!
I compiled a lot of differnent kernel
configurations(and different version(2.0)) and played
with:
options PCIBIOS
options PCIBIOSVERBOSE
options PCIBIOS_ADDR_FIXUP
options PCIBIOS_BUS_FIXUP
options PCIBIOS_INTR_FIXUP
options PCIBIOS_IRQS_HINT=0x0a00
options PCIBIOS_INTR_FIXUP_FORCE
options PCIBIOS_INTR_GUESS
options PCIINTR_DEBUG
and also options AUDIO_DEBUG
Disabled all devices at irq9 except auich in the
kernel configuration and had same effect after
compiling and restarting(no interrupt).
I'm new to NetBSD: I think the ISR for audio should
point to the address where int auich_intr(void *v) is
located and not when i'm moving my usb mouse around.
Read a lot of Sony Vaio and buggy BIOS
implementations.
Any suggestions?
--- Kernel Device output ---
auich0 at pci0 dev 31 function 5: PCI configuration
registers:
Common header:
0x00: 0x24858086 0x02800005 0x04010002 0x00000000
Vendor Name: Intel (0x8086)
Device Name: 82801CA/CAM AC'97 Audio Controller
(0x2485)
Command register: 0x0005
I/O space accesses: on
Memory space accesses: off
Bus mastering: on
Special cycles: off
MWI transactions: off
Palette snooping: off
Parity error checking: off
Address/data stepping: off
System error (SERR): off
Fast back-to-back transactions: off
Status register: 0x0280
Capability List support: off
66 MHz capable: off
User Definable Features (UDF) support: off
Fast back-to-back capable: on
Data parity error detected: off
DEVSEL timing: medium (0x1)
Slave signaled Target Abort: off
Master received Target Abort: off
Master received Master Abort: off
Asserted System Error (SERR): off
Parity error detected: off
Class Name: multimedia (0x04)
Subclass Name: audio (0x01)
Interface: 0x00
Revision ID: 0x02
BIST: 0x00
Header Type: 0x00 (0x00)
Latency Timer: 0x00
Cache Line Size: 0x00
Type 0 ("normal" device) header:
0x10: 0x00001c01 0x000018c1 0x00000000 0x00000000
0x20: 0x00000000 0x00000000 0x00000000 0x813c104d
0x30: 0x00000000 0x00000000 0x00000000 0x00000209
Base address register at 0x10
type: 16-bit i/o
base: 0x00001c00, size: 0x00000100
Base address register at 0x14
type: 16-bit i/o
base: 0x000018c0, size: 0x00000040
Base address register at 0x18
not implemented(?)
Base address register at 0x1c
not implemented(?)
Base address register at 0x20
not implemented(?)
Base address register at 0x24
not implemented(?)
Cardbus CIS Pointer: 0x00000000
Subsystem vendor ID: 0x104d
Subsystem ID: 0x813c
Expansion ROM Base Address: 0x00000000
Reserved @ 0x34: 0x00000000
Reserved @ 0x38: 0x00000000
Maximum Latency: 0x00
Minimum Grant: 0x00
Interrupt pin: 0x02 (pin B)
Interrupt line: 0x09
Device-dependent header:
0x40: 0x00000001 0x00000000 0x00000000 0x00000000
0x50: 0x00000000 0x00000000 0x00000000 0x00000000
0x60: 0x00000000 0x00000000 0x00000000 0x00000000
0x70: 0x00000000 0x00000000 0x00000000 0x00000000
0x80: 0x00000000 0x00000000 0x00000000 0x00000000
0x90: 0x00000000 0x00000000 0x00000000 0x00000000
0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
0xf0: 0x00000000 0x00000000 0x00000f47 0x00000000
Don't know how to pretty-print device-dependent
header.
Intel 82801CA/CAM AC'97 Audio Controller (audio
multimedia, revision 0x02) at ?
dev 31 function 5 (tag 0x8000fd00, intrtag 0x8000fd00,
intrswiz 0, intrpin 0x2,
i/o on, mem off, no quirks): i82801CA (ICH3) AC-97
Audio
auich0: interrupting at irq 9
auich0: The 2nd codec is ready.
auich0: The 2nd codec is ready.
auich0: YMH3 codec; 18 bit DAC, no 3D stereo
___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 100MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de