LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   2.6.20 no mouse detected ps2? slack 11 (https://www.linuxquestions.org/questions/slackware-14/2-6-20-no-mouse-detected-ps2-slack-11-a-530465/)

Libu 03-05-2007 01:34 PM

hmm...Iam not too sure, but it certainly isn't a hardware problem. I think thats how the 2.6.xx installation is !! I had installed the 2.6.17 kernel(on my laptop) and I had the same problem. I had no sound, no mouse nothing. lsmod displayed no modules.

The only problem was becaue the kernel modules were not installed. It must be because the kernel modules during installation are in a seperate directory :? !! Just guessing, maybe somebody else would have a definitive answer on why this is so.

ibmercurial 03-05-2007 03:08 PM

I have the same problem with slamd64. I tried to select Y and M, while configuring input options and the menu just would not respond. I continued with the options selection, and plugged in a usb optical mouse when I rebooted and the usb mouse was hotplugged, and worked. Still no ps2, but I'm too tired to mess around with it now. Finally got audio and forcedeth working on a m.s.i k9n6sgm with 2.6.20

XGizzmo 03-05-2007 09:33 PM

I ran into this with 2.6.20 the module is no longer being loaded automatically, But a simple modprobe psmouse takes care of things.

rcorkum 05-17-2007 06:15 PM

well I thought i'd wait a couple revisions so I did a clean slack 11.00 install
and grabed the kernel source
Linux 2.6.21.1

make mrproper
make xconfig
make modules_install
make install
lilo
reboot
no errors boots clean
still no mouse and far as I can tell no automatic modules like i being reported in this thread.
ideas anyone?

Alien_Hominid 05-18-2007 06:05 AM

Tried modprobe psmouse, as suggested.

rcorkum 05-18-2007 06:21 AM

oh yes why puzzled I know I am a neophyte linux user per say but i live in shell and this has me puzzled.

I think the last kernel was 2.6.18 that worked great out of the source compiled after that I had no mouse I think it was 2.6.18 it might have been 2.6.17 its been a few weeks but the only difference was kernel revision.
Code:

[08:14:26] [root] [~] >slocate ps2mouse
[08:14:40] [root] [~] >slocate psmouse
/usr/src/linux-2.4.33.3/include/config/psmouse.h
/usr/src/linux-2.6.21.1/drivers/input/mouse/psmouse-base.c
/usr/src/linux-2.6.21.1/drivers/input/mouse/psmouse.h
/usr/src/linux-2.6.21.1/drivers/input/mouse/psmouse-base.o
/usr/src/linux-2.6.21.1/drivers/input/mouse/.psmouse-base.o.cmd
/usr/src/linux-2.6.21.1/drivers/input/mouse/psmouse.o
/usr/src/linux-2.6.21.1/drivers/input/mouse/.psmouse.o.cmd
[08:14:46] [root] [~] >modprobe psmouse
FATAL: Module psmouse not found.
[08:15:10] [root] [~] >modprobe ps2mouse
FATAL: Module ps2mouse not found.


Alien_Hominid 05-18-2007 07:36 AM

Modprobe psmouse is the problem, it definitely should work. Without it you won't get a mouse. Check if /lib/modules/linux-2.6.21.1 exists.

Mine:

Code:

slocate psmouse
/lib/modules/2.6.16/kernel/drivers/input/mouse/psmouse.ko


rcorkum 05-18-2007 08:33 AM

I understand what your saying what I don't get is why the psmouse driver isn't building and installing.

Code:

[10:23:53] [root] [/lib/modules/2.6.21.1/kernel/drivers] >ls -Rl
.:
total 24
drwxr-xr-x 2 root root 4096 2007-05-17 20:10 char/
drwxr-xr-x 2 root root 4096 2007-05-17 20:10 crypto/
drwxr-xr-x 3 root root 4096 2007-05-17 20:10 input/
drwxr-xr-x 2 root root 4096 2007-05-17 20:10 net/
drwxr-xr-x 2 root root 4096 2007-05-17 20:10 parport/
drwxr-xr-x 2 root root 4096 2007-05-17 20:10 scsi/

./char:
total 24
-rw-r--r-- 1 root root 11762 2007-05-17 20:10 lp.ko
-rw-r--r-- 1 root root  9582 2007-05-17 20:10 ppdev.ko

./crypto:
total 28
-rw-r--r-- 1 root root 7110 2007-05-17 20:10 geode-aes.ko
-rw-r--r-- 1 root root 7672 2007-05-17 20:10 padlock-aes.ko
-rw-r--r-- 1 root root 5720 2007-05-17 20:10 padlock-sha.ko
-rw-r--r-- 1 root root 2746 2007-05-17 20:10 padlock.ko

./input:
total 4
drwxr-xr-x 2 root root 4096 2007-05-17 20:10 serio/

./input/serio:
total 8
-rw-r--r-- 1 root root 5007 2007-05-17 20:10 pcips2.ko

./net:
total 32
-rw-r--r-- 1 root root 21644 2007-05-17 20:10 ppp_generic.ko
-rw-r--r-- 1 root root  6616 2007-05-17 20:10 slhc.ko

./parport:
total 68
-rw-r--r-- 1 root root 22936 2007-05-17 20:10 parport.ko
-rw-r--r-- 1 root root 30332 2007-05-17 20:10 parport_pc.ko
-rw-r--r-- 1 root root  9231 2007-05-17 20:10 parport_serial.ko

./scsi:
total 44
-rw-r--r-- 1 root root 24962 2007-05-17 20:10 sg.ko
-rw-r--r-- 1 root root 15007 2007-05-17 20:10 sr_mod.ko
[10:24:27] [root] [/lib/modules/2.6.21.1/kernel/drivers] >

Code:

[10:27:16] [root] [/usr/src] >ls -l
total 43052
lrwxrwxrwx  1 root root      14 2007-05-15 11:35 linux -> linux-2.6.21.1/
drwxr-xr-x 15 root root    4096 2006-09-01 03:47 linux-2.4.33.3/
drwxrwxr-x 20 root root    4096 2007-05-17 20:19 linux-2.6.21.1/
-rw-r--r--  1 root root 44016634 2007-05-15 11:28 linux-2.6.21.1.tar.bz2
drwxr-xr-x  7 root root    4096 2003-10-29 02:08 rpm/
drwxr-xr-x  2 root root    4096 2006-08-23 00:13 speakup-2.4.33.3/
[10:27:17] [root] [/usr/src] >
[10:26:09] [root] [/usr/src/linux/drivers/input/mouse] >ls -l *mouse*
-rw-rw-r-- 1 root root  3255 2007-04-27 18:49 amimouse.c
-rw-rw-r-- 1 root root 39883 2007-04-27 18:49 psmouse-base.c
-rw-r--r-- 1 root root 17012 2007-05-17 17:57 psmouse-base.o
-rw-rw-r-- 1 root root  3599 2007-04-27 18:49 psmouse.h
-rw-r--r-- 1 root root 38733 2007-05-17 17:57 psmouse.o
-rw-rw-r-- 1 root root  2910 2007-04-27 18:49 rpcmouse.c
-rw-rw-r-- 1 root root  9070 2007-04-27 18:49 sermouse.c
[10:26:37] [root] [/usr/src/linux/drivers/input/mouse] >

and this is right from the .config i used to build the kernel

Code:

# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not set
CONFIG_INPUT_EVDEV=y
# CONFIG_INPUT_EVBUG is not set

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_MOUSE_INPORT is not set

really appreciate the help and input from everyone I feel and know I must be doing something really stupid but I guess after looking at the issue for a few months and googling my brains out I just can't see the forest for the trees anymore (why I did a fresh install from 11.0 cd's)

Alien_Hominid 05-18-2007 09:36 AM

Ok. So you say that if you build earlier kernels, they are built correctly.Maybe you could try to build the test26 Slackware kernel and check if that works (build modules correctly).

rcorkum 05-18-2007 10:05 AM

good idea thanks on dialup will start leeching the sources now.
thanks so much, after a while you start denting your desk from banging your head.

Alien_Hominid 05-18-2007 10:12 AM

If you have DVD (most probably you don't have it :)), they are already there.

rcorkum 05-18-2007 03:36 PM

okay was browsing today but
in the slack 11 branch
../slackware/slackware-11.0/kernels/test26.s/config
is
Linux kernel version: 2.6.18
according to its config

now
../slackware/slackware-current/kernels/huge.s/config
is

Linux kernel version: 2.6.21.1


so I guess I'll try taking the config from the huge.s in the current
and see if that fixes my issue

as I already had no problems with 2.6.18

rcorkum 05-19-2007 11:23 AM

well still scratching my head got a migriane today so hard to do much but I built 2.6.21.1 with the HUGE.s config from --current and I also built 2.6.21.1 from a fresh config and set ps2 mouse as a MODULE load and confirmed the driver is there

and still no mouse note I didn't do the test kernel config from 11.00 since that is 2.6.18 and I had no problems with 18 its past 18 I had the headaches.

this is not a major issue just something i can not figure out.
machine boots clean no errors

Linux 2.6.21.1.

[13:13:39] [root] [~] >lsmod
Module Size Used by
psmouse 35232 0

[13:22:43] [root] [~] >modprobe --first-time psmouse
FATAL: Module psmouse already in kernel.
[13:22:50] [root] [~] >modprobe psmouse
[13:22:57] [root] [~] >ls -l /lib/modules/2.6.21.1/kernel/drivers/input/mouse/
total 44
-rw-r--r-- 1 root root 43776 2007-05-19 13:08 psmouse.ko
[13:23:13] [root] [~] >

Alien_Hominid 05-20-2007 11:11 AM

It works for me with this:

Code:

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not set
# CONFIG_INPUT_EVDEV is not set
# CONFIG_INPUT_EVBUG is not set

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_MOUSE_VSXXXAA is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set

I use custom 2.6.16 kernel.
It's strange that it doesn't work with huge. Huge purpose is to work with anything.


All times are GMT -5. The time now is 08:06 AM.