Solved Sound and OSS in conflict...

Hi gang :)
I have installed FreeBSD on a P3/320Mb/80Gb box and now need OSS to be up and running. The bootup states that OSS modules cannot be loaded because there is conflict with sound and if I do need OSS...sound has to be taken out.
I did a stat of the modules and sound is in there, kldunload does not find the module, however.
Some help is appreciated as I am a newbee at this. Linux, okay, FreeBSD..;well...
Thanks
Melissa
 
Sound is included in the GENERIC kernel by default. If you want to remove the sound modules from the kernel, then you need to compile a custom kernel with the sound modules commented out.
 
Thanks fernandel, I used the pkg(8) util, I assume it is the same effect...
So, Phoenix, for the same token, all is ready, I use the Lynx One studio (granted, it is dated, but still) to record music...
Let me remove the OSS that I installed first, then see what gives :)
Melissa
Edit - well, as predicted, all works, Audacity sees the OSS (I have installed Ardour but it's not in the menu, strange) bu I have to get the studio card to record something, possibly a question of setting the right entry, I need to "listen" to what I play too, I hope that can be done through the sound card, but I have no "speaker" on the desktop so I cannot set the volume...
I'm learning, be patient :)
 
Last edited by a moderator:
Hi,

You first need to find out which available device/s are for sound output and which are for input. Some GUI audio programs will give you a choice in which available input/output devices you can use and some will only allow you to use the default input/output sound device/s. To start, what is the output of cat /dev/sndstat?
 
Hi protocelt,
The output is:
Code:
pcm0: <AudioPCI ES1373> (play/rec) default
It doesn’t see the Lynx, hmm, something new I learned :)

Melissa
 
That's a nice audio card! I had one(or similar model) some years ago. :) Unfortunately you will have to use the audio/oss port(as you attempted to do at the beginning) to be able to use it as FreeBSD's native OSS doesn't support it at this time. To do that however, you would need to follow phoenix's advice above and compile a custom kernel without sound support first because both the native and the port version of OSS cannot coexist and work correctly.
 
Thanks for the compliment :)
Hm, okay, I HAVE to get into the manual now, I have compiled Linux kernels before (in fact, it was one of the first things I did years back) but I assume FreeBSD kernels will differ completely...
Thanks :)
Ow boy, and I thought this would be an educational thing...
Melissa
Edit - this will need to be done during the day, I suspect that this will take ages to compile on that box...
 
It's not all that hard to compile a kernel and if you've compiled Linux kernels in the past, from what I hear, compiling a FreeBSD kernel is much easier. If you get stuck or run into any problems, stop on back and start a new thread and someone will most likely be able to help out. There is also the FreeBSD mailing lists if you prefer that communication medium or don't get an answer to your question/s here. :)
 
Back
Top