Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel 2.6 PS/2 mouse problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
chameleon
n00b
n00b


Joined: 16 Aug 2002
Posts: 35
Location: Germany

PostPosted: Sat Dec 06, 2003 2:44 pm    Post subject: Kernel 2.6 PS/2 mouse problem Reply with quote

Hi guys,

I just have another problem with my 2.6 kernel. My PS/2 mouse isn't running under it ... I tried to load psmouse as modul and built it directly into the kernel, nothing worked. A friend says that the problem comes with the SiS chipset that I've on my motherboard. Could that be true? Did anyone know how to fix this problem?

greets chameleon
_________________
greetz °chameleon
Back to top
View user's profile Send private message
chameleon
n00b
n00b


Joined: 16 Aug 2002
Posts: 35
Location: Germany

PostPosted: Sat Dec 06, 2003 8:50 pm    Post subject: Reply with quote

Problem solved. I've bought an usb mouse ... not really a good solution but the easiest one :)
_________________
greetz °chameleon
Back to top
View user's profile Send private message
wobster
n00b
n00b


Joined: 21 Dec 2003
Posts: 22

PostPosted: Sun Dec 21, 2003 1:37 am    Post subject: Reply with quote

That's exactly the problem I have.

I've got a latop with synaptics touchpad but mostly I use a PS/2 mouse.
The chipset is SiS7012.
Back to top
View user's profile Send private message
DarkSorcerer
Tux's lil' helper
Tux's lil' helper


Joined: 15 Oct 2003
Posts: 138
Location: Mannheim, GER

PostPosted: Sun Dec 21, 2003 6:39 pm    Post subject: Reply with quote

got the same problem. kernel 2.6 and logitech mx500 on ps2 port.
build psmouse in the kernel and tried as module, nothing worked.

what could that be? any solutions?
_________________
Desktop: 2,2 GHz P4 | 1 GB RAM | 80 GB HDD | GF4 Ti 4200 | EMU10K1
Notebook: Toshiba Satellite M30-642
Back to top
View user's profile Send private message
xentric
Guru
Guru


Joined: 16 Mar 2003
Posts: 410
Location: Netherlands

PostPosted: Fri Dec 26, 2003 12:49 am    Post subject: Reply with quote

I had the same problem... (on an Asus L8400-K laptop)

During config of the 2.6.0 kernel I selected ps2-mouse as a module and selected the synaptics driver too.
After booting the new kernel and starting XFree, the external ps2 mouse didn't work but the touchpad
did work! So I removed the synaptics driver from the kernel and recompiled, rebooted and now
the external ps2 mouse and touchpad are both working at the same time (like usual)...
But now my scrollwheel (on the external mouse) doesn't work anymore !

It worked flawlessly under 2.4.x and 2.5.x but for some reason 2.6.x seems to break it.
It's a simple Microsoft Wheelmouse with 2 buttons and a wheel that also acts as the 3rd button.
On the bottom of the mouse it says: "Wheel Mouse" Serial and PS/2 Compatible
It has a PS/2 connector and I'm not using the serial adapter that came with it.

The XFree config is absolutely correct because it works with 2.4.x when I reboot...
Code:

Section "InputDevice"
    Identifier  "Mouse"
    Driver  "mouse"
    Option  "Protocol"     "IMPS/2"
    Option  "Device"       "/dev/psaux"
    Option  "ZAxisMapping" "4 5"
EndSection


No events showing with xev when I use the scrollwheel or press it down...

Any suggestions !?
Back to top
View user's profile Send private message
xentric
Guru
Guru


Joined: 16 Mar 2003
Posts: 410
Location: Netherlands

PostPosted: Fri Dec 26, 2003 2:23 pm    Post subject: Reply with quote

I've read almost all posts about scrollwheel problems after upgrading to the new 2.6.0 kernel.
Solutions for usb mouses seem to work great, but I haven't seen fixes for real PS/2 mice yet
except changing the protocol to IMPS/2 in /etc/X11/XFConfig. I already had this set
correctly and I'm still looking for a solution...

Please post if you have fixed this problem !

BTW, I've tried changing the device to /dev/mouse and /dev/input/mouse0 but the scrollwheel
won't work.
Back to top
View user's profile Send private message
xentric
Guru
Guru


Joined: 16 Mar 2003
Posts: 410
Location: Netherlands

PostPosted: Fri Dec 26, 2003 5:21 pm    Post subject: Reply with quote

Finally... I have disabled the touchpad in my BIOS and now my external PS/2 mouse has a
working scroll wheel.

I think the touchpad is being identified as a normal PS/2 device and the ImPS/2 protocol is
being ignored. Weird !!!
Back to top
View user's profile Send private message
swimgeek
Tux's lil' helper
Tux's lil' helper


Joined: 09 May 2003
Posts: 124
Location: Minneapolis, MN, USA

PostPosted: Fri Dec 26, 2003 9:41 pm    Post subject: somewhat different but relevant problem Reply with quote

I have a Dell Inspiron 4150 with a synaptics touchpad. I use a USB mouse as well. I included the PS/2 and touchpad support in the kernel. My touchpad works now, but I can't select or tap with it, the way I was able to do it with kernel 2.4!
BTW you can't use the PS/2 mouse and the touchpad at the same time because of the limitations of the PS/2 protocol, that's what I recall reading sometime ago :)
Back to top
View user's profile Send private message
xentric
Guru
Guru


Joined: 16 Mar 2003
Posts: 410
Location: Netherlands

PostPosted: Fri Dec 26, 2003 9:55 pm    Post subject: Re: somewhat different but relevant problem Reply with quote

swimgeek wrote:
but I can't select or tap with it, the way I was able to do it with kernel 2.4!

I noticed that too... there seems to be a tool named tpconfig, you may have to use that now.
Just read this thread: https://forums.gentoo.org/viewtopic.php?t=67852
Quote:
BTW you can't use the PS/2 mouse and the touchpad at the same time because of the
limitations of the PS/2 protocol, that's what I recall reading sometime ago :)
Well, if I reboot and use the 2.4.20 kernel, I can use the touchpad and external
ps/2 wheelmouse at the same time... that's what I know for sure :)
Back to top
View user's profile Send private message
swimgeek
Tux's lil' helper
Tux's lil' helper


Joined: 09 May 2003
Posts: 124
Location: Minneapolis, MN, USA

PostPosted: Fri Dec 26, 2003 10:02 pm    Post subject: Reply with quote

Sorry what I meant to say was that if you use a PS/2 mouse and touchpad at the same time, u might have problems when you use the touchpad alone. I had this problem when using the 2.4 kernel, so I got myself a USB mouse and left the PS/2 port only for the touchpad. If you have been able to use the touchpad+mouse and touchpad alone, please tell me how you achieved it!
_________________
I would like to change the world,
but they won't tell me the source code.
Back to top
View user's profile Send private message
xentric
Guru
Guru


Joined: 16 Mar 2003
Posts: 410
Location: Netherlands

PostPosted: Fri Dec 26, 2003 10:40 pm    Post subject: Reply with quote

You are right about that, I had problems too when using the touchpad without having the
ps/2 mouse connected! But I was able to fix that by downloading and installing a synaptics
driver for XFree. (I found out that there's an ebuild for it too: x11-misc/synaptics )

I have this in my /etc/X11/XFConfig:
Code:

Section "InputDevice"
    Identifier  "Mouse"
    Driver  "mouse"
    Option  "Protocol"     "ImPS/2"
    Option  "Device"       "/dev/psaux"
    Option  "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    Identifier  "Touchpad"
    Driver  "synaptics"
    Option  "CorePointer"
    Option  "Device"          "/dev/psaux"
    Option  "Edges"           "1900 5400 1800 3900"
    Option  "Finger"          "25 25"
    Option  "MaxTapTime"      "20"
    Option  "MaxTapMove"      "220"
    Option  "VertScrollDelta" "100"
    Option  "MinSpeed"        "0.02"
    Option  "MaxSpeed"        "0.15"
    Option  "AccelFactor"     "0.0008"
EndSection

...snip...

Section "ServerLayout"
    Identifier  "Custom Layout"
    Screen      "LCD"
    InputDevice "Mouse"    "CorePointer"
#    InputDevice "Touchpad" "CorePointer"
    InputDevice "Keyboard" "CoreKeyboard"
EndSection


When I wanted to use the touchpad alone, I disabled InputDevice "Mouse" and enabled
InputDevice "Touchpad" (in the ServerLayout section) Just enabling both at the same time
didn't work on my system.
Maybe it works if I change "CorePointer" to "SendCoreEvents" (for the Mouse)
I got the driver from: http://w1.894.telia.com/~u89404340/touchpad/index.html
Back to top
View user's profile Send private message
swimgeek
Tux's lil' helper
Tux's lil' helper


Joined: 09 May 2003
Posts: 124
Location: Minneapolis, MN, USA

PostPosted: Fri Dec 26, 2003 11:13 pm    Post subject: Reply with quote

hmm... I never tried that. Maybe I should. However I'm happy with my USB mouse now :) Its also supposed to be friendlier for X according to the install guide.

BTW I got my touchpad working in 2.6 after following the instructions in the post that you mentioned.

thanks a lot!
Back to top
View user's profile Send private message
Ateo
Advocate
Advocate


Joined: 02 Jun 2003
Posts: 2021
Location: Republic of California

PostPosted: Wed Jan 14, 2004 11:22 pm    Post subject: Reply with quote

I believe I have a bad kernel config. I cannot get a USB nor PS2 mouse to function under X. I'm not sure what to look for.

I get no output when I do cat /dev/psaux (for my ps2) nor cat /dev/input/mice (for my USB)...

I've tried 2 identical mother boards, both suffer from the same issue. Odds are it's a kernel config that I'm completely missing or I'm having a bad luck spree with the 2 mother boards. I should also mention that I've tried 2 different mice and both are known to be working.

I'm running a 2.6.0 kernel, asus A7A133 MB, AMD Athalon 1200MHz.

Device Drivers --> Input Device Support

Code:
--- Userland interfaces
--- Mouse interface
(1024) Horizontal screen resolution
(768) Vertical screen resolution³
< > Joystick interface
< > Touchscreen interface
< > Event interface
< > Event debugging
--- Input I/O drivers
< > Gameport support
< > Serial port line discipline
<*> ct82c710 Aux port controller
< > Parallel port keyboard adapter
< > PCI PS/2 keyboard and PS/2 mouse controller
Input Device Drivers
--- Keyboards
< >   Sun Type 4 and Type 5 keyboard support
< >   XT Keyboard support
< >   Newton keyboard
[*] Mice
  <*>   PS/2 mouse
  <M>   PS/2 mouse   *** also tried as module
[ ]     Synaptics TouchPad
< >   Serial mouse
[ ] Joysticks
[ ] Touchscreens
[ ] Misc

To my knowledge, I have nothing else that mouse related (other than the kernel code above) but I'm unsure. Any ideas?

I should also add that the kernel message is:
mice: ps/2 mouse device common for all mice
Back to top
View user's profile Send private message
SIR
n00b
n00b


Joined: 12 Jun 2003
Posts: 71
Location: DMCA and RIAA Land

PostPosted: Thu Jan 15, 2004 6:55 pm    Post subject: Reply with quote

I too have problems in 2.6 (2.6.1-mm1) with my Synaptics touch pad and 3 button mouse plugged into my laptop's PS/2 port. Both worked fine at the same time in 2.4.

I tried to cat /dev/input/(everything there)

One of the events didn't work, one was for the keyboard, and they other worked for both the touchpad and (occasionally) the PS/2 mouse. I found I could get some output from the PS/2 mouse by moving and clicking around, but it would stop after a while until I moved my finger on the touchpad. At any rate, moving and clicking the PS/2 mouse in my WM wouldn't move the cursor, but it would occasionally trigger a right mouse event. I'm at work so I don't have all the info in front of me.

And, doing this (moving the PS/2 mouse) would result in a ton of messages in dmesg. Something about "Synaptics lost sync at byte 1" or something like that. Over and over and over... My computer didn't seem to like this. I started to recompile the kernel before going to bed and it was still plugging away in the morning. Normally, it takes about 1.75 hours on my K6.

So, for now I've unplugged the PS/2 mouse and use the Synaptics pad only. No more of the Synaptic messages in dmesg. I'll have to try a USB mouse later.
_________________
K6-2 333 160MB
gentoo-dev-sources 2.6.8-r3
Back to top
View user's profile Send private message
eNTi
Veteran
Veteran


Joined: 20 Oct 2002
Posts: 1011
Location: Salzburg, Austria

PostPosted: Fri Feb 20, 2004 10:12 pm    Post subject: Reply with quote

i just installed kde on my other machine and was confronted with the same symptoms: mouse loads fine, everything is beeing detected, but nothing moves or cries. is this a kernel bug?

update: just read somthing about "turning off usb support (for dos) " in bios. i'll give it a try.

update 2: yep. disable usb in bios, if you want ps/2 in X.
_________________
If you fall off a cliff, you might as well try to fly. After all, you got nothing to lose.

-- John Sheridan - Babylon 5, Season 4
Back to top
View user's profile Send private message
SIR
n00b
n00b


Joined: 12 Jun 2003
Posts: 71
Location: DMCA and RIAA Land

PostPosted: Tue Feb 24, 2004 11:44 pm    Post subject: Reply with quote

eNTi wrote:
update 2: yep. disable usb in bios, if you want ps/2 in X.


Some of us have "legacy" hardware where you can't disable USB in the BIOS. There has got to be another way to do this.
_________________
K6-2 333 160MB
gentoo-dev-sources 2.6.8-r3
Back to top
View user's profile Send private message
SIR
n00b
n00b


Joined: 12 Jun 2003
Posts: 71
Location: DMCA and RIAA Land

PostPosted: Sun Mar 14, 2004 2:43 am    Post subject: Reply with quote

For anybody following this thread:

My PS/2 mouse and touchpad both work now, thanks to this thread:

https://forums.gentoo.org/viewtopic.php?t=148032&highlight=
_________________
K6-2 333 160MB
gentoo-dev-sources 2.6.8-r3
Back to top
View user's profile Send private message
Mark Clegg
Apprentice
Apprentice


Joined: 05 Jan 2004
Posts: 270
Location: ZZ9 Plural Z Alpha

PostPosted: Sun Mar 14, 2004 8:01 pm    Post subject: Reply with quote

I seems mouse support in 2.6 is a bit different from 2.4 - Just for comnparison, I'm having trouble getting the mouse to work on a Sun Ultra 5 - and that hardware's about as different from the above ones as you can probably get....

Odd thing is after a boot up, the mouse doesn't work. - Solution - unplug it and plug it back in.

Wierd !!!

(works fine under 2.4 though)
Back to top
View user's profile Send private message
carbon
Guru
Guru


Joined: 27 Jun 2003
Posts: 455
Location: New York

PostPosted: Wed Mar 17, 2004 5:19 am    Post subject: Reply with quote

It doesnt work!!

It keeps telling me in the Log file the following

p.s. the following appears over 100 times in the same log file

Elf_RelocateEntry() Unsupported relocation type 9

AND

/usr/X11R6/lib/modules/input/synaptics_drv.o is unresolved

:x :x :x
_________________
I do what I want, and that's what I do.
GNU World Domination

Carbon
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum