You are not logged in.

#1 2007-12-18 21:09:07

Flasher
Member
From: Bavaria / Germany
Registered: 2005-04-24
Posts: 126

Mouse hotplugging under Xorg doesn't work!

Hello!

I'm using an external USB mouse beside a touchpad on my laptop. When I'm plugging my mouse after starting Xorg (and KDE 3.5.8) the mouse doesn't work (no reaction). I must restart my linux sad The same problem, when I plug the mouse of and then replug it.
I'm searching at google, but I only found that dbus have to run (dbus and hal is loaded during OS-boot)

Do I need any special configuratuion in xorg.conf?

Thanks for help!

Best regards,

Flasher

Offline

#2 2007-12-18 21:58:33

RobbeR49
Member
From: Columbus, OH
Registered: 2006-01-17
Posts: 178

Re: Mouse hotplugging under Xorg doesn't work!

AFAIK the xorg-server is still being packaged without dbus/hal support. You'll have to modify the pkgbuild to make it work, which required a patch last time I had to do it.

You shouldn't need any special configuration for the mouse at all, in fact you should be able to take out that entire section in your xorg.conf

Offline

#3 2007-12-18 22:22:53

Flasher
Member
From: Bavaria / Germany
Registered: 2005-04-24
Posts: 126

Re: Mouse hotplugging under Xorg doesn't work!

Hm.... This looks like much work, esspecially to hold my custom-xorg-server up to date.
I looked in the PKGBUILD and there is a makefile flag "--disable-config-hal". I think it should be "--enable-config-hal" and maybe a extra patch...

If that is the only way to activate hotplug I think it's to time expensive and I will also make I reboot in the future :-(

Thanks for YOUR help!

Best regards,

Flasher

Last edited by Flasher (2007-12-18 23:45:44)

Offline

#4 2007-12-19 00:12:39

mezoko
Member
Registered: 2005-03-26
Posts: 310
Website

Re: Mouse hotplugging under Xorg doesn't work!

Not sure what you mean, but I can plug my mouse right on in and it works just fine.
Do you have a second mouse configuration in xorg config?


"The only thing we have to fear is fear itself." - Franklin D. Roosevelt

Offline

#5 2007-12-19 02:47:53

bsdson.tw
Member
From: Taiwan
Registered: 2005-05-06
Posts: 161

Re: Mouse hotplugging under Xorg doesn't work!

Mine works just fine with the original xorg-server.
And here is part of my xorg config:

Section "ServerLayout"
    Identifier     "Xorg Configured"
    Screen         0 "Screen0" 0 0

    InputDevice    "myKeyboard" "CoreKeyboard"
    InputDevice    "myMouse" "CorePointer"
EndSection
Section "InputDevice"
    Identifier  "myMouse"
    Driver      "mouse"
    Option      "Protocol" "auto"
    Option      "Device" "/dev/input/mice"
EndSection

Really simple and it just works!!
Hope that helps.
smile

Offline

#6 2007-12-19 12:14:57

RobbeR49
Member
From: Columbus, OH
Registered: 2006-01-17
Posts: 178

Re: Mouse hotplugging under Xorg doesn't work!

There are a few other ways to get your mouse working, of course. What I referred to above was specifically for using dbus/hal and the evdev driver.

Offline

#7 2007-12-19 13:01:20

Flasher
Member
From: Bavaria / Germany
Registered: 2005-04-24
Posts: 126

Re: Mouse hotplugging under Xorg doesn't work!

Hi!

Ok, now I'm a little bit confused wink

For testing, I deleted all Mouse InputDevices out of my xorg.conf. In ServerLayout I specified the following:

Section "ServerLayout"

    Identifier                          "Default Layout"
    Screen                              "Default Screen"
    InputDevice                         "Dell Notebook Keyboard" "CoreKeyboard"

EndSection


Now it works all perfectly.
On my laptop I have synaptics touchpad and a external usb wheel mouse. Is it deprecated to specifiy all devices (for example mouse devices) in xorg.conf? I'm consfused, because I thought the synaptics touchpad is a special device which needs complicated configuration ;-)

Best regards,

Flasher

Offline

#8 2007-12-19 14:08:01

mezoko
Member
Registered: 2005-03-26
Posts: 310
Website

Re: Mouse hotplugging under Xorg doesn't work!

Section "InputDevice"
    Identifier  "TouchPad"
    Driver      "synaptics"
    Option        "SendCoreEvents"
    Option        "Protocol" "auto-dev"
    Option        "SHMConfig" "on"
EndSection

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

This is mine, I also think you can define specific mice or something using events (check out the gentoo wiki for that)

As you can see I have my touchpad, but then i have run for regular mice


"The only thing we have to fear is fear itself." - Franklin D. Roosevelt

Offline

#9 2007-12-19 16:16:10

RobbeR49
Member
From: Columbus, OH
Registered: 2006-01-17
Posts: 178

Re: Mouse hotplugging under Xorg doesn't work!

Xorg has gotten reasonably good at guessing your device configuration with the last few releases, it is probably finding and loading the drivers for the mouse and touchpad by itself. You really don't need an xorg.conf at all anymore but having it allows you to override settings in case Xorg doesn't set them correctly.

you may not have mouse hotplugging through hal but as I said there is more than one way to make your mouse work.

Offline

Board footer

Powered by FluxBB