LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-29-2006, 12:10 AM   #1
monty_2487
Member
 
Registered: Dec 2005
Posts: 46

Rep: Reputation: 15
Device /dev/dsp (Mandriva)


Hello,
I recently installed a new pci sound card on my computer and Mandriva for some reason, has had difficulties utilizing it. I disabled the onboard soundcard in the bios, and now when I boot into linux, it sees the pci soundcard, but I recieve this message when I first login:

Error while initializing the sound driver:
device /dev/dsp can't be opened (No such file or directory)

How can I fix this?

P.S.- I am running a duel boot if that makes any difference, and XP has no difficulties with my new card. The message only appears when I disable the onboard sound in the bios. However, if I don't disable the onboard sound, I have conflicting cards and my sound gets really wacky.
 
Old 05-29-2006, 01:11 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
List the device:
ls -l /dev/dsp

If it looks like this, make yourself a member of the audio group.
crw-rw----+ 1 root audio 14, 3 2006-05-26 01:54 /dev/dsp
 
Old 05-29-2006, 12:43 PM   #3
monty_2487
Member
 
Registered: Dec 2005
Posts: 46

Original Poster
Rep: Reputation: 15
When I enter that command, all I get is:
ls: /dev/dsp: No such file or directory
How do I get the dsp file? What does it have to do with kmix, and selecting a mixer for my pci soundcard?
-Monty
 
Old 05-29-2006, 05:13 PM   #4
APB_4
Member
 
Registered: Nov 2004
Distribution: KDE Neon User edition; Manjaro; OpenSUSE Leap
Posts: 298

Rep: Reputation: 31
mknod /dev/dsp c 14 3
 
Old 05-29-2006, 07:39 PM   #5
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Also try
Code:
alsaconf
as root
 
Old 05-29-2006, 08:06 PM   #6
monty_2487
Member
 
Registered: Dec 2005
Posts: 46

Original Poster
Rep: Reputation: 15
I did the alsaconf and went did all the steps, yet when I logged back in, I still got the same error message about the dsp. My kmix is in the system tray, but it says "no mixer can be found". This is the source, or at least one aspect of the problem, but I don't know how to get a mixer installed or recognized.

-Monty
 
Old 05-30-2006, 01:48 AM   #7
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
I think that you need to backup and provide information on what sound card you installed.

Use the command "lspci -v" and post the section with the information about your sound card device. Maybe you need to determine if you need a certain device installed and modprobed before the system thinks that you have a sound card, or maybe for your system a different device should be used instead.

This command should list most of the sound related modules:
lsmod | egrep '(snd|oss|alsa|sound)'

If you have the kernel source installed, look in
/usr/src/linux-2.6.16.13-4/Documentation/sound/alsa/ALSA-Configuration.txt
if not, try this link:
http://mland98.rc.kyushu-u.ac.jp/mem...figuration.txt

This document lists each sound kernel module, and the sound cards that they support. Maybe the system didn't detect your card, and so didn't modprobe the module needed.
 
Old 05-30-2006, 11:09 AM   #8
monty_2487
Member
 
Registered: Dec 2005
Posts: 46

Original Poster
Rep: Reputation: 15
Here it is:
(It shows the soundcard, but when I boot into linux, I see in the verbose mode that there is an error [failure] with the sound, after alsa has been configured. Something to do with not detecting any soundcards and "alsactrl")



05:01.0 Multimedia audio controller: Creative Labs SB Audigy LS
Subsystem: Creative Labs: Unknown device 100a
Flags: medium devsel, IRQ 22
I/O ports at bc00 [size=32]
Capabilities: [dc] Power Management version 2

Last edited by monty_2487; 05-30-2006 at 11:15 AM.
 
Old 05-31-2006, 02:56 AM   #9
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Check if the "snd-ca0106" module is loaded. According to ALSA-Configuration.txt, in the kernel source, this is the module that supports "Creative Audigy LS and SB Live 24bit"
 
Old 06-01-2006, 04:54 PM   #10
monty_2487
Member
 
Registered: Dec 2005
Posts: 46

Original Poster
Rep: Reputation: 15
I recently went back into the BIOS and enabled "onboard sound" and the dev/dsp/ message does not appear when I log in, and my mixer is back. However, I still don't get sound through my pci soundcard. How do I check the module? When I look at the device drivers, I load the snd-ca0106 driver, but to no avail.
-Monty
 
  


Reply



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
device /dev/dsp can't be opened (No such device) brilvan Linux - Distributions 4 02-10-2007 08:26 PM
device /dev/dsp can't be opened (No such device) bigbossandy Slackware 4 06-17-2005 02:14 PM
?dev/dsp no such device RedHat 9.0 mickboda Linux - Hardware 1 12-06-2003 06:17 PM
device /dev/dsp can't be opened (no such device) ex0r Linux - Newbie 3 06-27-2003 09:41 AM
Device /dev/dsp can't be opened... MatMan5959 Linux - Hardware 4 06-20-2002 11:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:21 AM.

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