diff --git a/README.md b/README.md index 90062b4..6430fb9 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,7 @@ Feel free to PR more rules into this repo! Ideally as they get added upstream we - [Yubikey support](https://github.com/Yubico/libfido2/tree/main/udev) - [Wooting Wootility](https://wooting.io/wootility) - Neutron HiFi DAC V1 +- Apple SuperDrive (requires `sg3_utils` package to be installed for it to work) Note: udev rules are placed in `/usr/lib/udev/rules.d/`, it's normal for `/etc/udev/rules.d` to be empty on initial installation. diff --git a/files/etc/udev/rules.d/90-apple-superdrive.rules b/files/etc/udev/rules.d/90-apple-superdrive.rules new file mode 100644 index 0000000..c0a1200 --- /dev/null +++ b/files/etc/udev/rules.d/90-apple-superdrive.rules @@ -0,0 +1,5 @@ +# Apple SuperDrive udev rule +# Credits: @yookoala from GitHub +# See: https://gist.github.com/yookoala/818c1ff057e3d965980b7fd3bf8f77a6 + +ACTION=="add", ATTRS{idProduct}=="1500", ATTRS{idVendor}=="05ac", DRIVERS=="usb", RUN+="/usr/bin/sg_raw %r/sr%n EA 00 00 00 00 00 01" diff --git a/rpmspec/ublue-os-udev-rules.spec b/rpmspec/ublue-os-udev-rules.spec index 77d35cd..17c4279 100644 --- a/rpmspec/ublue-os-udev-rules.spec +++ b/rpmspec/ublue-os-udev-rules.spec @@ -45,6 +45,9 @@ cp %{buildroot}%{_datadir}/%{VENDOR}/{%{sub_name}/etc/udev/rules.d,game-devices- %changelog +* Tue Jun 25 2024 Fifty Dinar - 0.10 +- Add Apple SuperDrive udev rule + * Sun Jun 02 2024 Fifty Dinar - 0.9 - Add Neutron HiFi DAC V1 udev rule