The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Operating Systems
> BSD Help
|
Sound error on FreeBSD
Discuss Sound error on FreeBSD in the BSD Help forum on Dev Shed. Sound error on FreeBSD BSD Help forum discussing all BSD based operating systems including FreeBSD, OpenBSD, NetBSD, and more. BSD refers to the distribution of UNIX originally developed by the University of California at Berkeley.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

March 3rd, 2002, 01:14 PM
|
|
YaBN (Yet another BSD Newbie)
|
|
Join Date: Sep 2001
Posts: 74
Time spent in forums: < 1 sec
Reputation Power: 12
|
|
|
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
|

March 3rd, 2002, 03:54 PM
|
|
Contributing User
|
|
Join Date: Jan 2001
Posts: 5
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
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.
|

March 3rd, 2002, 04:59 PM
|
|
YaBN (Yet another BSD Newbie)
|
|
Join Date: Sep 2001
Posts: 74
Time spent in forums: < 1 sec
Reputation Power: 12
|
|
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?
|

March 3rd, 2002, 07:37 PM
|
|
Contributing User
|
|
Join Date: Jan 2001
Posts: 5
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
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
|

March 3rd, 2002, 10:09 PM
|
|
YaBN (Yet another BSD Newbie)
|
|
Join Date: Sep 2001
Posts: 74
Time spent in forums: < 1 sec
Reputation Power: 12
|
|
|
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'.
|

March 3rd, 2002, 11:12 PM
|
|
Contributing User
|
|
Join Date: Jan 2001
Posts: 5
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
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.
|

March 4th, 2002, 08:42 PM
|
|
YaBN (Yet another BSD Newbie)
|
|
Join Date: Sep 2001
Posts: 74
Time spent in forums: < 1 sec
Reputation Power: 12
|
|
|
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?
|

March 5th, 2002, 12:13 AM
|
|
Contributing User
|
|
Join Date: Jan 2001
Posts: 5
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
>> 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.
|

March 5th, 2002, 10:01 AM
|
|
YaBN (Yet another BSD Newbie)
|
|
Join Date: Sep 2001
Posts: 74
Time spent in forums: < 1 sec
Reputation Power: 12
|
|
|
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.
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|