Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB mouse plugin after server X startup [PROBLEM]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
MetalWarrior
Guru
Guru


Joined: 07 Nov 2004
Posts: 347
Location: Malè (Trento), Italy

PostPosted: Sun Jul 17, 2005 2:54 pm    Post subject: USB mouse plugin after server X startup [PROBLEM] Reply with quote

Hi,
after having installed UDEV I noticed that if I forgot to plug in my USB mouse before server X starts, it does not work.. Do you know if there is a way to avoid the need to restart the X server? Is the problem due to the fact that the X server finds in the xorg.conf a reference to the mouse device and that device node is created only when the mouse is plugged in but is too late because the X server skipped that mouse device declaration?
_________________
(Our) system as a whole is more or less the GNU system, with Linux added.
When you're talking about this combination, please call it ``GNU/Linux''. ~ Richard Stallman
http://www.gnu.org/gnu/why-gnu-linux.html
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54550
Location: 56N 3W

PostPosted: Sun Jul 17, 2005 4:39 pm    Post subject: Reply with quote

MetalWarrior,

Do you have some other pointing device?
X will refuse to start and complain about the "Core Pointer" by default.

You may have more than one core pointer if you wish but you must tell X that in xorg.conf.

What hardware do you have and what is in your xorg.conf?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
MetalWarrior
Guru
Guru


Joined: 07 Nov 2004
Posts: 347
Location: Malè (Trento), Italy

PostPosted: Mon Jul 18, 2005 1:04 pm    Post subject: Reply with quote

I have the touchpad of the laptop also... Everything works fine (both touchpad and external mouse) if the external usb mouse is plugged in before X starts..
_________________
(Our) system as a whole is more or less the GNU system, with Linux added.
When you're talking about this combination, please call it ``GNU/Linux''. ~ Richard Stallman
http://www.gnu.org/gnu/why-gnu-linux.html
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54550
Location: 56N 3W

PostPosted: Mon Jul 18, 2005 4:29 pm    Post subject: Reply with quote

MetalWarrior,

Please post your /etc/X11/xorg.conf
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
MetalWarrior
Guru
Guru


Joined: 07 Nov 2004
Posts: 347
Location: Malè (Trento), Italy

PostPosted: Tue Jul 19, 2005 2:45 pm    Post subject: Reply with quote

This is my xorg.con (I removed some parts):

Code:

Section "Module"

# This loads the DBE extension module.

    Load        "dbe"     # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the font modules
    Load        "type1"
#    Load        "speedo"
    Load        "freetype"
#    Load        "xtt"

# This loads the GLX module
    Load       "glx"
# This loads the DRI module
    Load       "dri"

    Load   "synaptics"

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

    RgbPath   "/usr/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
#

    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/TTF/"
    FontPath   "/usr/share/fonts/Type1/"
#    FontPath   "/usr/share/fonts/CID/"
    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/local/"
#    FontPath   "/usr/share/fonts/Speedo/"
#    FontPath   "/usr/share/fonts/TrueType/"
#    FontPath   "/usr/share/fonts/freefont/"

# The module search path.  The default path is shown here.

#    ModulePath "/usr/X11R6/lib/modules"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

[...]

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

[...]

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver
  Identifier     "Synaptics Mouse"
  Driver     "synaptics"
  Option    "Device"     "/dev/input/event1"
  Option   "Protocol"   "auto-dev"
  Option   "LeftEdge"      "1700"
  Option   "RightEdge"     "5300"
  Option   "TopEdge"       "1700"
  Option   "BottomEdge"    "4200"
  Option   "FingerLow"   "25"
  Option   "FingerHigh"   "30"
  Option   "MaxTapTime"   "180"
  Option   "MaxTapMove"   "220"
  Option   "VertScrollDelta" "100"
  Option   "MinSpeed"   "0.09"
  Option   "MaxSpeed"   "0.18"
  Option   "AccelFactor"   "0.0015"
  Option   "SHMConfig"   "on"
  Option   "TapButton2"   "2"
  Option   "TapButton3"   "3"
  #Option   "LTCornerButton"   "2"
#  Option   "Repeater"   "/dev/ps2mouse"

# Mouse-speed setting for PS/2 mouse.

#    Option "Resolution"   "256"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

#    Option "Protocol"   "Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

#    Option "BaudRate"   "9600"
#    Option "SampleRate"   "150"

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

#    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"

# ChordMiddle is an option for some 3-button Logitech mice

#    Option "ChordMiddle"

EndSection

Section "InputDevice"

# Identifier and driver
  Identifier     "USB Mouse"
  Driver     "mouse"
  Option    "Device"     "/dev/input/mouse1"
  Option   "Protocol"   "IMPS/2"
  Option   "ZAxisMapping"   "4 5"      
 
    #Identifier   "Mouse1"
    #Driver   "mouse"
    #Option "Protocol"    "IMPS/2"
    #Option "Device"      "/dev/mouse"
    #Option "ZAxisMapping"   "4 5"

EndSection


# **********************************************************************
# Other input device sections
# this is optional and is required only if you
# are using extended input devices.  This is for example only.  Refer
# to the xorg.conf man page for a description of the options.
# **********************************************************************

[...]

# **********************************************************************
# Monitor section
# **********************************************************************

[...]

# **********************************************************************
# Graphics device section
# **********************************************************************

[...]

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present.  Each describes
# the way multiple screens are organised.  A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option.  In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
    Identifier  "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens.  The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen.  In this example, screen 2 is located to the
# right of screen 1.

    Screen "Screen 1"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used.  Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

    InputDevice "Synaptics Mouse" "CorePointer"
    InputDevice "USB Mouse" "SendCoreEvents"
#    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

Section "dri"
    Mode 0666
EndSection

Section "Extensions"
   Option "Composite" "Enable"
EndSection

_________________
(Our) system as a whole is more or less the GNU system, with Linux added.
When you're talking about this combination, please call it ``GNU/Linux''. ~ Richard Stallman
http://www.gnu.org/gnu/why-gnu-linux.html
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54550
Location: 56N 3W

PostPosted: Tue Jul 19, 2005 6:25 pm    Post subject: Reply with quote

MetalWarrior,

Thats what I have too - but for a PS/2 mouse and a USB mouse.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
MetalWarrior
Guru
Guru


Joined: 07 Nov 2004
Posts: 347
Location: Malè (Trento), Italy

PostPosted: Tue Jul 19, 2005 9:39 pm    Post subject: Reply with quote

Thank you anyway.. ^_^
I hope to find a solution, even if it is not a big issue (I just have to remember to plug in the usb mouse during the boot)..

Bye!
_________________
(Our) system as a whole is more or less the GNU system, with Linux added.
When you're talking about this combination, please call it ``GNU/Linux''. ~ Richard Stallman
http://www.gnu.org/gnu/why-gnu-linux.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum