Questions tagged [pci-bus]

Peripheral Component Interconnect, PCI bus is the most used bus in computers during the late 1990's and early 2000's

It was introduced by Intel in 1992, revised in 1993 to version 2.0, and later revised in 1995 to PCI 2.1 and is as an expansion to the ISA bus.

PCI follows the PnP specification and therefore does not require any type of jumpers or dip switches.

Read more

78 questions
1
vote
1 answer

Can't open sys/bus/pci/device/ directory

I am trying to read the resource file for my device and mmap it to read the device registers but when i try open the file location error prompts : NO such file or directory. I have changed the permissions of the file using chmod 666. The code I am…
lokesharo
  • 305
  • 2
  • 11
1
vote
1 answer

Not getting host, id, channel number of scsi

I am writing a program which will print host, channel number, id number, lun of a SCSI device. cat /proc/scsi/scsi giving the information about it. But i want print it through c program. I'm getting vendor id, device type, revision level... but…
gangadhars
  • 2,584
  • 7
  • 41
  • 68
1
vote
1 answer

Reading PCI device memory registers in windows

I need to read the HBA memory registers of the AHCI controller sitting on the PCI bus of the system. I have a driver using which I can read the config space of all the PCI devices in the system (using ReadConfig and WriteConfig). Through this I'm…
anni
  • 338
  • 2
  • 12
1
vote
2 answers

Resource allocation by Plug-and-Play BIOS

Plug-and-Play BIOS spec says that if you have a PnP BIOS, it can configure the hardware. This means that your BIOS reads the resource requirements of all devices and configures them (allocates bus-resources to them). Does a PnP always allocate…
jacks
  • 294
  • 3
  • 15
0
votes
1 answer

Accessing PCI-7250 NuDAQ in .NET

I would like to switch on a relay using a PCI-7250 NuDAQ card using .NET. I know that the code in VB to turn on is: card = Register_Card(PCI_7250, 0) v = DO_WritePort(card, 0, &O17) and to turn off: v = DO_WritePort(card, 0, &O0) I need to…
user965767
  • 59
  • 1
  • 5
  • 11
0
votes
0 answers

Hidden PCI device

I'm trying to access eMMC soldered to Intel SDIO controller on Intel Atom z8350 platform. The documentation says that there are 3 controllers in the SoC, but PCI scanning finds only one one that is not connected to the card. Research shows that the…
acckiitvar
  • 25
  • 5
0
votes
2 answers

Java to access pci-modem

I have a pci-modem in my laptop and I tried to run a program that opens the port and configures it.I get an excepcion while doing it, I think that it can't see the port, even though it is on COM3. Is there any way of doing it in java? The error I…
debita
0
votes
2 answers

Change IOaddress of a PCI device

I would like to change the IOaddress of a PCI device by writing the new (page aligned) address into BAR0/1. When I did that using a BIOS function I could not access the PCI device at the new address. Is there anything else that needs to be done to…
Georg
  • 119
  • 1
  • 10
0
votes
0 answers

How to trigger a bad TLP/DLLP to the targetted PCI device using bus/device/function

Is there a way to trigger a bad TLP(transport layer packet)/bad DLLP(Datalink layer packet) to the targetted PCIe device(using the bus device function is alone known)? Seeing the Lecroy analyzer allows getting this done. But, Leaving lecroy, Do we…
Vijay
  • 35
  • 7
0
votes
0 answers

Monitor/sniff PCI I/O under Windows and Linux

A PCI device seems to have some sort of incompatibility with the process of I/O port range assignment on Linux, even if it works on Windows without any effort with a completely blank driver. I would like to compare the I/O port range assignment…
Jack White
  • 896
  • 5
  • 7
0
votes
0 answers

addressing mechanism for a device which can work on both 32- and 64-bit PCI buses

If a PCI device can work with both 64-bit PCI bus and 32-bit bus. Suppose the PCI device is a memory card. When the device works with 64-bit PCI bus, it can transfer 64 bits. On 32-bit PCI bus, the device can transfer 32 bits. My question is mostly…
PG1995
  • 109
  • 2
0
votes
0 answers

Find out in which PCI(e) bus a card is plugged in

We have new PCs that have Windows 10 or Windows Server 2019 installed. Cards can now be plugged into certain PCI buses. I want to find out on which PCI bus a card is plugged in. Does anyone have an idea how to find out relatively reliably under C#…
Rick
  • 9
0
votes
0 answers

address space and wait states for a PCI device

I was reading about how PCI bus gets to find the information about a PCI device before any transaction can take place. Please check the excerpt below. For example, in case of a PCI memory device, how does the PCI bus/controller get to know about the…
PG1995
  • 109
  • 2
0
votes
0 answers

Why is AD[1:0] not needed during the address phase of a 32-bit PCI memory transaction?

I was reading about 32-bit PCI bus and how a PCI device advances its address. AD[31:0] is used to for addresses and data. If the PCI is requesting all four bytes to be transferred at the same time, then those four bytes will occupy all the lines…
PG1995
  • 109
  • 2
0
votes
1 answer

64-Bit PCI BAR on a 32-Bit Operating System - Possible?

So I know that having a 32-bit PCI BAR (Base Address Register) can be accessed on a 64-bit Operating System (this link gives some information about it and I myself have tested it) (let us say it is a Linux OS) but can a 64-bit PCI BAR (Base Address…
Ameer Usman
  • 95
  • 10