9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Francisco J Ballesteros <nemo@lsub.org>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] About usb mouse wheel
Date: Fri, 26 Feb 2010 10:00:19 +0100	[thread overview]
Message-ID: <8ccc8ba41002260100g7f316346l6c8844baa35fefa2@mail.gmail.com> (raw)
In-Reply-To: <4B8775BD.5010507@tecmav.com>

This requires changing ptrwork() in kb.c

The wheel works for some mice I have, and is
reported by |0x80 or |0x10 in said function.

It might be your mice reports the wheel in some
other way.

You might just add a print to see what bytes your
mouse sends. (bytes given by robustread to ptrwork()).

Shouldn't be hard to fix.

On Fri, Feb 26, 2010 at 8:18 AM, Adriano Verardo <a.verardo@tecmav.com> wrote:
> Hi, all.
>
> The wheel of all USB mice I purchased in the last year is not managed by
> Plan9. All of them work
> perfectly with FreeBSD and Windows. No problem with Plan9 using the PS/2
> interface + adaptor,
> but notebooks have only USB ports.
>
> The products on the (italian) marketplace change frequently. To try
> different models/brands is not a
> solution.
>
> Is this problem solvable configuring usb and/or mouse or I have to
> patch the "kb" code  ?
>
> Thanks in advance.
>
> adriano
>
>
>
>
>



      reply	other threads:[~2010-02-26  9:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-26  7:18 Adriano Verardo
2010-02-26  9:00 ` Francisco J Ballesteros [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8ccc8ba41002260100g7f316346l6c8844baa35fefa2@mail.gmail.com \
    --to=nemo@lsub.org \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).