LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-29-2004, 09:02 AM   #1
Pathian
Member
 
Registered: Sep 2003
Location: Dayton, Ohio and Hoffman Estates, IL
Distribution: Slackware 9.1 (laptop) Mandrake 9.2 (desktop)
Posts: 58

Rep: Reputation: 15
Slackware "lost" /dev/dsp, no sound


yesterday I used swaret to update my system from slackware 9.1 to slackware-current. Everything was working fine yesterday (my sound system needed to be changed from auto detect to OSS however, ALSA and Autodetect failed to open my sound card /dev/dsp). Last night though, my system locked while running a screen saver and I had to do a hard reboot. When I got back to slackware I got a different error when I used startx to boot KDE. This time, the sound server could not start because /dev/dsp (or rather the device linked to /dev/dsp) does not exist. I tried cat /dev/dsp to confirm it and it does say that the device does not exist, so none of the options for sound server work (OSS, threaded OSS, ALSA, etc). This has always been my default sound device and it was working fine yesterday. I have an Intel i810 laptop motherboard with an AC97 integrated sound card. Does anyone know what I can do to rememdy this problem? I may end up having to do a fresh install if I can't get it working again.
 
Old 03-29-2004, 09:23 AM   #2
KMcD
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slack -- current
Posts: 354

Rep: Reputation: 30
did you upgrade the 'arts' package? I had a similar problem and that was the cause.

Try

swaret --upgrade arts
 
Old 03-29-2004, 09:31 AM   #3
Pathian
Member
 
Registered: Sep 2003
Location: Dayton, Ohio and Hoffman Estates, IL
Distribution: Slackware 9.1 (laptop) Mandrake 9.2 (desktop)
Posts: 58

Original Poster
Rep: Reputation: 15
yes, I've already upgraded the arts package, all of my packages are already synched with slackware-current. I get the feeling that this doesn't have something to do with Arts/KDE though, I booted into Gnome, XFce, etc etc and got similar errors, the sound card not being connected to the appropriate dev entry.

Last edited by Pathian; 03-29-2004 at 09:32 AM.
 
Old 03-29-2004, 11:47 AM   #4
Pathian
Member
 
Registered: Sep 2003
Location: Dayton, Ohio and Hoffman Estates, IL
Distribution: Slackware 9.1 (laptop) Mandrake 9.2 (desktop)
Posts: 58

Original Poster
Rep: Reputation: 15
well, I managed to figure out a workaround to the problem, apparently slackware didn't like that I upgraded the 4 alsa packages (or possibly just one of them) from version 0.9.6 which was packaged with the disks to the current 1.0.3, I downgraded the packages and my sound server works again, no idea why.
 
Old 03-29-2004, 11:52 AM   #5
George666
Member
 
Registered: Nov 2003
Distribution: Slackware
Posts: 63

Rep: Reputation: 15
chmod a+rw /dev/dsp

(you might need to do it with /dev/mixer to)

To set the permissions so that everybody can access it.

When you upgraded the devs packages the permissions probably got reset to their default values.
 
Old 03-29-2004, 12:11 PM   #6
Minderbinder
Member
 
Registered: Aug 2003
Location: Boston, MA
Distribution: Slackware-current
Posts: 142

Rep: Reputation: 15
Did you upgrade the kernel with swaret? I think you have to if you want to update your alsa packages with swaret. You have to remove "kernel" from the exclude list in swaret.conf.
 
Old 03-30-2004, 12:16 PM   #7
diensthunds
Member
 
Registered: Oct 2003
Posts: 45

Rep: Reputation: 15
If you do an upgrade with swaret make sure you double check your REPOS_ROOT I added the list of repos that you find on the swaret.org site and have since come to find out that alot of the packages that you may get have a 1rob or jto listed someplace in the name, problem is that those files are "custom tailored" and they may cause problems with your standard install. They require specific libraries that are 1rob or .jto libraries, and if you dont have them then your packages may not work like you would think, I'm having a probelm with my alsa not working and I think this may be why. I did a swaret --upgrade and had the sites listed in my REPOS_ROOT and I remember those "special files" being listed and installed. I'm about to whipe my system clean and re-do an --update to see if this fixes the probelm. If it does then I'll know that this was the reason why my alsa wasnt working even though I had installed the packages installed they didnt have the right libraries. Anyways if this IS the problem I'll let ya know.
 
Old 03-30-2004, 05:16 PM   #8
Pathian
Member
 
Registered: Sep 2003
Location: Dayton, Ohio and Hoffman Estates, IL
Distribution: Slackware 9.1 (laptop) Mandrake 9.2 (desktop)
Posts: 58

Original Poster
Rep: Reputation: 15
no, I haven't updated my kernel via swaret, I'm reticent to do so because the last time I tried to update my kernel in Slackware the system wouldn't boot up. Thanks for all the help though.
 
Old 03-30-2004, 05:52 PM   #9
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 50
compile the kernel and add support for the appropriate sound card.(kernel.org)
 
  


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
"/dev/dsp not found" error on KDE, GNOME sound also doesn't work KneeLess Linux - Software 3 09-04-2007 03:41 PM
Could not open device "/dev/dsp" for writing bhomass Debian 7 11-16-2005 03:04 PM
problem in giving sound input through "/dev/dsp" b0nd Linux - Newbie 1 03-14-2005 10:16 PM
Literally LOST /dev/sound/dsp - disappeared Daem0hn Linux - Hardware 5 01-16-2005 05:36 AM
"/dev/dsp: Device or resource busy" Cdzin Linux - Hardware 4 02-25-2004 06:39 AM


All times are GMT -5. The time now is 03:25 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration