9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Richard Miller <9fans@hamnavoe.com>
To: 9fans@9fans.net
Subject: Re: [9fans] Logitech m310 mouse issues
Date: Fri,  7 Dec 2012 10:35:11 +0000	[thread overview]
Message-ID: <6c58a0f8aa5abd3a58bb43dc7e7f4974@hamnavoe.com> (raw)
In-Reply-To: <001d7dcc-9651-446a-b435-5b07a5bfe0b5@googlegroups.com>

> well i tried plan 9 today on my raspberry pi and my mouse cursor
> wont move.

You can get some debugging information from the mouse driver which
might help diagnose what's going on.  Please try this:

1. Edit cmdline.txt on the SD card DOS partition, to remove the
parameter 'user=glenda' and add a parameter 'kbargs=-k'.  This
will prevent the mouse driver auto-loading at boot time, and
prevent the auto-login to glenda's rio desktop.

2. When you reboot you'll be prompted for boot parameters.  Reply
'local' to the "root is from" prompt, and any username you like
(except glenda) to the "user" prompt.

3. The Pi should boot to a text screen.  Execute the command
	usb/kb -md
to load the usb mouse driver with debugging.  Don't touch the
mouse yet!

4. You should see some information about the mouse's configuration.
On my ancient wired Logitech mouse I get this:

setting first config
report descriptor:
	0x05 0x01 0x09 0x02 0xa1 0x01 0x09 0x01
	0xa1 0x00 0x05 0x09 0x19 0x01 0x29 0x03
	0x15 0x00 0x25 0x01 0x95 0x03 0x75 0x01
	0x81 0x02 0x95 0x01 0x75 0x05 0x81 0x03
	0x05 0x01 0x09 0x30 0x09 0x31 0x09 0x38
	0x15 0x81 0x25 0x7f 0x75 0x08 0x95 0x03
	0x81 0x06 0xc0 0xc0
	count 0x3 nbits 1
		kind 0x1 v 0x0
		kind 0x1 v 0x0
		kind 0x1 v 0x0

	count 0x1 nbits 5
		kind 0x0 v 0x0

	count 0x3 nbits 8
		kind 0x2 v 0x0
		kind 0x3 v 0x0
		kind 0x4 v 0x0

The "kind 0x2" and "kind 0x3" are the magic numbers which enable the
driver to find the X and Y mouse movement values.  Do you get these in
your report?

5. Now wiggle the mouse a bit.  Do you get any reports of mouse
information on the screen, with "kind 0x2" and "kind 0x3" values?




  reply	other threads:[~2012-12-07 10:35 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-07  9:38 atvdude01
2012-12-07 10:35 ` Richard Miller [this message]
2013-03-01 10:33   ` Boo
2013-03-01 10:51     ` Richard Miller
2013-03-04 10:11       ` Boo
2013-03-04 11:47         ` Richard Miller
2012-12-07 12:37 ` Richard Miller
2012-12-07 12:53   ` Gorka Guardiola
2012-12-07 13:32     ` Richard Miller
2012-12-14 10:21     ` Richard Miller
2012-12-07 16:07   ` [9fans] Logitech m310 mouse issues & SSH va3yh
2012-12-07 16:18     ` Bence Fábián
2012-12-10  9:37   ` [9fans] Logitech m310 mouse issues Thomas Cenova
2012-12-10  9:37   ` Chris Sexton
2012-12-10 11:34     ` Richard Miller

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=6c58a0f8aa5abd3a58bb43dc7e7f4974@hamnavoe.com \
    --to=9fans@hamnavoe.com \
    --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).