Auto-detach usblp kernel driver before claiming the Datamax USB interface
deploy / deploy (push) Successful in 10s

This commit is contained in:
randy committed 2026-09-12 16:57:54 +02:00
1 parent 7583d820f4
commit af673684e2
1 file changed
+1
+1
View File
@@ -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