USB linux Part 2
Hello Fellas, We have succeeded in making the kernel and detecting devices that we will use, then we make an interface so that the program that we make can interact with the kernel and from the kernel can be sent to the hardware. if we inspect the code we will find some code copy_to_user (buffer, dev -> bulk_in_buffer + dev -> bulk_in_copied , chunk) Thats will show you how the kernel will send the data to user with copy_to_user function. Maybe before we jump into kernel userspace we need to read the documentation about user space using linux you can read here .