Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Kernel-source, alsa-driver and kernel compile 2.6.11.9
Hi, I'm compiling my first kernel and need to know if I need to install new alsa drivers and kernel-source for the new kernel or is that included? Of not where do I find them? Can't find them at kernel.org...
As for kernel-sources (I'm assuming you're using Slack) you can find it on the install disk or you can download sources from www.kernel.org if you wish the latest.
No problem. You can compile the kernel separately and then compile the ALSA drivers separately.
The make install step for the ALSA drive sources will automatically install the ALSA modules into the kernel directories.
Where at kernel.org can I find them? I meant kernel-source not the code source for the kernel of course, if I made myself unclear...I'm currently using this one URL=ftp://ftp.slackware.no/pub/linux/slackware/slackware-current/testing/packages/linux-2.6.11.9/]slackware.no[/URL]
but want to make my own...
It's all the same sources. Maybe the Slackware packages will have customized kernel config files. It's not a big deal if you know your hardware and what options are right for you.
You unpack the source code in the /usr/src/ directory. Then create a symlink to :
/usr/src/linux -> /usr/src/linux-2.x.y (example: x and y are major and minor version nos).
Then go to /usr/src/linux.
In a terminal type:
Code:
make menuconfig
or
Code:
make xconfig
Then set the configuration options. Save your changes. Then come out and compile the kernel using the usual steps.
Yes. If you're compiling your own kernel, you would need the kernel source code.
I think you're referring to the kernel headers (not full source code)? You won't need kernel headers if you have the full source code and you have a symlink /usr/src/linux point to the actual kernel source code directory /usr/src/linux-2.x.y.
To get a working 2.6 kernel with ALSA support, all you need is the kernel source - ALSA is built into the 2.6 kernel. You only need to get hold of Alsa seperately if you're using 2.4
To get a working 2.6 kernel with ALSA support, all you need is the kernel source - ALSA is built into the 2.6 kernel. You only need to get hold of Alsa seperately if you're using 2.4
Yes. But usually I don't recommend this for newbies because I know how tough it was for me to manually do the necessary kernel config to support my sound chip. And mind you, I knew which sound driver I needed too.
ALSA project drivers worked fine after a simple
Code:
./configure
make
make install
for me.
Usually I base my advice on experience, but of course, you're right. 2.6 kernels have built-in ALSA.
No problems in Gentoo (works fine here ). At that time I was using (trying out) Slackware and I had a lot of problems with ALSA until I downloaded and compiled the source from the ALSA project site.
Since the OP mentions Slackware in the user profile, I thought I'd base my reply on that experience.
Well I checked the boxes too and it didn't work I too know which snd card I have so I'll install them separately. The same goes for atm and acpi. I know I checked the boxes (double checked it out) but still no apm module or battery bar in my gkrellm. Apm command says "FATAL: No apm module found"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.