LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-27-2004, 04:32 PM   #1
annihilate
LQ Newbie
 
Registered: Apr 2004
Location: UK
Distribution: Slackware 9.1
Posts: 21

Rep: Reputation: 15
Synaptics touchpad stopped working?


I just tried to install the 2.6.6 kernel, I don't think I did it right, so I deleted it from lilo and recompiled the 2.4.22 one that was already in the /usr/src/linux folder. I enabled acpi and turned off apm. My battery status now works and laptop powers itself off. Problem is my synaptics touchpad isn't working as it was anymore (since I started to install the 2.6 kernel basically) but my XF86Config file hasn't been touched. I don't know why the touchpad isn't working correctly Bascially, I can't tap it to act like left click. Is this an option in the kernel? I don't know what's going on with it. I don't want to start a fresh and install slack again, (even though i know the touchpad works on a bare.i kernel install).

Can someone help me get back my touchpad?
 
Old 05-28-2004, 02:01 AM   #2
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Rep: Reputation: 33
My laptop synaptics pad has not been detected properly by any of the 9.1/current pre built kernels up to 2.4.26.
booting with a 2.6.x live cd like Buffalo detects it so I think that this might be a 2.6 upward only feature
 
Old 05-28-2004, 05:01 AM   #3
annihilate
LQ Newbie
 
Registered: Apr 2004
Location: UK
Distribution: Slackware 9.1
Posts: 21

Original Poster
Rep: Reputation: 15
Mine works perfectly on a bare.i kernel 2.4.22.
I just reinstalled Slack basically now, with that kernel, and it works. I have now recompiled again adding in the ACPI support according to the instructions in the sticky thread in this forum on how to compile a kernel. Now I have Linux (with ACPI) or slack.old in my lilo boot up.

My question now is, since the new compiled kernel is working perfectly, the Linux one, should I remove the slack.old one. And if so, what is the correct procedure for removing it. Is there a command or something to type which will remove the kernel and update lilo for example?

And lastly, if I keep the two kernels, what happens when I want to recompile again (maybe remove a lot of unneeded modules). Am I right in thinking the Linux (with ACPI) will overwrite the slack.old and the newly compiled kernel (with removed modules) will be called Linux (overwriting the original Linux (with ACPI)? I hope this makes sense

Thanks in advance

Last edited by annihilate; 05-28-2004 at 05:09 AM.
 
Old 05-28-2004, 10:51 AM   #4
dmadcat
Member
 
Registered: Aug 2003
Location: Columbus, OH
Distribution: Slackware
Posts: 32

Rep: Reputation: 15
Depends.

Basically what you're doing is downloading source files for a program (the kernel), creating a config file (make menuconfig) that will give you all the options you want for your program, and then compiling it. The whole procedure produces the file in /usr/src/linux-2.x.x/arch/i386/boot/ called bzImage. bzImage is the finished kernel.

Now, in Slackware at least, there are two (possibly more) ways you can go about booting your kernel. You can either COPY the bzImage to the /boot directory and rename it to something meaningful to you, add the entry in lilo, run lilo as root, and reboot to select that kernel or you can create a SYMBOLIC LINK to the /usr/src/linux-2.x.x/arch/i386/boot/bzImage and give the link you created a meaningful name (and then do the lilo stuff). Either way works just fine. (hell, you might even rename the bzImage in the /usr/src/etc... directory and create a link to that file).

That's all find and dandy. You're asking how would you go about creating a new kernel alongside an existing kernel of the same type (i.e. more than one 2.6.6 kernel)? Well, either rename the bzImage in the source tree and create your symbolic link to it or copy it and paste it to the /boot directory.

If you want to then create a new kernel (bzImage) you can either just go to the directory and type make menuconfig and change your configuration around, save the new config, type make and it will overwrite the existing bzImage OR you can type make mrproper to clear out the old config and the old files and start again from scratch. Either way, if you've renamed or copied the existing bzImage before reconfiguring you'll still have the old configuration as well as the new one.

To get rid of the kernel? Just delete the symbolic link in the /boot directory and comment out or delete the entries in lilo.conf (don't forget to run lilo afterward) and it will no longer be there. If you just want to get rid of all of it (source and everything) then delete that kernel's source tree in /usr/src.

As for the synaptics touchpad, try this...

http://www.madpenguin.org/Article887.html

Last edited by dmadcat; 05-28-2004 at 10:58 AM.
 
Old 05-28-2004, 04:49 PM   #5
annihilate
LQ Newbie
 
Registered: Apr 2004
Location: UK
Distribution: Slackware 9.1
Posts: 21

Original Poster
Rep: Reputation: 15
Thanks for the reply. I'm not I understand completely, but I'm gonna give it a go.
Only last time I tried to install the 2.6 kernel, it all went pear shaped, it failed somewhere, and it seemed to overwrite everything like my origianl 2.4 kernel that was working perfectly, since when I rebooted, i had Linux or slack.old, and they were exactly the same, ie the Synaptics touchpad stopped working.

So at the moment I have in lilo the choice for Linux or slack.old

I have downloaded the source for the 2.6 kernel to my home directory, and extracted the file to /usr/src

Now inside /usr/src is a folder called linux-2.6.6 or something like that.

What I want to do now is:
Make the kernel that boots up when I select Linux in lilo be the slack.old kernel, and then make the kernel that was booted up as Linux be the new 2.6 kernel. That way if the 2.6 kernel doesn't work, I still have my original working Linux kernel.

Put simpler, I want this
At the moment I have: Linux (2.4 kernel)(call this BEST) , slack.old (call this OK)

What I want: BEST to overwrite OK, and the new 2.6 kernel to become BEST,

so that at the end of it, I have a 2.6 kernel which will be the Linux option in lilo, and also my 2.4 kernel (called BEST) as the slack.old option in lilo

Can somebody tell me step by step the procedure for this. I tried to do this last time I installed the 2.6 kernel and it all went wrong. I think beforehand I deleted vmlinux.old, maybe I shouldn't have done that! I don't know. But what I do know is once I have got this right once, I wont have to bother you ever again with kernel compiling questions

As for the Synaptics touchpad, it works perfectly at the moment in my 2.4 kernel, and seemed to stop working properly when I tried to install the 2.6 kernel. But since I never finished compiling the 2.6 kernel, that could explain why it didn't work. Hence why I really don't want to compile again the 2.6 kernel until I'm sure I'm doing it right. I don't want to ever lose my 2.4 kernel, as that works perfectly for me. But I've bookmarked that site, because if it doesn't work in the 2.6 kernel, then I should be able to get it working from that site. Thanks for the link
 
Old 06-02-2004, 01:11 PM   #6
annihilate
LQ Newbie
 
Registered: Apr 2004
Location: UK
Distribution: Slackware 9.1
Posts: 21

Original Poster
Rep: Reputation: 15
Not to worry, I've worked out how to do it now. And I've deleted the 2.6 kernel straight away. Things don't work properly using it. I'll stick with the 2.4 for now since I recompiled that again, and now my sound works Not sure why it started to work, because I already had ALSA compiled and didn't change any sound settings when I recompiled. Only removed a whole load of needless modules.
 
  


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
Touchpad stopped working nkef Linux - Laptop and Netbook 1 12-01-2004 12:52 PM
Synaptics touchpad not working with Mdk 10 Kramer Mandriva 7 06-13-2004 07:24 PM
Pointing stick stops working with Synaptics touchpad driver! mmarshall Linux - Laptop and Netbook 0 05-13-2004 11:58 AM
Synaptics touchpad + USB Logitech MX 700, wheel not working under 2.6 (Mdk 10.0) stevelinton Linux - Laptop and Netbook 0 04-06-2004 09:01 AM
Touchpad stopped working!!! king_nothingzzz Linux - Hardware 8 03-01-2004 04:03 PM

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

All times are GMT -5. The time now is 06:17 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration