Jump to content
Aaron Potter

XCODE: What project should I choose to build USB WiFi Card kext?

5 posts in this topic

Recommended Posts

Maybe this isn't a topic for the New Users Lounge, but the thing is that I am a new user to this matter and I also CAN'T create a new topic in the developer section. So here it goes.

I am trying to build a driver for my USB Wireless Card (TP-Link TL-WN722N) which isn't supported in Mac. I also found it very commented around some other websites, mainly asking for a supporting kext, then I made my mind.

The 1srt question should be simple:

What kind of project should I build in Xcode? One using IOKit framework (user space) or one using Kernel framework (kernel space)?

I have been having troubles to get the basics fully working maybe because I am using the wrong start.

 

Share this post


Link to post
Share on other sites
Advertisement

Thanks for the answer Mirone, but I have already read almost all Apple documentation and tried examples and the basic code works super fine. But the way it is written it doesn't appear clear to me. I have read a lot before trying to ask.

I also read the article that explain which kind of project should I choose, and as USB I should use a user level using IOKit.framework but as a Network Controller I should use a kernel level programming, and this causes me to doubt.

The link you provided is for creating a project for a kernel level kext. But that is not what I ask, and also I whould like a more human response.

Are you trying to tell me that for a USB Wireless Card I should use the Kernel.framework?

Share this post


Link to post
Share on other sites

Someone able to give further explanation is the specialist Mieze, send a PM to her and she will provide detailed information, but I tell you, change your Wifi card and avoid major headaches. unless you think of it as a challenge.

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.

  • Similar Content

    • By Drovosek
      As practice shows with the installation of macOS 10.14 Mojave, official cakes from previous, previous versions of the OS sometimes help. So, I pulled out folders /System/Library/Extensions /Library/Extensions from different versions of MacOSX and uploaded on Yandex.Disk and Mediafire. I hope someone will help.   ► 10.4.11
      https://yadi.sk/d/amCPgnkJ3ZMsA7
      http://www.mediafire.com/file/2eap86ny46gjavj/
      ► 10.5.8
      https://yadi.sk/d/XoY70G8K3ZMsBZ
      http://www.mediafire.com/file/a1z7wgizukcrum4/
      ► 10.6.7
      https://yadi.sk/d/8nY0c0ry3ZMsC7
      http://www.mediafire.com/file/rn5n5wt5mw6fzcm/
      ► 10.7.5
      https://yadi.sk/d/8ew7KMbL3ZMsCt
      http://www.mediafire.com/file/9akne1f446j75d5/
      ► 10.8.5
      https://yadi.sk/d/p49F9lZw3ZMsDd
      http://www.mediafire.com/file/xksxbr4gg5ara86/
      ► 10.9.5
      https://yadi.sk/d/LtwMSo3A3ZMsEG
      http://www.mediafire.com/file/6cl3m1dq7068axh/
      ► 10.10.5
      https://yadi.sk/d/ID8QtILY3ZMsEe
      http://www.mediafire.com/file/aefgwlvx696ixmd/
      ► 10.11.6
      https://yadi.sk/d/_KeYANJP3ZMsFN
      http://www.mediafire.com/file/58snknt7x78iubu/
      ► 10.12.6
      https://yadi.sk/d/Nl2Y257v3ZMsMr
      http://www.mediafire.com/file/35924ldz1bb64iu/
      ► 10.13.6
      https://yadi.sk/d/yvoYgqt73ZMsNo
      http://www.mediafire.com/file/ofpa3skypc9e292/
      ► 10.14.1
      https://yadi.sk/d/O3Up1EUAqkMrpQ
      https://www.mediafire.com/file/q6kp3ha5u7rgakx/
    • By macinsane
      Update: Now running Mojave! Thanks to mojave2core! Yeah   Still using C2D in 2019!
      Inserted a nice and cheap GT710 that is not relying on nVidias Webdrivers and runs OOB under Mojave.
       
      Nice, seeing High Sierra running on this old but capable system! It rocks with a new ASUS GT1030
       
      Config:
      Gigabyte EP43-DS3L
      Core2Quad Q9300
      6 GB DDR2 RAM
      Asus GT1030 2GB
      Sandisk SSD 128GB
      TP-Link AC1200 Wifi USB
      Inateck KT4006 USB 3.0 PCIe (No boot)
       
      SMBIOS: iMac14,1
      Clover: 4297  4360
       
      A good deal of DSDT editing was necessary to get this machine to boot High Sierra but finally it works flawlessly, even sleep and wake!
      You NEED to have the DSDT put in place for installation because otherwise macOS doesn't recognize the SATA ports.
      There are a few important BIOS settings: SATA hast to be set to AHCI and "native" and HPET has to be run "64-bit", I'd recommend to disable IDE and the serial and parallel port.
      For the GT1030 nVidia Webdrivers are needed, have to boot with nv_disable=1 until you have them installed.
      You have to install Clover in legacy mode because this old fella does not support UEFI.
       
      Only downside: The so often recommended Inateck USB-card isn't recognized by BIOS, so you cannot boot from it. It works perfectly within macOS though, have the ac-Wifi connected to it.
      config.plist.zip
      DSDT.aml.zip
    • By EWaffle
      Hey guys, I have a ridiculously convoluted issue. Take a seat.
       
      I am trying to use Logic Pro X on a 2012 Mac Mini I have, but I currently have Snow Leopard OS X 10.6.8, and will need to update to Sierra 10.12. However, I realize I need to update to a newer OS such as El Capitan in order to be able to update to Sierra. Except I cannot sign into the App Store. I am greeted with an error message along the lines of "this computer or device cannot be verified." So I did some digging and it seems to be because my Ethernet port and Wifi don't work. I use a USB Wifi adapter to get around this but now it seems like I finally have to fix it for good so I can get into the App Store to get these updates I need.
       
      In System Preferences > Network, I do not see Ethernet or Wifi listed. Only my USB Wifi Adapter and Firewire. In System Profiler > Hardware > Ethernet Cards, it says, "This computer does not appear to have any PCI Ethernet cards installed."
       
      I'm pulling my hair out over here to get Logic Pro X on this computer, that's all that I really want, and that's all I want this computer to do. If you can help, God bless your soul.
    • By bobso
      hi I have this build:
       
      - AMD Athlon X4 631
      - ASRock A75M-HVS (link)
      - AMD HD 6670
      - 8GB DDR3
      - 250GB HDD
       
      Which version of MacOS can I install?
      Which kernel?
×