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

2001-10-07 Thread Michael Heldebrant
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

2001-10-07 Thread Torsten Kersting
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

2001-10-06 Thread Torsten Kersting
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



PS/2 mouse problems, Solved!

2001-07-11 Thread Igor Khavkine
My problem has been solved. Turns out
my mouse wasn't working becuase I was
trying to connect a serial mouse
to a PS/2 port (using an adaptor).
But once I tried connecting a real
PS/2 mouse, it worked.

As for interrupt 12, turns out that
my BIOS was in Auto mode for PS/2
auxillary device support, so it only
reserved it when it detected a mouse
already connected to the PS/2 port
during bootup. Now it even show up
in /proc/interrpts.

Thanks to anyone who made suggestions.

Igor


Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/



Re: PS/2 mouse problems

2001-07-09 Thread Khavkine Igor
Hmm, I think I'll try to boot  with
2.2.9 and see if my PS/2 mous will work.
If it does, then it really might
be a bug that should be reported to
the kernel people. I'd really like to
get it to work because I'm running
out of serial ports. :-)

Igor
 
--

On Mon, 9 Jul 2001 02:58:45   
 zerog wrote:
dude I have the same problem with mine. Except I am running 2.4.6 with an
abit motherboard, It has something to do with some incompatability because I
am also running kernel 2.2.9 in a dual boot and it works fine there. And
both kernels have the same options for the mouse.
- Original Message -
From: Khavkine Igor [EMAIL PROTECTED]
To: debian-user@lists.debian.org
Sent: Sunday, July 08, 2001 10:14 PM
Subject: PS/2 mouse problems


 I have an Asus P5A motherboard and I'm
 running Linux-2.4.5, custom compiled.

 I have a problem using my PS/2 mouse port.
 I have enabled PS/2 mouse support in
 the kernel. I get this message
 when the computer boots up:
  ...
  Starting kswapd v1.8
  Detected PS/2 Mouse Port.   ---
  pty: 256 Unix98 ptys configured
  ...
 However when I try to use the mouse
 with gpm or X, it just doesn't work!
 (I've tried protocols, PS/2 and microsoft).
 I've noticed that /proc/interrupts
 does not contain a line for interrupt
 12, which is supposed to be reserved for
 PS/2. I think this could be a symptom
 of something, but I don't know what.

 I've tried disabling and enabling
 PS/2 support from the BIOS, but neither
 option has any effect.

 If anyone could shed some light on this
 situation or offer any advice, they'd
 be more then welcome.

 Thanks in advance.

 Igor


 Get 250 color business cards for FREE!
 http://businesscards.lycos.com/vp/fastpath/


 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact
[EMAIL PROTECTED]






Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/



Re: PS/2 mouse problems

2001-07-09 Thread Khavkine Igor
On Mon, 9 Jul 2001 01:35:08   
 Col. Mojo T. Wiggley wrote:

- Original Message -
From: Khavkine Igor [EMAIL PROTECTED]
Newsgroups: linux.debian.user
Sent: Sunday, July 08, 2001 7:20 PM
Subject: PS/2 mouse problems


 I have an Asus P5A motherboard and I'm
 running Linux-2.4.5, custom compiled.

 I have a problem using my PS/2 mouse port.
 I have enabled PS/2 mouse support in
 the kernel. I get this message
 when the computer boots up:
  ...
  Starting kswapd v1.8
  Detected PS/2 Mouse Port.   ---
  pty: 256 Unix98 ptys configured
  ...
 However when I try to use the mouse
 with gpm or X, it just doesn't work!
 (I've tried protocols, PS/2 and microsoft).
 I've noticed that /proc/interrupts
 does not contain a line for interrupt
 12, which is supposed to be reserved for
 PS/2. I think this could be a symptom
 of something, but I don't know what.

 I've tried disabling and enabling
 PS/2 support from the BIOS, but neither
 option has any effect.

 If anyone could shed some light on this
 situation or offer any advice, they'd
 be more then welcome.

 Thanks in advance.

 Igor

Sounds like a problem I had.  In my case, I opened up the XF86Config file
(in etc/X11 I think) in vi, scrolled down to the mouse settings and found
that PS/2 was in lowercase... I changed it to uppercase and it worked
(after much hair-pulling).  Sounds crazy I know, and I don't know why this
isn't all over the net, but it's worth a look.  Let me know if it works
out... I'm interested in knowing if I'm the only one with this problem.


Unfortunately the problem was not only
with X, but with gpm and anything else
that used the mouse. So I doubt it woas
something with my configuration, I think
it's a problem with the PS/2 driver.

But thanks for the tip.

Igor


Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/



Re: PS/2 mouse problems

2001-07-09 Thread Mike
Khavkine  Igor wrote:
snip PS/2 mouse problems

Try posting both your /etc/gpm.conf and the mouse section from your
/etc/X11/XF86config to the list.  I'm using PS/2 mice on three different
systems under a few different kernels with no troubles at all.
-- 
Mike Werner  KA8YSD   | He that is slow to believe anything and
  | everything is of great understanding,
'91 GS500E| for belief in one false principle is the
Morgantown WV | beginning of all unwisdom.



pgpcqFFZHTpjm.pgp
Description: PGP signature


Re: PS/2 mouse problems

2001-07-09 Thread Kent West

Khavkine Igor wrote:


I have an Asus P5A motherboard and I'm
running Linux-2.4.5, custom compiled.

I have a problem using my PS/2 mouse port.
I have enabled PS/2 mouse support in
the kernel. I get this message
when the computer boots up:
 ...
 Starting kswapd v1.8
 Detected PS/2 Mouse Port.   ---
 pty: 256 Unix98 ptys configured
 ...
However when I try to use the mouse
with gpm or X, it just doesn't work!
(I've tried protocols, PS/2 and microsoft).
I've noticed that /proc/interrupts
does not contain a line for interrupt
12, which is supposed to be reserved for
PS/2. I think this could be a symptom
of something, but I don't know what.


snip


I had the same problem a week or two ago, but it was on a laptop with a 
Synaptics touch pad (not likely to be related to your problem, but 
thought I'd toss out the info). When I used the synps protocol instead 
of ps2, gpm then started working properly. I don't remember for sure, 
but I don't think I ever was successful getting it to work properly in 
X, but it wasn't important so I just gave up on it.


Kent



Re: PS/2 mouse problems

2001-07-09 Thread J.A.Serralheiro
okay , i think you should tell X that the device you are to use is
/dev/psaux




PS/2 mouse problems

2001-07-08 Thread Khavkine Igor
I have an Asus P5A motherboard and I'm
running Linux-2.4.5, custom compiled.

I have a problem using my PS/2 mouse port.
I have enabled PS/2 mouse support in
the kernel. I get this message
when the computer boots up:
 ...
 Starting kswapd v1.8
 Detected PS/2 Mouse Port.   ---
 pty: 256 Unix98 ptys configured
 ...
However when I try to use the mouse
with gpm or X, it just doesn't work!
(I've tried protocols, PS/2 and microsoft).
I've noticed that /proc/interrupts
does not contain a line for interrupt
12, which is supposed to be reserved for
PS/2. I think this could be a symptom
of something, but I don't know what.

I've tried disabling and enabling
PS/2 support from the BIOS, but neither
option has any effect.

If anyone could shed some light on this
situation or offer any advice, they'd
be more then welcome.

Thanks in advance.

Igor


Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/



Re: PS/2 mouse problems... IRQ conflict?

2001-07-02 Thread Hugo van der Merwe
On Sun, Jul 01, 2001 at 08:43:04PM +0200, Joost Kooij wrote:
 1st question: Are you also using gpm?  Try turning that off and see if
 problems persist.

I have gpm running, but configured it to use only the serial mouse. (As
I don't want to use the repeater, and ps/2 mouse cannot be used by both
X and gpm at the same time, while this does work with a serial mouse.)

Hugo

-- 
To send me private (non-world-readable) mail, GPG encrypt it.
1024D/60715698: 5F2E 8EC2 E0A4 5D25 0569  F281 4A6C D76D 6071 5698


pgp63sWx5Fu4X.pgp
Description: PGP signature


PS/2 mouse problems... IRQ conflict?

2001-07-01 Thread Hugo van der Merwe
Hello,

I've had problems with X input... basically, after doing some stuff, the
keyboard and PS/2 mouse would stop working altogether... (the serial
mouse still worked...) until I figured out to disable the PS/2 mouse. I
am now operating without it. I find that if I enable it, after some
work, input hangs.

Any ideas? I'd think this might be an IRQ conflict or something, except
that /proc/interrupts seems to have nothing on IRQ 12 if the mouse isn't
enabled. How can I debug this problem? What must I look at?

Thanks in advance,
Hugo van der Merwe

(A CC: will speed up replies... thanks...)

-- 
To send me private (non-world-readable) mail, GPG encrypt it.
1024D/60715698: 5F2E 8EC2 E0A4 5D25 0569  F281 4A6C D76D 6071 5698


pgpnCMq6qbsRq.pgp
Description: PGP signature


Re: PS/2 mouse problems... IRQ conflict?

2001-07-01 Thread Joost Kooij
On Sun, Jul 01, 2001 at 07:53:18PM +0200, Hugo van der Merwe wrote:
 I've had problems with X input... basically, after doing some stuff, the
 keyboard and PS/2 mouse would stop working altogether... (the serial
 mouse still worked...) until I figured out to disable the PS/2 mouse. I
 am now operating without it. I find that if I enable it, after some
 work, input hangs.
 
 Any ideas? I'd think this might be an IRQ conflict or something, except
 that /proc/interrupts seems to have nothing on IRQ 12 if the mouse isn't
 enabled. How can I debug this problem? What must I look at?

1st question: Are you also using gpm?  Try turning that off and see if
problems persist.

Cheers,


Joost



PS/2 mouse problems

1999-03-12 Thread Mono
I'm currently trying to configure XFree86.  It seems to hang up on my PS/2
mouse (generic Artec).  Is there anything special I should do besides
compiling support into my kernel?  It claims there is no mouse when I link
to /dev/mouse as well as /dev/psaux.


Re: PS/2 mouse problems

1999-03-12 Thread Etienne Grossmann
  Hello,

  did you check that your file /etc/X11/XF86Config specifies the 
correct mouse device? I have :

   ProtocolIMPS/2

(XF86Config produced by XF86Setup, with some help of xf86config).


  Also, do you manage to have gpm running? 


  Etienne