LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 11-10-2004, 05:24 PM   #1
saneisjustaword
LQ Newbie
 
Registered: Nov 2004
Location: Tx
Distribution: FreeBSD
Posts: 4

Rep: Reputation: 0
sound plz help iv tryed everything


erm when i try to use my sound it says it cant open dev/sound/mixer, i tryed googling it and i tryed recompiling the kernel and so far nothing has worked because the lines iv ben told to add to the kernel werent recognized, i use no sorta fancy sound card just the one that built into the motherboard and i know there is on in there cus i used to have windows(icky) on this and cds would play. plz help
 
Old 11-10-2004, 05:28 PM   #2
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
What version of FreeBSD (if it is FreeBSD as I assume from your information)?
What program gives this error?
What have you added to the kernel config?
Have you tried just loading the modules?
What is the contents of your `dmesg` and do you see your sound card listed?
 
Old 11-10-2004, 05:33 PM   #3
saneisjustaword
LQ Newbie
 
Registered: Nov 2004
Location: Tx
Distribution: FreeBSD
Posts: 4

Original Poster
Rep: Reputation: 0
freebsd 5.2.1
it gives me the message when i click on the sound volume thing or open it through the applications menu,
i havent added ant thing to the config. cus when ever i do it wont recompile so i just sorta stoped adding new stuff

as i said before i dont have any sound card just the motherboard thingy, this computer was used so i dont have any specs on the mother board im workin on getting a new one

and ib only used freebsd for about 5 months im only 14 so dont be mad when i say i dont know what your talking about when oyu say dmsg

Last edited by saneisjustaword; 11-10-2004 at 05:34 PM.
 
Old 11-10-2004, 05:46 PM   #4
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
dmesg is a command you can run which will print out the hardware and stuff as found by the kernel at boot.

But forget that right now. Become root and try the following:
Code:
kldload sound.ko
That should load all the sound drivers. 5.2.1 automatically creates devices so that should not be an issue. Load the drivers and try to play an mp3 or something with sound. It really should just work.
 
Old 11-10-2004, 05:48 PM   #5
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
Note: When you have determined that it works, you can read the output from dmesg and see what drivers you need and load only them at boot.
 
Old 11-10-2004, 05:48 PM   #6
saneisjustaword
LQ Newbie
 
Registered: Nov 2004
Location: Tx
Distribution: FreeBSD
Posts: 4

Original Poster
Rep: Reputation: 0
kldload: can't load sound.ko: No such file or directory

erm....
 
Old 11-10-2004, 05:50 PM   #7
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
Code:
cd /boot/kernel/
kldload sound.ko
kldload snd*
That WILL work. That makes sure everything is being loaded and it also ensures that it isn't looking for anything.
 
Old 11-10-2004, 05:51 PM   #8
saneisjustaword
LQ Newbie
 
Registered: Nov 2004
Location: Tx
Distribution: FreeBSD
Posts: 4

Original Poster
Rep: Reputation: 0
dahmer# cd /boot/kernel
dahmer# kldload sound.ko
kldload: can't load sound.ko: No such file or directory
dahmer# kldload snd*
kldload: can't load snd_ds1.ko: File exists
kldload: can't load snd_emu10k1.ko: File exists
kldload: can't load snd_es137x.ko: File exists
kldload: can't load snd_ess.ko: File exists
kldload: can't load snd_fm801.ko: File exists
kldload: can't load snd_ich.ko: File exists
kldload: can't load snd_maestro.ko: File exists
kldload: can't load snd_maestro3.ko: File exists
kldload: can't load snd_mss.ko: File exists
kldload: can't load snd_neomagic.ko: File exists
kldload: can't load snd_pcm.ko: File exists
kldload: can't load snd_sb16.ko: File exists
kldload: can't load snd_sb8.ko: File exists
kldload: can't load snd_sbc.ko: File exists
kldload: can't load snd_solo.ko: File exists
kldload: can't load snd_t4dwave.ko: File exists
kldload: can't load snd_via82c686.ko: File exists
kldload: can't load snd_vibes.ko: File exists
dahmer#
 
Old 11-10-2004, 07:36 PM   #9
mortal
Member
 
Registered: Mar 2004
Location: Soviet Kanuckistan
Distribution: Slackware 12.2
Posts: 216

Rep: Reputation: 31
long shot here but this is the command I use as ROOT before I startx

kldload snd_driver

Last edited by mortal; 11-10-2004 at 07:38 PM.
 
Old 11-10-2004, 09:56 PM   #10
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
You are getting those errors because it loaded all of them when it loaded sound.ko ... I only said to do that just to make sure.

Your sound should now work... what is the output when you run "mixer" at the command line? Can you play any mp3s or do you get an error?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
tryed to go from mozilla 1.06 to 1.07 cooldudejz Ubuntu 3 09-25-2005 01:37 AM
more sound problems but ive tryed everything tgo Slackware 2 04-01-2005 05:03 PM
HELP I've tryed everything xaos5 Linux - Networking 1 03-13-2005 04:51 AM
Tryed to hack your own server lately? Kanon Linux - Security 11 01-18-2005 04:50 AM
Has anyone tryed Mandrake 8.1? Steve_Taylor Linux - Distributions 40 02-27-2002 12:51 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 12:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration