From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from duke.felloff.net ([216.126.196.34]) by ur; Fri Sep 30 02:41:22 EDT 2016 Message-ID: <00a9d62e89edb3b24e4c3decfb184298@felloff.net> Date: Fri, 30 Sep 2016 08:41:16 +0200 From: cinap_lenrek@felloff.net To: 9front@9front.org Subject: Re: [9front] Middle button on usb mice In-Reply-To: <20160930034741.GA2201@speakerbox> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: abstract ISO-certified content-driven-oriented reduce/map database > Thanks for giving it a shot. It compiles cleanly but did not fix the > issue and when running nusb/kb -ddd N I had the same output as before. are you really sure? you should see: hidparse: t=8 f=2 usage=90001 v=0 hidparse: t=8 f=2 usage=90002 v=0 hidparse: t=8 f=2 usage=90003 v=0 hidparse: t=8 f=2 usage=0 v=0 hidparse: t=8 f=2 usage=0 v=0 hidparse: t=8 f=2 usage=0 v=0 hidparse: t=8 f=2 usage=0 v=0 hidparse: t=8 f=2 usage=0 v=0 ... (notice, usage=90003 should appear only once per report and usage=0 should appear 5 times after the usage=90003 line) have you run this manually? because to make this effective for hotplug you'll have to update both /bin/nusb/kb and build a new kernel as the *effective* command is included in (and run from) the kernel image (so you have keyboard's and mouse work before a root filesystem can be mounted). to build new kernel, run mk install in /sys/src/9/pc and then copy the 9pcf file to 9fat. (9fs 9fat; cp 9pcf /n/9fat) > If there's any more information I can share that'll help, let me know. yes, print the first byte from the packet please. like in readerproc() fprint(2, "p0 = %x\n", p.p[0]); > -- > lemon -- cinap