ZVUK - SB PCI 128

Michal Varga varga at stonehenge.sk
Thu Jul 15 18:11:35 CEST 2004


Takze reseni je docela jednoduche. Jak je videt z vystupu dmesg, pri
inicializaci nebyla 'nalezena' zvukova karta, v tomto pripade z duvodu,
ze ji zadny driver nehledal. GENERIC kernel v sobe neobsahuje drivery
pro zvuk, takze musis budto zkompilovat kernel vlastni, nebo zavest
driver pro zvukovou kartu jako modul. Prvni moznost je v teto chvili
myslim zbytecne rozebirat, takze k te jednodussi:

Jako root zavedes prikazem `kldload snd_pcm` modul, ktery oprobuje
dostupny zvukovy hardware a v idealnim pripade automaticky zavede
spravny driver (modul). V pripade Soundblastru by s tim nemel byt
problem.

Pokud kldload probehne korektne, staci se podivat po existenci /dev/dsp
(dsp0, dsp1, ..), pripadne na aktualni vystup `dmesg -a`. Zvukovka by
mela od te chvile pracovat.

Pro automaticke zavedeni modulu pri bootu je treba do
'/boot/loader.conf' doplnit radek

snd_pcm_load="YES"


V pripade, ze by zavedeni snd_pcm k inicializaci nestacilo (SB PCI 128
jsem pod 5.x nezkousel), budes asi muset najit konkretni modul rucne,
metodou pokus/omyl. Jinymi slovy, podivat se do /boot/kernel/ na soubory

snd_xxxxxxxx.ko

a zavest je podobne jako v predeslem pripade, taky vcetne pcm modulu:

kldload snd_xxxxxxxx
kldload snd_pcm

pokud se driver 'nechytne', pak:

kldunload snd_pcm
kldunload snd_xxxxxxxx

a zkusit dalsi:

kldload snd_yyyyyyyy
kldload snd_pcm

az dokud nenajdes ten spravny. Neni jich zas tolik a SB128 bude nejspis
"snd_es137x.ko", pripadne "snd_ess.ko".

m.

On Thu, 2004-07-15 at 17:24, xeo at email.cz wrote:
> 1) ano
> 2 + 3) Sem uplny zacatecnik... takze nevim... jak to mam zjistit?
> 4) Tady to je
> Copyright (c) 1992-2004 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.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004
>     root at wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC
> Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a35000.
> Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0a3526c.
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: Intel(R) Celeron(TM) CPU                1200MHz (1235.99-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0x6b1  Stepping = 1
>   Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
> real memory  = 268349440 (255 MB)
> avail memory = 251027456 (239 MB)
> Pentium Pro MTRR support enabled
> npx0: [FAST]
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> acpi0: <ASUS   TUSL2-C > on motherboard
> pcibios: BIOS version 2.10
> Using $PIR table, 11 entries at 0xc00f13a0
> 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_button0: <Power Button> on acpi0
> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
> pci0: <ACPI PCI bus> on pcib0
> pcib0: slot 31 INTD is routed to irq 5
> pcib0: slot 31 INTB is routed to irq 10
> pcib0: slot 31 INTC is routed to irq 9
> agp0: <Intel 82815 (i815 GMCH) host to PCI bridge> mem 0xf8000000-0xfbffffff at device 0.0 on pci0
> pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
> pci1: <ACPI PCI bus> on pcib1
> pcib1: slot 0 INTA is routed to irq 11
> pci1: <display, VGA> at device 0.0 (no driver attached)
> pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
> pci2: <ACPI PCI bus> on pcib2
> pcib2: slot 11 INTA is routed to irq 9
> pcib2: slot 12 INTA is routed to irq 9
> pcib2: slot 13 INTA is routed to irq 9
> pci2: <simple comms> at device 11.0 (no driver attached)
> rl0: <RealTek 8139 10/100BaseTX> port 0xb400-0xb4ff mem 0xee000000-0xee0000ff irq 9 at device 12.0 on pci2
> rl0: Ethernet address: 00:50:fc:e4:71:5a
> miibus0: <MII bus> on rl0
> rlphy0: <RealTek internal media interface> on miibus0
> rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> pci2: <multimedia, audio> at device 13.0 (no driver attached)
> isab0: <PCI-ISA bridge> at device 31.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <Intel ICH2 UDMA100 controller> port 0xa800-0xa80f at device 31.1 on pci0
> ata0: at 0x1f0 irq 14 on atapci0
> ata0: [MPSAFE]
> ata1: at 0x170 irq 15 on atapci0
> ata1: [MPSAFE]
> uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xa400-0xa41f irq 5 at device 31.2 on pci0
> usb0: <Intel 82801BA/BAM (ICH2) 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: Microsoft Microsoft IntelliMouse\M-. Optical, rev 1.10/1.21, addr 2, iclass 3/1
> ums0: 5 buttons and Z dir.
> pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
> uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port 0xa000-0xa01f irq 9 at device 31.4 on pci0
> usb1: <Intel 82801BA/BAM (ICH2) 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
> fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
> fdc0: FIFO enabled, 8 bytes threshold
> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> ppc0 port 0x778-0x77f,0x378-0x37f irq 7 drq 3 on acpi0
> ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
> ppc0: FIFO with 16/16/9 bytes threshold
> ppbus0: <Parallel port bus> on ppc0
> ppbus0: IEEE1284 device found /NIBBLE/ECP
> Probing for PnP devices on ppbus0:
> ppbus0: <Hewlett-Packard HP LaserJet 1100.1.1> PRINTER MLC,PCL,PJL
> plip0: <PLIP network interface> on ppbus0
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> ppi0: <Parallel I/O> on ppbus0
> sio0 port 0x3f8-0x3ff irq 4 on acpi0
> sio0: type 16550A
> sio1 port 0x2f8-0x2ff irq 3 on acpi0
> sio1: type 16550A
> atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
> atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
> kbd0 at atkbd0
> orm0: <Option ROMs> at iomem 0xcc000-0xcffff,0xc0000-0xcbfff 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 1235987732 Hz quality 800
> Timecounters tick every 10.000 msec
> GEOM: create disk ad0 dp=0xc2dcd960
> ad0: 76319MB <ST380021A> [155061/16/63] at ata0-master UDMA100
> acd0: CDRW <TEAC CD-W552E> at ata1-master PIO4
> Mounting root from ufs:/dev/ad0s1a





More information about the Users-l mailing list