Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2002 23:51:26 -0500
From:      Chuck McCrobie <mccrobie@cablespeed.com>
To:        freebsd-hackers@freebsd.org
Subject:   Intel 82801(ICH3) Audio and YMF457 AC97 Codec on Sony VAIO
Message-ID:  <3DD47D4E.EA6D865B@cablespeed.com>

next in thread | raw e-mail | index | archive | help
Sony VAIO GRX670 Notebook contains the Intel 82801CA (ICH3) audio
controller (dev/sound/pci/ich.c) and the Yamaha YMF457 AC97 Codec.

On Windows XP, I can play CD's through the speaker and play mp3's.

On FreeBSD 4.7-STABLE, no sound when playing CD's.

MP3's using x11amp requires that I constantly move a usb mouse to get
sound.  It does play, but I must move the mouse.

Sound, USB, Network all use IRQ 9.  Attached is dmesg output from boot.

I have traced this to an interrupt delivery issue.  Interrupts ARE
delivered for the USB and Network, but _NOT_ for the audio.  As far as I
can tell with the Intel datasheet and Linux ALSA, the chip is setup
correctly - it just doesn't set the interrupt line.

Help is appreciated.

Chuck McCrobie
mccrobie@cablespeed.com

Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights
reserved.
FreeBSD 4.7-STABLE #0: Thu Nov 14 12:58:53 EST 2002
    mccrobie@appliance:/usr/src/sys/compile/FALCON
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium 4 (1988.52-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
 
Features=0xbfebf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,P
AT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,<b28>,ACC,<b31>>
real memory  = 536346624 (523776K bytes)
avail memory = 516562944 (504456K bytes)
Preloaded elf kernel "kernel" at 0xc0519000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 7 entries at 0xc00fdf50
apm0: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82845 Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82845 PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <ATI model 4c57 graphics accelerator> at 0.0 irq 9
uhci0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> port
0x1800-0x181f irq 9 
at device 29.0 on pci0
usb0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ums0: Primax Electronics product 0x4d03, rev 1.00/4.41, addr 2, iclass
3/1
ums0: 3 buttons and Z dir.
uhci1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> port
0x1820-0x183f irq 9 
at device 29.1 on pci0
usb1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801CA/CAM (ICH3) USB controller USB-C> port
0x1840-0x185f at dev
ice 29.2 on pci0
pci_cfgintr_search: linked (0) to configured irq 9 at 0:29:1
pci_cfgintr: 0:29 INTC routed to irq 9
usb2: <Intel 82801CA/CAM (ICH3) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
umass0: Sony USB Memory Stick Slot, rev 1.10/1.09, addr 2
pcib2: <PCI to PCI bridge (vendor=8086 device=2448)> at device 30.0 on
pci0
pci2: <PCI bus> on pcib2
pcic0: <Ricoh RL5C476 PCI-CardBus Bridge> irq 3 at device 5.0 on pci2
pcic0: PCI Memory allocated: 0x88000000
pccard0: <PC Card 16-bit bus (classic)> on pcic0
pci_cfgintr_search: linked (0) to configured irq 9 at 2:8:0
pci_cfgintr: 2:5 INTB routed to irq 9
pcic1: <Ricoh RL5C476 PCI-CardBus Bridge> irq 9 at device 5.1 on pci2
pcic1: PCI Memory allocated: 0x88001000
pccard1: <PC Card 16-bit bus (classic)> on pcic1
pci2: <unknown card> (vendor=0x1180, dev=0x0552) at 5.2
fxp0: <Intel Pro/100 Ethernet> port 0x4000-0x403f mem
0xe8200000-0xe8200fff irq 
9 at device 8.0 on pci2
fxp0: Ethernet address 08:00:46:79:fe:3b
inphy0: <i82562ET 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <PCI to ISA bridge (vendor=8086 device=248c)> at device 31.0 on
pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH3 ATA100 controller> port
0x1860-0x186f,0x374-0x377,0x170-0x1
77,0x3f4-0x3f7,0x1f0-0x1f7 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
ichsmb0: <Intel 82801CA (ICH3) SMBus controller> port 0x1880-0x189f at
device 31
.3 on pci0
pci_cfgintr_search: linked (0) to configured irq 3 at 2:5:0
pci_cfgintr: 0:31 INTB routed to irq 3
smbus0: <System Management Bus> on ichsmb0
smb0: <SMBus general purpose I/O> on smbus0
pci0: <unknown card> (vendor=0x8086, dev=0x2485) at 31.5 irq 9
pci0: <unknown card> (vendor=0x8086, dev=0x2486) at 31.6
eisa0: <EISA bus> on motherboard
eisa0: unknown card @D@0000 (0x00800000) at slot 1
orm0: <Option ROMs> at iomem
0xc0000-0xcffff,0xd8000-0xdbfff,0xdc000-0xdffff on 
isa0
fdc0: ready for input in output
fdc0: cmd 3 failed at out byte 1 of 3
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250
ppc0: parallel port not found.
ad0: 38154MB <TOSHIBA MK4018GAS> [77520/16/63] at ata0-master UDMA100
acd0: DVD-R <TOSHIBA DVD-ROM SD-R6012> at ata1-master PIO4
umass0: CBI reset failed, TIMEOUT
umass0: CBI bulk-in stall clear failed, TIMEOUT
umass0: CBI bulk-out stall clear failed, TIMEOUT
umass0: CBI reset failed, TIMEOUT
umass0: CBI bulk-in stall clear failed, TIMEOUT
umass0: CBI bulk-out stall clear failed, TIMEOUT
umass0: CBI reset failed, TIMEOUT
umass0: CBI bulk-in stall clear failed, TIMEOUT
umass0: CBI bulk-out stall clear failed, TIMEOUT
umass0: CBI reset failed, TIMEOUT
umass0: CBI bulk-in stall clear failed, TIMEOUT
umass0: CBI bulk-out stall clear failed, TIMEOUT
umass0: CBI reset failed, TIMEOUT
umass0: CBI bulk-in stall clear failed, TIMEOUT
umass0: CBI bulk-out stall clear failed, TIMEOUT
Mounting root from ufs:/dev/ad0s2a
cd0 at ata1 bus 0 target 0 lun 0
cd0: <TOSHIBA DVD-ROM SD-R6012 1S31> Removable CD-ROM SCSI-0 device 
cd0: 16.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
pcm0: <Intel 82801CA (ICH3)> port 0x18c0-0x18ff,0x1c00-0x1cff irq 9 at
device 31.5 on pci0

-- 
­

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DD47D4E.EA6D865B>