InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #1  
Old 12-11-2008, 11:19 PM
macuser9311 macuser9311 is offline
Cheetah
 
Join Date: Dec 2008
Posts: 9
Thumbs up how do i get pci devices working in os x?

hi,

to anyone who can answer my questions would be grateful ,

pci devices like ,,,creative audigy,,or a pci wireless card,or other devices which isnt supported on mac os surely there must be a way of somehow getting this hardware running from editing kexts? device id or vendor id etc ,can someone make a guide for this or show us how to do such things as so much hardware cannot be used and all can be done by a kext in system/Library/Extensions/ ...

if anyone can shed some light on this subject would be grateful
Reply With Quote
  #2  
Old 12-11-2008, 11:46 PM
lanceomni's Avatar
lanceomni lanceomni is offline
 
Join Date: Nov 2008
Location: Florida, US
Posts: 521
Any particular hardware?

MOBO: Z77MX-QUO-AOS CPU: Core i7 3770K GPU: MSI N760 TF 2GD5/OC Case: Modded MacPro2,1
Memory: 32GB Corsair Vengeance (CMY32GX3M4A1600C9) Wifi: Airport Extreme bcm94321MCA BIOS: HermitCrab Labs H3A.816M
Monitor: AOC Q2963Pm 29" WFHD 2560x1080 21:9
Interests: KDE on Apple Darwin, Keeping it real with the command line, Helping those that help themselves
Reply With Quote
  #3  
Old 12-12-2008, 12:24 AM
macuser9311 macuser9311 is offline
Cheetah
 
Join Date: Dec 2008
Posts: 9
atheros wireless pci card would be great to run on mac is there a way?
Reply With Quote
  #4  
Old 12-12-2008, 02:42 AM
nfoav8or's Avatar
nfoav8or nfoav8or is offline
 
Join Date: Jan 2008
Location: WA, USA
Posts: 933
I think you need to head over to the apple developer site and read up on hardware. Apple created their OS's to work on THEIR hardware... not just any company. Sorry bud, but not every piece of hardware out there will get support through a kernel extension.

DevID's help out but thats not where the real trick lies... its in making the OS realize that if they handle certain bits certain ways along certain connections they can get certain results... thats a lot of certainty needed in an uncertain piece of hardware...

BTW, have you checked out the WIKI for hardware compatibility?
http://wiki.osx86project.org/ and scroll to HCL.

Reply With Quote
  #5  
Old 12-12-2008, 03:17 AM
lanceomni's Avatar
lanceomni lanceomni is offline
 
Join Date: Nov 2008
Location: Florida, US
Posts: 521
The HCL is a wonderful tool

http://forum.insanelymac.com/index.p...1&#entry472341

MOBO: Z77MX-QUO-AOS CPU: Core i7 3770K GPU: MSI N760 TF 2GD5/OC Case: Modded MacPro2,1
Memory: 32GB Corsair Vengeance (CMY32GX3M4A1600C9) Wifi: Airport Extreme bcm94321MCA BIOS: HermitCrab Labs H3A.816M
Monitor: AOC Q2963Pm 29" WFHD 2560x1080 21:9
Interests: KDE on Apple Darwin, Keeping it real with the command line, Helping those that help themselves
Reply With Quote
  #6  
Old 12-16-2008, 08:21 PM
macuser9311 macuser9311 is offline
Cheetah
 
Join Date: Dec 2008
Posts: 9
@lanceomni
Moderator

thanks for the replys but i dont fully agree on what your saying ,,according to you getting a pci bus running on certain motherboards is impossible because apple didnt add it in there support? i fully understand apple uses there own boards etc and specific chipset but it is all controlled by software ! ,so many modifications hav been done over time ,,and what i am asking for is not the impossible its just not in my power to do so i dont even no what kext controls the communication between the pci bus and the os!,
this is the readout i got from lspci on the motherboard i,m trying to get the pci slots runnings

ubuntu@ubuntu:~$ lspci
00:00.0 Memory controller: nVidia Corporation CK804 Memory Controller (rev a3)
00:01.0 ISA bridge: nVidia Corporation CK804 ISA Bridge (rev a3)
00:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2)
00:02.0 USB Controller: nVidia Corporation CK804 USB Controller (rev a2)
00:02.1 USB Controller: nVidia Corporation CK804 USB Controller (rev a3)
00:04.0 Multimedia audio controller: nVidia Corporation CK804 AC'97 Audio Controller (rev a2)
00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev a2)
00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev a3)
00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev a3)
00:09.0 PCI bridge: nVidia Corporation CK804 PCI Bridge (rev a2)
00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3)
00:0b.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0c.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0d.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:07.0 Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01)
01:09.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306 Fire II IEEE 1394 OHCI Link Layer Controller (rev 80)
01:0a.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 13)
05:00.0 VGA compatible controller: nVidia Corporation GeForce 8400 GS (rev a1)
ubuntu@ubuntu:~$

the wireless card works flawlessly in ubuntu etc ,,,
Reply With Quote
  #7  
Old 12-16-2008, 11:05 PM
lanceomni's Avatar
lanceomni lanceomni is offline
 
Join Date: Nov 2008
Location: Florida, US
Posts: 521
Porting or writing a completely new driver is probably not necessary in your case. I did a little research and there are several posts out there which describe how to modify the wireless drivers to allow them to recognize your card.

When I start looking for a driver I begin with finding out:
1. Manufacturer Name
2. Model Number
3. Version
5. Vendor ID
6. Device ID

For you it likes like:
1. Atheros Communications Inc.
2. AR5001X+

I would download DPCI Manager here: http://casualsight.com/index.php?opt...id=2&Itemid=10 This tool allows you to find the Vendor & Device IDs for your Atheros card

It will show you something like this:



For example the numbers on the left in the first column are the Vendor IDs and the numbers on the right in the first column are the Device ID. Find your wireless card's vendor & device IDs

The link I posted in my first response shows a method of editing the IO80211Family.kext from Tiger (as they reported problems modifying the one included in Leopard) Basically adding your card's vendor & device ids.

I would read the post inside and out along with backing up prior to making any changes.

Here is the post from above: http://forum.insanelymac.com/index.php?showtopic=40317&start=0&p=472341&#entry4 72341

I also found this post related to your card: http://forum.insanelymac.com/index.php?showtopic=117890

you may be able to find more posts by typing osx86 AR5001X or osx86 atheros.

MOBO: Z77MX-QUO-AOS CPU: Core i7 3770K GPU: MSI N760 TF 2GD5/OC Case: Modded MacPro2,1
Memory: 32GB Corsair Vengeance (CMY32GX3M4A1600C9) Wifi: Airport Extreme bcm94321MCA BIOS: HermitCrab Labs H3A.816M
Monitor: AOC Q2963Pm 29" WFHD 2560x1080 21:9
Interests: KDE on Apple Darwin, Keeping it real with the command line, Helping those that help themselves

Last edited by lanceomni; 01-10-2010 at 03:58 PM.
Reply With Quote
  #8  
Old 12-18-2008, 01:44 AM
macuser9311 macuser9311 is offline
Cheetah
 
Join Date: Dec 2008
Posts: 9
hi lanceoni

i,ve finally got it working using the tool you described and adding my device id in the string

i fixed my permissions and rebooted ,i have a fully working wireless card its used as a airport card thank you all for the replys and help
Reply With Quote
  #9  
Old 12-18-2008, 12:49 PM
lanceomni's Avatar
lanceomni lanceomni is offline
 
Join Date: Nov 2008
Location: Florida, US
Posts: 521
Awesome With the method they described in the post using the kext from Tiger?

MOBO: Z77MX-QUO-AOS CPU: Core i7 3770K GPU: MSI N760 TF 2GD5/OC Case: Modded MacPro2,1
Memory: 32GB Corsair Vengeance (CMY32GX3M4A1600C9) Wifi: Airport Extreme bcm94321MCA BIOS: HermitCrab Labs H3A.816M
Monitor: AOC Q2963Pm 29" WFHD 2560x1080 21:9
Interests: KDE on Apple Darwin, Keeping it real with the command line, Helping those that help themselves
Reply With Quote
  #10  
Old 12-20-2008, 12:40 AM
macuser9311 macuser9311 is offline
Cheetah
 
Join Date: Dec 2008
Posts: 9
yes using the method of editing the kext and repairing permissions i got my card running fully

shall i make a basic explanation of what i done to get the atheros wireless card running? ill be glad to do so



💡 Deploy cloud instances seamlessly on DigitalOcean. Free credits ($100) for InfMac readers.


Last edited by macuser9311; 12-20-2008 at 01:01 AM.
Reply With Quote
Reply