Skip to content

Commit

Permalink
use ATTR{authorized}=0 instead of writing to sysfs directly.
Browse files Browse the repository at this point in the history
  • Loading branch information
jens-maus committed Jan 27, 2025
1 parent 5de260e commit 765e424
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# ignore/remove ID 085f:2230 CANBERRA DSA-LX
ACTION=="add", ATTR{idVendor}=="085f", ATTR{idProduct}=="2230", RUN="/bin/sh -c 'echo 0 >/sys/\$devpath/authorized'"
# ignore/unauth ID 085f:2230 CANBERRA DSA-LX
SUBSYSTEM=="usb", ATTRS{idVendor}=="085f", ATTRS{idProduct}=="2230", ATTR{authorized}="0"

0 comments on commit 765e424

Please sign in to comment.