|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Sound error on FreeBSD
Hi, I've been trying to get my sound to work for a while now and it's been giving me problems. The computer I'm doing it on is the computer I just play around with. It's an old Acer. The card it has in it has the Crystal CS4231A-KL chipset. The card is an Acer MAGIC S20. I'm doing this by recompiling my kernel. I'll list what I added and then what the output was by the music players. Also, only on the last two did the dmesg list pcm0. On the last one it did not list csa though.
Added: device pcm Result: Said that /dev/dsp was not configured. Added: device pcm device csa Result: Said that /dev/dsp was not configured. Added: device pcm0 at isa? port? irq 5 drq 1 flags 0x15 Result: Gave me this error: /kernel: pcm0: play interrupt timeout, channel dead Added: device pcm0 at isa? port? irq 5 drq 1 flags 0x15 device csa Result: Gave me this error: /kernel: pcm0: play interrupt timeout, channel dead
__________________
-MattWil |
|
#2
|
|||
|
|||
|
Who told you to use csa?
I have never tried your card but just try this: Code:
device pcm device css0 at isa? port 0x534 irq 5 drq 1 flags 0x08 >> device pcm This tells FreeBSD that your card is a true PCI card, but it didn't work so it's not. >> device pcm >> device csa This is illegal configuration because csa is a PCI plus you need to specify port or so for csa. >> device pcm0 at isa? port? irq 5 drq 1 flags 0x15 This is a true ISA sound card configuration but yours is not >> device pcm0 at isa? port? irq 5 drq 1 flags 0x15 >> device csa This too is an illegal configuration because csa is doing nothing here Last edited by freebsd : March 3rd, 2002 at 03:59 PM. |
|
#3
|
|||
|
|||
|
http://www.freebsd.org/doc/en_US.IS...e.html#AEN14875
I'm pretty sure the card is ISA. It isn't plug n' play though. I haven't looked inside the computer yet, I just knew that info about it, but the ISA configuration is the only one that put pcm0 into the dmesg. Would I need to do device csa with all the irq and port options? |
|
#4
|
|||
|
|||
|
Just checked that link, that was referring to a Crystal card in PCI.
>> I'm pretty sure the card is ISA Can you just try this first? options PNPBIOS device pcm device css0 at isa? port 0x534 irq 5 drq 1 flags 0x08 |
|
#5
|
|||
|
|||
|
I got an error. It had just started linking the kernel and I got many errors on midi_synth.o. The last error being Undefined reference to 'midi_devs'.
|
|
#6
|
|||
|
|||
|
Try to add:
device opl0 at isa? port 0x388 device mpu0 at isa? port 0x330 irq 6 drq 0 Then try to change irq 6 to irq 9 and try again. |
|
#7
|
|||
|
|||
|
Both gave me the same error. Would doing this work:
device pcm0 at isa? port? irq 5 drq 1 flags 0x15 device csa at isa? port? irq <something> drq <something> flags <something> I'm just thinking that when I added the stuff to then end of pcm it gave me that, so maybe I need the csa? |
|
#8
|
|||
|
|||
|
>> so maybe I need the csa?
Don't just say maybe, just try it. Anyway you still need to take out your case cover and find out whether it's a PCI/ISA+PnP/ISA. You also can take out your card and plug it to Windows, if it's detected on boot, then it's either PCI or ISA+PnP, you just need to narrow down the 3 choices, then try all possible combination. Don't forget, there is a chance your card is not even supported in FreeBSD. That's why when it comes to sound card, you need to get read LINT before getting one. And if yours doesn't work, time is money so don't waste your time any further and just buy another one, preferrably PCI card. Sound board is as cheap as a McDonald mini-meal anyway. |
|
#9
|
|||
|
|||
|
Ok, well thanks for your help. It's just a "play around" computer that I wanted to try and get sound working on. The card is from like 1992 and I'm pretty much sure that's it ISA and not Plug n' Play. I'll try a couple other things and see if it works. Thanks.
|
![]() |
| Viewing: Dev Shed Forums > Operating Systems > BSD Help > Sound error on FreeBSD |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|