LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   F7: no mouse (https://www.linuxquestions.org/questions/fedora-35/f7-no-mouse-559616/)

Kropotkin 06-06-2007 08:48 AM

F7: no mouse
 
Hi all,

I now have F7 up and running. One bit of strangeness: the mouse isn't working.

I have a Logitech PS/1 port wireless mouse/keyboard combo.

If I plug a USB mouse in, I see it registered in dmesg. In a full-screen terminal (ctrl-alt-F1) the USB mouse is then active, but not in X/Gnome.

I had a similar problem in FC6 with one of the later kernels (>=2.6.20), so dropped back to 2.6.18 thinking it might have been a kernel hiccup.

At this point, I am not sure how to proceed. Is this some legacy xorg setting issue?

TIA

Ovadyah 06-07-2007 04:38 PM

mouse pointer
 
I had a similar problem with a usb mouse in fc5, 6 and f7. There is a "shadow" of the mouse cursor on the screen with my problem. The fix was the same, I found it on Fedora forum. search for mouse pointer not working in the fedora support section. - I believe it may have to do with the 64 bit machines. It is a couple lines of editing the /etc/X11/xorg.conf file. Hope that gets you going. ejn


Quote:

Originally Posted by Kropotkin
Hi all,

I now have F7 up and running. One bit of strangeness: the mouse isn't working.

I have a Logitech serial port wireless mouse/keyboard combo.

If I plug a USB mouse in, I see it registered in dmesg. In a full-screen terminal (ctrl-alt-F1) the USB mouse is then active, but not in X/Gnome.

I had a similar problem in FC6 with one of the later kernels (>=2.6.20), so dropped back to 2.6.18 thinking it might have been a kernel hiccup.

At this point, I am not sure how to proceed. Is this some legacy xorg setting issue?

TIA


Ptrs!OP 06-08-2007 05:06 AM

This worked for me:
add

Option "HWCursor" "false"

under Section "Device"

Kropotkin 06-08-2007 06:41 AM

Quote:

Originally Posted by Ptrs!OP
Section "Device"

I don't have a section by that name, only "InputDevice". Is that what you mean?

Ptrs!OP 06-08-2007 06:54 AM

This is strange, I can't help you with that then. I just switched to Fedora from Ubuntu and xorg.conf looks a little strange.

This is my xorg.conf, found in /etc/X11/xorg.conf


------
# Xorg configuration created by livna-config-display

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath "/usr/lib64/xorg/modules/extensions/nvidia"
ModulePath "/usr/lib64/xorg/modules"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
Option "HWCursor" "false"
Option "AddARGBGLXVisuals" "True"
Option "DisableGLXRootClipping" "True"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
-----

The line "created by livna-config-display" is strange, which might mean that it was created when the nvidia drivers where installed. If you use nvidia, try to install the nvidia drivers from livna (here are the instructions I followed) and then see if you can find the section and add the line.

The instructions are for Fedora Core 6, so before doing anything, make sure to change
rpm -Uhv http://rpm.livna.org/livna-release-6.rpm
to
rpm -Uhv http://rpm.livna.org/livna-release-7.rpm

I hope this helps.

Kropotkin 06-11-2007 08:33 AM

Thanks for the info Ptrs!OP.

For some reason, the nvidia driver wasn't properly installed, but I followed the instructions on the that page and now the nvidia legacy driver is working.

My xorg.conf now has the section to which you refer, and I added the line the "Device" option and restarted X.

Alas, still no mouse. :(

Not sure what to try next...

Ptrs!OP 06-11-2007 09:25 AM

So you did add:
---
Option "HWCursor" "false"
---
on the "Device" section... Could you please post your xorg.conf to see what might be missing??

Kropotkin 06-11-2007 10:43 AM

Ok, here it is:

Code:

$ cat /etc/X11/xorg.conf
# Xorg configuration created by livna-config-display

Section "ServerLayout"
        Identifier    "single head configuration"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "stylus" "SendCoreEvents"
        InputDevice    "eraser" "SendCoreEvents"
        InputDevice    "cursor" "SendCoreEvents"
        InputDevice    "pad"
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  "extmod"
        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"
        Option      "XkbVariant" "intl"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/input/mouse0"
        Option      "ZAxisMapping" "4 5"
        Option      "Emulate3Buttons" "yes"
EndSection

Section "InputDevice"

  # Put this only in the first wacom device subsection.
        Identifier  "stylus"
        Driver      "wacom"
        Option      "Type" "stylus"
        Option      "Device" "/dev/input/wacom"
        Option      "USB" "on"
  # Avoid jitter: 0, or between 2(default) and 6 pixels.
        Option      "Suppress" "3"
  # Absolute or Relative position
        Option      "Mode" "Absolute"
EndSection

Section "InputDevice"
        Identifier  "cursor"
        Driver      "wacom"
        Option      "Type" "cursor"
        Option      "Device" "/dev/input/wacom"
        Option      "USB" "on"
EndSection

Section "InputDevice"
        Identifier  "eraser"
        Driver      "wacom"
        Option      "Type" "eraser"
        Option      "Device" "/dev/input/wacom"
        Option      "USB" "on"
EndSection

Section "InputDevice"
        Identifier  "pad"
        Driver      "wacom"
        Option      "Device" "/dev/input/wacom"
        Option      "Type" "pad"
        Option      "USB" "on"
EndSection

Section "Monitor"
 ### Comment all HorizSync and VertSync values to use DDC:
        Identifier  "Monitor0"
        VendorName  "Monitor Vendor"
        ModelName    "LG 1730DM"
        HorizSync    30.0 - 82.0
        VertRefresh  50.0 - 120.0
        Option      "dpms"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "nvidia"
        VendorName  "Videocard vendor"
        BoardName  "nVidia Corporation NV17 [GeForce4 MX 440-SE]"
        Option      "AddARGBGLXVisuals" "True"
        Option      "DisableGLXRootClipping" "True"
        Option "HWCursor" "false"
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 "DRI"
        Group        0
        Mode        0666
EndSection

Thanks for all your help.

Ptrs!OP 06-11-2007 11:02 AM

I am sorry at this point I have no idea! I don't even understand completely xorg.conf, it is very different to all other distros I have been using all this time...

I found another kind of solution here (post 14) which would be to disable the graphical boot:

"disable rhgb - the graphical boot so

edit /etc/grub.conf (eg as root do a vi /etc/grub.conf)
and remove the mention of rhgb from the kernel line..

you wont have that fancy graphical boot (its only eye candy anyway and is of no actual use) but the hard ware cursor works..

This was discussed ages ago, it something to do with the nvidia driver and when rhgb terminates and the gui starts"

I have not tried it myself but you could give this a try, even as a temporary solution.

Unless if someone here has a better solution for this!


All times are GMT -5. The time now is 09:27 PM.