Jump to content
Welcome to InsanelyMac Forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

  • Announcements

    • Allan

      Forum Rules   04/13/2018

      Hello folks! As some things are being fixed, we'll keep you updated. Per hour the Forum Rules don't have a dedicated "Tab", so here is the place that we have our Rules back. New Users Lounge > [READ] - InsanelyMac Forum Rules - The InsanelyMac Staff Team. 
macdanny

Linux drivers compiled in OSX

5 posts in this topic

Recommended Posts

I have hardware that is plug and play in linux, opensuse 11.1. How do I compile these things to work in osx 10.5.6 from linux? Thank you in advance for your help.

 

Danny

Share this post


Link to post
Share on other sites

You cannot compile linux drivers on osx!

maybe someone could port them to osx .

linux and osx have a different drivermodell so just new compile did not work

Share this post


Link to post
Share on other sites

Hi people :)

 

 

I was searching for atheros AR81 family driver for OSX and found nothing except linux drives, does enyine know how to port a driver to OSX? I know devices are open for access in linux, like common files, but I have never written anything under OSX, is there any experienced developer knowing how to do that?

 

 

p.s. sorry for my broken English :)

Share this post


Link to post
Share on other sites

No.

 

Mac OS X -> Darwin -> FreeBSD

 

Just because systems are Unix-like and use ls/grep/pwd, doesn't mean they are cross-compatible. Mac OS X is in the vein of true Unix systems along with Solaris/AIX/HP-UX/FreeBSD (to a lesser extent). Linux is based very loosely on these, and can hardly be considered a Unix system. It'd be much easier to port FreeBSD drivers to Mac OS X, but even then it's still a huge endeavor.

 

Now, that being said, Mac OS X has a full set of APIs, and Atheros' drivers are completely open source, so everything you need is there, and you're more than welcome to get writing the drivers! :)

Share this post


Link to post
Share on other sites

Have a question about compiling your own drivers, is there a guide that provides the needed base libraries to go about such a task? I posted this earlier:

http://forum.insanelymac.com/index.php?sho...d=1047099

 

And they have a FreeBSD driver source included in the download so it may not be such a terrible task to port these over, also the smalltree drivers provide a good model to look at. I'd like to get support for my Intel PRO/1000 PT (82572EI chipset) so I can use that for all my OSes and not use the realtek at all.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.

×