From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <6c58a0f8aa5abd3a58bb43dc7e7f4974@hamnavoe.com> To: 9fans@9fans.net From: Richard Miller <9fans@hamnavoe.com> Date: Fri, 7 Dec 2012 10:35:11 +0000 In-Reply-To: <001d7dcc-9651-446a-b435-5b07a5bfe0b5@googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Logitech m310 mouse issues Topicbox-Message-UUID: f132b23a-ead7-11e9-9d60-3106f5b1d025 > 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?