I want to know VendorID of pci devices in system.
Hi.
I have a question.
I want to display vendor ID & device ID of My pci devices in solaris system.
in windows driver...
#define VENDORID 0x1234
#define DEVICEID 0x5678
for( bus = 0 ; bus < 256 ; bus ++ )
for( slot = 0 ; slot < 32 ; slot ++ )
dwRet = HalGetBusData(PCIConfiguration, bus, slot, &Buffer, sizeof(PCI_COMMON_CONFIG));
if(dwRet == 0)
continue;
if(Buffer.VendorID != VENDORID)
continue;
if(Buffer.DeviceID != DEVICEID)
continue;
DbgPrint("Bus:%d Slot:%d\n", Buffer.VendorID, Buffer.DeviceID);
but i don't know how search "My" pci devices in solaris system.
is there some command?
please show me the way. (by simple code)
bye..
The information is available in the output from the "prtconf -pv" command. Each PCI device is listed
with it's "vendor-id:" and "device-id:" property, as well as the "subsystem-vendor-id:" and "subsystem-id:".
Note also the value of the "compatible:" property, which is used by the solaris kernel to select a device
driver for the PCI device.
Node 0x1b4d10
assigned-addresses: 81005020.00000000.00001060.00000000.00000020
class-code: 000c0300
compatible: 'pci925,1234' + 'pci925,1234' + 'pci1106,3038' + 'pciclass,0c0300'
device-id: 00003038
devsel-speed: 00000001
interrupts: 00000001
max-latency: 00000000
min-grant: 00000000
model: 'PCI: 925,1234 - class: Universal Serial Bus'
name: 'pci925,1234'
power-consumption: 00000001.00000001
reg: 00005000.00000000.00000000.00000000.00000000.01005020.00000000.00000000.00000000.00000020
revision-id: 00000004
slot: 00000003
subsystem-id: 00001234
subsystem-vendor-id: 00000925
unit-address: 'a'
vendor-id: 00001106
You can also use my "prtpci" awk script to reformat the "prtconf -pv" output
wget http://www.tools.de/solaris/prtpci.bz2
bunzip2 prtpci.bz2
chmod +x prtpci
./prtpci -u -p pcidev.csv (optional, fetches PCI device database from http://www.pcidatabase.com)
./prtpci
the output from that script for a PCI device looks like this:
Bus,Device,Function: 0,12,0
Vendor,Device ID: 1106,3038 Rev 50 (VIA Technologies Inc, VT83C572)
Subsys. Vendor,Device: 925,1234
Class code: 0c0300 (Serial Bus, Universal Serial Bus, UHCI)
Interrupt pin: 1
assigned-addresses:
I/O 0000000000001080 0000000000000020 (@20)
Model: 'PCI: 925,1234 - class: Universal Serial Bus'
Name: 'pci925,1234'
compatible: 'pci925,1234' + 'pci925,1234' + 'pci1106,3038' + 'pciclass,0c0300'
Similar Messages
-
I want to know can i install 3 Operating systems (Windows 7, Linux or OSX) on Macbook ?
Impossible to use a diferent processor than what the motherboard and socket supports, whether notebook (yours) or workstation (this forum).
http://www.apple.com/support/macbookpro -
Want to know what is the use of system view
i want to know what is the usage of these types of views in mds (viw_SYSTEM_1_1_CHILDATTRIBUTES)
and what are the disadvantage of using them for exporting the data
These are system views and should be used or referenced in any downstream application
-
We want to know your best story as a System Administrator!
I could tell you a story but this would result in a federal case, with big fines and a prison sentence.
Too many to count, but since I have a photo of this one, I'll use it.
End user calls me because their computer keeps locking up. I wonder if perhaps the cpu fan has failed so I come up to check it out. I reach under the desk to move it out and burn my hand on the side of the case.
They had their space heater pointed directly at the side of the PC and actually melted the front bezel from the case getting so hot, not because the heater was pointed at the bezel directly. -
How to know the all user name from system/system login
hi all,
i want to know the all user names from system login who are the existing user like
regards
srinivasHello,
Using DBA_USERS will give more details
select * from dba_users;Regards -
I have an airport express and want to know how to set up two different wireless networks. One with 5GHZ and one with 2.4GHZ so different devices can connect to either. I have an iphone 4 that will not connect to 5ghz.
thank you!Your AirPort Express is already providing two separate 2.4 GHz and 5 GHz bands, but each band is using the same wireless network name.
This is the default setup for the AirPort Express, which is recommended for most users. The theory here is that devices will automatically connect to the best quality signal based on their capabilities and distance in relation to the AirPort Express.
It is possible to assign a different name to the 5 GHz band, and then "point" devices at that network to connect. Some users swear by this option.....(I am not one of them).... but you might want to give it a try to see how it works for you.
Open Macintosh HD > Applications > Utilities > AirPort Utility
Click on the AirPort Express
Click Edit in the smaller window that appears
Click the Wireless tab at the top of the next window
Click Wireless Options near the bottom of the next window
Enter a check mark next to 5 GHz Name.....which will automatically add "5 GHz" to the network name....so you can identify it
Click Save, then click Update and wait a full minute for the Express to restart
Now you will need to "point" your 5 GHz capable devices at the 5 GHz network name. 2.4 GHz devices will connect to your "other" network name. -
I update to IOS 6.1.3 in my Iphone 4S and don't saved SHSH an APtickets, after it I experiment a problems with my Idevice, it show service provider but don't show signal in any place,I want to know if its posible repair my device
anduran wrote:
I update to IOS 6.1.3 in my Iphone 4S and don't saved SHSH an APtickets, after it I experiment a problems with my Idevice, it show service provider but don't show signal in any place,I want to know if its posible repair my device
Basic troubleshooting
Reset
Restore with back up and if required as new -
I'm new to the Apple world so bare with me. I have an iPhone4S and an iPad2. I want to buy the numbers app but want to know it I buy it can I use the app on both devices? Thx
mikefromboth ell wrote:
I'm new to the Apple world so bare with me. I have an iPhone4S and an iPad2. I want to buy the numbers app but want to know it I buy it can I use the app on both devices? Thx
From the iTunes Store, yes, all your iOS devices running on the same account will qualify.
Jerry -
Im using a pci-6221 daq-card.I want to know the difference(use)of a line output and a port output.
Hello Hellraiser24,
This question has actually been discussed in another thread here:
http://forums.ni.com/ni/board/message?board.id=170&message.id=95895&requireLogin=False
I hope this helps,
E.Lee
Eric
DE For Life! -
I bought an Airport Express from a supplier who told me I'd need at least iOS 5.4 on my iPad. My first generation iPad is apparently up to date but the iOS is only 5.1.1. Before I unpack the device I want to know whether it will work with this earlier version.
Apple says that a minimum of iOS 5.0 is required. See the support document below. Look for Requirements on the left hand side of the page about half way down.
Requirements: Compatible with iPhone, iPod touch, and iPad. Requires iOS 5.0 or later.
https://itunes.apple.com/us/app/airport-utility/id427276530?mt=8 -
i want to know that how can i print direct from my pc, and i also want to knw that can i directly print from my ios device.
To print from your PC, please check out the following iFelix article.
To print from an iOS device (iPhone, iPod Touch, or iPad), the printer must be AirPrint-ready. If the printer is not, another option would be to use something like.
Also you can check out this Apple Support article. -
i want to know that my iphone 5 is refurbished iphone or not ? how kan i test it to know my device is good dvie or not? my iphone ieme
<Edited by Host>That is a 16 GB black iPhone 5 GSM model, maufactured in the 48th week of December - less than four weeks ago.
There is no reason to believe it is a refurbished iPhone. -
Basically my fone just decided to say invalid sim so by looking on the internet ive restored my device, after doing this it still came up with no service and invalid sim, itunes say that the activtion server is down at the mo, i wanted to know wen the activtion server will be back online and will it solve my problem with no service and invalid sim error
I was quite surprised by that. And I've been off for a little because I've been giving final exams at the college where I work. Now with break I will be spending a little more time on here until I have to start getting ready for the Spring semester. I have experienced a couple of interesting posters in the past week though. I wa afraid one was going to reach through the CAT 5 and grab me around the neck.
-
Hello, I want to know if is possible to get a free Xcode iPhone Developer key for testing my own applications on my device?
There are no free dev programs and you need to be in one for iOS testing, sorry.
-
I have an iPhone 5 and I want to know if I delete all the photos on this device will it also delete them on my iPad, MacBook Air and my desktop?
No, I accidently erased my pic's and my Music from my iPhone 5 when I hooked it up to my New iMac Air when I sync it. I thought when you sync it saves all your Data from my iPhone,,,,Wrong! It did the opposite, and saved what was on my iMac Air to my iPhone, which was Nothing, since it was Brand new. It won't delete the pic's from my iPad. Lucky for me, I downloaded them all back to my iPhone from iCloud.
Maybe you are looking for
-
Trying to install Win 8.1 with Bootcamp on 2013 Macbook Air
I went to the MS website today and bought a Windows 8.1 license for $119.99. (I need this software to run some windows-only stuff for work.) Then I tried downloading it to my Macbook Air for use with Bootcamp. But what MS sold me was a Windows execu
-
Cfpdf don't generate correct thumbnails of CMYK files after installing CF 10 update 1
Hi, We have been using cfpdf to generate a thumbnail from a 1-page PDF file since years, first with CF 8, and now with CF 10. It runs smoothly until yesterday, when we applied the Update 1 (can't assure that there is a correllation, but it's the only
-
Hi All, We are looking for a BADI during the file upload for Supplier catalog. The requirement is to modify the file ocntents during upload. We tried implementing BADI /CCM/CTLG_ENRICHMENT, but seems like this BADI is not called during the upload fun
-
Do i need to get a new ipod??
So my ipod has been restored a couple times now, every once in a while it will start skipping songs, and not playing, and then show me the icon telling me to go to apple.com, it wont show up on my desktop, and the updater says it is up to date, i don
-
Can i create a 1mx1m poster using keynote??
Can i create a 1mx1m poster using keynote??