|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
linux compat and linux-only drivers
Hi. I had been recently running into some hardware that runs fine under linux using drivers that come with the kernel, but aren't supported nativelly by BSD. And I had the curiosity to ask. Can the linux-compat package act as a sort of wrapper to allow the user to use unsupported devices via linux drivers "wrapper" in the linux-compat package?
|
|
|||
No, unless they are something like printer drivers for CUPS. The linux emulation is user-land only, and not for the kernel space.
|
|
|||
Thanks for the correction. I still use a Postscript printer (an HP 4M+, FWIW), so I've intentionally avoided the issue.
|
|
|||
Will a USB-based wifi card work with the linux-compat stuff (the driver comes as part of the linux kernel)?
|
|
||||
You can't just drop a driver source package in the kernel source tree and hope it compiles and works. Nor can you drop a binary driver on the filesystem and expect it to load into the kernel (the modules framework is very different between Linux and FreeBSD).
If it's not listed in the ports tree, then probably not. Check the output of: Code:
# cd /usr/ports # make quicksearch name=kmod |
|
|||
Quote:
|
|
|||
Weongyo Jeong wrote a driver called urtw(4) for 8187L which is a member of the 8187x, in his initial email he said.
Quote:
Perhaps you should contact Weongyo, depending on your situation.. perhaps you can help him support your card natively? I hope it helps.. http://lists.freebsd.org/pipermail/f...er/000217.html |
|
|||
Just a small comment about your question; driver compatibility layers are never a good idea in the long run.
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
NOT another Linux vs BSD thread | DNAeon | FreeBSD General | 21 | 27th July 2009 03:10 PM |
linux-compat questions. | fbsduser | NetBSD General | 7 | 26th March 2009 06:35 AM |
Linux compat status?? | DrJ | FreeBSD Ports and Packages | 7 | 10th March 2009 11:14 AM |
run linux's program | johnzlly | OpenBSD General | 38 | 8th November 2008 12:10 PM |
Linux Kernel map | TerryP | Other BSD and UNIX/UNIX-like | 2 | 1st July 2008 05:33 AM |