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
0
votes
0 answers

According to the standard PCI bus scan but the result is abnormal

This is scanning code uint32_t pci_read_configd(uint8_t bus, uint8_t dev, uint8_t func, uint8_t offset) { uint32_t address; uint32_t lbus = (uint32_t)bus; uint32_t ldev = (uint32_t)dev; uint32_t lfunc = (uint32_t)func; address =…
AlanCui
  • 137
  • 9
0
votes
1 answer

pci_rescan_bus() doesn't rescan PCI bus in Linux

I am trying to rescan PCI bus in my own kernel driver with the help of pci_rescan_bus() kernel function but I do not see it is functioning same. If I try to do same from user space by running following command, I see that rescanning happens: echo 1…
Raxesh Oriya
  • 383
  • 6
  • 27
0
votes
0 answers

How to access the I/O bits of PCI printer card?

In older time on a P4 mother board of my PC there was an integrated parallel printer port with a DB-25 connector. These I/O pins was very handy to communicate with an external digital equipment. I could use these I/O pins to control my external…
0
votes
1 answer

PCI driver doesn't assign memory behind bridge

I have device on bus PCI 09 behind bus 08:01 like this: 0000:08:01.0 -> ../../../devices/pci0000:00/0000:00:03.0/0000:07:00.0/0000:08:01.0/0000:09:00.0 My device in bus 09 off and after reboot CPU, I turn on device on bus 09. So, I rescan PCI bus…
banh
  • 11
  • 1
0
votes
0 answers

PCI error handler in kernel driver never called, even when device is turned off

I'm writing a linux kernel device driver for a custom PCIe device. An user space application is mmapped to this device and frequently accessing its memory (read and write). The PCIe device is driven by an external power supply which may be turned…
ApiTiger
  • 31
  • 2
0
votes
1 answer

Are there any code example(s) of how to make video cards invisible?

Are there any code example(s) of how to make video cards invisible? As per my understanding this should be done on kernel level. What I'm trying to do is the folliowing - I have four physical GPUs using PCI-Express x8/x8/x8/x8. I can have two…
Roman Kagan
  • 10,440
  • 26
  • 86
  • 126
0
votes
2 answers

Identify a PCIe device using PCI config space

Given the list of PCI devices installed in the system, I need to identify PCIe devices. So far, I've been using iteration over the list of capabilities to see if the device has extended cap structure (which would correspond to cap ID 0x10). And, if…
ravil
  • 597
  • 2
  • 4
  • 18
0
votes
1 answer

Is PCI 3.0 compatible with PCI 2.1?

I upgrade my cPCI board to an adlink-3970 (PCI 3.0). The machine boots up to windows, all the drivers are installed correctly including the my PCI 2.1 device's driver (meaning the CPU was able to read the ROM over the PCI bus). However, when I try…
Shabbir Hussain
  • 2,600
  • 2
  • 17
  • 25
0
votes
1 answer

Any tips on how to run script way early in boot on linux?

Problem is that i need to push text string into driver_override on pci bus, before driver has been loaded. I did solve this using systemd earlier, but after a update driver loads before systemd even starts so no luck there. Also driver doesn't…
Syneic
  • 3
  • 1
0
votes
1 answer

Unable to wake pci bus form D3 sleep satate

On my board (x86_64, Android Lollipop, kernel: 3.14), "pci bus" goes in D3 sleep state and when I'm trying to wake it up by setting it D0 state it's failing with message: Error log: Refused to change power state, currently in D3. After going…
BhanuSingh
  • 118
  • 1
  • 2
  • 15
0
votes
1 answer

OracleSolaris 11.2 -- is /usr/kernel/drv/driver.conf required for PCI?

I'm implementing a small PCI driver for academic purposes, and one thing I'm not clear about if we actually have to provide driver.conf? Different materials which I read (including http://blog.csdn.net/hotsolaris/article/details/1763716), say that…
Mark
  • 6,052
  • 8
  • 61
  • 129
0
votes
1 answer

PCI express could not open device, PCIE_open failed

I am using Intel DE2i-150 board where I have Intel atom processor with yocto os and fpga with Nios II processor. I am trying to access the fpga board from yocto. Initially I was able to communicate but due to some other installation now the…
Diya
  • 1
  • 4
0
votes
1 answer

Adlink PCI-7250 eventcallback

I just wrote a simple C# to get an eventcallback from PCI-7250 (Data Acquisition Card) when any of the digital inputs go high. Here is my code: public delegate void ReadDelegate(uint value) public void Form1_Load(object sender, EventArgs e) { …
user726720
  • 1,127
  • 7
  • 25
  • 59
0
votes
1 answer

linux device resource number?

I was looking at a embedded x86 system design document. An I/O board that contains a Xilinx FPGA is connected to the linux x86 PCI bus. The FPGA implementation is described as below: • PCI interface core to connect to the x86 PCI bus • Xilinx…
user1559625
  • 2,583
  • 5
  • 37
  • 75
0
votes
2 answers

locating base address of PCI Parallel port

I'm developing an application for DOS. I need to communicate via parallel port. Currently I'm stuck at how can I determine which of the PCI function's BAR(Base address registers) contain the base address(ie data port address) for that parallel port?…
jacks
  • 294
  • 3
  • 15