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 lrwxrwxrwx1 root root7 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
Solved- Re: PS/2 mouse problems with kernel 2.4.x
Hi all, On Sun, Oct 07, 2001 at 01:11:45PM -0500 , Michael Heldebrant [EMAIL PROTECTED] wrote: On Sat, 2001-10-06 at 21:14, Torsten Kersting wrote: 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 [...] /usr/src/linux/.config: # Mice # # CONFIG_BUSMOUSE is not set CONFIG_MOUSE=y CONFIG_PSMOUSE=m ^ This seemed to be the cause of my problem. 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. Thanks a lot for pointing me in the right direction. I should have mentioned, that i did not only update the distro but the kernel as well, only this time giving make-kpkg --config=menuconfig --revision=custom.1.0 kernel_image a try instead of using make menuconfig make dep clean bzImage etc. like i used to. Although I am absolutly sure that i marked Mouse Support as well as PS/2 mouse support in menuconfig with a * (Im sure because I allways do) it ended up as: CONFIG_MOUSE=y CONFIG_PSMOUSE=m in my .config, and no psaux module was build (i should have noticed this when posting it but maybe at around 3 or 4am i dont notice too much anymore ;-) ). Manually setting CONFIG_PSMOUSE=y and recompiling solved the problem. Weird thing is, that i reproduced this on my laptop with the same results. .config using make menuconfig: CONFIG_MOUSE=y CONFIG_PSMOUSE=y .config using make-kpkg --config=menuconfig: CONFIG_MOUSE=y CONFIG_PSMOUSE=m both times selecting Mouse Support and PS/2 mouse support with a *. Cheers, Torsten -- pub 1024D/46B588A9 2001-03-12 Torsten Kersting [EMAIL PROTECTED] Key fingerprint = 5869 11F0 1546 FDC4 82F2 E33F C692 C1CF 46B5 88A9 PGP Key available at http://www.hqpm.net/kersting/pgp/pgpkey
PS/2 mouse problems with kernel 2.4.x
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 lrwxrwxrwx1 root root7 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 Im getting really desperated on this one, so any help would be greatly appreciated. Cheers Torsten -- pub 1024D/46B588A9 2001-03-12 Torsten Kersting [EMAIL PROTECTED] Key fingerprint = 5869 11F0 1546 FDC4 82F2 E33F C692 C1CF 46B5 88A9 PGP Key available at http://www.hqpm.net/kersting/pgp/pgpkey