Forum Discussion
Altera_Forum
Honored Contributor
8 years agoHi Joel,
Thank you for sharing you experience! I am encountering the same problem. The only difference is that I am using a Arria-10 Dev Board. I tried to follow your instruction but soon found that the output of lspci shows that I should use 0xE003 as DID.# lspci | grep Altera
01:00.0 Non-VGA unclassified device: Altera Corporation Device e003 (rev 01)
May I ask if there's any other step you took between changing the DID and seeing /dev/altera_dma showing up? Did you have to unplug/plug the FPGA, and/or reboot the host machine? Any suggestion is much appreciated! --- Quote Start --- Hey Aidanob If you go to "altera_dma_cmd.h", at line 6 you'll find # define ALTERA_DMA_DID 0xE003. The Device ID registered in your operating system and the one in the driver code must match. In my case, the device ID of my Stratix V FPGA board was 0xE001 from my operating system standpoint, so I had to modify the default value specified in the driver code. To check what device ID your operating system is seeing you can try doing: - lspci - cat /proc/bus/pci/devices |grep Altera "lspci" should give something like: Altera Corporation Device e001 (rev01). That "e001" is your device ID --- Quote End ---