14a6b [Solved] Mouse & keyboard don't work after upgrade to X.org 7.4 - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Desktop Usage > X.Org

X.Org X.Org on FreeBSD installation & configuration.

Reply
 
Thread Tools Display Modes
  #1  
Old June 11th, 2009, 18:11
borish borish is offline
Junior Member
 
Join Date: Jun 2009
Location: Stuttgart, Germany
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Mouse & keyboard don't work after upgrade to X.org 7.4

Hi,

I'm posting this because I've seen that others had similar problems.

Today, I upgraded to FBSD 7.2. After starting the X-server, I noticed that neither mouse nor keyboard input worked.

The solution is to add the line

Option "AllowEmptyInput" "off"

in Section "ServerFlags".

I wonder what happened to X.org 7.4. Is it a new feature to disable mouse and keyboard by default?
Reply With Quote
  #2  
Old June 11th, 2009, 18:20
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,702
Thanks: 47
Thanked 2,022 Times in 1,861 Posts
Default

It's because Xorg now relies on HAL to detect the mouse and keyboard.
This is different from previous versions.

Hence, you have to make sure hald is running before starting X.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #3  
Old June 12th, 2009, 09:55
borish borish is offline
Junior Member
 
Join Date: Jun 2009
Location: Stuttgart, Germany
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Now that I ve enabled HAL and DBUS, my German keyboard doesn t work any more. I found a useful article on that:

http://blogmal.42.org/tidbits/xorg-hald.story

Is HAL just an annoyance or does it have any use
Reply With Quote
  #4  
Old June 12th, 2009, 10:23
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,702
Thanks: 47
Thanked 2,022 Times in 1,861 Posts
Default

Quote:
Originally Posted by borish View Post
Is HAL just an annoyance or does it have any use
Learn to live with it. Gnome, KDE and Xfce all depend on HAL too.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #5  
Old June 12th, 2009, 22:22
ale's Avatar
ale ale is offline
Senior Member
 
Join Date: Nov 2008
Location: Roma
Posts: 1,064
Thanks: 0
Thanked 160 Times in 146 Posts
Default

The solution was here in the forum too, e.g. here

You can build xorg-server WITHOUT_HAL if you want.
Reply With Quote
  #6  
Old October 8th, 2011, 04:32
BJwojnowski BJwojnowski is offline
Junior Member
 
Join Date: Sep 2011
Location: winchester, NH, USA
Posts: 91
Thanks: 54
Thanked 1 Time in 1 Post
Default

I have done some digging in the forum to find out why when I use startx on the FreeBSD system 8.2 the windows appear but there is no input from keyboard or mouse in the windows. In the digging I found several methods to possibly resolve the problem. It did not. What can I do?
Reply With Quote
  #7  
Old October 8th, 2011, 05:10
wblock@'s Avatar
wblock@ wblock@ is online now
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,710
Thanks: 432
Thanked 1,757 Times in 1,456 Posts
Default

The Handbook X11 chapter advises using hal. The other option is to turn off AutoAddDevices in the ServerLayout section:
Code:
Section "ServerLayout"
...
        Option       "AutoAddDevices" "Off"
EndSection
Reply With Quote
  #8  
Old October 8th, 2011, 12:55
BJwojnowski BJwojnowski is offline
Junior Member
 
Join Date: Sep 2011
Location: winchester, NH, USA
Posts: 91
Thanks: 54
Thanked 1 Time in 1 Post
Default

I have done both suggestions that you have offered and the problem still exists.
Reply With Quote
  #9  
Old October 8th, 2011, 13:29
wblock@'s Avatar
wblock@ wblock@ is online now
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,710
Thanks: 432
Thanked 1,757 Times in 1,456 Posts
Default

Please put your /var/log/Xorg.0.log and xorg.conf on pastebin.com and post the links.
Reply With Quote
  #10  
Old October 9th, 2011, 14:34
BJwojnowski BJwojnowski is offline
Junior Member
 
Join Date: Sep 2011
Location: winchester, NH, USA
Posts: 91
Thanks: 54
Thanked 1 Time in 1 Post
Default Problem Resolved

I rebooted and reinstalled FreeBSD and then place the hald and dbus enable lines in /etc/rc.conf and voila it worked. Thank you for your assistance.

Last edited by DutchDaemon; October 10th, 2011 at 01:00.
Reply With Quote
  #11  
Old October 13th, 2011, 21:03
masmidow masmidow is offline
Junior Member
 
Join Date: Oct 2011
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Mouse Not Working

I have read all of the advise and tried all suggestions, but my mouse will simply not respond. May someone please assist me.

I am using gnome2 and the latest version of Xorg as of 10/13/2011. I have done the rc.conf hald and dbus lines.

Any assistance would be great. Do you need any more info?

Mike
Reply With Quote
  #12  
Old October 13th, 2011, 21:19
wblock@'s Avatar
wblock@ wblock@ is online now
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,710
Thanks: 432
Thanked 1,757 Times in 1,456 Posts
Default

The Handbook mentions restarting after adding lines to enable dbus and hald to /etc/rc.conf. Did you do that, or start them manually?

If it's a PS/2 mouse, moused(8) is needed, too.
Reply With Quote
  #13  
Old October 13th, 2011, 21:25
masmidow masmidow is offline
Junior Member
 
Join Date: Oct 2011
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default [solved]

I went to sysinstall and enabled the mouse. Worked.
Reply With Quote
Reply

Thread Tools
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
[Solved] keyboard and mouse don't work under KDE ccc KDE 18 November 18th, 2010 14:48
X.Org 7-4 -> X.Org 7.5 upgrade -- issues and questions DutchDaemon X.Org 112 October 26th, 2010 11:03
[Solved] Mouse and Keyboard don't work in KDM? gore X.Org 10 June 18th, 2010 22:32
[Solved] KDE4 under VMWARE: keyboard and mouse don't work nhanquy KDE 4 April 22nd, 2010 12:57
mouse & keyboard stopped working after xorg upgrade Business_Woman X.Org 8 March 24th, 2009 18:38


All times are GMT +1. The time now is 06:20.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0