9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: cinap_lenrek@felloff.net
To: g_patrickb@yahoo.com, 9fans@9fans.net
Subject: Re: [9fans] USB mouse not working
Date: Fri,  5 May 2017 15:29:15 +0200	[thread overview]
Message-ID: <9BFEA7CD567861F66ADA4F819EA9687A@felloff.net> (raw)
In-Reply-To: 1200785761.3734426.1493988538939@mail.yahoo.com

hard to say.

i'd start by making sure the usb controller works. the most
common issue is that interrupts do not work due to broken mp
tables.

9front uses acpic interrupts by default, which can result
in usb not working when bios mp tables are broken. the work
arround for that is to specify *acpi= on boot which uses
acpi tables instead. alternatively disable apic interrupts
and switch to legacy PIC interrupt model with *nomp=1,
(this used to be the default of the plan9 from bell labs
live cd).

second is that 9front uses different mouse usb mouse/keyboard
driver that sets the mouse in non-compat mode and tries to parse
the report data according to the hid descriptor.

source: /sys/src/cmd/nusb/kb.c

to debug that, run: ps -a | grep kb to get the nusb/kb processes
program arguments (contains the usb address they are attached to)
and then kill the process. then start another instance of nusb/kb,
passing in the original usb address and the -d flag.

good luck.

--
cinap



             reply	other threads:[~2017-05-05 13:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-05 13:29 cinap_lenrek [this message]
     [not found] <1200785761.3734426.1493988538939.ref@mail.yahoo.com>
2017-05-05 12:48 ` G B
  -- strict thread matches above, loose matches on Subject: below --
2012-01-04 17:21 [9fans] usb " erik quanstrom
2012-01-04 21:01 ` erik quanstrom

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=9BFEA7CD567861F66ADA4F819EA9687A@felloff.net \
    --to=cinap_lenrek@felloff.net \
    --cc=9fans@9fans.net \
    --cc=g_patrickb@yahoo.com \
    /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).