Re: pcm sound not working on Intel ICH3 ?

Colin Perkins <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
--> 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 [email protected]
with "unsubscribe freebsd-mobile" in the body of the message
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.