Skip site navigation (1)Skip section navigation (2)
Date:      13 Dec 2003 16:52:08 +0100
From:      sebastian ssmoller <sebastian.ssmoller@gmx.net>
To:        Freebsd Current <current@FreeBSD.org>
Subject:   acpi and sound
Message-ID:  <1071330727.904.19.camel@tyrael.linnet>

next in thread | raw e-mail | index | archive | help
hi,
i am running fbsd current on asus m2400n laptop. acpi works pretty fine
there but i am unable to get sound working. i am wondering whether this
could be and irq/acpi problem ?
when i load the sound module (guess snd_ich would be the correct one) i
get the following error:

$ kldload snd_ich
$ dmesg | tail
Mounting root from ufs:/dev/ad0s3a
pcm1: <Intel ICH4 (82801DB)> port 0xe100-0xe13f,0xe000-0xe0ff at device
31.5 on pci0
pcm1: unable to map IO port space
device_probe_and_attach: pcm1 attach returned 6

i look in the code and found out that my sound card/chip set should be
supported.

any hint what i could try else ?

thx 
seb

ps: some more info:

$ cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:

$ uname -a
FreeBSD hadriel.linnet 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Fri Dec 12
20:25:50 CET 2003     seb@hadriel.linnet:/usr/obj/usr/src/sys/FAST  i386

$ dmesg
Copyright (c) 1992-2003 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 5.2-CURRENT #1: Fri Dec 12 20:25:50 CET 2003
    seb@hadriel.linnet:/usr/obj/usr/src/sys/FAST
Preloaded elf kernel "/boot/kernel/kernel" at 0xc081f000.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) M processor 1600MHz (1600.07-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x695  Stepping = 5
 
Features=0xa7e9fbbf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE>
real memory  = 527695872 (503 MB)
avail memory = 502923264 (479 MB)
Pentium Pro MTRR support enabled
acpi0: <A M I  OEMRSDT > on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib0: slot 2 INTA is routed to irq 5
pcib0: slot 29 INTA is routed to irq 5
pcib0: slot 29 INTB is routed to irq 5
pcib0: slot 29 INTC is routed to irq 5
pcib0: slot 29 INTD is routed to irq 4
pci0: <base peripheral> at device 0.1 (no driver attached)
pci0: <base peripheral> at device 0.3 (no driver attached)
agp0: <Intel 8285xM (85xGM GMCH) SVGA controller> port 0xdc00-0xdc07 mem
0xffa80000-0xffafffff,0xf0000000-0xf7ffffff irq 5 at device 2.0 on pci0
agp0: detected 8060k stolen memory
agp0: aperture size is 128M
pci0: <display> at device 2.1 (no driver attached)
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0xd480-0xd49f
irq 5 at device 29.0 on pci0
usb0: <Intel 82801DB (ICH4) 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: Logitech Optical USB Mouse, rev 2.00/3.40, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0xd800-0xd81f
irq 5 at device 29.1 on pci0
usb1: <Intel 82801DB (ICH4) 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 82801DB (ICH4) USB controller USB-C> port 0xd880-0xd89f
irq 5 at device 29.2 on pci0
usb2: <Intel 82801DB (ICH4) 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
pci0: <serial bus, USB> at device 29.7 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib1: slot 3 INTC is routed to irq 5
pcib1: slot 4 INTA is routed to irq 5
pcib1: slot 5 INTA is routed to irq 5
cbb0: <RF5C476 PCI-CardBus Bridge> at device 3.0 on pci1
start (88000000) < sc->membase (ff700000)
end (ffffffff) > sc->memlimit (ff7fffff)
start (88000000) < sc->pmembase (de900000)
end (ffffffff) > sc->pmemlimit (ff7fffff)
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
pcib1: slot 3 INTA is routed to irq 5
cbb0: [MPSAFE]
cbb1: <RF5C476 PCI-CardBus Bridge> at device 3.1 on pci1
start (88000000) < sc->membase (ff700000)
end (ffffffff) > sc->memlimit (ff7fffff)
start (88000000) < sc->pmembase (de900000)
end (ffffffff) > sc->pmemlimit (ff7fffff)
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
pcib1: slot 3 INTB is routed to irq 5
cbb1: [MPSAFE]
pci1: <serial bus, FireWire> at device 3.2 (no driver attached)
rl0: <RealTek 8139 10/100BaseTX> port 0xc800-0xc8ff mem
0xff7efc00-0xff7efcff irq 5 at device 4.0 on pci1
rl0: Ethernet address: 00:0c:6e:f9:e2:25
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci1: <network> at device 5.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH4 UDMA100 controller> port
0xffa0-0xffaf,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
pci0: <multimedia, audio> at device 31.5 (no driver attached)
pci0: <simple comms> at device 31.6 (no driver attached)
acpi_button0: <Sleep Button> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_cmbat0: <Control Method Battery> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
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
acpi_ec0: <Embedded Controller: GPE 0x1c> port 0x66,0x62 on acpi0
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
orm0: <Option ROM> at iomem 0xc0000-0xccfff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
isa0
Timecounter "TSC" frequency 1600065350 Hz quality 800
Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
GEOM: create disk ad0 dp=0xc4828560
ad0: 57231MB <IC25N060ATMR04-0> [116280/16/63] at ata0-master UDMA100
acd0: CDRW <TOSHIBA DVD-ROM SD-R2312> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s3a




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