LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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
 
LinkBack Search this Thread
Old 10-31-2006, 03:58 PM   #1
dohpaz
Member
 
Registered: Feb 2006
Location: Edmonton
Distribution: Slackware 12.2, Ubuntu
Posts: 117

Rep: Reputation: 16
touchpad/pointer NoWorky on kernel recompile


I recently compiled (for the first time) a new kernel(2.6.18.1) for my Slackware 11 system using the excellent instructions provided @ http://www.linuxquestions.org/questi...d.php?t=174447

I had some problems initially but finally managed to boot into a working system. Everything seems to be working fine except the
touchpad and pointer(I have both on my Evo N600C laptop) are not working at all. When i run kde the pointer doesn't move.

At first I thought maybe it was something to do with my xorg.conf.
So I did a "ctl-alt-backspace" and then ran "links -g www.google.ca"
and the touchpad doesn't work there either.

I rebooted with the old 2.4.33.3 kernel and touchpad/pointer works.

I figure I must have missed something during the "make gconfig" step
but I'm not sure where too look. Is there some way I can boot into the old kernel and check what its loading for a mouse driver and then include that in my "make gconfig"?
 
Old 10-31-2006, 04:33 PM   #2
dxqcanada
Member
 
Registered: Sep 2006
Location: Canada
Distribution: Gentoo
Posts: 702

Rep: Reputation: 43
Re: 2.6.x mouse

I think that you will find your input devices are now using different device nodes with 2.6.x

If your kernel supports: Device Drivers -> Input Device Support -> Event Interface ... it will use different device nodes than in 2.4.x

/dev/input/event#

or

/dev/input/mouse#

/dev/input/mice is a pointer to both nodes
 
Old 10-31-2006, 06:51 PM   #3
dohpaz
Member
 
Registered: Feb 2006
Location: Edmonton
Distribution: Slackware 12.2, Ubuntu
Posts: 117

Original Poster
Rep: Reputation: 16
Thanks a lot for your reply dxqcanada. Forgive my ignorance but I have no idea how the information you gave me applies to my situation.

Are you saying that I need to make sure those "device nodes" namely
/dev/input/event# and
/dev/input/mouse# are pointed to by /dev/input/mice? How do I do that?

I reran "make gconfig" and checked under:
Device Drivers -> Input Device Support -> Event Interface
and I have INPUT_MOUSEDEV and INPUT_EVDEV selected.

BTW I should have mentioned but I plugged in a usb mouse and it works under the new 2.6.18.1 kernel but not the old 2.4.33.3 kernel.

Last edited by dohpaz; 10-31-2006 at 06:55 PM.
 
Old 11-01-2006, 09:23 AM   #4
dohpaz
Member
 
Registered: Feb 2006
Location: Edmonton
Distribution: Slackware 12.2, Ubuntu
Posts: 117

Original Poster
Rep: Reputation: 16
I don't expect to be spoon fed an answer but I'm a complete noob who needs to be pointed in the right direction. Can anyone recommend any reading which will enlighten me?
 
Old 11-01-2006, 09:42 AM   #5
dohpaz
Member
 
Registered: Feb 2006
Location: Edmonton
Distribution: Slackware 12.2, Ubuntu
Posts: 117

Original Poster
Rep: Reputation: 16
If I cat /proc/bus/input/devices under the 2.6 kernel there are only
a pc speaker and keyboard shown. Under my 2.4 kernel there is no input folder in /proc/bus.

When I do an lsmod under the 2.4 kernel I don't see anything referring to a mouse driver. Can someone tell me where else to look? For example if there is no driver there where would I find it? It has to load somehow cause the touchpad works under the 2.4 kernel.

Last edited by dohpaz; 11-01-2006 at 09:46 AM.
 
Old 11-01-2006, 04:22 PM   #6
dohpaz
Member
 
Registered: Feb 2006
Location: Edmonton
Distribution: Slackware 12.2, Ubuntu
Posts: 117

Original Poster
Rep: Reputation: 16
Success! Well I got it working and it was hard. I thought I'd never figure it out. I never did figure out what the 2.4 kernel was using
but I got the synaptics touchpad driver from:
http://web.telia.com/~u89404340/touchpad/

I followed the documentation that came with it and compiled my very own driver for the first time wheeeeee!

After copying the driver to the /usr/X11R6/lib/modules directory and modifying my xorg.conf per instructions...nothing. What was bugging me still was that cat /proc/bus/input/devices wasn't showing anything. Somehow after much googling I came across a website that said to try: "modprobe mousedev" and "modprobe psmouse"

The first command didn't work but after trying "modprobe psmouse"
cat /proc/bus/input/devices now showed my trackpoint and touchpad!

Also at this point moving the touchpad moved the consoles rectangular cursor so I knew I was on to something. Loaded X touchpad works! but no trackpoint so reread the synaptics driver documentation and found a part that explains how to rectify that.
Now both the trackpoint/touchpad work as well as external USB.

Still have one problem though...How do I get psmouse to load automatically without having to type "modprobe psmouse" everytime.
I'm assuming that if I reboot then I'll have to reissue that command.

Last edited by dohpaz; 11-01-2006 at 04:37 PM.
 
Old 11-01-2006, 05:05 PM   #7
campher
Member
 
Registered: Jul 2006
Distribution: slackware
Posts: 47

Rep: Reputation: 15
got the same problem between kernel 2.6.17.13 and 2.6.18 they dropped the synaptics driver in kernel 2.6.18 i think.
touchpad an trackpoint was working out of the box with 2.6.17.13 (or huge26.s)
i searched a long time in both kernel configs for the driver option but didnt find it so im on 2.6.17.13 since then.

if you want to avoid this mouse problem switch to kernel 2.6.17

or better take your /etc/rc.d/rc.local
add a line:
/sbin/modprobe psmouse
this loads the module during the boot process
campher
 
Old 11-02-2006, 09:18 AM   #8
dohpaz
Member
 
Registered: Feb 2006
Location: Edmonton
Distribution: Slackware 12.2, Ubuntu
Posts: 117

Original Poster
Rep: Reputation: 16
Thanks campher!
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Touchpad/Pointer Freezing Randomly? anangel13 Linux - Laptop and Netbook 1 04-28-2006 10:00 AM
Slow mouse pointer on touchpad ned99 Linux - Newbie 3 01-31-2006 12:13 AM
Syanptics touchpad not working after recompile of kernel microsoft/linux Linux - Laptop and Netbook 13 02-18-2005 09:23 AM
kernel recompile error (kernel panic) tombaaaaa Linux - Newbie 4 08-04-2004 04:32 PM
Kernel Message:unable to handle kernel NULL pointer dereference at virtual address... dave_d Linux - General 0 02-14-2001 05:01 PM


All times are GMT -5. The time now is 10:23 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
Open Source Consulting | Domain Registration