LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 07-08-2004, 04:23 PM   #1
jam222
Member
 
Registered: Feb 2004
Posts: 56

Rep: Reputation: 15
kernel 2.6.7 and sound


I have just compiled kernel 2.6. 7. It seems that there is an issue with sound. Wen I start KDE it gives me an error


Error initializing the sound driver:

device /dev/dsp can't be opened (No such file or directory)

The sound server will continue using a null output device.


I looked at dev directory and I cannot find dsp.

I also tried running alsaconf but it couldn't find my sound card. With kernel 2.4.x. It had no problems finding my sound card. I am using Dell Latitude C810 (laptop) and the sound card is built in. When I was compiling kernel I selected the option for "Dell laptop support".

Can someone please help.
 
Old 07-08-2004, 04:58 PM   #2
suslik
Member
 
Registered: Jul 2004
Distribution: OpenSuse 10.x
Posts: 262

Rep: Reputation: 30
There is no Dell Support option in sound section of 2.6.7. I checked both, ALSA and OSS. You probably saw it in CHipset support for sensors or APM/ACPI. In any case, that doesnt activate/include software for your soundcard.

TO DO:

Find out what actual sound chip you have in the laptop, and Check it in Device Drivers>Sound>ALSA>PCI Devices
 
Old 07-08-2004, 05:03 PM   #3
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
It's probably an i810 AC'97. I would suggest the same thing that I just suggested to the_woelf on this page only use the appropriate ./configure switch for that card.... Just my 2 cents...
 
Old 07-08-2004, 06:07 PM   #4
jam222
Member
 
Registered: Feb 2004
Posts: 56

Original Poster
Rep: Reputation: 15
Sorry I cannot find teh post by he_woelf. Do you have the link

thanks
 
Old 07-08-2004, 06:14 PM   #5
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Sorry....

http://www.linuxquestions.org/questi...35#post1035435

Thats just what I do based upon my expierences with alsa over the past year or so. It always works for me... Other people would probably suggest entirely different solutions. This just works for me....

Go here and click on the DETAILS link of your card and follow the instructions for the alsa-driver part of it... I'm still assuming you are using an i810.... Check the results of 'lspci' to make sure...

http://www.alsa-project.org/alsa-doc...r-Intel#matrix

Last edited by jong357; 07-08-2004 at 06:17 PM.
 
Old 07-08-2004, 07:04 PM   #6
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
You could also just download the package, untar it, cd into it and:

Code:
./snddevices

chmod a+rw /dev/dsp /dev/mixer /dev/sequencer /dev/midi
Just a thought. All that stuff is on their web page. You can also run that script on newer versions than what it states. I have to no ill effect... It just sounds like your missing some dev nodes is all...... Not sure why you would be, but if you honestly can't find it, then your probably missing it. That script will create it.
 
Old 07-08-2004, 08:34 PM   #7
jam222
Member
 
Registered: Feb 2004
Posts: 56

Original Poster
Rep: Reputation: 15
will it be OK to uninstall all the alsa packages and then reinstall the packages includung the driver package. I mean to say will it have the same effect
 
Old 07-08-2004, 08:48 PM   #8
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Sure.... Theres no reason to do that unless you want to move to a newer version. 1.0.5a is the latest tho. When 1.0.6 comes out and you want to upgrade to the newer version, uninstall ALL of them and then make sure you keep the version numbers the same when you re-install....

alsa-driver is the only one that you need, but if it makes you feel better, you can unistall them all and then re-install them all... It shouldn't matter tho... Personally, I would download the source and use the "card specific ./configure switch" for your card. By installing the Slak-pak off the cd, your bloating your 'module sound' directory with stuff your not even going to use. ie- modules for all sorts of other cards.... Up to you tho.

I would probably try using that sndevices script first tho.... Thats just me tho. It couldn't hurt as far as I can tell... I've done it before. It just makes device nodes that should already be there. Alsa is complaining that you don't have atleast one of them tho, so thats what I would tend to look at first....

Last edited by jong357; 07-08-2004 at 08:50 PM.
 
Old 07-08-2004, 11:54 PM   #9
javamdk
Member
 
Registered: Jul 2004
Location: Indiana
Distribution: Slackware 10.1, Debian
Posts: 64

Rep: Reputation: 15
Well I had the same problem when I updated my older 2.4.x kernel to 2.6.7... When I booted back up and loged into X, I got the same error... all I did was log into root, type:
Code:
alsaconfig
then follow through the instructions, let it compile everything for you and voila... you should be set... type:
Code:
alsamixer
and fix your PCM and Master controls to your liking.

I believe 2.6.7 did away with other sound drivers, so your /dev/ folder will look a bit different. I hope this helps... JoeY
 
Old 07-09-2004, 07:24 AM   #10
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Hey, If you haven't found this yet, here it is...

http://www.linuxquestions.org/questi...a+udev+devices

Sounds like your Exact same problem. I don't use 2.6 kernels so I was unaware of it.... Good luck... I need a break from the alsa posts....
 
Old 07-09-2004, 07:43 AM   #11
jam222
Member
 
Registered: Feb 2004
Posts: 56

Original Poster
Rep: Reputation: 15
thanks it worked. Still no /dev/dsp but sound is working.
 
  


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
10.1 + Kernel 2.6.10 = no sound CartersAdvocate Slackware 6 02-10-2005 11:05 PM
No sound with Kernel 2.6.7 gotmonkey Slackware 6 12-17-2004 12:45 PM
kernel sound Infinite_Pizza Linux - Hardware 0 05-30-2004 10:44 PM
Can I load both oss (kernel sound drivers) and alsa in 2 sound cared system? cmisip Linux - General 0 04-12-2003 01:27 AM
no sound on sis onboard sound kernel 2.4.18 blither Linux - General 10 12-13-2002 05:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:57 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