generated from ublue-os/udev-rules
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(udev): Apple Superdrive rule (#291)
* feat(udev): Apple Superdrive rule Requires `sg_raw` package to be installed for it to work. Otherwise, it should just reliably fail & exit. * docs: Add changelog in RPM spec file * docs: Add note in README * docs: Add note about `sg3_utils` package requirement in README * docs: Add credits to the inventor of this rule in README
- Loading branch information
1 parent
90fa2fc
commit 387cbcf
Showing
3 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,6 +45,9 @@ cp %{buildroot}%{_datadir}/%{VENDOR}/{%{sub_name}/etc/udev/rules.d,game-devices- | |
|
||
|
||
%changelog | ||
* Tue Jun 25 2024 Fifty Dinar <[email protected]> - 0.10 | ||
- Add Apple SuperDrive udev rule | ||
|
||
* Sun Jun 02 2024 Fifty Dinar <[email protected]> - 0.9 | ||
- Add Neutron HiFi DAC V1 udev rule | ||
|
||
|