Dell Latitude cp sound

HaMstar

Member
Moin,

Ich hab mir neulich ein altes Dell Latitude mit 166mhz ersteigert
und als erstes mal Freebsd 6 draufgehauen.
Laeuft auch soweit gut, nur krieg ich den Sound nicht zum laufen.
Soweit ich mich erkundigt hab, sollte es eine Crystal 4237b sein.
Ein kldload snd_driver laeuft schonmal nicht,
hat irgendjemand so ein Ding und den sound mit Fbsd 6 zum Laufen bekommen?

mfg
hamstar
 
dmesg

vlt hilft euch der dmesg output ja :/ :
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 6.0-RELEASE #1: Sun Dec 25 19:57:34 UTC 2005
root@fbsd.de:/usr/src/sys/i386/compile/MIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium/P55C (167.05-MHz 586-class CPU)
Origin = "GenuineIntel" Id = 0x543 Stepping = 3
Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory = 67043328 (63 MB)
avail memory = 56049664 (53 MB)
Intel Pentium detected, installing workaround for F00F bug
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <DELL CP > on motherboard
pci_link0: <ACPI PCI Link LNKA> irq 11 on acpi0
pci_link1: <ACPI PCI Link LNKB> on acpi0
pci_link2: <ACPI PCI Link LNKC> on acpi0
pci_link3: <ACPI PCI Link LNKD> irq 11 on acpi0
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_acad0: <AC Adapter> on acpi0
battery0: <ACPI Control Method Battery> on acpi0
battery1: <ACPI Control Method Battery> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x860-0x86f at device 1.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xece0-0xecff irq 11 at device 1.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82371AB/EB (PIIX4) USB controller> 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
pci0: <bridge> at device 1.3 (no driver attached)
pci0: <display, VGA> at device 2.0 (no driver attached)
cbb0: <TI1131 PCI-CardBus Bridge> at device 3.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb1: <TI1131 PCI-CardBus Bridge> at device 3.1 on pci0
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
acpi_tz0: <Thermal Zone> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
fdc0: <floppy drive controller (FDE)> port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
ppc0: <ECP parallel printer port> port 0x378-0x37f,0x778-0x77b irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xc0000-0xcbfff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 167046301 Hz quality 800
Timecounters tick every 1.000 msec
wi0: <NETGEAR MA401 Wireless PC Card> at port 0x100-0x13f irq 11 function 0 config 1 on pccard0
wi0: using RF:PRISM2 MAC:HFA3841 CARD:HWB3163 rev.A
wi0: Intersil Firmware: Primary (0.3.0), Station (0.8.3)
wi0: Ethernet address: 00:30:ab:14:da:72
ad0: 3102MB <IBM DKLA-23240 KL3OA46A> at ata0-master UDMA33
Trying to mount root from ufs:/dev/ad0s1a


vlt sollte ich bei so nem alten ding einfach die Hoffnung
aufgeben. Ich guck nochma bei google weiter.

mfg Hamstar
 
@bluescreen: Meine karte scheint dort vertreten zu sein,
deswegen denk ich mal , dass man sie zum laufen kriegt.

@Chaot:
fbsd# kldload snd_driver
fbsd# cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
fbsd# mpg123 test.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
Can't open /dev/dsp!
 
Boote einfach mal ohne ACPI, vielleicht wird die Karte dann gefunden. Fragt sich natürlich, ob nicht irgendwas anderes unbedingt ACPI braucht, aber das wird man dann sehen. Der letzte Schritt ist dann wirklich, OSS zu verwenden, damit sollte so gut wie alles laufen.

Ach ja, gibt es im BIOS irgendetwas wie "Legacy Audio"? Ältere Kisten haben das manchmal. Falls ja, mußt du das dort ausschalten.
 
hab die kiste grad mal testweise ohne acpi gebootet, bringt leider nichts.
Im Bios konnte ich zum Thema audio nur einen Punkt finden,
irgendwie damit einmal sound gehoert werden und aufgenommen werden koennte gleichzeitig und einmal nur einzelnd so wie ich das verstanden hab o_O.
Beim googlen bin ich auch auf folgendes gestossen:
http://bsdvault.net/reply.php?topic=405&forum=2&post=1583&quote=1&mod=101

Leider scheint allein device pcm schon nicht zu gehen:
config: Error: device "pcm" is unknown


mfg
 
ok, ich hab grad mal folgendes zu meiner device.hints dazugeschrieben:
hint.pcm.0.at="isa"
hint.pcm.0.port="0x534"
hint.pcm.0.irq="5"
hint.pcm.0.drq="1"
hint.pcm.0.flags="0x08"


so nun kommt wenn ich kldload snd_driver mache schon dies:

pcm1: <CS423x> port 0x530-0x537,0x388-0x38b,0x220-0x22f irq 5 drq 0 on acpi0
device_attach: pcm1 attach returned 6
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled


das steht da mehrmals untereinander...
immerhin steht schon was von CS423x da oben :).
naja weiss da einer was mit anzufangen?
puh so langsam werd ich muede.
mfg hamstar
 
so, das is der boot ohne acpi:


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 6.0-RELEASE #1: Sun Dec 25 19:57:34 UTC 2005
root@netbsd.de:/usr/src/sys/i386/compile/MIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium/P55C (167.05-MHz 586-class CPU)
Origin = "GenuineIntel" Id = 0x543 Stepping = 3
Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory = 67043328 (63 MB)
avail memory = 56070144 (53 MB)
Intel Pentium detected, installing workaround for F00F bug
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
cpu0 on motherboard
pcib0: <Host to PCI bridge> pcibus 0 on motherboard
pir0: <PCI Interrupt Routing Table: 5 Entries> on motherboard
pci0: <PCI bus> on pcib0
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x860-0x86f at device 1.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xece0-0xecff irq 11 at device 1.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82371AB/EB (PIIX4) USB controller> 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
pci0: <bridge> at device 1.3 (no driver attached)
pci0: <display, VGA> at device 2.0 (no driver attached)
cbb0: <TI1131 PCI-CardBus Bridge> irq 11 at device 3.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb1: <TI1131 PCI-CardBus Bridge> irq 11 at device 3.1 on pci0
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xc0000-0xcbfff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
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
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0c01> can't assign resources (memory)
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0f13> can't assign resources (irq)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0401> can't assign resources (port)
unknown: <CSC0000> can't assign resources (irq)
unknown: <PNP0700> can't assign resources (port)
Timecounter "TSC" frequency 167046491 Hz quality 800
Timecounters tick every 1.000 msec
wi0: <NETGEAR MA401 Wireless PC Card> at port 0x100-0x13f irq 11 function 0 config 1 on pccard0
wi0: using RF:PRISM2 MAC:HFA3841 CARD:HWB3163 rev.A
wi0: Intersil Firmware: Primary (0.3.0), Station (0.8.3)
wi0: Ethernet address: 00:30:ab:14:da:72
ad0: 3102MB <IBM DKLA-23240 KL3OA46A> at ata0-master UDMA33
Trying to mount root from ufs:/dev/ad0s1a


folgendes hab ich grad gelesen:
http://www.freebsd.org/cgi/man.cgi?...ath=FreeBSD+6.0-RELEASE+and+Ports&format=html

weiter unten steht dort:
HARDWARE
The sound driver supports the following sound cards:

· CS4231, CS4232, CS4236, CS4237 (ISA)

natuerlich hab ich auch gleich das was ganz oben steht ausprobiert:
For a card without bridge driver support, and a non-PnP card, the follow-
ing lines may be required in /boot/device.hints:
hint.pcm.0.at="isa"
hint.pcm.0.irq="5"
hint.pcm.0.drq="1"
hint.pcm.0.flags="0x0"
kommt fast das gleiche in der dmesg :(


Und dann ist mir noch eingefallen, dass ich vor einem Monat etwa schonmal versucht habe den Sound zu richten.
Damals hab ich nen Kernel mit der zusaetzlichen Zeile "device sound" compiliert. Aber auch danach tat sich nichts und ich benutze den Kernel immernoch falls es von Bedeutung sein sollte.

edit: vielleicht sollte ich nochma den generic booten und es da probieren!
aber fuer heute hab ich erstma genug, gn8

edit2: also beim generic tut sich ob mit oder ohne acpi auch nicht viel.
Allerdings bleibt zu sagen, dass die /dev/sndstat dort nicht existiert, jedenfalls vor einem kldload snd_driver nicht.

Noch ein edit: hab grad bei dell die io map gefunden:
http://support.dell.com/support/edocs/systems/pmojav/io.htm
vielleicht hilft die bei der Loesung des Problems

edit nr. 4 inzwischen:
soooo, bei den device.hints steht nun folgendes abgeleitet aus der iomap:
hint.pcm.0.at="isa"
hint.pcm.0.port="0x220" (audio controller)
hint.pcm0.0.at="pcm"
hint.pcm0.0.irq="5"
hint.pcm0.0.drq="1"
hint.pcm0.0.flags="0x08"

das hab ich mir mal so zusammengereimt und lustigerweise kommt nach einem kldload snd_driver und einem cat /dev/sndstat immerhin schon folgendes:
pcm1: <CS423x> at io 0x530 irq 5 drq 1:0 bufsz 4096 (1p/1r/0v channels duplex)

soweit bin ich schon, nur weiss ich nich was ich nun tun soll... einer ne idee?
HA! GENIAL! ES LAEUFT!
Ich hab noch inner /boot/defaults/loader.conf SND_DRIVER "YES" gemacht und ich glaub das wars :).wee, das war zwar ein stueck arbeit aber nun laeufts ja :D
 
Zuletzt bearbeitet:
Zurück
Oben