Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.
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.
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...