Results 1 to 2 of 2
Hi,
My problem is a little complicated(may or may not be but for now it seems so). I will explain it in some detail.
Situation 1:
My Debian system (stable) ...
- 09-01-2005 #1Just Joined!
- Join Date
- Aug 2005
- Posts
- 3
PS/2 and USB mouse with 'USB legacy booting' option enabled in Kernel 2.6
Hi,
My problem is a little complicated(may or may not be but for now it seems so). I will explain it in some detail.
Situation 1:
My Debian system (stable) was running fine with 2.6.8-2-386 kernel version. I mean the PS/2 mouse was working fine and I was able to boot into X Windows. At that time in my BIOS, I had disabled the 'USB booting and Legacy' option. Everything worked fine.
My Xorg.conf file looked like:
Situation 2:Code:# /etc/X11/xorg.conf (xorg X Window System server configuration file) # # This file was generated by dexconf, the Debian X Configuration tool, using # values from the debconf database. # # Edit this file with caution, and see the /etc/X11/xorg.conf manual page. # (Type "man /etc/X11/xorg.conf" at the shell prompt.) # # This file is automatically updated on xserver-xorg package upgrades *only* # if it has not been modified since the last upgrade of the xserver-xorg # package. # # If you have edited this file but would like it to be automatically updated # again, run the following commands: # # cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom # sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum' # sudo dpkg-reconfigure xserver-xorg Section "Files" FontPath "unix/:7100" # local font server # if the local font server has problems, we can fall back on these FontPath "/usr/lib/X11/fonts/misc" FontPath "/usr/lib/X11/fonts/cyrillic" FontPath "/usr/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/lib/X11/fonts/Type1" FontPath "/usr/lib/X11/fonts/CID" FontPath "/usr/lib/X11/fonts/100dpi" FontPath "/usr/lib/X11/fonts/75dpi" # paths to defoma fonts FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID" EndSection Section "Module" Load "GLcore" Load "bitmap" Load "dbe" Load "ddc" Load "dri" Load "extmod" Load "freetype" Load "glx" Load "int10" Load "record" Load "type1" Load "v4l" Load "vbe" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "keyboard" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "pc104" Option "XkbLayout" "us" EndSection Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ImPS/2" Option "Emulate3Buttons" "true" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" Identifier "Generic Mouse" Driver "mouse" Option "SendCoreEvents" "true" Option "Device" "/dev/psaux" Option "Protocol" "PS/2" Option "Emulate3Buttons" "true" Option "ZAxisMapping" "4 5" EndSection Section "Device" Identifier "Intel Corporation 82852/855GM Integrated Graphics Device" Driver "i810" BusID "PCI:0:2:0" VideoRam 8192 Option "UseFBDev" "true" EndSection Section "Monitor" Identifier "Generic Monitor" Option "DPMS" HorizSync 28-50 VertRefresh 43-75 EndSection Section "Screen" Identifier "Default Screen" Device "Intel Corporation 82852/855GM Integrated Graphics Device" Monitor "Generic Monitor" DefaultDepth 24 SubSection "Display" Depth 1 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 4 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 8 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 15 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 16 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" EndSubSection EndSection Section "ServerLayout" Identifier "Default Layout" Screen "Default Screen" InputDevice "Generic Keyboard" InputDevice "Configured Mouse" InputDevice "Generic Mouse" EndSection Section "DRI" Mode 0666 EndSection
Now for some reason I realized that I will have to enable the ''USB booting and Legacy' as in future I would want to boot through USB device also. Basically this option simulates the USB keyborad and Mouse as PS/2 keyboard and mouse. As soon as I enable this option, my X-windows won;t start and it says cannot find core pointer and takes me to the text mode after disableing the X session.
Situation 3:
Then I found that the mandrake LE 2005 version would just work fine with that 'USB legacy.." option enabled. My mouse worked and I was able to go into Graphical mode. The kernel version was 2.6.11-6. So I downloaded the linux kernel source 2.6.11.6 and copied the config file of Mandrake on to my Debian system and compiled the kernel with the same configuration with which mandrake was working fine.
When I booted my debian system with mandrake compiled kernel and the 'USB...' option enabled in the BIOS, I was able to go to into the X-windows system but my mouse won;t work. My keyboard worked fine. So basically everything was fine except that my system won;t work with the PS/2 mouse. Then I attached the USB mouse to my system and the USB mouse worked fine but my PS/2 won't work. The Xorg.conf file is same as the one above posted,
I visited a couple of discussion in this forrum to get my PS/2 mouse working with the 'USB booting and legacy option enabled' as below but they did not worked for me:
http://www.linuxquestions.org/questi...05/04/1/309545
http://www.linuxquestions.org/questi...hreadid=305242
Then I installed the program gpm and mdetect. They seemed to work fine but still my PS/2 mouse won;t work in X-windows system.
One interesting observation was that with Debian Kernel 2.4 everything is working fine. PS/2 mouse works. But for that I had to make the following change in my xorg.conf file:
I removed the Generic Mouse section and made the following changes so now I had only one mouse section as compared to two in kernel 2.6
I have heard that there was been some major changes in PS/2 mouse configuration in upgrading from kernel 2.4 to 2.6 as referred by this article:Code:Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/psaux" Option "Protocol" "ImPS/2" Option "Emulate3Buttons" "true" Option "ZAxisMapping" "4 5" EndSection
http://www.informatik.uni-freiburg.d...#serio_userdev
Let me know if you guys need any more information(like lspci or ls of some directory). I will be glad to post it.
So the bottom line is How can I get my PS/2 mouse working in Debian Kernel 2.6 with "USB booting and Legacy option' enabled.
I have tried the option of putting /dev/gpmdata in the xorg.conf file but no luck.
Thank you for the patience.
- 05-22-2006 #2Just Joined!
- Join Date
- May 2006
- Posts
- 1
Has anybody helped you with this? I have similar problem. I have to get usb mouse going in drakconf to identify usb drivers. Then, I can use "modprobe usb-storage" to get a thumbstix (flash memory device) to work.


Reply With Quote
