Skip to content

Commit

Permalink
Udev rule to bind SPI slave devices to spidev driver automatically
Browse files Browse the repository at this point in the history
Signed-off-by: Dmytro Bagrii <dimich.dmb@gmail.com>
  • Loading branch information
dimich-dmb committed Jul 8, 2023
1 parent a54b1a3 commit ff8d3bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions udev/99-spi-ch341-usb.rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ACTION=="add|change", SUBSYSTEM=="spi", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="5512", \
ATTR{driver_override}="spidev", ATTR{subsystem/drivers/spidev/bind}="$kernel"

0 comments on commit ff8d3bf

Please sign in to comment.