From af673684e2748fe9c3f843e1eacd0ac992d227ca Mon Sep 17 00:00:00 2001 From: Roman Priesol Date: Sat, 12 Sep 2026 16:57:54 +0200 Subject: [PATCH] Auto-detach usblp kernel driver before claiming the Datamax USB interface --- app.rb | 1 + 1 file changed, 1 insertion(+) 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