LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-26-2010, 03:08 AM   #1
ckc_dc
LQ Newbie
 
Registered: Jul 2010
Location: Bangalore
Posts: 2

Rep: Reputation: 0
PS2 mouse is not auto detecting in linux 2.6.33.3 kernel


Hi,

I am working on linux kernel building and customising for our requirement.
All these days we were using 2.6.9EL5 kernel to create our own Bootable kernel. Lately we moved to 2.6.33.3 as SATA CDROM support was not available during booting with the earlier kernel.
Now with the new kernel i have got all the updates i wanted with respect to hardware detection during booting but having an issue with my PS2 mouse not auto detecting while booting. However i can configure the mouse with the popup that comes during booting by selecting the generic PS2 3 button mouse option. With this my mouse works properly. I am wondering is there a way to make the mouse auto detectable.

I have attached one of the Xconfig file that is part of our process, Hope this helps.

# XFree86 4.0 configuration generated by Xconfigurator

Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Mouse1"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

# By default, Red Hat Linux 6.0 and later use xfs

Section "ServerFlags"
Option "AllowMouseOpenFail" "true"
EndSection

Section "Files"

Fontpath "unix/:7100"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/X11R6/lib/X11/fonts/URW"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
EndSection

# Module loading section

Section "Module"
Load "dbe" # Double-buffering
Load "extmod" # Misc. required extensions
# Load "pex5" # PHIGS for X 3D environment (obsolete)
# Load "record" # X event recorder
# Load "xie" # X Image Extension (obsolete)
# You only need the following two modules if you do not use xfs.
# Load "freetype" # TrueType font handler
# Load "type1" # Adobe Type 1 font handler
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc101"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Device" "/dev/psaux"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "on"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "AlwaysCore" "true"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "on"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "Generic High Frequency SVGA, 1024x768 @ 70 Hz"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 31.5-50.0
VertRefresh 50-60
Option "dpms"
EndSection

Section "Device"
Identifier "Linux Frame Buffer"
Driver "fbdev"
BoardName "Unknown"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Linux Frame Buffer"
Monitor "Generic High Frequency SVGA, 1024x768 @ 70 Hz"
DefaultDepth 8
Subsection "Display"
Depth 8
Modes "800x600"
EndSubSection
EndSection


Please feel free to ask me for any information required.

Thanks in advance
Chandra
 
Old 07-26-2010, 03:25 AM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,072
Blog Entries: 3

Rep: Reputation: 323Reputation: 323Reputation: 323Reputation: 323
as root open a terminal and type modprobe psmouse if that does not get it working then you did not enable it in the kernel.
if that does work your start up scripts are not loading the cursor
 
Old 07-29-2010, 01:02 AM   #3
ckc_dc
LQ Newbie
 
Registered: Jul 2010
Location: Bangalore
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks Drakeo, I was able to resolve PS2 issue by tweaking my start script. Thanks for the hint.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel 2.6.24 and PS2 Mouse linuxquestionsorg42 Linux - Software 3 11-10-2007 07:45 PM
No PS2 Mouse in X after Kernel Upgrade brentd Linux - Hardware 2 03-06-2007 04:44 PM
ps2 mouse with 2.6 kernel TaylorVcl Slackware 17 01-08-2007 10:06 PM
Morphix Linux Does Not Detect PS2 Mouse dhatcher2 Linux - Laptop and Netbook 4 04-02-2006 07:34 PM
PS2 mouse problems with kernel 2.6 ovf Linux - Hardware 4 02-03-2004 11:10 PM


All times are GMT -5. The time now is 08:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration