Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 25th December 2006, 11:10 PM
pytheas22 Offline
Registered User
 
Join Date: Dec 2006
Location: Ithaca, New York/Paris
Posts: 22
no mouse cursor on hibernate/suspend resume

I'm running FC6, kernel 2.6.18-1.2868_1.FC6, on a Dell Inspiron laptop with a synaptics touchpad mouse and LCD display. I have Xorg version 7.1.3 and an i810 graphics card. Suspend and hibernate work fine, except that when I resume the system, there's no mouse cursor visible. The mouse is there, however; I can move it around and click on things without a problem, I just can't see the cursor. The keyboard also works fine. If I restart X, everything works again without a problem, but I can't see a mouse cursor until I do.

I have the same problem when trying to suspend or hibernate using the suspend2 kernel, which I installed via the instructions at mhensler.de/swsusp/index_en.php after reading that it solves a lot of hibernate/suspend issues for a lot of people.

Since the problem seems to be related to X, I've also tried screwing around with xorg.con, but to no avail. I'm posting my current configuration here, however, in case I'm missing something obvious:
Code:
# Xorg configuration created by pyxf86config

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

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

Section "Module"
	Load      "dri"
EndSection

Section "InputDevice"
	Identifier  "Synaptics"
	Driver      "synaptics"
	Option	    "Device" "/dev/input/mice"
	Option	    "Protocol" "auto-dev"
	Option	    "Emulate3Buttons" "yes"
	Option	    "SHMConfig" "true"
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "i810"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection
Thanks in advance for any help towards solving this annoying problem.
Reply With Quote
  #2  
Old 29th December 2006, 04:22 PM
pytheas22 Offline
Registered User
 
Join Date: Dec 2006
Location: Ithaca, New York/Paris
Posts: 22
I realized recently that the mouse cursor disappears not only after a hibernate/suspend resume, but after I ctrl-alt-f1 out of X (without stopping the X server) and then ctrl-alt-f6 back in. Does anyone else have this experience? It would seem to suggest that the problem is definitely related to X, as far as I can tell.

I've tried editing xorg.conf in lots of different ways, and have experimented with all the different window managers (metacity, compiz, beryl) and in both KDE and gnome, but the cursor disappearance problem persists. If anyone has any ideas towards a solution, they would be much appreciated. Thanks a lot.
Reply With Quote
  #3  
Old 30th December 2006, 05:39 PM
playac Offline
Registered User
 
Join Date: Dec 2006
Posts: 10
I'm having a similar problem with FC5 on a Gateway laptop with a Synaptics touchpad. Except Hibernate works fine, but when I resume from a suspend, I don't have any mouse at all. If there is a USB mouse attached, then that will work, but the touchpad still does not.

Is this problem related just to Synaptics pads?
Reply With Quote
  #4  
Old 30th December 2006, 06:34 PM
playac Offline
Registered User
 
Join Date: Dec 2006
Posts: 10
Also if I try to restart X after a resume from suspend to get the mouse back, the screen goes black then starts to glow in arbitrary places and it starts to get brighter. The only remedy after this is holding down the power button.
Reply With Quote
  #5  
Old 31st December 2006, 03:15 AM
pytheas22 Offline
Registered User
 
Join Date: Dec 2006
Location: Ithaca, New York/Paris
Posts: 22
playac, can you post your xorg.conf please? In the course of my research to try to solve my own problem, I've come across plenty of people with issues like yours that were solved by changing some lines in the X config file, so if I could see yours, I might be able to suggest some fixes. I think that our problems are different, however; yours seems to have to do with a problem with the setup of specifically the synaptics device; I've tried using USB mice or replacing the synaptics config with a generic one in xorg, but it hasn't helped.
Reply With Quote
  #6  
Old 31st December 2006, 10:47 PM
playac Offline
Registered User
 
Join Date: Dec 2006
Posts: 10
Here is my xorg.conf file:

Code:
# Xorg configuration created by system-config-display

Section "ServerLayout"
	Identifier     "single head configuration"
	Screen      0  "Screen0" 0 0
	InputDevice    "Keyboard0" "CoreKeyboard"
	InputDevice    "Synaptics" "CorePointer"
	InputDevice    "Mouse0" "AlwaysCore"
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.

	FontPath     "unix/:7100"
EndSection

Section "Module"
	Load  "dbe"
	Load  "extmod"
	Load  "fbdevhw"
	Load  "glx"
	Load  "record"
	Load  "freetype"
	Load  "type1"
	Load  "synaptics"
	Load  "dri"
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

# Standard FC5 Install Config
Section "InputDevice"
	Identifier  "Synaptics"
	Driver      "synaptics"
	Option	    "Device" "/dev/input/mice"
	Option	    "Protocol" "auto-dev"
	Option	    "BottomEdge"   "10000"
	Option	    "Emulate3Buttons" "yes"
EndSection

#Section "InputDevice"
#  Identifier    "Synaptics"
#  Driver        "synaptics"
#  Option	"Device" "/dev/input/mice"
#  Option	"Protocol" "auto-dev"
#  Option        "LeftEdge"      "1700"
#  Option        "RightEdge"     "5300"
#  Option        "TopEdge"       "1700"
#  Option        "BottomEdge"    "10000"
#  Option        "FingerLow"     "25"
#  Option        "FingerHigh"    "30"
#  Option        "MaxTapTime"    "180"
#  Option        "MaxTapMove"    "220"
#  Option        "VertScrollDelta" "100"
#  Option        "MinSpeed"      "0.08"
#  Option        "MaxSpeed"      "0.16"
#  Option        "AccelFactor" "0.0030"
#  Option	"Emulate3Buttons" "yes"
#  Option        "SHMConfig" "on"
#EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Color LCD"
	DisplaySize  330	210
 ### Comment all HorizSync and VertSync values to use DDC:
	HorizSync    48.0 - 50.0
	VertRefresh  59.0 - 61.0
	Option	    "dpms"
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "radeon"
	VendorName  "Videocard vendor"
	BoardName   "ATI Technologies Inc ATI Radeon XPRESS 200M 5955 (PCIE)"
	Option      "VBERestore" "1"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor    "Monitor0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Modes    "800x600"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1280x800"
	EndSubSection
EndSection

Section "DRI"
	Group        0
	Mode         0666
EndSection

Section "ServerFlags"
	Option "BlankTime" "0"
EndSection
Reply With Quote
  #7  
Old 1st January 2007, 12:31 AM
pytheas22 Offline
Registered User
 
Join Date: Dec 2006
Location: Ithaca, New York/Paris
Posts: 22
I don't think you want the line in the ServerLayout section that says "Mouse0" "AlwaysCore" ; that makes the computer treat "Mouse0" , which is your USB mouse, as the primary mouse. Try first editing out this line, or if that doesn't work, change it to say "Synaptics" "AlwaysCore", so that the synaptics mouse is used as the primary device. Your USB mouse should still work fine.

Also, I would comment out the "Load" "dri" line in the module section, as well as the whole dri section that you have.

I hope this helps.
Reply With Quote
  #8  
Old 1st January 2007, 04:12 PM
playac Offline
Registered User
 
Join Date: Dec 2006
Posts: 10
Hi pytheas22, thanks for the help.

Unfortunately it still doesn't resume the touchpad. Here is what is in the end of the Xorg.log file after a resume from suspend:

Code:
Synaptics DeviceOn called
Synaptics no synaptics event device found (checked 13 nodes)
(EE) xf86OpenSerial: Cannot open device /dev/input/event1
	No such file or directory.
(WW) Synaptics: cannot open input device
and if I then do a hibernate and resume, then the touchpad works again. Here is the Xorg.log output after that:

Code:
Synaptics DeviceOn called
(--) Synaptics auto-dev sets device to /dev/input/event1
(**) Option "Device" "/dev/input/event1"
(--) Synaptics touchpad found
Synaptics DeviceOn called
(--) Synaptics auto-dev sets device to /dev/input/event1
(**) Option "Device" "/dev/input/event1"
(WW) Synaptics can't grab event device, errno=1022
(--) Synaptics touchpad found
Also not sure it matters but I am just using the command line "pm-suspend" and "pm-hibernate"
Reply With Quote
  #9  
Old 1st January 2007, 04:39 PM
nick.stumpos's Avatar
nick.stumpos Offline
Registered User
 
Join Date: Feb 2005
Location: Lansing, Mi
Age: 28
Posts: 2,222
I know it is a common problem for nvidia cards if the hardware cursor is on, so you may want to try HWcursor "off" in the device section, although i have never heard this problem with either intel of ati chipsets, so this may or may not be of any help.
__________________
As always
Love, Life, Loyalty, Wisdom, Knowledge, And Understanding
FC6: Common Questions answered
Reply With Quote
  #10  
Old 2nd January 2007, 02:17 AM
pytheas22 Offline
Registered User
 
Join Date: Dec 2006
Location: Ithaca, New York/Paris
Posts: 22
I tried playing with the HWCursor option but it didn't help my problem, but thanks for the tip.

playac, it sounds from the error message about "Cannot open device /dev/input/event1 No such file or directory." that for some reason your system is no longer detecting the synaptics device after a suspend resume. Is event1 in the contents of the /dev/input directory after suspend? If it's not, but the mouse device is recognized alright before suspend, then I can only speculate that it might be some strange hardware or kernel problem, but I don't know much about that stuff so I can't make any suggestions besides googling. You could also try using the suspend2 kernel and see if that helps, since it's supposed to solve a lot of strange problems related to suspend and hibernate. See www.mhensler.de/swsusp/index_en.php for that.
Reply With Quote
  #11  
Old 10th January 2007, 04:30 AM
siuyin Offline
Registered User
 
Join Date: Jan 2007
Posts: 2
Problem seen also on Dell 510m with i810 graphics

I'm seeing the same problem. Does not matter if I have Compiz / Desktop Effects on or off. Mouse cursor disappears after Ctrl-Alt-F[1-6] and switching back to X with Ctrl-Alt-F7.

Also occurs when Power Management forces the laptop into sleep/suspend mode.

Tried the following in /etc/X11/xorg.conf
HWCursor off - messes up Compiz. Mouse problem persists
VBERestore on. No effect

Mouse problem also persists with an external USB mouse plugged in.
Reply With Quote
  #12  
Old 10th January 2007, 05:51 AM
pytheas22 Offline
Registered User
 
Join Date: Dec 2006
Location: Ithaca, New York/Paris
Posts: 22
siuyin, our problems sound identical, and it looks like we have pretty similar setups (the only difference is that my Dell is an Inspiron 1150). Maybe it's a problem with Dell then--I don't think it has to do with the Intel gpu because I've googled extensively and never found anyone else with the mouse problem using i810 cards. I'm continuing to look into it because it would be really useful for me to be able to use suspend/hibernate. I'll post of course if I ever come up with any useful findings.
Reply With Quote
  #13  
Old 10th January 2007, 09:31 AM
siuyin Offline
Registered User
 
Join Date: Jan 2007
Posts: 2
Fixed: Probably caused by bad Video BIOS in Dells

How to fix:
1. Download a patched i810_drv.so from http://www.fairlite.demon.co.uk/intel.html
2. While in Single User or an non-X mode: backup your existing i810_drv.so (mine was located in /usr/lib/xorg/modules/drivers/ and copy the patched driver in place.
3. Restart X and enjoy the new-found cursor that survives suspend and Ctrl-Alt-F[1-6]

Thought process in deriving fix:
a. Could be something specific to Dells.
b. Came across 915resolution that patches Video BIOSes for wide-screen resolutions.
c. Suspect that cursor may be related to VBIOS.
d. Found easy way of running 915resolution by using the pre-patched driver.
Reply With Quote
  #14  
Old 25th February 2007, 07:50 PM
pytheas22 Offline
Registered User
 
Join Date: Dec 2006
Location: Ithaca, New York/Paris
Posts: 22
Sorry siuyin I've had other things to do and forgot about solving this problem, but I finally came back to it today and found your solution, which worked perfectly and easily for me. So thanks a lot for figuring it out; finally being able to use hibernate will make things a lot more convenient with my laptop.

For other users, note that when you copy the patched i810_drv.so driver into your xorg driver directory, you cannot have your X server running at the time, not even in the background. In other words, the patch won't install properly if X is still running and you're just ctrl-alt-F'd out of it, and if you just try to kill X, it will automatically restart itself right away so that doesn't work either (and it obviously won't work if you try to drag and drop the file within the X interface). So to apply the patch, you should ctrl-alt-F[1-6] out of X, type "init 3" as root, copy the driver file, and then init 5 to start X again. Siuyin points this out when he says to be in "Single User or non-X mode," of course, but I wanted to make it clearer for people who, like me, may not realize that that means X needs to be completely not running. That was the only source of frustation I had following siuyin's instructions.

Once again, thanks for the solution siuyin.
Reply With Quote
  #15  
Old 13th October 2011, 07:13 PM
canty978 Offline
Registered User
 
Join Date: Sep 2011
Posts: 2
linuxfirefox
Re: no mouse cursor on hibernate/suspend resume

mouse pointer disappears after resume from sleep with fedora 15 kde.
I have a dell dimension e521 desktop 64 bit AMD Athlon X2

Last edited by canty978; 13th October 2011 at 07:21 PM.
Reply With Quote
Reply

Tags
cursor, hibernate or suspend, mouse, resume

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
F8_32 Mouse Cursor and KeyBoard Cursor Not Working platomxv Installation and Live Media 2 31st January 2008 02:51 PM
Will not resume from hibernate after creating swap compuboy04 Hardware & Laptops 0 1st August 2007 05:40 AM
FC5T2 Resume from Hibernate iball Fedora Core 5 - Dev 1 6th March 2006 03:45 PM


Current GMT-time: 01:42 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat