| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 77418 | 2007-03-09 01:34:00 | PS2 mouse doesnt work in Linux | ronyville (10611) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 531409 | 2007-03-09 01:34:00 | OK... hahaha.. i keep having problems with my linux machine. After sorting out the resolution problem, now my bloody mouse doesnt work. I got a wireless kboard and mouse, the kboard works fine but not the mouse.. I tried a usb mouse and it works fine.. so m guessing its got something to do with the driver for the PS2 mouse. (If you are thinking that the mouse could be faulty than NO, cos its works fine on my windows XP machine).. heres the xorg.conf file and I cant see any fields for the mouse so this could be the problem.. please help :p # Xorg configuration created by system-config-display Section "ServerLayout" Identifier "single head configuration" Screen 0 "Screen0" 0 0 InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbModel" "pc105" Option "XkbLayout" "us" EndSection Section "Monitor" ### Comment all HorizSync and VertSync values to use DDC: Identifier "Monitor0" ModelName "Dell P990" ### Comment all HorizSync and VertSync values to use DDC: HorizSync 30.0 - 96.0 VertRefresh 48.0 - 120.0 Option "dpms" EndSection Section "Device" Identifier "Videocard0" Driver "sis" EndSection Section "Screen" Identifier "Screen0" Device "Videocard0" Monitor "Monitor0" DefaultDepth 16 SubSection "Display" Viewport 0 0 Depth 16 Modes "1280x1024" "1280x960" "1280x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480" EndSubSection EndSection |
ronyville (10611) | ||
| 531410 | 2007-03-09 04:34:00 | Really not sure what is going on with your xorg.conf, you seem to be losing bits of it all over the place. :illogical Anyhow, yes you are missing the mouse entry. PS/2 mice work straight off 99.98% of the time. You should have at least have a USB entry for the mouse seeing as you are using it ... Edit your xorg.conf as root, and put in the blue section after your keyboard section like this: Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbModel" "pc105" Option "XkbLayout" "us" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/input/mice" Option "ZAxisMapping" "4 5" Option "Emulate3Buttons" "yes" EndSection Out of interest, this is my xorg.conf under Fedora (but running the nVidia driver and dual monitors) # Xorg configuration created by system-config-display Section "ServerLayout" Identifier "Multihead layout" Screen 0 "Screen0" LeftOf "Screen1" Screen 1 "Screen1" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" Option "Xinerama" "on" Option "Clone" "off" EndSection Section "Files" # Multiple FontPath entries are allowed (they are concatenated together) # By default, a font server independent of the X server is # used to render fonts. ModulePath "/usr/lib/xorg/modules/extensions/nvidia" ModulePath "/usr/lib/xorg/modules" FontPath "unix/:7100" EndSection Section "Module" Load "fbdevhw" Load "record" Load "freetype" Load "type1" Load "glx" Load "dbe" Load "extmod" EndSection Section "InputDevice" # Specify which keyboard LEDs can be user-controlled (eg, with xset(1)) # Option "Xleds" "1 2 3" # To disable the XKEYBOARD extension, uncomment XkbDisable. # Option "XkbDisable" # To customise the XKB settings to suit your keyboard, modify the # lines below (which are the defaults). For example, for a non-U.S. # keyboard, you will probably want to use: # Option "XkbModel" "pc102" # If you have a US Microsoft Natural keyboard, you can use: # Option "XkbModel" "microsoft" # # Then to change the language, change the Layout setting. # For example, a german layout can be obtained with: # Option "XkbLayout" "de" # or: # Option "XkbLayout" "de" # Option "XkbVariant" "nodeadkeys" # # If you'd like to switch the positions of your capslock and # control keys, use: # Option "XkbOptions" "ctrl:swapcaps" # Or if you just want both to be control, use: # Option "XkbOptions" "ctrl:nocaps" # Identifier "Keyboard0" Driver "kbd" Option "XkbModel" "pc105" Option "XkbLayout" "us" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/input/mice" Option "ZAxisMapping" "4 5" Option "Emulate3Buttons" "yes" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Philips 170B" DisplaySize 340 270 HorizSync 30.0 - 82.0 VertRefresh 56.0 - 76.0 Option "dpms" EndSection Section "Monitor" Identifier "Monitor1" VendorName "Monitor Vendor" ModelName "Philips 107B(17inch/CM6800)" HorizSync 30.0 - 69.0 VertRefresh 50.0 - 130.0 Option "dpms" EndSection Section "Device" Identifier "Videocard0" Driver "nvidia" VendorName "Videocard vendor" BoardName "nVidia Corporation NV28 [GeForce4 Ti 4200 AGP 8x]" Option "AddARGBGLXVisuals" "True" EndSection Section "Device" Identifier "Videocard1" Driver "nvidia" VendorName "Videocard Vendor" BoardName "nVidia Corporation NV28 [GeForce4 Ti 4200 AGP 8x]" Option "AddARGBGLXVisuals" "True" BusID "PCI:1:0:0" Screen 1 EndSection Section "Screen" Identifier "Screen0" Device "Videocard0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 16 Modes "800x600" "640x480" EndSubSection SubSection "Display" Viewport 0 0 Depth 24 Modes "1280x1024" "1280x960" "1280x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480" EndSubSection EndSection Section "Screen" Identifier "Screen1" Device "Videocard1" Monitor "Monitor1" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 24 Modes "1280x1024" EndSubSection EndSection Section "DRI" Group 0 Mode 0666 EndSection |
Jen (38) | ||
| 531411 | 2007-03-09 04:56:00 | To be fair to the whole "Linux" world ronyville; why do you call the mouse you yourself describe as being wireless, a PS2 mouse? Does the wireless radio use the PS2 port? Sorry, keep up the good work Jen... |
bachelorno1 (6556) | ||
| 531412 | 2007-03-09 06:16:00 | You also need to add the mouse to your ServerLayout - see Jen's xorg.conf for how to do that. bachelorno1: Yes, wireless mice can quite happily use a PS/2 port. The receiver needs to connect to the PC somewhere, why not there? :D |
Erayd (23) | ||
| 531413 | 2007-03-09 06:24:00 | To be fair to the whole "Linux" world ronyville; why do you call the mouse you yourself describe as being wireless, a PS2 mouse? Does the wireless radio use the PS2 port? The PS2 mouse that I got is not working with the linux machine, but at the moment m using a usb mouse instead. But the wireless mouse which is using the ps2 port isnt working either and it works on the windows xp machine.. (m using a kvm switch to access the two machines.. ). Even when i made the changes that Jen mentioned, i rebooted the linux machine without the usb mouse, i still cannot get the wireless mouse to work.. (which is using the ps2 port). I hope i m not confusing anyone but like i said earlier.. it couls be me doing something wrong with the linux machine..( m a linux newbie anyways).. |
ronyville (10611) | ||
| 531414 | 2007-03-09 06:25:00 | You also need to add the mouse to your ServerLayout - see Jen's xorg.conf for how to do that. I have added the mouse to the server layout.. still no change :badpc: |
ronyville (10611) | ||
| 531415 | 2007-03-09 06:30:00 | Maybe its the ps2 port on the motherboard that has gone faulty... its only a Pentium 3.. pretty old machine.. I'll see if i can get hold of another ps2 mouse and test it.. | ronyville (10611) | ||
| 531416 | 2007-03-09 06:49:00 | Have you restarted X after the change? | Erayd (23) | ||
| 531417 | 2007-03-09 06:54:00 | Have you restarted X after the change? If restarting x means logging out and than log back in.. than "yes" If it not than please tell me how.. PS.. PS2 port on the motherboard is working fine.. |
ronyville (10611) | ||
| 531418 | 2007-03-09 07:28:00 | Press CTRL+ALT+Backspace - that should do the trick. | Erayd (23) | ||
| 1 2 3 | |||||