View Full Version : Sound worked - Now it doesn't!
02-08-2008, 08:33 PM
Sound server informational message:
Error while initializing the sound driver:
device /dev/dsp can't be opened (No such file or directory)
The sound server will continue, using the null output device.
When I checked /dev/dsp properties
this is a link pointing to a nonexisting dsp0
Sound is Realtek AC97
I love this new (to me at least) operating system and I have been installing software etc. I thought it was a problem with WINE and so I uninstalled it. The nv (driver) was upgraded - can I undo this? What is going on? I vaguely remember something telling me there was an update for nv and I ok'd it - what do I do now?
02-08-2008, 09:50 PM
wine and the nv driver shouldn't effect it, only the contents of /boot/loader.conf and the kernel modules loaded on your system.
Posting details of what you did between when it last worked and when it stopped would be useful (such as system updates e.t.c) as would a copy of loader.conf and the output of the kldstat -v command in konsole (as root).
02-09-2008, 01:03 AM
8 1 0xc0be0000 5c148 acpi.ko
9 1 0xc3a86000 6000 linprocfs.ko
10 2 0xc3c0f000 71000 osscore.ko
11 1 0xc3c8a000 a000 vmix.ko
02-10-2008, 11:32 AM
From browsing other posts and looking at my system I also found this in /var/log/messages pcbsd root: /etc/rc.d/sysctl: WARNING: sysctl hw.snd.pcm0.vchans does not exist. Feb 9 16:30:08 pcbsd root: /etc/rc.d/sysctl: WARNING: sysctl hw.snd.maxautovchans does not exist. Is there a way to fix this?
02-10-2008, 04:00 PM
No clue if it still works or not but I would try adding
a quick way of editing it as root is to open the run dialog and run the command
and it will run kedit as root and you can open the file. You can also specific the file to open in the run dialog, e.g. kdesu kedit /boot/loader.conf
the sysctl some one else would have to say, I don't have a FreeBSD machine handy atm lol.
02-11-2008, 02:38 AM
Didn't work - maybe if you can tell me how this can happen on pc-bsd?
02-11-2008, 08:51 AM
1. $ kldload snd_driver
This will help find the driver for your soundcard.
2. $ cat /dev/sndstat
This will tell you which driver was selected for your soundcard.
Add this to your /boot/loader.conf
Example, if the driver is snd_hda as on my desktop, then add it to loader.conf as:
Reboot and it should work.
02-11-2008, 10:43 AM
new loader.conf at /boot/loader.conf
I have sound now but it is not as good as original. I should have known that upgrading/updating is likely to burn me. Also apparently "mixer cannot be found". Obviously there is still something wrong with my system - I think the sound_ich it is using now is wrong for a Realtek AC97. This is disturbing:
pcbsd# cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
pcm0: <nVidia nForce2> at io 0xe000, 0xe400 irq 20 bufsz 16384 kld snd_ich (1p/1ls duplex default)
I think that is on the motherboard not the installed sound card?
02-11-2008, 02:26 PM
Sounds like you just need to add sound support now.
Try this, install KMPlayer. Do a make config in ports and then select the various sound options. I got the works for mine, ALSA, OSS, Jack Audio, etc. Then select AUTO in KMPlayer in General Options and Output.
02-11-2008, 02:34 PM
Whoops, forgot to mention, try using lame as well as your mp3 encoder.
02-12-2008, 07:09 AM
The snd_ich driver allows the generic audio driver to do stuff with Intel ICH compatibles. It is supposed to support a number of Intel ICH and nVidia nForce chipsets, odds are if your motherboard is a nForce that's the onboard.
I've never heard of a AC97 based expansion card just onboards but I'm not exactly a soundbert.
02-13-2008, 07:28 AM
Base processor and speed
AMD Athlon XP 2800+2.08 GHz
Advanced 333 MHz front side bus
Memory Component Attributes
RAM (installed) 512 MB 2700 DDR (2 x 256 MB) up to 64 MB shared video memory
Maximum allowed 1 GB (2 x 512 MB)
Speed supported PC2700 MB/sec
Type 184 pin, DDR SDRAM
DIMM slots Two
Open slots None available
Cache Type Attributes
Primary cache (L1) 128 KB
Secondary (L2) 256 KB
120 GB Ultra DMA
1.44 MB (3.5-inch)
High-speed V.92 ready data/fax
Integrated nVidia GeForce4 MX graphics with up to 64 MB allocated video memory
Integrated AC97 audio
Six speaker configurable
Speakers sold separately
Rear SPDIF-Out connector supports Dolby Digital 5.1 output
Use only powered speakers with own amplification
Integrated 10/100Base-T networking interface
MPEG2 for full-motion digital video
External ports (total) Port type Quantity Location
USB (2.0) Five One front, four rear
IEEE 1394 Two One front, one rear
Line-in/Microphone/Headphone One each Front
7-in-1 media card reader (supports Compact Flash I/II, SmartMedia, Memory Stick Pro, MultiMediaCard, Secure Digital (SD), and IBM MicroDrive) One card, four slots Front
SPDIF-Out One Rear
10/100Base-T One Rear
Serial One Rear
Parallel One Rear
PS/2 keyboard One Rear
PS/2 mouse One Rear
VGA One Rear
Audio: Line-in/Line-out/Microphone/Headphone One each Rear
Expansion slots (total) Slot type Quantity
PCI Three (two open)
DIMM Two (both occupied)
8X AGP One (available)
Drive bays (total) Bay type Quantity
5.25-inch, external Two (both occupied)
3.5-inch, external Two (both occupied)
3.5-inch, internal Two (one available)
Keyboard and mouse
PS/2 Internet keyboard
PS/2 deluxe optical mouse
Of course there is an nVidia (Ge Force FX 5200) video card with dedicated memory installed as an upgrade. I thought there was also a sound card installed - that was probably another computer. There is a newer DVD burner installed also and I can't remember whatever else right now. Oh yeah a 300 GB second drive etc. etc. etc.
02-14-2008, 02:30 AM
I'm probably going to have to re-install. I may have been hacked or compromised when I was installing sound stuff. My computer kept freezing up and then later the screen went black and wouldn't come back and of course I thought all the compiling was still going on but the energy saving stuff kicked in so I was afraid to shut it down in the middle of whatever it was doing... ok I'm an idiot...so when I finally woke up it was still "frozen"? Do you have any idea what happened? I was also browsing when it kept freezing - this site and when I got bored the Ron Paul site to see what was new and tried to view his new video while I was waiting for the installs. Is it paranoid or have I got a potential problem? By the way I couldn't get the video to play. I was also various other places looking for info on my sound problem.
02-15-2008, 07:15 AM
This looks like an irq problem
pcm0: <nVidia nForce2> port 0xe000-0xe0ff,0xe400-0xe47f mem 0xfe600000-0xfe600fff irq 20 at device 6.0 on pci0
pcm0: <Avance Logic ALC650 AC97 Codec>
ohci0: <OHCI (generic) USB controller> mem 0xfe900000-0xfe900fff irq 20 at device 2.0 on pci0
nfe0: <NVIDIA nForce2 MCP2 Networking Adapter> port 0xe880-0xe887 mem 0xfe800000-0xfe800fff irq 20 at device 4.0 on pci0
miibus0: <MII bus> on nfe0
02-16-2008, 07:40 AM
How do I change irqs?
In the future this link might be helpful:
http://www.freebsdforums.org/forums/sho ... ge=1&pp=15 (http://www.freebsdforums.org/forums/showthread.php?t=19095&page=1&pp=15)
02-21-2008, 10:33 PM
I re-installed and this time it nailed me when I was doing portmanager -u to update. I have to be able to do something about all the 'critical's so I either run with insecure (old opera and flash etc.) software, apps etc or move on. For future users I'm pretty sure it is the nVidia GeForce FX 5200 with 512 mg ram (graphics). I declined the nag update but I think it got me during portmanager -u or maybe portupgrade.
vBulletin® v3.8.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.