Skip to content

Commit

Permalink
Use libusb HIDAPI backend
Browse files Browse the repository at this point in the history
This is required for now, since the hidraw backend still
triggers bugs in some drivers
  • Loading branch information
X3n0m0rph59 committed Apr 27, 2023
1 parent 3f7d829 commit fd13cfd
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 7 deletions.
2 changes: 0 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion eruption-debug-tool/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ thiserror = "1.0.40"
eyre = "0.6.8"
color-eyre = "0.6.2"
hexdump = "0.1.1"
hidapi = { git = "https://github.com/ruabmbua/hidapi-rs.git", branch = "master", default-features = false, features = ["linux-native"] }
hidapi = { git = "https://github.com/ruabmbua/hidapi-rs.git", branch = "master", default-features = false, features = ["linux-static-libusb"] }
bitvec = "1.0.1"
byteorder = "1.4.3"
serialport = "4.2.0"
Expand Down
2 changes: 1 addition & 1 deletion eruption-hwutil/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ eyre = "0.6.8"
color-eyre = "0.6.2"
bitvec = "1.0.1"
byteorder = "1.4.3"
hidapi = { git = "https://github.com/ruabmbua/hidapi-rs.git", branch = "master", default-features = false, features = ["linux-native"] }
hidapi = { git = "https://github.com/ruabmbua/hidapi-rs.git", branch = "master", default-features = false, features = ["linux-static-libusb"] }
hexdump = "0.1.1"
serialport = "4.2.0"
crc8 = "0.1.1"
Expand Down
2 changes: 1 addition & 1 deletion eruption-macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ eyre = "0.6.8"
color-eyre = "0.6.2"
hexdump = "0.1.1"
chrono = { version = "0.4.24", features = ["serde"] }
hidapi = { git = "https://github.com/ruabmbua/hidapi-rs.git", branch = "master", default-features = false, features = ["linux-native"] }
hidapi = { git = "https://github.com/ruabmbua/hidapi-rs.git", branch = "master", default-features = false, features = ["linux-static-libusb"] }
# lua-src = "544.0.1"
# mlua = { version = "0.7.3", features = ["lua54", "vendored"] }
# luajit-src = "210.3.2+resty1085a4d"
Expand Down
2 changes: 1 addition & 1 deletion eruption-util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ thiserror = "1.0.40"
eyre = "0.6.8"
color-eyre = "0.6.2"
hexdump = "0.1.1"
hidapi = { git = "https://github.com/ruabmbua/hidapi-rs.git", branch = "master", default-features = false, features = ["linux-native"] }
hidapi = { git = "https://github.com/ruabmbua/hidapi-rs.git", branch = "master", default-features = false, features = ["linux-static-libusb"] }
udev = "0.7"
evdev-rs = "0.6.1"
lazy_static = "1.4.0"
Expand Down
2 changes: 1 addition & 1 deletion eruption/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ ctrlc = { version = "3.2.5", features = ["termination"] }
clap = "4.2.4"
hotwatch = "0.4.6"
config = "0.13.3"
hidapi = { git = "https://github.com/ruabmbua/hidapi-rs.git", branch = "master", default-features = false, features = ["linux-native"] }
hidapi = { git = "https://github.com/ruabmbua/hidapi-rs.git", branch = "master", default-features = false, features = ["linux-static-libusb"] }
udev = "0.7"
evdev-rs = "0.6.1"
hexdump = "0.1.1"
Expand Down

0 comments on commit fd13cfd

Please sign in to comment.