You are not logged in.

#1 2009-05-07 21:47:44

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

[SOLVED]X wont run without external mouse!

Hi!

I installed Arch on my laptop some weeks ago, and just yesterday I remembered, I did not install drivers for the touchpad big_smile I have been using my MX518 all the time.
So, I did 'pacman -S xf86-input-synaptics' and restarted X and hal (I use no xorg.conf) and it worked like a charm, with loads of cool tapping functions. I was happy.

But, then the trouble started. I rebooted some day later without the MX518, and X would not start. I thought some error with my configs and stuff, but later realized it was becouse of the synaptics. So, to sum it up, I have to have my external mouse connected if I want to use X. Alternative is to remove synaptics, but then I won't have a mouse. Even though I use Awesome I actually want to be able to use it smile Is there anyway to fix this? Is it a bug or am I just doing something wrong?

Last edited by KlavKalashj (2009-05-27 18:01:11)

Offline

#2 2009-05-10 10:00:52

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

Re: [SOLVED]X wont run without external mouse!

Nobody knows? sad

Offline

#3 2009-05-10 10:25:12

kgas
Member
From: Qatar
Registered: 2008-11-08
Posts: 718

Re: [SOLVED]X wont run without external mouse!

Please read http://wiki.archlinux.org/index.php/Tou … leshooting and also I saw some threads with nice codes to disable touch pad when external mouse is inserted.

Offline

#4 2009-05-10 11:17:07

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

Re: [SOLVED]X wont run without external mouse!

I tried that now, and I really had a feeling it would work. But it did not. The log prints all ok, it uses the right device, all modules are loaded correctly and no errors shown. Still it did not work:S

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ExplorerPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Emulate3Buttons"       "true"
EndSection

Section "InputDevice"
        Identifier      "Synaptics Touchpad"
        Driver          "synaptics"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/input/mouse1"
        Option          "Protocol"              "auto-dev"
        Option          "HorizScrollDelta"      "0"
EndSection
(II) config/hal: Adding input device Macintosh mouse button emulation
(II) LoadModule: "evdev"
(II) Loading /usr/lib/xorg/modules/input//evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
    compiled for 1.6.1, module version = 2.2.2
    Module class: X.Org XInput Driver
    ABI class: X.Org XInput driver, version 4.0
(**) Macintosh mouse button emulation: always reports core events
(**) Macintosh mouse button emulation: Device: "/dev/input/event0"
(II) Macintosh mouse button emulation: Found 3 mouse buttons
(II) Macintosh mouse button emulation: Found x and y relative axes
(II) Macintosh mouse button emulation: Configuring as mouse
(**) Macintosh mouse button emulation: YAxisMapping: buttons 4 and 5
(**) Macintosh mouse button emulation: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "Macintosh mouse button emulation" (type: MOUSE)
(**) Macintosh mouse button emulation: (accel) keeping acceleration scheme 1
(**) Macintosh mouse button emulation: (accel) filter chain progression: 2.00
(**) Macintosh mouse button emulation: (accel) filter stage 0: 20.00 ms
(**) Macintosh mouse button emulation: (accel) set acceleration profile 0
(II) config/hal: Adding input device SynPS/2 Synaptics TouchPad
(II) LoadModule: "synaptics"
(II) Loading /usr/lib/xorg/modules/input//synaptics_drv.so
(II) Module synaptics: vendor="X.Org Foundation"
    compiled for 1.6.0, module version = 1.1.0
    Module class: X.Org XInput Driver
    ABI class: X.Org XInput driver, version 4.0
(II) Synaptics touchpad driver version 1.1.0
(**) Option "Device" "/dev/input/event6"
(II) SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5472
(II) SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4448
(II) SynPS/2 Synaptics TouchPad: pressure range 0 - 255
(II) SynPS/2 Synaptics TouchPad: finger width range 0 - 0
(II) SynPS/2 Synaptics TouchPad: buttons: left right middle double triple
(**) Option "TapButton1" "1"
(**) Option "TapButton2" "3"
(**) Option "TapButton3" "2"
(--) SynPS/2 Synaptics TouchPad touchpad found
(**) SynPS/2 Synaptics TouchPad: always reports core events
(II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD)
(**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
(**) SynPS/2 Synaptics TouchPad: (accel) filter chain progression: 2.00
(**) SynPS/2 Synaptics TouchPad: (accel) filter stage 0: 20.00 ms
(**) SynPS/2 Synaptics TouchPad: (accel) set acceleration profile 0
(--) SynPS/2 Synaptics TouchPad touchpad found
(II) config/hal: Adding input device AT Translated Set 2 keyboard
(**) AT Translated Set 2 keyboard: always reports core events
(**) AT Translated Set 2 keyboard: Device: "/dev/input/event1"
(II) AT Translated Set 2 keyboard: Found keys
(II) AT Translated Set 2 keyboard: Configuring as keyboard
(II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "se"

Offline

#5 2009-05-10 17:35:22

kgas
Member
From: Qatar
Registered: 2008-11-08
Posts: 718

Re: [SOLVED]X wont run without external mouse!

ensure that hal is running and try with Option "AutoAddDevices" "False" under server flags in xorg.conf.

Offline

#6 2009-05-10 17:52:04

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

Re: [SOLVED]X wont run without external mouse!

kgas wrote:

ensure that hal is running and try with Option "AutoAddDevices" "False" under server flags in xorg.conf.

Still same problem :S

Offline

#7 2009-05-11 23:09:30

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

Re: [SOLVED]X wont run without external mouse!

Ok, so I got it working with this config:

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0"
    InputDevice    "Synaptics Touchpad" "SendCoreEvents"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "ServerFlags"
    Option "DontZap"    "False"
    Option "AutoAddDevices" "False"
EndSection

Section "Module"
    Load  "dri"
    Load  "glx"
    Load  "freetype"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
        Option      "XkbLayout"        "se"
    #Option      "XkbRules"        "xorg"
       #Option      "SHMConfig"         "false" # configurable at runtime? security risk
          #Option      "LeftEdge"          "1700"  # x coord left
        #Option      "RightEdge"         "5300"  # x coord right
    #Option      "TopEdge"           "1700"  # y coord top
    #Option      "BottomEdge"        "4200"  # y coord bottom
    Option      "FingerLow"         "25"    # pressure below this level triggers release
    Option      "FingerHigh"        "30"    # pressure above this level triggers touch
    Option      "MaxTapTime"        "180"   # max time in ms for detecting tap
    #Option      "VertEdgeScroll"    "true"  # enable vertical scroll zone
    #Option      "HorizEdgeScroll"   "true"  # enable horizontal scroll zone
    #Option      "CornerCoasting"    "true"  # enable continuous scroll with finger in corner
    #Option      "CoastingSpeed"     "0.30"  # corner coasting speed
    #Option      "VertScrollDelta"   "100"   # edge-to-edge scroll distance of the vertical scroll
    #Option      "HorizScrollDelta"  "100"   # edge-to-edge scroll distance of the horizontal scroll
    Option      "MinSpeed"          "0.10"  # speed factor for low pointer movement
    Option      "MaxSpeed"          "0.60"  # maximum speed factor for fast pointer movement
    Option      "AccelFactor"       "0.0020"    # acceleration factor for normal pointer movements
    Option      "VertTwoFingerScroll"   "true"    # vertical scroll anywhere with two fingers
    Option      "HorizTwoFingerScroll"  "true"    # horizontal scroll anywhere with two fingers
    Option      "TapButton1" "1"
    Option      "TapButton2" "2"
    Option      "TapButton3" "3"
EndSection

Section "InputDevice"
        Identifier      "Synaptics Touchpad"
    Driver          "synaptics"
    Option          "SendCoreEvents"        "true"
    Option          "Device"                "/dev/input/mouse1"
    Option          "Protocol"              "auto-dev"
    Option          "HorizScrollDelta"      "0"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Device"
    Identifier  "Card0"
    Driver      "radeon"
    VendorName  "ATI Technologies Inc"
    BoardName   "RV350 [Mobility Radeon 9600 M10]"
    BusID       "PCI:1:0:0"
        Option "XAANoOffscreenPixmaps" "true"
        Option "DRI" "true"
    Option "ForeTVOut"    "true"
    Option "TVStandard"     "pal-g"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Virtual 2960 1050
    EndSubSection
EndSection

Section "DRI"
  Group 0
  Mode 0666
EndSection

Now it works kind of fine. X starts and I can use twofingerscroll, but no tapping. But still, if I use mouse over awesome's stuff, like my widgets at the statusbar or taglist, then X will crash and I have to do a hard reboot. Better than nothing, I dont really use the mouse except for firefox, but still kind of irritating. Any ideas for that?


Edit: Lol, I am such an idiot. I put all the synaptics options under keyboard section tongue With options in right place tapping works. Still awesome issue though.

Edit2: Lol again, that was just temporary. If I reboot X sometimes won't start at all, and sometimes start and then crash.

Last edited by KlavKalashj (2009-05-13 09:29:22)

Offline

#8 2009-05-14 20:02:09

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

Re: [SOLVED]X wont run without external mouse!

No more ideas? I tried loads of stuff, with hotplugging enabled and disabled, using configuration in hal and so on... but no luck. Seems really weird, this problem, I have not experienced it before :S Could be bug in Xserver 1.6? Or perhaps in awesome?

Offline

#9 2009-05-24 13:32:03

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

Re: [SOLVED]X wont run without external mouse!

I think I actually found a solution! I was googling a lot and found an Ubuntu thread with people with similar problems. Someone posted a link to another thread were I found the solution: adding 'highres=off nohz=off irqpoll' to /boot/grub/menu.lst. I don't know what it does, if someone could explain I would be really glad. Since I added that, it has worked perfectly. It is still an early stage of testing, just some 10 minutes since reboot, but it works. I will come back if I find that it was not a successful solution smile Hope this helps someone!

Offline

Board footer

Powered by FluxBB