again mouse configuration in xorg.conf (solved)

New to Debian (Or Linux in general)? Ask your questions here!

again mouse configuration in xorg.conf (solved)

Postby nadir » 2009-11-26 02:40

i simply copied my xorg.conf from another poster and had configured the mouse for a while as synaptic. well, it did work.
i got an usb-mouse.
today i searched a bit and did replace the following:
Code: Select all
#Section "InputDevice"
#       Identifier      "Configured Mouse"
#       Driver          "synaptics"
#       Option          "SHMConfig"     "true"
#EndSection

with this
Code: Select all
Section "InputDevice"
        Identifier      "Mouse0"
        Driver          "mouse"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "auto"
        Option          "ZAxisMapping"          "4 5 6 7"
EndSection


but X didnt work no more. i checked the error-log and had to comment out the following line:
Code: Select all
Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"        0       0
        InputDevice     "Generic Keyboard"
#       InputDevice     "Configured Mouse"    # this one gave me the trouble
        Option          "AIGLX" "true"
EndSection


It now does work, but it did also work with the synaptic entry...
Is the configuration correct now? for me its all outer-space-language.
thanks in advance
Last edited by nadir on 2009-11-27 16:33, edited 1 time in total.
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.
User avatar
nadir
 
Posts: 5964
Joined: 2009-10-05 22:06
Location: away

Re: again mouse configuration in xorg.conf

Postby craigevil » 2009-11-26 03:11

My current xorg.conf doens't have anything for kb or mouse, but my old xorg.conf had:

Code: Select all
Section "InputDevice"
   Identifier   "Keyboard 0"
   Driver      "kbd"
   Option      "CoreKeyboard"
   Option      "XkbRules"      "xorg"
   Option      "XkbModel"      "pc105"
   Option      "XkbLayout"      "us"
   Option      "XkbOptions"      "altwin:super_win"
EndSection

Section "InputDevice"
   Identifier   "USB Optical Mouse 0"
   Driver      "mouse"
   Option      "Device"      "/dev/input/mice"
   Option      "Protocol"      "Auto"
   Option          "Emulate3Buttons"       "true"
   Option      "CorePointer"
EndSection

If you are running testing or sid with the newer Xorg you probably don't need anything for kb/mouse since hal handles those things now.
Debian Sid KDE Kernel 3.17 Thinkpad R40 Intel M 1.3 CPU 2GB RAM Radeon Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Debian upgrade script smxi | sysinfo script inxi
User avatar
craigevil
 
Posts: 5192
Joined: 2006-09-17 03:17
Location: Oz

Re: again mouse configuration in xorg.conf

Postby nadir » 2009-11-26 16:27

i use both: Lenny and Sid, so an xorg.conf which i could simply copy over would be nice.
as said the mouse works anyway, but it bugs me a bit that it aint configured correct.

should i simply remove the mouse-line from "ServerLayout"?, all i tried so far (to remove the synaptic config) gave me a black screen.
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.
User avatar
nadir
 
Posts: 5964
Joined: 2009-10-05 22:06
Location: away

Re: again mouse configuration in xorg.conf

Postby edbarx » 2009-11-26 17:28

This is my /etc/X11/xorg.conf on Lenny
Code: Select all
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder57)  Thu Jun 25 19:52:48 PDT 2009


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       30.0 - 110.0
    VertRefresh     50.0 - 150.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
Debian == { > 30, 000 packages }; Debian != systemd
The worst infection of all, is a false sense of security!
It is hard to get away from CLI tools.
User avatar
edbarx
 
Posts: 5402
Joined: 2007-07-18 06:19
Location: 35° 50 N, 14 º 35 E

Re: again mouse configuration in xorg.conf

Postby nadir » 2009-11-26 17:31

thanks for that too.
i will try to be more clear:
above i got a new entry for the mouse in /etc/X11/xorg.conf which didnt work.

after i deleted the line:
Code: Select all
#       InputDevice     "Configured Mouse"

from the Section "Server Layout" it did work.

Is it correct that way?
Q: answer "yes or no"?
A: yes or no!
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.
User avatar
nadir
 
Posts: 5964
Joined: 2009-10-05 22:06
Location: away

Re: again mouse configuration in xorg.conf

Postby Pick2 » 2009-11-27 15:53

The original called it "Configured Mouse" , your replacement called it "Mouse0"
if you change "Mouse0" to "Configured Mouse" ...
then the last thing # InputDevice "Configured Mouse" # this one gave me the trouble
will probably work without the rem ( # ) you added.
User avatar
Pick2
 
Posts: 797
Joined: 2007-07-07 13:31
Location: Decatur Il

Re: again mouse configuration in xorg.conf

Postby nadir » 2009-11-27 16:34

Pick2 wrote:The original called it "Configured Mouse" , your replacement called it "Mouse0"
if you change "Mouse0" to "Configured Mouse" ...
then the last thing # InputDevice "Configured Mouse" # this one gave me the trouble
will probably work without the rem ( # ) you added.

You are the man ! :D
thank you
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.
User avatar
nadir
 
Posts: 5964
Joined: 2009-10-05 22:06
Location: away

Re: again mouse configuration in xorg.conf

Postby Pick2 » 2009-11-27 17:19

Glad I could help !
nadir wrote:You are the man ! :D

I'll make sure I never use Pink Text Then :lol:
User avatar
Pick2
 
Posts: 797
Joined: 2007-07-07 13:31
Location: Decatur Il

Re: again mouse configuration in xorg.conf (solved)

Postby nadir » 2009-11-27 17:47

lol.
(are you rich?)
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.
User avatar
nadir
 
Posts: 5964
Joined: 2009-10-05 22:06
Location: away


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 11 guests

fashionable