shithub: riscv

Download patch

ref: 67e14807e960d99d34ba1fc28fb3d2d656830249
parent: a13ba7741f35528ea4b8764652101321f089a514
author: mischief <[email protected]>
date: Wed Oct 10 09:49:03 EDT 2018

nusbrc: prevent nusb/kb from attaching to sony ps3 controller

--- a/sys/src/9/boot/nusbrc
+++ b/sys/src/9/boot/nusbrc
@@ -25,6 +25,8 @@
 			nusb/ether -t url $etherargs $id
 		case 18d14ee3 0bb40003 10046344
 			nusb/ether -t rndis $etherargs $id
+		# prevent attachment to nusb/kb for:
+		case 054c0268 # sony dualshock 3 (ps3) controller
 		case *
 			switch($4){
 			case *03