Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 06-14-2004, 09:35 PM   #1
Registered: Jun 2004
Location: West Virginia
Distribution: Gentoo, Debian
Posts: 52

Rep: Reputation: 15
/dev/dsp cannot be opened

I'm running Debian 3.0r2 (woody) and just upgraded to kernel 2.4.18. When compiling the new kernel, I included the driver for my sound card (soundblaster live) in the kernel, i.e. it's not a module. The driver is the emu10k1 driver. After the initial recompile & reboot, the soundcard worked. After the subsequent reboots, when I logged into kde, I got the error message "cannot access /dev/dsp permission denied". So I added myself to the audio group and changed the permissions on /dev/dsp. Now when I log in to kde, I get the error message "/dev/dsp cannot be opened (No such device)". But /dev/dsp does exist, i.e.:

>$ ls -l /dev/dsp
crwxrwxrwx 1 root audio 14, 3 Mar 14 2002 /dev/dsp

Here is relevant lspci output:

02:06.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07)
Subsystem: Creative Labs: Unknown device 806b
Flags: bus master, medium devsel, latency 64
I/O ports at 1400 [size=32]
Capabilities: [dc] Power Management version 1

and dmesg output:

Creative EMU10K1 PCI Audio Driver, version 0.18, 19:22:20 Jun 12 2004
PCI: Enabling device 02:06.0 (0000 -> 0001)
PCI: No IRQ known for interrupt pin A of device 02:06.0. Please try using pci=biosirq.
PCI: Setting latency timer of device 02:06.0 to 64
emu10k1: IRQ in use

Is the problem really the IRQ? This is PCI, so IRQs can be shared, right? Any help/suggestions are appreciated.
Old 06-14-2004, 09:41 PM   #2
LQ Guru
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
Is everything ok as root? Maybe you should compile ALSA yourself with the ./snddevices after the make install in the alsa-driver package.
Old 06-15-2004, 05:17 PM   #3
Registered: Jul 2003
Distribution: Gentoo
Posts: 168

Rep: Reputation: 30

I suppose you are using OSS and not alsa because of the 2.4 kernel driver.

The first thing that comes to my mind is that on my system, /dev/dsp has the permissions crw-rw----. So maybe you could try removing the executable flag for all users.

If that doesn't help, try shutting down KDE and its sound daemon (artsd i believe?). Then try and play an audio file with mp3blaster. It is a console-only application with no sound daemons/kde so you eliminate that as an error source.

If mp3blaster also refuses to access /dev/dsp with the permissions I stated above, I don't really know any further for the moment.

Except for the IRQ issue: I don't have this audiocard so I don't know if that could be the problem. But it looks like it could be. IRQs can be shared but there are some devices which don't really like this or even refuse to work with a shared IRQ assigned to them. You should read up on that pci=biosirq parameter and try it. Maybe that's the solution.

Good luck!
Old 06-16-2004, 09:35 AM   #4
Registered: Jun 2004
Location: West Virginia
Distribution: Gentoo, Debian
Posts: 52

Original Poster
Rep: Reputation: 15
Thanks for the help. I'll try these suggestions when I get a chance.
In regards to the replies:
- I get the exact same error as root
- /dev/dsp originally had permissions crw-rw---- when I got the "permission denied" error

I'll post my results when I have time to mess around with the computer...
Old 06-16-2004, 10:59 PM   #5
Registered: Jun 2004
Location: West Virginia
Distribution: Gentoo, Debian
Posts: 52

Original Poster
Rep: Reputation: 15
OK...everything works now...thx for the help.
If anyone has the same problem, I just compiled ALSA myself....


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
device /dev/dsp can't be opened Benedictus Linux - Hardware 13 08-08-2004 04:40 PM
device /dev/dsp can't be opened kalif Linux - Software 26 08-31-2003 06:38 PM
dev/dsp can't be opened cijunet Linux - General 3 12-03-2002 09:12 PM
dev/dsp can't be opened cijunet Linux - Newbie 1 12-03-2002 03:52 PM
Device /dev/dsp can't be opened... MatMan5959 Linux - Hardware 4 06-20-2002 11:13 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:45 AM.

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