Re: [gentoo-user] Dynamicly Loaded USB mouse under Xorg ?
On Fri, 23 Dec 2005 11:19:47 -0700, Lares Moreau wrote: > Start X, do whatever - move to place more condusive to haveing an > external mouse, as opposed to my track pad, Plug in the USB mouse, and > Have it work without haveing to restart X. This works for me: Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice"Trackpad" "CorePointer" InputDevice"USBMouse" "SendCoreEvents" InputDevice"Keyboard0" "CoreKeyboard" EndSection Section "InputDevice" Identifier "Trackpad" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/input/mice" Option "ZAxisMapping" "4 5" Option "Resolution" "64" EndSection Section "InputDevice" Identifier "USBMouse" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/input/mouse2" Option "ZAxisMapping" "4 5" Option "Resolution" "64" EndSection The trackpad works always, the mouse works when it is plugged in, even after starting X. -- Neil Bothwick I don't suffer from insanity. I enjoy every minute of it. signature.asc Description: PGP signature
Re: [gentoo-user] Dynamicly Loaded USB mouse under Xorg ?
Le 23 décembre à 19:19:47 Lares Moreau <[EMAIL PROTECTED]> écrit notamment: | Does anyone know of a way to have my USB Mouse dynamicly loaded under | Xorg? > | Goal: | Start X, do whatever - move to place more condusive to haveing an | external mouse, as opposed to my track pad, Plug in the USB mouse, and | Have it work without haveing to restart X. > | Problems: (As I see it) | -Xorg only loads devices at startup. Hence new Pointers like my USBMouse | aren't recognised. > | All my pointer work fine, just the way I want them to when I have every | thing plugged in at Xorg startup. hotplug in the kernel: CONFIG_HOTPLUG=y *and* emerge hotplug hth, -- Jean Magnan de Bornier |Cours Victor Hugo e-mots: jean at bornier.net|13980 Alleins France T 08 70 39 34 03 |P 06 09 17 35 87 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Dynamicly Loaded USB mouse under Xorg ?
On 12/23/05, Lares Moreau <[EMAIL PROTECTED]> wrote: > Does anyone know of a way to have my USB Mouse dynamicly loaded under > Xorg? If you are using a 2.6 kernel, use /dev/input/mice as your input device, instead of whatever you are using now. You can use that as your only input device, or like me, configure it as an additional input device. The relevant sections of my xorg.conf are: Section "ServerLayout" Identifier "Default" Screen 0 "LCD" 0 0 InputDevice"touchpad" "CorePointer" InputDevice"usbmouse" InputDevice"keyboard" "CoreKeyboard" EndSection Section "InputDevice" Identifier "touchpad" Driver "synaptics" Option "Device" "/dev/input/event1" Option "Protocol" "event" Option "SHMConfig" "On" Option "LeftEdge" "1400" Option "TopEdge" "1550" Option "RightEdge" "5900" Option "BottomEdge" "4350" Option "EdgeMotionUseAlways" "On" Option "EdgeMotionMinZ" "75" Option "EdgeMotionMaxZ" "90" Option "EdgeMotionMinSpeed" "50" Option "EdgeMotionMaxSpeed" "1000" Option "MinSpeed" "0.0" Option "MaxSpeed" "0.3" Option "AccelFactor" "0.3" Option "UpDownScrolling" "On" Option "LeftRightScrolling" "Off" Option "Buttons" "8" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" Identifier "usbmouse" Driver "mouse" Option "Protocol" "ExplorerPS/2" Option "Device" "/dev/input/mice" Option "Buttons" "8" Option "ZAxisMapping" "4 5" Option "SendCoreEvents" "On" EndSection The only tricky thing is that I have to make sure that my trackpad (a PS/2 mouse) gets setup by the kernel before the USB mouse. So I build PS/2 mouse support into my kernel, and load usbhid as a module. I also have hibernate reload the usbhid module when I do a suspend/stanby cycle. -Richard -- gentoo-user@gentoo.org mailing list
[gentoo-user] Dynamicly Loaded USB mouse under Xorg ?
Does anyone know of a way to have my USB Mouse dynamicly loaded under Xorg? Goal: Start X, do whatever - move to place more condusive to haveing an external mouse, as opposed to my track pad, Plug in the USB mouse, and Have it work without haveing to restart X. Problems: (As I see it) -Xorg only loads devices at startup. Hence new Pointers like my USBMouse aren't recognised. All my pointer work fine, just the way I want them to when I have every thing plugged in at Xorg startup. I cannot use /dev/input/mice, as that screws up the configs for the Mouse/Touchpad. Any Ideas anyone? -Lares -- Lares Moreau <[EMAIL PROTECTED]> | LRU: 400755 http://counter.li.org lares/irc.freenode.net | Gentoo x86 Arch Tester | ::0 Alberta, Canada Public Key: 0D46BB6E @ subkeys.pgp.net | Encrypted Mail Preferred Key fingerprint = 0CA3 E40D F897 7709 3628 C5D4 7D94 483E 0D46 BB6E signature.asc Description: This is a digitally signed message part