From 1195e8c78149f7b18f8d1ad5fa05bb7cc0b18313 Mon Sep 17 00:00:00 2001 From: Philip Wittamore Date: Wed, 28 May 2025 22:19:05 +0200 Subject: update --- 81-bluetooth-hci.rules | 1 + 90-usb-notify.rules | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 81-bluetooth-hci.rules diff --git a/81-bluetooth-hci.rules b/81-bluetooth-hci.rules new file mode 100644 index 0000000..d1f7501 --- /dev/null +++ b/81-bluetooth-hci.rules @@ -0,0 +1 @@ +SUBSYSTEM=="usb", ATTRS{idVendor}=="8087", ATTRS{idProduct}=="07dc", ATTR{authorized}="0" diff --git a/90-usb-notify.rules b/90-usb-notify.rules index 679e004..b980e41 100644 --- a/90-usb-notify.rules +++ b/90-usb-notify.rules @@ -1,2 +1,2 @@ -ACTION=="add", SUBSYSTEM=="usb", ENV{DISPLAY}=":0", ENV{XAUTHORITY}="/home/philip/.Xauthority" RUN+="/usr/bin/su philip -c '/home/philip/.local/bin/usb-device-add.sh $parent $devpath'" -ACTION=="remove", SUBSYSTEM=="usb", ENV{DISPLAY}=":0", ENV{XAUTHORITY}="/home/philip/.Xauthority" RUN+="/usr/bin/su philip -c '/home/philip/.local/bin/usb-device-remove.sh $parent $devpath'" +ACTION=="add", SUBSYSTEM=="usb", RUN+="/usr/bin/su philip -c '/home/philip/.local/bin/usb-device-add.sh $parent $devpath'" +ACTION=="remove", SUBSYSTEM=="usb", RUN+="/usr/bin/su philip -c '/home/philip/.local/bin/usb-device-remove.sh $parent $devpath'" -- cgit v1.2.3