LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial 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 02-11-2005, 03:34 PM   #1
Makaelin
Member
 
Registered: Mar 2004
Location: Minneapolis, MN
Distribution: Slackware 10.1
Posts: 93

Rep: Reputation: 15
Kernel Upgrading, dev, udev, etc...


Just a few questions, as I'm recompiling a kernel and trying to slim down my install somewhat to back up for other machines.

First, if I upgrade to the 2.6.10 kernel and have udev installed, am I correct in assuming that I can remove the dev package?

Second, if I enable all the ALSA features in the kernel, what additional packages will I need to have for sound?

Thanks in advance!
 
Old 02-11-2005, 04:04 PM   #2
Tino27
Member
 
Registered: Aug 2003
Location: Akron, OH
Distribution: SuSE 8.2, Slackware current, OpenBSD 3.5-3.8, Fedora Core 2
Posts: 400

Rep: Reputation: 30
If you enable all of the correct features of ALSA in the kernel, then technically, anything that uses ALSA should work properly. However, I had great difficulty getting non-ALSA-based programs (read: anything using SDL) to work at all. I ended up removing everything except basic sound support (the 'soundcore' module) from the kernel and then compiling ALSA from source. This seemed to offer a more consistent result for me.

If you do end up compiling ALSA into your kernel, you might want to consider removing any of the installed ALSA packages as you might end up with conflicts.
 
Old 02-11-2005, 05:58 PM   #3
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
Re: Kernel Upgrading, dev, udev, etc...

Quote:
Originally posted by Makaelin
am I correct in assuming that I can remove the dev package?
If you are talking about the kernel config option for devfs you SHOULD NOT use it. If you are talking about the devs-2.x.x-noarch-x package installed with Slackware then you SHOULD NOT remove it either as it is required for the 2.4.xx kernels. Unless I'm out of my reckonin', that is what populates the /dev directory when you boot to a 2.4.xx kernel. Udev will live side-by-side with it and won't cause any problems as devs isn't used with a 2.6.x kernel and udev ain't used with a 2.4.xx kernel.

Quote:
Originally posted by Makaelin
Second, if I enable all the ALSA features in the kernel, what additional packages will I need to have for sound?
As far as alsa goes, I've always had the best luck compiling it as a module, rather than compiling it into the kernel. That way if something ain't right I can do "lsmod" and see the loaded modules. If you compile it into the kernel they won't show up (as they ain't modules). The main thing is to select which driver(s) you need and, again, have them compiled as modules. However, leave OSS deselected. It is depreciated and alsa actually has an oss compatibility library (alsa-oss) that you can download and compile from source for those programs that still depend on OSS stuff, namely any programs that require /dev/dsp and such. All of the main alsa library files are installed with Slack (alsa-lib, alsa-utils and alsa-oss) and I think that, even with Slack 10.0, it is alsa 1.0.8 (but I can't remember right now). After you recompile the kernel and boot to it you may want to download the alsa-driver-1.0.8 file from The ALSA Project and compile it according to the howto (also to be found on their site) for your card/chipset.

HTH,
MMYoung
 
  


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
Upgrading to unstable broke udev Ephracis Debian 5 10-17-2005 04:28 AM
Upgrading to 2.6 Kernel, ALSA, Udev Kenji Miyamoto Slackware 8 08-27-2005 05:24 PM
kernel 2.6.x udev and missing /dev/input/ttyACM0 prefas Linux - General 2 03-17-2005 09:13 AM
how to tell udev to make a dev jimdaworm Slackware 10 08-13-2004 07:12 AM
upgrading to linux 2.6.5 with hotplugging and udev behmjose Linux From Scratch 6 05-05-2004 06:22 PM


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