From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <20140304181817.9A32DB827@mail.bitblocks.com> References: <199A32F6-9C38-45B8-B191-CAE2B1972408@orthanc.ca> <20140228162449.BB1BFB827@mail.bitblocks.com> <2ffa27d7c79801528556705f4cf55346@mikro.quanstro.net> <20140304181817.9A32DB827@mail.bitblocks.com> From: Ramakrishnan Muthukrishnan Date: Sat, 8 Mar 2014 20:26:08 +0530 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] Raspberry Pi: won't recognize the USB mouse Topicbox-Message-UUID: c560243e-ead8-11e9-9d60-3106f5b1d025 On Tue, Mar 4, 2014 at 11:48 PM, Bakul Shah wrote: > On Tue, 04 Mar 2014 11:26:31 EST erik quanstrom wrote: >> >> first, apply the patch to the source, then build all of usb >> >> 9fs sources >> cd /sys/src/cmd/usb/lib >> cp /n/sources/patch/usbshortdesc/dev.c dev.c >> cd .. >> mk install >> >> then, build a new kernel >> >> cd /sys/src/cmd/bcm; mk >> >> i believe you can give it a quick test by doing a hot reboot. >> >> fshalt -r ./9pi >> >> if you'd like to install the new kernel on the flash, then >> >> dossrv >> mount /srv/dos /n/9fat /dev/sdM0/dos >> cd /n/9fat >> cp 9pi 9pi-dist >> cp /sys/src/9/bcm/9pi 9pi-usbfix >> cp 9pi-usbfix 9pi >> >> and reboot. if this doesn't work out, you can rescue yourself >> by using anything that understands fat and replacing 9pi >> with the contents of 9pi-dist. > > IIRC Ramakrishnan doesn't have a working 9pi system. > > I put 9pi with this patch in contrib/bakul on sources. It was > cross-built on a 386 VM with a pull done this morning + the > above patch. I had to rebuild the host 5c due to rune related > errors so I am not 100% certain this will work (I probably > should've done a full rebuild of the host binaries too). > > He should be able to mount the dos partition on another > machine and replace 9pi on it. Thanks, I downloaded the 9pi file (~2MB, MD5 - 4e4e18980d8ac91b0e8ed5aa820dc429) from contrib/bakul directory. I could boot the R-Pi with this kernel and get the kb and mouse working fine! Thanks a lot to everyone! One of the mice I had (a very cheap, small mouse) didn't work though. Nevertheless, I am very happy that it is all working now and have something to play with. A big thanks again. -- Ramakrishnan