Subject: Re: Mouse loses control
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Sung N. Cho <sucho2@vt.edu>
List: netbsd-help
Date: 12/02/2002 03:23:11
On Sunday 01 December 2002 10:42 pm, Manuel Bouyer wrote:
> On Sat, Nov 30, 2002 at 10:35:59AM +0000, Sung N. Cho wrote:
> > Hello,
> >
> > I am having uncontrollable mouse behavior in NetBSD 1.6 Release.  I
> > have tried it on different window managers and all have same
> > problem so I'm thinking kernel is doing something in the
> > background.  The problem is whenever I drag a windows or resize
> > windows (programs, etc), mouse loses grip while dragging!  Also,
> > when I grab any windows, quite often, windows get full sized etc
> > even though I didn't double click my mouse. I am thinking something
> > is constantly interfering with the mouse process in the background.
> >  Any help/suggestions would be appreciated.
>
> What kind of mouse is it ? did you try another mouse ?


Hello,

It's a USB 3 button + wheel Kensington mouse.  It used to work fine with=20
previous release but now mouse behavior is uncontrollable.  Mouse=20
doesn't seem broken since it works fine in Windows98.

Here's my dmesg + XF86Config file:

-------DMESG-------
198: {1} dmesg
NetBSD 1.6_STABLE (MYKERNEL) #0: Sun Dec  1 09:47:00 UTC 2002
    root@198.82.153.80:/usr/src/sys/arch/i386/compile/MYKERNEL
cpu0: Intel Celeron (Mendocino) (686-class), 500.03 MHz
cpu0: I-cache 16 KB 32b/line 4-way, D-cache 16 KB 32b/line 2-way
cpu0: L2 cache 128 KB 32b/line 4-way
cpu0: features 183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 183f9ff<PGE,MCA,CMOV,FGPAT,PSE36,MMX>
cpu0: features 183f9ff<FXSR>
total memory =3D 383 MB
avail memory =3D 353 MB
using 4935 buffers containing 19740 KB of memory
BIOS32 rev. 0 found at 0xeb150
PCI BIOS rev. 2.1 found at 0xeb190
PCI IRQ Routing Table rev. 1.0 found at 0xfe840, size 160 bytes (8=20
entries)
PCI Interrupt Router at 000:07:0 (vendor 0x8086 product 0x122e)
pci_addr_fixup: 000:10:0 0x104c 0xac1c new address 0x18000000
pci_addr_fixup: 000:10:1 0x104c 0xac1c new address 0x18001000
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x8086 product 0x7190 (rev. 0x03)
agp0 at pchb0: aperture at 0xa0000000, size 0x4000000
ppb0 at pci0 dev 1 function 0: vendor 0x8086 product 0x7191 (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga0 at pci1 dev 0 function 0: vendor 0x1002 product 0x4c42 (rev. 0xdc)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
pcib0 at pci0 dev 7 function 0
pcib0: vendor 0x8086 product 0x7110 (rev. 0x02)
pciide0 at pci0 dev 7 function 1: Intel 82371AB IDE controller (PIIX4)=20
(rev. 0x01)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <HITACHI_DK239A-48>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 4645 MB, 10068 cyl, 15 head, 63 sec, 512 bytes/sect x 9514260=20
sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using=20
DMA data transfers)
pciide0: secondary channel wired to compatibility mode
atapibus0 at pciide0 channel 1: 2 targets
cd0 at atapibus0 drive 0: <CD-224E, , 1.5A> type 5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data=20
transfers)
uhci0 at pci0 dev 7 function 2: vendor 0x8086 product 0x7112 (rev. 0x01)
uhci0: interrupting at irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
vendor 0x8086 product 0x7113 (miscellaneous bridge, revision 0x02) at=20
pci0 dev 7 function 3 not configured
cbb0 at pci0 dev 10 function 0: vendor 0x104c product 0xac1c (rev. 0x01)
cbb1 at pci0 dev 10 function 1: vendor 0x104c product 0xac1c (rev. 0x01)
esm0 at pci0 dev 16 function 0: vendor 0x125d product 0x1978 (rev. 0x10)
esm0: interrupting at irq 5
esm0: SigmaTel STAC9721/23 codec; 18 bit DAC, 18 bit ADC, SigmaTel 3D
audio0 at esm0: full duplex, mmap, independent
isa0 at pcib0
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
cbb0: interrupting at irq 10
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0
pcmcia0 at cardslot0
cbb1: interrupting at irq 10
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 3 device 0
pcmcia1 at cardslot1
apm0 at mainbus0: Power Management spec V1.2
biomask ffdd netmask ffdd ttymask ffdf
ne0 at pcmcia0 function 0
ne0: D-Link DE-660 Ethernet
ne0: Ethernet address 00:80:c8:ba:50:30
uhidev0 at uhub0 port 1 configuration 1 interface 0
uhidev0: Kensington Kensington MIAB Optical, rev 1.00/1.20, addr 2,=20
iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse0 at ums0 mux 0
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
198: {2}

----------- XF86Config -----------
Section "ServerLayout"
=09Identifier     "XFree86 Configured"
=09Screen      0  "Screen0" 0 0
=09InputDevice    "Mouse0" "CorePointer"
=09InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
=09RgbPath      "/usr/X11R6/lib/X11/rgb"
=09ModulePath   "/usr/X11R6/lib/modules"
=09FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
#=09FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
=09FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
=09FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
=09FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
=09FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
=09Load  "dbe"
=09Load  "extmod"
=09Load  "glx"
=09Load  "record"
=09Load  "xtrap"
=09Load  "speedo"
=09Load  "type1"
=09Load  "freetype"
EndSection

Section "InputDevice"
=09Identifier  "Keyboard0"
=09Driver      "keyboard"
EndSection

Section "InputDevice"
=09Identifier  "Mouse0"
=09Driver      "mouse"
=09Option=09    "Protocol" "wsmouse"
=09Option=09    "Device" "/dev/wsmouse0"
        Option      "Buttons" "3"
        Option      "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
=09Identifier   "Monitor0"
=09VendorName   "Monitor Vendor"
=09ModelName    "Monitor Model"
        Option "dpms"
EndSection

Section "ServerFlags"
#        Option "off time" "60"
EndSection


Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "accel"              =09# [<bool>]
        #Option     "crt_screen"         =09# [<bool>]
        #Option     "composite_sync"     =09# [<bool>]
        #Option     "hw_cursor"          =09# [<bool>]
        #Option     "linear"             =09# [<bool>]
        #Option     "mmio_cache"         =09# [<bool>]
        #Option     "probe_clocks"       =09# [<bool>]
        #Option     "reference_clock"    =09# <freq>
        #Option     "shadow_fb"          =09# [<bool>]
        #Option     "sw_cursor"          =09# [<bool>]
=09Identifier  "Card0"
=09Driver      "ati"
=09VendorName  "ATI"
=09BoardName   "Mach64 LB"
=09ChipSet     "ati"
=09ChipId      0x4c42
=09ChipRev     0xdc
=09BusID       "PCI:1:0:0"
EndSection

Section "Screen"
=09Identifier "Screen0"
=09Device     "Card0"
=09Monitor    "Monitor0"
        DefaultDepth 16
#        SubSection "Display"
#=09=09Depth     1
#=09EndSubSection
#=09SubSection "Display"
#=09=09Depth     4
#=09EndSubSection
#=09SubSection "Display"
#=09=09Depth     8
#=09EndSubSection
#=09SubSection "Display"
#=09=09Depth     15
#=09EndSubSection
=09SubSection "Display"
=09=09Depth     16
=09EndSubSection
#=09SubSection "Display"
#=09=09Depth     24
#=09EndSubSection
EndSection

--------------

It seems now that I have to press my wheel to grab the windows.  Right=20
button sometimes grabs the windows and sometimes either makes the=20
windows full screen or close it.  I don't know why it's acting=20
randomly.  Also, when I try to resize the windows, mouse loses the grip=20
while dragging.  I tried it on both GENERIC kernel setting and my=20
custom setting.  Both yields the same result.  It really seem like=20
kernel is constantly doing something in the background.

Thank you.


Yours sincerely,
S. N. Cho,
Monday, Dec. 02, 2002.