connecting and disconnect a usb mouse

Peter L. Peres plp-ysDPMY98cNQDDBjDh4tngg at public.gmane.org
Thu Oct 21 14:25:20 UTC 2004


On Thu, 21 Oct 2004, Lennart Sorensen wrote:

> On Wed, Oct 20, 2004 at 06:32:27PM -0400, Chris Gow wrote:
>> On October 20, 2004 06:39 am, Peter L. Peres wrote:
>>>
>>> You can use 2 or more mice together. Edit the XF86Config file
>>> (/etc/X11/XF86Config-4 or similar). Make the section shown below resemble
>>> what I paste here:
>>>
>>> Section "ServerLayout"
>>>          Identifier     "XFree86 Configured"
>>>          Screen      0  "Screen0" 0 0
>>>          InputDevice    "Keyboard0" "CoreKeyboard"
>>>          InputDevice    "USB Mouse" "CorePointer"
>>>          InputDevice    "PS/2 Mouse" "CorePointer"
>>> EndSection
>>>
>>> The touchpad will not be disabled, you can use both (yes, this is
>>> confusing). The /etc/X11/XF86Config-4 will be rewritten after each config
>>> run so keep a backup copy after you make everything work. Yast will
>>> typically refuse to modify files that you have changed so you may have to
>>> revert to the old version to make yast work on it again.
>>
>> I modified my XF86Config file as described above. But it doesn't work
>> :( Either the touchpad is active or the USB mouse is active but neither at the
>> same time. I generally try to stay away from XF86Config (too many bad
>> memories trying to get a config to work a few years back). But I noticed that
>> when I run Yast, no matter what mouse type I select, Yast always seems to
>> specify /dev/mouse as the device. On a lark I tried setting both of them to
>> the same device but that (as I expected) didn't work.  Below is a snippit of
>> the relevant parts of my config file as it stands. I got the results from
>> running Yast, changing the mouse backing up the config file, running Yast
>> again and adding in the new section and hitting CTRL-ALT-BACKSPACE at KDM.
>
> Both mice should NOT be CorePointer.  The PS/2 mouse should be core
> pointer, and the USB should be set to 'AlwaysCore' or 'SendCoreEvents'
> (both mean the same thing).
>
> You can only have one CorePointer, but as many additional other devices
> as you want.

That's right. That's the way it's set up here (only one device operates at 
any one time).

Peter
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list