mirror of
https://github.com/D-Modem/app.git
synced 2026-11-28 17:38:05 -08:00
Agere: its descriptors, ROM and registers dumped to the log at start; transfers back to 2
8 in flight made no difference: the device sends a packet every 19.5 ms. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
This commit is contained in:
2 files changed
+4
-5
No files matched your search
@@ -73,10 +73,9 @@ object UsbModems {
|
||||
if (!out.exists() || !out.readBytes().contentEquals(bytes)) out.writeBytes(bytes)
|
||||
}
|
||||
android.system.Os.setenv("DMODEM_AGERE_FIRMWARE", dir.path, true)
|
||||
// (8 bulk transfers in flight each way, not Agere's driver's 2: a packet is 6 ms, and the
|
||||
// device starts the next only once the last has gone, so an app's round trip through libusb
|
||||
// must not leave it waiting)
|
||||
android.system.Os.setenv("DMODEM_AGERE_TRANSFERS", "8", true)
|
||||
// (while the Agere is brought up: its descriptors, ROM and registers logged at start, for
|
||||
// reading what its ROM does to stream)
|
||||
android.system.Os.setenv("DMODEM_AGERE_DUMP", "1", true)
|
||||
return dir
|
||||
}
|
||||
|
||||
|
||||
Vendored
+1
-1
Submodule external/d-modem-re updated: dde6b6da25...585bc18b8a.
Reference in new issue
Block a user