Re: Console ps2 mouse behavior control (was : Re: test)

From: Laurent Demaret (laurent.demaret_at_free.fr)
Date: 11/30/03

  • Next message: Laurent Demaret: "Re: Console ps2 mouse behavior control (was : Re: test)"
    Date: Sun, 30 Nov 2003 18:58:44 +0100
    To: freebsd-newbies@freebsd.org
    
    

    Hello,

    >> Well hi firstly make sure /etc/rc.conf does set
    >> Emulate3Buttons=yes...YOu didnt specify what mouse you have...
    > ^^^^^^^^^^^^
    > So how do you know ?
    It is a ps2 mouse 5 buttons with its clicking wheel

    >
    >> Auto
    >> works fine mos t of the time.
    It does not for me, specially in console mode : when running sysinstall
    test mouse configuration any move of the mouse close and open several
    times that dialogue same way if I taped enter on the keyboard. Wich
    should not be as the others (non auto) protocols do not act that way.
    I verified mouse cable connection wich could give also such a behavior
    but it did not change anything.

    >> If you wan mouse wheel add this to
    >> XF86Config
    >>
    >> Identifier "Mouse1"
    >> Driver "mouse"
    >> Option "Protocol" "Auto"
    >> Option "Device" "/dev/sysmouse"
    >> Option "ZAxisMapping" "4 5"
    >> Option Emulate3Buttons "no"
    >>
    Excepted I leaved Mouse0 that's exactly my /etc/X11/XF86Config file.

    And what I am looking for is a correct behavior of the mouse even in
    console mode (before starting XFree).

    >
    > it# cat /etc/rc.conf | grep moused
    > moused_enable="YES"
    > moused_flags="-z 4"
    > moused_type="auto"

    cat/etc/XF86Config | grep moused
    moused_enable="YES"
    moused_port="/dev/psm0"
    moused_type="ps/2"
    moused_port="/dev/psm0"
    mousedd_type="mousesystems"
    moused_enable="YES"
    moused_type="NO"
    moused_enable="NO"
    moused_port="/dev/psm0"
    mousedd_type="mousesystems"
    moused_enable="YES"
    moused_flags=""
    moused_port="/dev/psm0"
    mousedd_type="intellimouse"
    moused_enable="YES"

    I presume the last three lines are the executed ones ?
    And sure I need to clean that file.

    >
    > and
    >
    > it# cat /etc/X11/XF86Config | grep -A4 Mouse
    > Identifier "Mouse1"
    > Driver "mouse"
    > Option "Protocol" "Auto"
    > Option "Device" "/dev/sysmouse"
    > Option "Buttons" "5"

    cat /etc/X11/XF86Config | grep mouse
    Driver "mouse"
    Option "Device" "/dev/sysmouse"

    That's all I get, using ee I can tell you

    ee /etc/X11/XF86Config
         Identifier "Mouse0"
         Driver "mouse"
         Option "Protocol" "MouseSystems"
         Option "Device" "/dev/sysmouse"
         Option "Buttons" "5"

    But the bad behavior is not only in XServer but in console mode.

    > it# dmesg | grep psm
    > psm0: <PS/2 Mouse> irq 12 on atkbdc0
    > psm0: model IntelliMouse, device ID 3

    dmesg | grep psm
    psm0: <PS/2 Mouse> irq 12 on atkbdc0
    psm0: model 4D+ Mouse, device ID 8

    > Note: this should go on questions@, please follow up there.
    Well what is a newbie then ?
    I would be afraid to do such bad things than no 72 caracters lines ;-/
    or even worst (I'm able for worst)

    tia

    Laurent Demaret

    -- 
    laurent.demaret@freeNoSpam.fr
    _______________________________________________
    freebsd-newbies@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
    To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"
    

  • Next message: Laurent Demaret: "Re: Console ps2 mouse behavior control (was : Re: test)"
  • Quantcast