Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mouse...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
eikketk
Apprentice
Apprentice


Joined: 03 Jun 2003
Posts: 270
Location: Belgium

PostPosted: Tue Dec 09, 2003 9:33 pm    Post subject: Mouse... Reply with quote

I have got a big problem under Linux: I cannot get my mouse to work :(
First let me tell you what I know:
1. My mouse works under Win95 (:oops:), it worked (GPM and Xfree) under the SuSe Demonstration CD from Cebit 2000 (thats SuSe 6.2 if Im not mistaken, kernel 2.2), it did work under the installer of Mandrake 8 (X), but not after installation (nor GPM, nor X). Never got it working under Gentoo (GPM or freedesktop's Xserver).
2. It is a Logitech PS2 mouse, an M-S34
3. It is connected in the right port, next too my (also PS2) keyboard (a Cherry). If I switch the ports, my BIOS doesnt want to boot.
4. PS2-mouse support and IRQ 12 are enabled in the BIOS.

Now what happens? If I try to do 'cat /dev/mouse', nothing seems to happen. But when I try to do Ctrl-C, nothing happens either: my keyboard locks. Well, to be most precise: it doesnt locks, it slows down a lot. If I type some other keys while its not responding, and I kill the 'cat' process using ssh (cant do it otherwise: cant go to another terminal (Alt-Fx doesnt work!)), the keyboard unlocks once more, and everything I typed during the lock is displayed on my promt.
If I try to run gpm ('gpm -m /dev/mouse -t ps2') the same thing happens.
If I start the xserver, I cant do a thing: cant move the mouse, but cant do Ctrl-Alt-BS either. So I have to reset my pc manually (power off - on).

Before GRUB is started I get a nice BIOS screen telling me (next to a lot of other things) an input device is found (which means a mouse is found, 'caus it isnt found when I disconnect it).

Some extra data:
Code:
acer dev # ls -l mouse psaux misc/psaux
crw-r-----    1 root     root      10,   1 Jan  1  1970 misc/psaux
lr-xr-xr-x    1 root     root           10 Dec  9 00:55 mouse -> misc/psaux
lr-xr-xr-x    1 root     root           10 Dec  9 00:55 psaux -> misc/psaux

Code:
acer proc # cat pci
PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: ALi Corporation M1521 [Aladdin III] (rev 28).
      Master Capable.  Latency=32.
  Bus  0, device   2, function  0:
    ISA bridge: ALi Corporation M1523 (rev 7).
  Bus  0, device   2, function  1:
    IDE interface: ALi Corporation M5219 (rev 32).
      Master Capable.  Latency=32.  Min Gnt=2.Max Lat=4.
      I/O at 0x7000 [0x700f].
  Bus  0, device   8, function  0:
    VGA compatible controller: S3 Inc. 86c325 [ViRGE] (rev 6).
      IRQ 9.
      Master Capable.  Latency=32.  Min Gnt=4.Max Lat=255.
      Non-prefetchable 32 bit memory at 0x4000000 [0x7ffffff].

->So Ive got a ALi M1521/23 chipset
Code:
acer proc # cat interrupts
           CPU0
  0:   10336988          XT-PIC  timer
  1:      11931          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  3:     380111          XT-PIC  NE2000
 14:     985418          XT-PIC  ide0
 15:     750470          XT-PIC  ide1
NMI:          0
LOC:          0
ERR:          0
MIS:          0

Code:
acer proc # cat misc
223 systrace
  1 psaux

Code:
acer proc # lsmod
Module                  Size  Used by    Not tainted
smbfs                  36720   0  (autoclean)
iptable_filter          1644   0  (autoclean) (unused)
iptable_mangle          2072   0  (autoclean) (unused)
iptable_nat            24792   0  (autoclean) (unused)
ip_conntrack           34496   1  (autoclean) [iptable_nat]
ipv6                  183572  -1
ne                      6592   1

In my .config:
Code:
CONFIG_PSMOUSE=y
CONFIG_INPUT_MOUSEDEV=m
CONFIG_INPUT_MOUSEDEV_SCREEN_X=800
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=600
# CONFIG_BUSMOUSE is not set
CONFIG_MOUSE=y
CONFIG_PSMOUSE=y
# CONFIG_82C710_MOUSE is not set
# CONFIG_MK712_MOUSE is not set

My kernel is linux-2.4.20-gentoo-r5, compiling gentoo-dev-2.6.0test11-r1 ATM (and tomorrow), with more mouse-things included in the kernel (not as modules)

Please help me out... Are there any kernel modules I certainly need? Do I need to add bootparameters? Is there any configuration I should change? Maybe BIOS-changes?

Thanks, Ikke
Back to top
View user's profile Send private message
Mr. Atoz
Tux's lil' helper
Tux's lil' helper


Joined: 06 May 2002
Posts: 84
Location: Colorado

PostPosted: Tue Dec 09, 2003 9:47 pm    Post subject: Reply with quote

Try the following:

Configure ONLY the follwing into the kernel (no modules):
Character devices-->Mice-->Mouse Support
Character devices-->Mice-->PS/2 mouse

For your /etc/conf.d/gpm:
Code:
MOUSE=imps2
MOUSEDEV=/dev/psaux


For your /etc/X11/XF86Config:
Code:
Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/mouse"
        Option      "ZAxisMapping" "4 5"
EndSection

_________________
---Atoz
Back to top
View user's profile Send private message
eikketk
Apprentice
Apprentice


Joined: 03 Jun 2003
Posts: 270
Location: Belgium

PostPosted: Wed Dec 10, 2003 7:46 am    Post subject: Reply with quote

Stopped the 'make bzImage'of my 2.6, changed kernel config (hope I did that right), and restarted all Makes. Hope this issue will be solved now... (Pray with me ;-))

Thanks!!!
Back to top
View user's profile Send private message
eikketk
Apprentice
Apprentice


Joined: 03 Jun 2003
Posts: 270
Location: Belgium

PostPosted: Wed Dec 10, 2003 2:07 pm    Post subject: Reply with quote

Joohoooo!! Got it working!!! (under 2.6) Thank you so much!!!
Back to top
View user's profile Send private message
Mr. Atoz
Tux's lil' helper
Tux's lil' helper


Joined: 06 May 2002
Posts: 84
Location: Colorado

PostPosted: Fri Dec 12, 2003 7:35 pm    Post subject: Reply with quote

Great! Glad to here it!
_________________
---Atoz
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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