Linux PCI Driver Tutorial - Part 1: Hello World PCI(e) Driver

Linux PCI Driver Tutorial - Part 1: Hello World PCI(e) Driver

Johannes 4GNU_Linux

2 года назад

21,139 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@tarunmadhi9692
@tarunmadhi9692 - 02.01.2024 10:11

Hii
I tried this module without adding new pci device, I got dmesg message only from init and exit function and not from probe and remove calls. May I know the reason

Ответить
@Jonathan-ru9zl
@Jonathan-ru9zl - 18.07.2023 13:21

Hello! Is watching the former 10 parts playlist on pci/gnu necessary before watching this playlist?

Ответить
@xrayonthemove
@xrayonthemove - 07.06.2023 12:52

For me the remove function executes before even the init. Any idea why?

Ответить
@petemitchell9996
@petemitchell9996 - 06.05.2023 23:23

Hey man I started watching your videos recently and I am amazed by your knowledge of Linux programming.
I had a question related to Linux and PCIe driver, maybe you can help me. I'm trying to use the PCI Express AER Kernel Driver to read out some PCIe errors logged by the AER. I've checked the config file and it says that CONFIG_PCIEPORTBUS=y and CONFIG_PCIEAER=y, so that means that the AER is enabled. Also in BIOS the AER (_OSC support) is enabled.
Still, the error logs located at /sys/bus/pci/devices/<dev>/ (eg. aer_dev_correctable) are all reading 0 which shouldn't be the case because the status bits when looking in Windows always show positive for errors. I am trying to read the count of these errors using Linux, because using my Win tool it is only possible to see the status of the error.
Am I missing something?
Should I try and inject an error and see if the counters increase?

Ответить
@markhumes2645
@markhumes2645 - 04.05.2023 05:44

I would like to follow along with this series, but I can't locate this board. Do you have another one you recommend?

Ответить
@admin8784
@admin8784 - 01.04.2023 18:30

Thanks

Ответить
@FunnyVideos-dp7we
@FunnyVideos-dp7we - 21.01.2023 06:49

Can we capture the TLP packet without any additional hardware analyzer?

Ответить
@flyxtop
@flyxtop - 29.10.2022 04:20

You are really good at explaining things. Thanks!

Ответить
@ahmetserdr2920
@ahmetserdr2920 - 28.08.2022 20:51

Thank you my dear friend, it is so valuable video

Ответить
@mohitkumargarg9543
@mohitkumargarg9543 - 18.08.2022 04:06

Can someone explain me the static struct pci_device_id pcittl32io_ids[]={} declaration. Can someone please explain me .

Ответить
@paullazar1071
@paullazar1071 - 12.08.2022 21:05

Thanks for this, but how do I get the .include files?

Ответить
@JAGANNATHSAHOOtheraw
@JAGANNATHSAHOOtheraw - 04.07.2022 18:11

This is helpful to get started

Ответить
@victorreed180
@victorreed180 - 03.07.2022 02:48

🤷 ρ尺oΜ𝐎ᔕᗰ

Ответить
@sahhaf1234
@sahhaf1234 - 25.06.2022 02:04

Hi,
Dont you already have a PCI series? İn what respect this series will be different?

Ответить
@rashidz97100
@rashidz97100 - 24.06.2022 06:55

Amazing tutorial! Can't wait to see how this series goes. Also, when would you need to create like a device tree or overlay for hardware?

Ответить
@imk8729
@imk8729 - 24.06.2022 03:07

Good tutorial 👌

Ответить
@meoDomicio
@meoDomicio - 24.06.2022 01:35

Gracias

Ответить