Question about BSD device drivers reddit / BSD ---------------------------------------------------------------------- TacoBell333 · 2019-03-18 04:02 What's more common: BSD drivers being ported to Linux, or Linux drivers being ported to the BSDs? ---------------------------------------------------------------------- darkfiberiru · 2019-03-18 04:54 Linux driver's being ported are quite common. Especially taking advantage of linuxkpi layer. There are many companies who work directly on both for there products in parrallel even some who contribute directly into kernel in FreeBSD vs having there own trees for Linux. ---------------------------------------------------------------------- pernila · 2019-03-18 05:38 In most cases drivers from the BSDs cannot be ported to the Linux kernel as the GPL doesn't allow using mixing licenses. There are ways around this, e.g. dual licensing the drivers or using modules that are out of the kernel. ps. IANAL ---------------------------------------------------------------------- Chousuke · 2019-03-18 06:58 It's the other way around: As far as I am aware, the DRM/display driver stuff in Linux is BSD-licensed, which is why it can be used in the BSDs as well. Including BSD-licensed code in GPL software is not a problem. Most other stuff is GPL and cannot be shared. ---------------------------------------------------------------------- qci · 2019-03-18 09:21 GPL has more restrictions than BSDL. BSDL integrates better into GPL code than other way around. But generally both ways are possible, just the distribution of code gets more difficult. Most people forget that you cannot simply change the license. All authors together can agree and issue a second license which is not a problem. But the license is meant to protect the authors (not being sued for malfunction etc). Please be kind to authors. ---------------------------------------------------------------------- pernila · 2019-03-18 13:05 Intel has dual licenses for the graphics drivers, according to this talk by Mr. Widawsky at MeetBSD (He is working for Intel) https://youtu.be/NvO2jWCk9F8 Relevant part starts around 8min in. ---------------------------------------------------------------------- daemonpenguin · 2019-03-18 14:31 Usually Linux drivers will be ported to the BSDs, especially video drivers. But the license needs to allow it. You can't just take GPLed Linux code and move it over to BSD. So you generally need to get a driver that is more liberally licensed or dual-licensed. ---------------------------------------------------------------------- BumpitySnook · 2019-03-18 16:15 In fact, the Linux graphics stack as a whole has a history of liberal or dual-licensing. ---------------------------------------------------------------------- PitifulView · 2019-03-19 11:46 Linux drivers being ported to the BSDs happens (graphics stack), don't know if the opposite does. for a lot more cases linux drivers are used as a reference for how the hardware works in the absence of actual documentation. ---------------------------------------------------------------------- prec3r · 2019-03-31 07:45 The Mesa libraries can be used on BSD operating systems. The DRM driver code is linux-specific but generally released under a liberal license to permit porting to non-linux systems, so that the BSDs can also provide DRI-based accelerated graphics.