[arachne] Re: ArachneLinux 1.66 1.93 mouse

Arachne at FreeLists---The Arachne Fan Club!

Glenn McCorkle wrote:

Arachne at FreeLists---The Arachne Fan Club!

On Sun, 17 Aug 2008 17:35:14 +0200, "A.P.Wegelin" <a.wegelin@xxxxxxxx> wrote:

I'm having mouse trouble using Arachne for
Linux (svgalib), in 1.66b as well as in 1.93.
This is what happens: Arachne starts; I move
the mouse around with no problems for about
half a minute; then suddenly the mouse cursor
stops moving. At the same time a message
'Can't create mouse thread' appears at the
command line level. Not just the mouse slows
down (eventually it moves a little bit); the
response to my keyboard is slow as well. I'm
forced to shut down arachne and start again.
Looking at the sources, I found that this
message originates from the linglue.c
program.
Does anybody out here know why this happens?

Cheers,

Arend Wegelin (Arachne fan as of july 2008).

Your problem is in the mouse settings in /etc/vga/libvga.config

Try these settings which work for my PS/2 wheel-mouse

# Mouse type:

# mouse Microsoft       # Microsoft
# mouse MouseSystems    # Mouse Systems
# mouse MMSeries        # Logitech MM Series
# mouse Logitech # Logitech protocol (old, newer mice use Microsoft protocol)
# mouse Busmouse        # Bus mouse

mouse PS2               # PS/2 mouse

# mouse MouseMan        # Logitech MouseMan
# mouse Spaceball       # Spacetec Spaceball
# mouse IntelliMouse    # Microsoft IntelliMouse or Logitech MouseMan+ on 
serial port
# mouse IMPS2           # Microsoft IntelliMouse or Logitech MouseMan+ on PS/2 
port
# mouse pnp             # plug'n'pray
# mouse WacomGraphire   # Wacom Graphire tablet/mouse
# mouse DRMOUSE4DS      # Digital Research double-wheeled mouse
# mouse ExplorerPS2     # Microsoft Intellimouse Explorer PS/2
# mouse none            # None

#mouse unconfigured

# (DEBIAN NOTE: the mouse used to default to microsoft, but this was changed
#  to fix bug #13458. If your mouse used to work fine, you can simply change
#  it back to read "microsoft" again. If you are careful to change *only that
#  one word*, and not to add or remove extra whitespace, the package
#  installation will continue to update this file without requiring user
#  intervention because of a modified config file.
#  This applies to all mouse types, not just microsoft.)

# Mouse/keyboard customisation by 101 (Attila Lendvai). If you have any good
# ideas you can reach me at 101@xxxxxxxxxxxxxxxxxxx

# mouse_accel_type      normal  # No acceleration while delta is less then
                               # threshold but delta is multiplied by
                               # mouse_accel_mult if more. Originally done by
                               # Mike Chapman mike@xxxxxxxxxxxx

mouse_accel_type       power   # The acceleration factor is a power function
                               # of delta until it reaches m_accel_mult. It
                               # starts from the coordinate
                               # [1, 1 + m_accel_offset] and goes to
                               # [m_accel_thresh, m_accel_mult]. If delta
                               # is bigger then m_accel_thresh it is a plain
                               # constant (m_accel_mult). It is the f(delta)
                               # function with which the delta itself will be
                               # multiplied. m_accel_offset is 1 by default,
                               # so for delta = 1 the accelerated delta will
                               # remain 1 (You don't lose resolution). The
                               # starting point of the f(delta) function
                               # might be moved along the Y axis up/down with
                               # m_accel_offset thus defining the initial
                               # minimum acceleration (for delta = 1).
                               # Basically it's like the normal mode but the
                               # acceleration factor grows as you move your
                               # mouse faster and faster, not just turns in
                               # and out. Threshold is the point from where
                               # the f(delta) function gets linear.
                               # This is the one I use for *uaking... =)

#mouse_accel_type       off     # No comment...

mouse_accel_mult        60      # This is the number with which delta will
                               # be multiplied. Basically it's the number
                               # that defines how big the acceleration will
                               # be

mouse_accel_thresh      4       # This is the threshold. See description by
                               # power

mouse_accel_power       0.8     # This is the second parameter of the power
                               # function used in power mode. Used only by
                               # the power mode

mouse_accel_offset      30      # This is the offset of the starting point
                               # on the Y axis. With this you can define the
                               # number that will multiply delta = 1 so it's
                               # the initial acceleration.

mouse_accel_maxdelta  600       # This is an upper limit for delta after
                               # the acceleration was applied

mouse_maxdelta        30        # This is an upper limit for the delta
                               # before the acceleration. With this one you
                               # can limit the biggest valid delta that
                               # comes from the mouse.

# mouse_force                   # Force parameters even if they seem strange
                               # By default svgalib prints an error if any
                               # of the numbers are somehow out of the
                               # reasonable limit, (Like a negative mult :)
                               # and uses the default that's in vgamouse.h
__________________________________________________________________________________________

--
Glenn
http://www.delorie.com/listserv/mime/
http://www.delorie.com/djgpp/doc/msdog.html
http://www.glennmcc.org/
http://www.law.cornell.edu/constitution/constitution.table.html
Arachne at FreeLists -- Arachne, The Premier GPL Web Browser/Suite for DOS --


Thanks Glenn, but the mouse setting is already PS2 as it should be. Apart from that I checked the mouse setting by running the mousetest program that came with the svgalib demos. Another thing I tried is altering the MouseScale in arachne.config, but that didn't help either. Tried to compile the sources on my own computer, too, but that caused even more trouble and the original error didn't disappear ("Can't create mouse thread").

Thanks again, Arend
Arachne at FreeLists -- Arachne, The Premier GPL Web Browser/Suite for DOS --

Other related posts: