[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PS/2 mouse problems with kernel 2.4.x



On Sat, 2001-10-06 at 21:14, Torsten Kersting wrote:
> Hi all, 
> im running woody/sid and did an update yesterday, since then I cant get
> my mouse to work with a 2.4.x kernel anymore.  Its a PS/2 mouse that works 
> fine with kernel 2.2.19 (console and X) but with a 2.4.x kernel I cant 
> start gpm (no error message but ps ax shows no gpm process, oops in syslog 
> see below) nor can I use the mouse in X without gpm, which worked before 
> by changing /dev/gpmdata to /dev/psaux in /etc/X11/XF86Config-4. 
> cat /dev/psaux gives me "device not found" although I created it new
> using mknod /dev/psaux c 10 1 (and works with 2.2.19). The PS/2 port
> doesnt get recognized by the 2.4.x kernel (tried 2.4.8, 2.4.9 and
> 2.4.10) although psaux support is enabled (.config see below). I 
> downgraded gpm to the potato version but that didnt change anything.
> Excerpts from the relevant files:
> 
> XF86Config-4:
> Section "InputDevice"
> 	Identifier  "Mouse0"
> 	Driver      "mouse"
> 	Option      "Protocol" "PS/2"
> 	Option      "Device" "/dev/gpmdata"
> EndSection
> 
> 
> 
> /etc/gpm.conf:
> device=/dev/psaux
> responsiveness=
> repeat_type=raw
> type=ps2
> append=""
> sample_rate=
> 
> /proc/interrupts 2.2.19:
>            CPU0       
>   0:      14127          XT-PIC  timer
>   1:        346          XT-PIC  keyboard
>   2:          0          XT-PIC  cascade
>   8:          1          XT-PIC  rtc
>   9:       4060          XT-PIC  aic7xxx, eth0
>  12:        205          XT-PIC  PS/2 Mouse
>  13:          1          XT-PIC  fpu
> NMI:          0
> ERR:          0
> 
> /proc/interrupts 2.4.10:
>            CPU0       
>   0:     192839          XT-PIC  timer
>   1:      12475          XT-PIC  keyboard
>   2:          0          XT-PIC  cascade
>   5:          2          XT-PIC  soundblaster
>   9:       9469          XT-PIC  aic7xxx, eth0
> NMI:          0 
> ERR:          0
> 
> /proc/misc 2.2.19:
> 135 rtc
>   1 psaux
> 
> /proc/misc 2.4.10:
> 175 agpgart
> 134 apm_bios
> 
> from /var/log/syslog 2.2.19:
> Oct  7 02:58:27 kaleunpc kernel: Detected PS/2 Mouse Port.
> 
> from /var/log/syslog 2.4.10:
> Oct  7 02:12:36 kaleunpc /usr/sbin/gpm[183]: oops() invoked from gpm.c(972)
> Oct  7 02:12:36 kaleunpc /usr/sbin/gpm[183]: /dev/psaux: No such device
> 
> ls -la /dev/psaux
> crw-r--r--    1 root     root      10,   1 Oct  7 02:18 /dev/psaux
> 
> ls -la /dev/mouse
> lrwxrwxrwx    1 root     root            7 Oct  7 02:50 /dev/mouse -> gpmdata
> 
> /usr/src/linux/.config:
> # Mice
> #
> # CONFIG_BUSMOUSE is not set
> CONFIG_MOUSE=y
> CONFIG_PSMOUSE=m
> # CONFIG_82C710_MOUSE is not set
> # CONFIG_PC110_PAD is not set

I'll bet that psaux isn't loaded as a module right now.  Try adding
psaux to your /etc/modules file for your next reboot and modprobe psaux
right now.  This leaps out for two reasons, psaux is not listed as a
misc device in 2.4 and you have it compiled as a module.  Let the list
know if this solves it or you need more help.

--mike



Reply to: