diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2024-04-19 23:59:16 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2024-04-19 23:59:16 +0200 |
commit | 47ccbc64760519bfa00da2b0af7f870d6cf22f52 (patch) | |
tree | 94cc936168e2666dd8deb28c7371c76bf325d801 | |
parent | 54d69ea09f3f709b6035757eab1ccd6d19c47d73 (diff) | |
download | pcitool-47ccbc64760519bfa00da2b0af7f870d6cf22f52.tar.gz pcitool-47ccbc64760519bfa00da2b0af7f870d6cf22f52.tar.bz2 pcitool-47ccbc64760519bfa00da2b0af7f870d6cf22f52.tar.xz pcitool-47ccbc64760519bfa00da2b0af7f870d6cf22f52.zip |
A sample script to register device with arbitrary vendor/device id
-rwxr-xr-x | tests/add_device.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/add_device.sh b/tests/add_device.sh new file mode 100755 index 0000000..198d386 --- /dev/null +++ b/tests/add_device.sh @@ -0,0 +1,3 @@ +#! /bin/bash + +echo -n "10ee 7038" > /sys/bus/pci/drivers/pciDriver/new_id |