BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old March 3rd, 2002, 01:14 PM
MattWil MattWil is offline
YaBN (Yet another BSD Newbie)
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2001
Posts: 74 MattWil User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
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

Reply With Quote
  #2  
Old March 3rd, 2002, 03:54 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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.

Reply With Quote
  #3  
Old March 3rd, 2002, 04:59 PM
MattWil MattWil is offline
YaBN (Yet another BSD Newbie)
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2001
Posts: 74 MattWil User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
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?

Reply With Quote
  #4  
Old March 3rd, 2002, 07:37 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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

Reply With Quote
  #5  
Old March 3rd, 2002, 10:09 PM
MattWil MattWil is offline
YaBN (Yet another BSD Newbie)
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2001
Posts: 74 MattWil User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
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'.

Reply With Quote
  #6  
Old March 3rd, 2002, 11:12 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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.

Reply With Quote
  #7  
Old March 4th, 2002, 08:42 PM
MattWil MattWil is offline
YaBN (Yet another BSD Newbie)
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2001
Posts: 74 MattWil User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 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?

Reply With Quote
  #8  
Old March 5th, 2002, 12:13 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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.

Reply With Quote
  #9  
Old March 5th, 2002, 10:01 AM
MattWil MattWil is offline
YaBN (Yet another BSD Newbie)
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2001
Posts: 74 MattWil User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > Sound error on FreeBSD


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway