diff --git a/Task11/task11.txt b/Task11/task11.txt new file mode 100644 index 0000000..67f3049 --- /dev/null +++ b/Task11/task11.txt @@ -0,0 +1,32 @@ +This is Task 11 of the Eudyptula Challenge +------------------------------------------ + +You made a successful patch to the kernel source tree, that's a great +step! + +But, let's not rest, time to get back to code. + +Remember that mess of kobject and sysfs code back in task 09? Let's +move one level up the tree and start to mess with devices and not raw +kobjects. + +For this task: + - Write a patch against any driver that you are currently using on + your machine. So first you have to figure out which drivers you are + using, and where the source code in the kernel tree is for that + driver. + - In that driver, add a sysfs file to show up in the /sys/devices/ + tree for the device that is called "id". As you might expect, this + file follows the same rules as task 09 as for what you can read and + write to it. + - The file is to show up only for devices that are controlled by a + single driver, not for all devices of a single type (like all USB + devices. But all USB mailbox LEDs would be acceptable, if you + happen to have the device that that driver controls.) + +Submit both the patch, in proper kernel commit form, and "proof" of it +working properly on your machine. + +And as always, please use your id in the subject line. If you happened +to forget it, as it has been a while since I reminded you of it, it is +"[redacted]".