The new kernel is here : http://plan9.bell-labs.com/sources/contrib/miller/9pifaisyl wrote:Where can I find the new kernel ?
Some of the usb drivers (kb, ether and disk for example) are embedded in the usb daemon usb/usbd, which is itself embedded in the kernel, so that these devices can be available at boot time. So if you want to change the kernel version of the usb/kb driver, it takes three steps:faisyl wrote: I tried to fix the source in /sys/src/cmd/usb/kb but the kernel seems to refer to some other code, since a recompile and a new message I added doesn't show up when I reboot with the new kernel. Anything I'm missing ?
Code: Select all
cd /sys/src/cmd/usb/kb && mk install cd /sys/src/cmd/usb/usbd && mk install cd /sys/src/9/bcm && mk
No, that won't break anything. The buffer should probably be allocated dynamically with the exact size of maxpkt, but your solution is simpler. I'll change it in the distributed system. Thank you!faisyl wrote:I reverted all changes to stock from contrib and simply changed MaxChLen from 16 to 64 (in hid.h). Do you think something else might break because of that ?