Probleme mit Sound und Yamaha Chip

MHage

Member
Hallo,

auf meinem Notebook werkelt ein

Yamaha OPL3 SA3 / 16-Bit Stereo / Soundblaster-kompatibel / MIDI

Soundchip. Den ich unter FreeBSD 4.11 einfach nicht zur arbeit bewegen kann. Unter Linux arbeitete er mit folgenden einstellungen:

opl3sa2
io=0x220
mss_io=0x530
mpu_io=0x330
irq=5
dma=1
dma2=0

Ich habe bis jetzt in der Datei /boot/loader.conf quasi alle Sound Module geladen und /boot/device.hints mit folgendem Inhalt angelegt:

hint.pcm.0.at="isa"
hint.pcm.0.port="0x220"
hint.pcm.0.irq="5"
hint.pcm.0.drq="1"
hint.pcm.0.flags="0x0"


cat /dev/sndstat meldet aber noch immer nichts.

Habt ihr ein Idee?


Gruß
MHage
 
MHage schrieb:
hint.pcm.0.at="isa"
hint.pcm.0.port="0x220"
hint.pcm.0.irq="5"
hint.pcm.0.drq="1"
hint.pcm.0.flags="0x0"
das muß aber in die device.hints!

EDIT:
ich kann auch nicht lesen.
aber ist die karte den auch auf diesen interrupt eingestellt?
Na gut wenn der unter linux richtig geht dann wird die einstellung wohl stimmen. wenn du alle treiber lädst und er dann nicht erkannt wird, dann wird es wohl nicht funktionieren.
 
Zuletzt bearbeitet:
@AndreasMeyer

Ich kenne das Wiki. Wie du bereits ganz oben sehen kannst, habe ich die dortige Anleitung bereits befolgt. Deine Antwort hört sich an, wie eine Standard - Antwort via Copy & Paste ohne meinen Beitrag gelesen zu haben.


Ich habe den Sound Blaster Treiber versucht und den Meta Treiber. Die Datei /boot/device.hints habe ich angelegt und mit dem Inhalt aus dem FreeBSD Handbuch gefüllt. ( Ja... das habe ich auch schon bemüht ;) )

Leider gibt 'cat /dev/sndstat' noch immer nicht das gewünschte Ergebnis aus.

Gruß
MHage
 
Ausgabe von pciconf -lv:


chip0@pci0:0:0: class=0x060000 card=0x00011179 chip=0x06011179
rev=0x2e hdr=0x00
vendor = 'Toshiba America Information Systems'
device = 'Pentium Host Bridge for Notebooks'
class = bridge
subclass = HOST-PCI
none0@pci0:4:0: class=0x030000 card=0x00011179 chip=0x000410c8 rev=0x01 hdr=0x00
vendor = 'Neomagic Corporation'
device = 'NM2160 MagicGraph 128XD'
class = display
subclass = VGA
chip1@pci0:17:0: class=0x078000 card=0x00011179 chip=0x07011179 rev=0x22 hdr=0x00
vendor = 'Toshiba America Information Systems'
device = 'vt82c693 PCI Communication Device'
class = simple comms
pcic0@pci0:19:0: class=0x060700 card=0x00011179 chip=0x060f1179 rev=0x20 hdr=0x02
vendor = 'Toshiba America Information Systems'
device = 'ToPIC97 CardBus Controller'
class = bridge
subclass = PCI-CardBus
pcic1@pci0:19:1: class=0x060700 card=0x00011179 chip=0x060f1179 rev=0x20 hdr=0x02
vendor = 'Toshiba America Information Systems'
device = 'ToPIC97 CardBus Controller'
class = bridge
subclass = PCI-CardBus


Sollte übrigens ein ISA Device sein!!!



Ausgabe von dmesg:



Copyright (c) 1992-2005 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.11-RELEASE #0: Fri Jan 21 17:21:22 GMT 2005
root@perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz
CPU: Pentium/P55C (quarter-micron) (233.29-MHz 586-class CPU)
Origin = "GenuineIntel" Id = 0x581 Stepping = 1
Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory = 67174400 (65600K bytes)
avail memory = 59756544 (58356K bytes)
Preloaded elf kernel "kernel" at 0xc0580000.
Preloaded elf module "snd_sb16.ko" at 0xc058009c.
Preloaded elf module "snd_sbc.ko" at 0xc058013c.
Preloaded elf module "snd_pcm.ko" at 0xc05801dc.
Intel Pentium detected, installing workaround for F00F bug
md0: Malloc disk
Using $PIR table, 5 entries at 0xc00f8e80
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pci0: <NeoMagic MagicGraph 128XD SVGA controller> at 4.0
chip1: <Toshiba Fast Infra Red controller> port 0xffe0-0xffff irq 11 at device 17.0 on pci0
pci_cfgintr_virgin: using routable interrupt 3
pci_cfgintr: 0:19 INTA routed to irq 3
pcic0: <Toshiba ToPIC97 PCI-CardBus Bridge> mem 0xfff00000-0xfff00fff irq 3 at device 19.0 on pci0
pccard0: <PC Card 16-bit bus (classic)> on pcic0
pci_cfgintr_search: linked (1) to configured irq 3 at 0:19:0
pci_cfgintr: 0:19 INTB routed to irq 3
pcic1: <Toshiba ToPIC97 PCI-CardBus Bridge> mem 0xfff01000-0xfff01fff irq 3 at device 19.1 on pci0
pccard1: <PC Card 16-bit bus (classic)> on pcic1
isa0: <ISA bus> on motherboard
orm0: <Option ROM> at iomem 0xc0000-0xcbfff on isa0
pmtimer0 on isa0
fdc0: ready for input in output
fdc0: cmd 3 failed at out byte 1 of 3
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
ata1 at port 0x170-0x177,0x376 irq 15 on isa0
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 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ad0: 4126MB <TOSHIBA MK4310MAT> [8944/15/63] at ata0-master BIOSPIO
Mounting root from ufs:/dev/ad0s1a
pccard: card inserted, slot 1
pccard: card removed, slot 1
pccard: card inserted, slot 1
ed1 at port 0x300-0x31f irq 3 slot 1 on pccard1
ed1: address 00:c0:d1:52:00:bc, type NE2000 (16 bit)
pid 243 (AbiWord-2.2), uid 1001: exited on signal 6 (core dumped)
pid 248 (AbiWord-2.2), uid 1001: exited on signal 6 (core dumped)
pid 259 (AbiWord-2.2), uid 1001: exited on signal 6 (core dumped)
 
ich hab ganz übersehen dass du FreeBSD 4x verwedest. Unter 4x geht das nicht mit device.hints, das ist nur für 5x.
Du musst das in deine Kernel Konfigurationsdatei reinschreiben wie im Handbuch 7.2.1.1 beschrieben in der Zeile für 4x.
Man muss hier ein bischen aufpassen da das ganze Kapitel für 5x geschrieben ist, mit Hinweisen auf Unterschiede zu 4x.
 
Na dann lass uns mal einen neuen Kernel backen.
Vorraussetzung ist dass du die Sourcen in /usr/src installiert hast, was normalerweise der Fall sein sollte.

alles folgende als root ausführen!!

# cd /usr/src/sys/i386/conf
# cp GENERIC MHAGE
# echo "device pcm" >> MHAGE
# config MHAGE
# cd ../../compile/MHAGE
# make depend && make && make install && make clean
# shutdown -r now

jetz sollte unter dmesg ein device pcmX 0 oder 1 auftauchen, normalerweie pcm0

dann noch die devices in /dev erstellen mit:

# cd /dev
# sh MAKEDEV sndX

für X je nachem was oben erscheint, snd0 oder snd1


erscheint nach dem Neustart oben kein pcm0 oder pcm1, dann kannst du probieren
den Kernel nocheinmal neu zu kompilieren. ERSETZE dabei in MHAGE :

device pcm

mit

device pcm0 at isa? port 0x220 irq 5 drq 1 flags 0x15


ps: und bitte keine sound module beim Systemstart laden!
 
Zuletzt bearbeitet:
Zurück
Oben