Menu

#26 PS/2 mouse issue

release 0.0.4
open-postponed
ps2mouse (1)
5
2005-06-04
2005-06-01
Salvo Isaja
No

Reported by Nils Labugt:

Tested floppy + ata on 486 laptop:

[...]
Fat driver installed
Processing module #6 going to exec ELF...
Setting PS/2 mouse handler ...
[PSMOUSE] Unknown code FE
_

Inserting mouse and 3 more lines appears:
[PSMOUSE] Unknown code FF
[PSMOUSE] Unknown code AA
[PSMOUSE] Unknown code 0
_

Floppy only: same result.

The above was booting without mouse connected. When I
boot with mouse connected I do not see this problem.

More results (Pentium MMX desktop this time):

Same mouse problem as above, except no line starting
with [PSMOUSE].

Discussion

  • Salvo Isaja

    Salvo Isaja - 2005-06-01

    Logged In: YES
    user_id=98086

    If the issue was also present in 0.0.4, please change the
    group to "release 0.0.4". The idea is to isolate bugs
    introduced with 0.0.5.

     
  • Hanzac Chen

    Hanzac Chen - 2005-06-02
    • milestone: 498283 --> release 0.0.4
     
  • Hanzac Chen

    Hanzac Chen - 2005-06-02

    Logged In: YES
    user_id=560164

    I've committed a fix of this issue, which is to detect if
    there's a PS/2 mouse attached.

    See if it works ...

     
  • Nils Labugt

    Nils Labugt - 2005-06-03

    Logged In: YES
    user_id=1213427

    It boots without mouse, but instead of a "[PSMOUSE] Could
    not find a PS/2 mouse!" as I expexted, I get several
    "[PSMOUSE] Initialization failed!" sprinkled down the
    screen. (Mingled with initializion messages form the other
    modules. I don't know how you do that.) I don't know if this
    is important.

     
  • Hanzac Chen

    Hanzac Chen - 2005-06-03

    Logged In: YES
    user_id=560164

    This is strange ... seems that PSMOUSE_CMD_GETID not failed
    if there's no mouse attached. (BTW: that's triggered by
    interrupts.)

    I'll change the check a bit, see if that helps, also hope it
    works :-)

     
  • Hanzac Chen

    Hanzac Chen - 2005-06-03

    Logged In: YES
    user_id=560164

    ... It's not that simple.
    I plan to re-write the ps/2 mouse driver in July. Let's have
    this flawed mouse driver temporarily.

     
  • Salvo Isaja

    Salvo Isaja - 2005-06-04
    • status: open --> open-postponed
     

Log in to post a comment.