From mboxrd@z Thu Jan 1 00:00:00 1970 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> In-reply-to: Your message of "Tue, 04 Mar 2014 11:26:31 EST." <2ffa27d7c79801528556705f4cf55346@mikro.quanstro.net> References: <199A32F6-9C38-45B8-B191-CAE2B1972408@orthanc.ca> <20140228162449.BB1BFB827@mail.bitblocks.com> <2ffa27d7c79801528556705f4cf55346@mikro.quanstro.net> Date: Tue, 4 Mar 2014 10:18:17 -0800 From: Bakul Shah Message-Id: <20140304181817.9A32DB827@mail.bitblocks.com> Subject: Re: [9fans] Raspberry Pi: won't recognize the USB mouse Topicbox-Message-UUID: c463b3b6-ead8-11e9-9d60-3106f5b1d025 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.