Jump to content

lspci-3.0.1 for SL


  • Please log in to reply
23 replies to this topic

#1
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,693 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...
Just as the topic says, lspci for Snow Leopard.
I also fixed the device type issue, it works great now.

Download including sources:
http://rapidshare.co...SRC_SL.zip.html

#2
Smith@@™

Smith@@™

    InsanelyMac LOL

  • Retired
  • 2,928 posts
  • Gender:Male
  • Location:Somewhere over the rainbow...ITALIA!
  • Interests:Dark matter and dark energy. E basta. HD3000. E basta.
Thanks Andy, i'll try it;)

#3
scrax

scrax

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,704 posts
  • Gender:Male
downloading it right now, :)
thank's


Here the results:
with 1,1
00:00.0 Host bridge [0600]: nVidia Corporation MCP79 Host Bridge [10de:0a80] (rev b1)
00:00.1 RAM memory [0500]: nVidia Corporation MCP79 Memory Controller [10de:0a88] (rev b1)
00:03.0 ISA bridge [0601]: nVidia Corporation MCP79 LPC Bridge [10de:0aac] (rev b2)
00:03.1 RAM memory [0500]: nVidia Corporation MCP79 Memory Controller [10de:0aa4] (rev b1)
00:03.2 SMBus [0c05]: nVidia Corporation MCP79 SMBus [10de:0aa2] (rev b1)
00:03.3 RAM memory [0500]: nVidia Corporation MCP79 Memory Controller [10de:0a89] (rev b1)
00:03.4 RAM memory [0500]: nVidia Corporation Unknown device [10de:0a98] (rev b1)
00:03.5 Co-processor [0b40]: nVidia Corporation MCP79 Co-processor [10de:0aa3] (rev b1)
00:04.0 USB Controller [0c03]: nVidia Corporation MCP79 OHCI USB 1.1 Controller [10de:0aa5] (rev b1)
00:04.1 USB Controller [0c03]: nVidia Corporation MCP79 EHCI USB 2.0 Controller [10de:0aa6] (rev b1)
00:06.0 USB Controller [0c03]: nVidia Corporation MCP79 OHCI USB 1.1 Controller [10de:0aa7] (rev b1)
00:06.1 USB Controller [0c03]: nVidia Corporation MCP79 EHCI USB 2.0 Controller [10de:0aa9] (rev b1)
00:08.0 Audio device [0403]: nVidia Corporation MCP79 High Definition Audio [10de:0ac0] (rev b1)
00:09.0 PCI bridge [0604]: nVidia Corporation MCP79 PCI Bridge [10de:0aab] (rev b1)
00:0a.0 Ethernet controller [0200]: nVidia Corporation MCP79 Ethernet [10de:0ab0] (rev b1)
00:0b.0 SATA controller [0106]: nVidia Corporation MCP79 AHCI Controller [10de:0ab8] (rev b1)
00:0c.0 PCI bridge [0604]: nVidia Corporation MCP79 PCI Express Bridge [10de:0ac4] (rev b1)
00:10.0 PCI bridge [0604]: nVidia Corporation MCP79 PCI Express Bridge [10de:0aa0] (rev b1)
00:15.0 PCI bridge [0604]: nVidia Corporation MCP79 PCI Express Bridge [10de:0ac6] (rev b1)
00:16.0 PCI bridge [0604]: nVidia Corporation MCP79 PCI Express Bridge [10de:0ac7] (rev b1)
00:17.0 PCI bridge [0604]: nVidia Corporation MCP79 PCI Express Bridge [10de:0ac7] (rev b1)
00:18.0 PCI bridge [0604]: nVidia Corporation MCP79 PCI Express Bridge [10de:0ac7] (rev b1)
03:00.0 VGA compatible controller [0300]: nVidia Corporation C79 [GeForce 9300 / nForce 730i] [10de:086c] (rev b1)

with 3.0.1
00:00.0 Non-VGA unclassified device [0000]: nVidia Corporation MCP79 Host Bridge [10de:0a80] (rev 17)
00:00.1 Non-VGA unclassified device [0000]: nVidia Corporation MCP79 Memory Controller [10de:0a88] (rev 17)
00:03.0 Non-VGA unclassified device [0000]: nVidia Corporation MCP79 LPC Bridge [10de:0aac] (rev 17)
00:03.1 Non-VGA unclassified device [0000]: nVidia Corporation MCP79 Memory Controller [10de:0aa4] (rev 17)
00:03.2 Non-VGA unclassified device [0000]: nVidia Corporation MCP79 SMBus [10de:0aa2] (rev 17)
00:03.3 Non-VGA unclassified device [0000]: nVidia Corporation MCP79 Memory Controller [10de:0a89] (rev ff)
00:03.4 Non-VGA unclassified device [0000]: nVidia Corporation Device [10de:0a98] (rev 17)
00:03.5 Non-VGA unclassified device [0000]: nVidia Corporation MCP79 Co-processor [10de:0aa3] (rev 17)
00:04.0 Non-VGA unclassified device [0000]: nVidia Corporation MCP79 OHCI USB 1.1 Controller [10de:0aa5] (rev 17)
00:04.1 Non-VGA unclassified device [0000]: nVidia Corporation MCP79 EHCI USB 2.0 Controller [10de:0aa6] (rev 17)
00:06.0 Non-VGA unclassified device [0000]: nVidia Corporation MCP79 OHCI USB 1.1 Controller [10de:0aa7] (rev 17)
00:06.1 Non-VGA unclassified device [0000]: nVidia Corporation MCP79 EHCI USB 2.0 Controller [10de:0aa9] (rev 17)
00:08.0 Non-VGA unclassified device [0000]: nVidia Corporation MCP79 High Definition Audio [10de:0ac0] (rev 17)
00:09.0 PCI bridge [0604]: nVidia Corporation MCP79 PCI Bridge [10de:0aab] (rev b1)
00:0a.0 Non-VGA unclassified device [0000]: nVidia Corporation MCP79 Ethernet [10de:0ab0] (rev 17)
00:0b.0 Non-VGA unclassified device [0000]: nVidia Corporation MCP79 AHCI Controller [10de:0ab8] (rev 17)
00:0c.0 PCI bridge [0604]: nVidia Corporation MCP79 PCI Express Bridge [10de:0ac4] (rev b1)
00:10.0 VGA compatible controller [0300]: nVidia Corporation MCP79 PCI Express Bridge [10de:0aa0] (rev b1)
00:15.0 Non-VGA unclassified device [0000]: nVidia Corporation MCP79 PCI Express Bridge [10de:0ac6] (rev ff)
00:16.0 Non-VGA unclassified device [0000]: nVidia Corporation MCP79 PCI Express Bridge [10de:0ac7] (rev ff)
00:17.0 PCI bridge [0604]: nVidia Corporation MCP79 PCI Express Bridge [10de:0ac7] (rev b1)
00:18.0 PCI bridge [0604]: nVidia Corporation MCP79 PCI Express Bridge [10de:0ac7] (rev b1)
03:00.0 VGA compatible controller [0300]: nVidia Corporation C79 [GeForce 9300 / nForce 730i] [10de:086c] (rev b1)

...something is missing. :)
I've try to update but same results.

#4
FKA

FKA

    are we there yet?

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,626 posts
  • Gender:Male
just installed kext. will try.

many thanks :)

#5
Bor

Bor

    InsanelyMac Protégé

  • Members
  • Pip
  • 28 posts
  • Gender:Male
Thanx Andy!

#6
Ruben-P

Ruben-P

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts
  • Gender:Male
Thanks!

MU mirror: http://www.megaupload.com/?d=HKTRYAG1

#7
MacKonsti

MacKonsti

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 233 posts
  • Gender:Male
  • Location:Muppet Show
Thanks Andy for your share. I was hoping to get my hands on the actual binaries and driver. Could I bug you to also package those for the people that can't (or don't know how) compile the sources? Many thanks in advance!

#8
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,693 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...

Thanks Andy for your share. I was hoping to get my hands on the actual binaries and driver. Could I bug you to also package those for the people that can't (or don't know how) compile the sources? Many thanks in advance!

allready compiled.
The binaries are present under build/Release (lspcidrv)
And under the lspci-3.0.1 folder as "lspci" and "setpci"
Install driver and copy those 2 files in /usr/bin

#9
scrax

scrax

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,704 posts
  • Gender:Male
what about my errors? ;)

#10
MacKonsti

MacKonsti

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 233 posts
  • Gender:Male
  • Location:Muppet Show

allready compiled.
The binaries are present under build/Release (lspcidrv)
And under the lspci-3.0.1 folder as "lspci" and "setpci"
Install driver and copy those 2 files in /usr/bin

Andy thanks for your work!!!
I don't see a binary/command like the older versions for updating PCI IDs!
It was called I think update-pciids -- how do we now update them with this v3?
Thanks again!

IMPORTANT EDIT: Andy, I cannot find the binaries in your release... Would you please repackage the kext and the two binaries? The kext is found in your zip:

/lspci_darwin_port_AnV_SRC/lspci_drv/build/Release/lspcidrv.kext

but there is no folder lspci-3.0.1. Did you mean lspci-3.0.1? I only see there the .man of these three needed files (even updatepciids). Please confirm.

Can you please package for the non-Xcode people like myself, the necessary binaries please? Many thanks in advance.

#11
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,693 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...

what about my errors? :)

I'll get back to them later (when I have the time) :(

#12
MacKonsti

MacKonsti

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 233 posts
  • Gender:Male
  • Location:Muppet Show
Andy we hope to see you around, soon. Please let us know when you can package the binaries altogether (please see my previous edited post). Thanks in advance!

#13
nitheshsalian

nitheshsalian

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 7 posts

Just as the topic says, lspci for Snow Leopard.
I also fixed the device type issue, it works great now.

Download including sources:
http://rapidshare.co...SRC_SL.zip.html


Thanks for the link...
Compiling lspci worked fine. After that in the lspci_drv folder I generated the kext file.
However when i try to load the kernel extension after placing it in the /System/Library/extensions,

It's showing the following message.
mac3:Extensions root# kextload lspcidrv.kext/
/System/Library/Extensions/lspcidrv.kext failed to load - (libkern/kext) dependency resolution failure; check the system/kernel logs for errors or try kextutil(8).

Could you please help me with this?
I am new to Mac OS. Kindly let me know if i am missing something here.

1. The system details are:

mac3:Extensions root# uname -a
Darwin mac3 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23 18:27:12 PDT 2010; root:xnu-1504.7.4~1/RELEASE_X86_64 x86_64



2. the plist content is shown below.

mac3:Extensions root# vi lspcidrv.kext/Contents/Info.plist


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com...yList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>lspcidrv</string>
<key>CFBundleIdentifier</key>
<string>com.x86dev.driver.lspcidrv</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>lspcidrv</string>
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>IOKitPersonalities</key>
<dict>
<key>lspci_user_client</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.x86dev.driver.lspcidrv</string>
<key>IOClass</key>
<string>lspci_io</string>
<key>IOMatchCategory</key>
<string>lspci_io</string>
<key>IOProviderClass</key>
<string>IOResources</string>
<key>IOResourceMatch</key>
<string>IOKit</string>
<key>IOUserClientClass</key>
<string>lspci_user_client</string>
</dict>
</dict>
<key>OSBundleLibraries</key>
<dict>
<key>com.apple.kernel.iokit</key>
<string>1.0.0b1</string>
<key>com.apple.kernel.libkern</key>
<string>1.0.0b1</string>
</dict>
<key>OSBundleRequired</key>
<string>Root</string>
</dict>
</plist>

#14
scrax

scrax

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,704 posts
  • Gender:Male

I'll get back to them later (when I have the time) :blink:


Thank you! :(

#15
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,693 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...

Thanks for the link...
Compiling lspci worked fine. After that in the lspci_drv folder I generated the kext file.
However when i try to load the kernel extension after placing it in the /System/Library/extensions,

It's showing the following message.
mac3:Extensions root# kextload lspcidrv.kext/
/System/Library/Extensions/lspcidrv.kext failed to load - (libkern/kext) dependency resolution failure; check the system/kernel logs for errors or try kextutil(8).

Could you please help me with this?
I am new to Mac OS. Kindly let me know if i am missing something here.

1. The system details are:

mac3:Extensions root# uname -a
Darwin mac3 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23 18:27:12 PDT 2010; root:xnu-1504.7.4~1/RELEASE_X86_64 x86_64



2. the plist content is shown below.

mac3:Extensions root# vi lspcidrv.kext/Contents/Info.plist


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com...yList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>lspcidrv</string>
<key>CFBundleIdentifier</key>
<string>com.x86dev.driver.lspcidrv</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>lspcidrv</string>
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>IOKitPersonalities</key>
<dict>
<key>lspci_user_client</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.x86dev.driver.lspcidrv</string>
<key>IOClass</key>
<string>lspci_io</string>
<key>IOMatchCategory</key>
<string>lspci_io</string>
<key>IOProviderClass</key>
<string>IOResources</string>
<key>IOResourceMatch</key>
<string>IOKit</string>
<key>IOUserClientClass</key>
<string>lspci_user_client</string>
</dict>
</dict>
<key>OSBundleLibraries</key>
<dict>
<key>com.apple.kernel.iokit</key>
<string>1.0.0b1</string>
<key>com.apple.kernel.libkern</key>
<string>1.0.0b1</string>
</dict>
<key>OSBundleRequired</key>
<string>Root</string>
</dict>
</plist>

Use kextlibs lspcidrv.kext to determine the proper OSBundleLibraries, they should be depending upon the kpi components, not the kernel components...

#16
MacKonsti

MacKonsti

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 233 posts
  • Gender:Male
  • Location:Muppet Show
Guys, if someone manages to compile successfully and make it work, can he/she share the working binaries and kext please? Most appreciated...

#17
Bruce Wang

Bruce Wang

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 366 posts
I don't see lspci-3.0.1 folder in the ZIP, neither "lspci" and "setpci". :blush:

#18
sefsesas

sefsesas

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 5 posts
Thanks,downloading now Posted Image

#19
Time2Retire

Time2Retire

    Retired

  • Retired Developers
  • 1,012 posts
  • Gender:Female
  • Location:anonymouse.eu
I've seen a number of dumps on this forum, where it lacked some of the required output. Has that problem been fixed already? Otherwise is serves me no purpose (linux works for me).

#20
MacKonsti

MacKonsti

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 233 posts
  • Gender:Male
  • Location:Muppet Show

I've seen a number of dumps on this forum, where it lacked some of the required output. Has that problem been fixed already? Otherwise is serves me no purpose (linux works for me).

I agree with you. But I cannot see any latest binaries to test on MacOSX platform... and I just re-installed Snow, I am not eager to install Xcode again (besides the fact that I am not familiar with compiling on this one!).
If someone has final binaries to share, please do ;)





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy