Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jun 2002 17:03:03 -0400
From:      Colin Perkins <csp@isi.edu>
To:        Wilko Bulte <wkb@freebie.xs4all.nl>
Cc:        stable@FreeBSD.ORG, mobile@FreeBSD.ORG, cg@FreeBSD.ORG
Subject:   Re: pcm sound not working on Intel ICH3 ? 
Message-ID:  <200206102103.g5AL33h30932@chiron.nge.isi.edu>
In-Reply-To: Your message of "Mon, 10 Jun 2002 22:50:22 %2B0200." <20020610225022.A1373@freebie.xs4all.nl> 

next in thread | previous in thread | raw e-mail | index | archive | help
--> Wilko Bulte writes:
>I'm getting the following on a Compaq EVO N160 notebook running
>-stable :
>
>atapci0: <Intel ICH3 ATA100 controller> port
>0x1800-0x180f,0x374-0x377,0x170-0x177,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 0x1820-0x183f irq 5 at
>device 31.3 on pci0
>smbus0: <System Management Bus> on ichsmb0
>smb0: <SMBus general purpose I/O> on smbus0
>pcm0: <Intel 82801CA (ICH3)> irq 5 at device 31.5 on pci0
>pcm0: unable to map IO port space
>device_probe_and_attach: pcm0 attach returned 6
>isa0: too many memory ranges
>orm0: <Option ROMs> at iomem 0xc0000-0xcdfff,0xdb000-0xdbfff,0xdc000-0xdffff
>on isa0
>
>Any suggestions/ideas?

Looks familiar - I had a similar problem with a ThinkPad X22 (see my
posting to -multimedia on 12th April). Two things to try: 

 - recompile with the PCI_ENABLE_IO_MODES kernel option, to fix the unable
   to map IO port space.

 - in sys/dev/sound/pcm/ac97.c change the two instances of "DELAY(100000)" 
   to be some larger number (I found 400000 worked, by trial and error) and
   recompile.

There's a more elegant patch for the latter that Orion Hodson wrote, adding
an adaptive timer, but I don't have it handy.

Cheers,
Colin

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




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