Re: USB mouse detection problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Mike A. Harris" <mharris@xxxxxxxxxx>

>On Tue, 14 Oct 2003, DAVID BALAZIC wrote:
>
>>I just booted Shrike and my USB mouse does not work.
>>(not on console, not in X11)
>>The mouse works if I kill gpm and run it like :
>>gpm -t imps2 -m /dev/input/mice
>>
>>It seems kudzu is not detecting it correctly ( I had
>>some serial and PS/2 mice configured on the previous boot )
>>
>>Here is some data:
>>
>>Mouse : HP ( Logitech really ) 3 button USB mouse,
>>        model : M-UD43
>
>Some datapoints:
>
>- Serial mice aren't/can't be detected well.
>- Serial mice are getting rather ancient and becoming borderline 
>  unsupported, or rather "works as is" so to speak
>- USB mice are becoming the norm
>- XFree86 is not hotplug aware and does not autodetect or 
>  autoconfigure mice, thus requiring an external tool to ensure 
>  the config file is set correctly.
>
>Many laptop users have one or more pointing devices built in, as 
>well as the option to use an external pointing device, either 
>serial, PS/2, or USB (or other).  Since there was a growing 
>desire to have USB pointing devices "just work" better than the 
>status quo, our config tools now always configure a USB mouse as 
>the secondary pointing device even if you don't have one.  This 
>is harmless under normal circumstances.
>
>If you install the OS, with a PS/2 device plugged in, you will 
>get a PS/2 mouse as your primary "core pointer" in XFree86.  You 
>will also get a USB mouse configured secondary with 
>"SendCoreEvents".  This device need not be plugged in or even 
>exist, however if one is plugged in prior to X starting, it will 
>work.  If plugged in after X has started, it will not work as 
>XFree86 does not support hotplug pointing devices yet.
>
>You removed serial and/or USB pointing devices, leaving your 
>configuration with an odd state.  While I agree that the optimal 
>situation in all cases with computers is for the operating system 
>software to just plain autodetect everything in all cases under 
>all circumstances, and "just work", the underlying problem at 
>hand here is that XFree86 simply does not have the functionality 
>that is required to "just do that" without any user intervention 
>at all.  XFree86 4.4.0 has some enhancements which might help 
>here, but that is a way off yet.
>
>So...
>
>When you change your mouse from what was plugged in during 
>installation, or change the connection type (serial, PS/2, USB), 
>you very much do need to reconfigure your pointing devices by 
>running redhat-config-mouse, or by editing the configuration 
>file.
>
>While this may be an inconvenience to some users, this is the 
>bottom of the line state of mouse support in Linux operating 
>systems currently, and in XFree86.
>
>The downside of this, is that Windows users requiring
>autoconfiguration and autodetection of all hardware 100% of the
>time with zero intervention, should probably stick using Windows
>for another year or two or three...  or perhaps 6 months if we're 
>lucky.  2.6.0 + 4.4.0 might give us what we need.
>
>Hope this helps.

A bit, but it does not explain why kudzu does not detect
the presence of the USB mouse and configure at least gpm
to use it.

I fixed XFree86 by adding a line into /etc/X11/XF86Config :

Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "DevInputMice" "AlwaysCore" # I added this
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Then I killed X by ctrl-alt-BS and when it restarted ( runlevel is 5 )
the mouse worked.

I'll think about this and then maybe report a bug against kudzu.

Regards,
-- 
David Balazic
E-mail   : david.balazic@xxxxxxxxx   |     living in  sLOVEnija
home page: http://surf.to/stein
--


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux