*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I want to make sound work now. I have got everything going. I even got quicktime and flash to work in mozilla. But now without its kinda boring. How do I go about configuring my sound card. I read somewhere that a kernel recompile is not required in Fbsd and instead it can be loaded on startup.
I have no idea where to start.
Also, I have a ati radeon 9200 installed. Do I have to install drivers for it? I mean X looks awesome, but if I ever plan to emulate using Cedega I imagine ill need the drivers to use the full potential of the card.
Originally posted by Lurker01 I want to make sound work now. I have got everything going. I even got quicktime and flash to work in mozilla. But now without its kinda boring. How do I go about configuring my sound card. I read somewhere that a kernel recompile is not required in Fbsd and instead it can be loaded on startup.
I have no idea where to start.
Also, I have a ati radeon 9200 installed. Do I have to install drivers for it? I mean X looks awesome, but if I ever plan to emulate using Cedega I imagine ill need the drivers to use the full potential of the card.
If you are using 5.2.1 then you can even skip the rebuild.
Become root and load the module that is important to your card. Heck, just load the pcm one and it should detect the rest and load them as needed.
# kldload snd_pcm
To add this at boot you just edit /boot/loader.conf and add the line:
snd_pcm_load="YES"
You can play around with this and load exactly the drivers you need... and no compiling... YAY!
EDIT: You could probably do this in 4.x but I never did so I can't speak from experience. Give it a try no matter which version you are using. The names might be a little different so you need to look for the compiled modules and check (you can leave the .ko off the name when loading it).
OH MAN THIS WAS SOOO SIMPLE. No kernel recompile required. Im actually scared of doing one so anything to avoid it.
I just went to /boot/defaults/loader.conf and looked in the sound section. I found my card which is an ICH4 card and changed the "NO" to "YES". That didnt work on reboot so I read the handbook again and changed the "YES" back to "NO" then I went into /boot/loader.conf and it was an empty file so to the first line I added what I found in the other one "snd_ich_load="YES" ". Restarted the computer and checkout the preview of ray with sound in quicktime.
AND IT WORKED, I AM SO HAPPY.
I just want to know how I can control the sound volume now.
Mixer vol is currently set to 35:35
Mixer pcm is currently set to 66:66
Mixer speaker is currently set to 75:75
Mixer line is currently set to 75:75
Mixer mic is currently set to 0:0
Mixer cd is currently set to 75:75
Mixer rec is currently set to 0:0
Mixer ogain is currently set to 50:50
Mixer line1 is currently set to 75:75
Mixer phin is currently set to 0:0
Mixer phout is currently set to 0:0
Mixer video is currently set to 75:75
If you want to change the volume to 23... just type:
mixer vol 23
And it will change it... you can type mixer again without arguments to see the change.
This is the simplest way if you are usually at a command line (I am). But you might want to check out xmix or xmixer in the ports. They give you a graphical window with slider bars. There are other ports that also give you a graphical interface or allow you to dock the controls in your bar.
I wish I could help you with the fluxbox thing... but I have never run it.
The docking apps are different depending on the windowmanager. I don't use them although I know windowmaker (my current wm) has them. It is pretty easy to play around with them. But once you set the volume most applications will let you control the sound from them (it defaults to pcm on my system ... the 66:66 above).
Also, aren't the modules great. I love how easy it is to add support sometimes. Modules are only a bad idea if you are going to run in a raised security level, when you absolutelly need the support, and you fear they might not be loaded at boot. (After you raise the security level you can't add modules). But for most everyday applications they are perfect and save tons of time.
I have used Fbsd before but not to this extent and I havent played with it more then a week and had it installed for over a month and never did anything with it. It was just something cool to show your friends. But I gotta tell you, these passed 2 weeks that I spent trieing to get it going and now finally succeeding is incredible. It works beutifully, everything install perfectly. The modules are just awesome. Who ever thought one simple line adds support for sound. I gotta say I am very very impressed with how BSD works and how it in some cases I have noticed is actually better then windows.
If I could just get fbsetbg I will be set. College starts the 2nd and I want everything to be up.
Edit: but the absolute best thing about Fbsd is the crowd of people that help you get it going. I would have not been able to get it running and learn everything I did if it were not for the people at linuxquestions.org in the *BSD section. You guys dont know how greatful I am.
How do I make my background come back after I reboot. I tried placing that command into my .xinitrc but I may be placing it in the wrong spot and it didnt work.
What are the contents of the file? It is possible that the command is running too early and fluxbox overwrites the background with its default. Also, if you run it afer fluxbox, it will never run... it is one of those messed up things.
Originally posted by frob23 What are the contents of the file? It is possible that the command is running too early and fluxbox overwrites the background with its default. Also, if you run it afer fluxbox, it will never run... it is one of those messed up things.
I am pretty sure it will run after fluxbox is done running.
vi ~/.fluxbox/init
look for 'session.screen0.rootCommand:'
change it to session.screen0.rootCommand: Esetroot -s /path/to/image.jpg
Well, technically you are correct... but my point is that from a user's perspective it will never run. It would not run until after the user was done. X quits as soon as the .xinitrc script finishes. So as soon as the background has changed X would terminate. On many systems (mine included) this is too fast to even see.
As a side note: I see you knew how to solve the original problem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.