D-Modem-RE: the Agere's stream state read back after command 0x10, its mode as wIndex if not streaming

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
This commit is contained in:
Claude committed 2026-10-26 05:39:44 +00:00
1 parent b0119dbe5e
commit dfc58299ea
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -140,6 +140,8 @@ try:
r"[1-9]\d* back \([1-9]\d* octets, 0 failed, last 0\); "
r"OUT [1-9]\d* sent, [1-9]\d* back \(0 failed", 12))
if agere:
check("1001's stream state read back: streaming",
a.logged(r"usb: Agere: after command 0x10: .*the stream's state 2 \(2: streaming\)", 1))
check("1001's first IN transfer logged: 48 samples",
a.logged(r"usb: IN transfer 1 back: status 0, 100 octets: 30 00", 1))
a.write(b"hello from 1001\r\n")