-
julius_01Hey, I'm new to illumos. Which components of the kernel still contain components from the Sun era?
-
MelMalikMost of them?
-
toastersonThere was never a need for rewrite, but all of them are Open Source. Closed components have their dedicated repo and can be used if whished but no need to.
-
julius_01I understand. And if for example a developer develops a device driver for use with illumos then the CDDL is used?
-
toastersonNo, the repo is under CDDL but it's a copy left license same as the MPL v2 and out of tree drivers are possible
-
julius_01Thanks. I cloned the repo of illumos and it's my first time reading the source code of an OS
-
toastersonIt's a good code. Has some nice frameworks to write drivers in
-
julius_01I occassionally programmed in C, but what I've seen in the source looks very different from I have done
-
julius_01*what I have programmed
-
julius_01I'm interested in writing drivers, but that's still a long way. And right now I am not sure how to start such a project. I just imagine that a person capable of writing device drivers gets a new computer, checks its components with a device driver utility (for example on OI) and then sees that a specific device (e.g. a mouse) is not yet supported. And if there is enough documentation about that device and the developer is experienced, h
-
julius_01e would start such a project?
-
toasterson
-
toastersonThis has all the getting started guides
-
rmustaccjulius_01: My suggestion is to get used to the build, development, and test cycle with some small change that's not a brand new driver first.
-
julius_01perfect, thanks
-
rmustaccWDD does have a bit of background, but for a new driver the first questions are going to be things related to the device interface. What protocol does it speak, how do I communicate with it, is there documentation for it, etc.
-
julius_01ok, I'm going to study the details. Luckily I have an old serial mouse and a floppy disk drive; I know that there are drivers out there, but writing my own drivers for those two devices is on my to-do list and then trying it on an illumos-based os would be perfect
-
rmustaccIf you have questions, don't hesitate to reach out in the channel.
-
julius_01Thanks, I'll ask if something is not clear