Non-functioning mice


5 posts
by ronaldcole » Fri Jan 11, 2013 10:47 am
Add me to the list of users with non-functioning mice under Plan 9.

I'm running the 12/19/2012 image and I've edited my cmdline.txt file to remove the parameter 'user=glenda' and add the parameter 'kbargs=-d'. For both mice, the last line printed is:

usb/kb... usb/kb... user[none]:

If I don't plug a mouse in at all, the second 'usb/kb...' is not printed.

My mice?

* Microsoft IntelliMouse Explorer 4.0 USB/PS2 Compatible Model: 1004 P/N: X800495 - 109
* Microsoft Comfort Mouse 6000 for Business P/N: X822067 - 002
Posts: 11
Joined: Fri Jan 11, 2013 10:25 am
by ronaldcole » Fri Jan 11, 2013 4:56 pm
I updated my image following the instructions here:
<http://www.plan9.bell-labs.com/wiki/plan9/Updating_an_ARM_system/index.html>

and noticed the following message at the top of the screen:

Console output (/dev/kprint):
usbotg: ep5.1 error intr 00000082
kb: /dev/usb/ep5.1: read: i/o error
kb: exiting
usb/kb...

an 'fshalt -r' and still no mouse.
Posts: 11
Joined: Fri Jan 11, 2013 10:25 am
by ronaldcole » Mon Jan 14, 2013 3:06 am
Working with 9pi, he fixed the mouse driver to work with my Comfort Mouse 6000. Now to get serious with some Plan 9! Next up, my Intellimouse.
Posts: 11
Joined: Fri Jan 11, 2013 10:25 am
by omicrondelta » Fri Jan 25, 2013 9:10 pm
You can add the el-cheapo Onn Optical Mouse from Wal-Mart to the list of non-working mice on Plan9. It works fine with Linux and RISC OS, though.
Posts: 2
Joined: Wed Oct 17, 2012 2:54 pm
by 9pi » Wed Jan 30, 2013 10:10 am
omicrondelta wrote:You can add the el-cheapo Onn Optical Mouse from Wal-Mart to the list of non-working mice on Plan9.

There's actually no "list" - in almost every case when someone reports a mouse problem, I have worked with them to diagnose it, and if necessary updated the Plan 9 usb mouse driver so that model of mouse will now work. The remaining exception I'm aware of is "Joe Schmoe" who so far hasn't responded with any debugging output.

The first thing to try is installing the most up to date kernel (9pi in the same directory where you got the img.gz file) to your boot partition, and booting that. The next thing to try is adding the option "kbargs=-b" to the command line in cmdline.txt (with the updated kernel). If your mouse still won't work, we need some debugging output to diagnose why not. You can get that by editing cmdline.txt to remove the option "user=glenda" (to prevent starting up the demo desktop) and changing "kbargs=-b" to "kbargs=-d".
Posts: 31
Joined: Sat Aug 11, 2012 6:14 pm