| 161 | To detect if Gen1 or Gen2 is being used, do not use the lspci command. This only shows the capability and not the actual activated version. To see the actual activated version, use the dmesg command with a grep, like so to see that Gen2 is disabled and the link is up : |
| 162 | {{{ |
| 163 | root@ventana:~# dmesg | grep Link |
| 164 | [ 0.271427] imx6q-pcie 1ffc000.pcie: Link: Gen2 disabled |
| 165 | [ 0.271444] imx6q-pcie 1ffc000.pcie: Link up, Gen=1 |
| 166 | [ 11.502799] libphy: 2188000.ethernet:00 - Link is Up - 1000/Full |
| 167 | |
| 168 | }}} |
| 169 | |