diff --git a/app.rb b/app.rb index eda09e7..ec5eaba 100644 --- a/app.rb +++ b/app.rb @@ -99,6 +99,7 @@ helpers do end device.open do |handle| + handle.auto_detach_kernel_driver = true # usblp kernel driver otherwise holds the interface handle.claim_interface(0) do handle.bulk_transfer(endpoint: DATAMAX_ENDPOINT, dataOut: data) end