Created
January 20, 2020 06:37
-
-
Save jacobrosenthal/805568ae00ced5544a46fbd5b5700da1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/upstream b/his | |
index da9773a..a73f9f4 100644 | |
--- a/upstream | |
+++ b/his | |
@@ -1,4 +1,5 @@ | |
+ | |
******** UsbBus::new | |
UsbBus::alloc_ep dir=In addr=None type=Interrupt max_packet_size=8 interval=255 | |
@@ -23,29 +24,22 @@ alloc_ep -> EndpointAddress(128) | |
UsbBus::enable | |
-USB_OTHER | |
-PollResult::Suspend | |
- | |
-UsbBus::suspend | |
- | |
USB_OTHER | |
PollResult::Reset | |
-UsbBus::resume | |
- | |
UsbBus::reset | |
USB_OTHER | |
ep 0 GOT SETUP | |
-UsbBus::read 8 bytes from ep EndpointAddress(0) -> [0, 5, 16, 0, 0, 0, 0, 0] | |
+UsbBus::read 8 bytes from ep EndpointAddress(0) -> [0, 5, 31, 0, 0, 0, 0, 0] | |
UsbBus::write 0 bytes [] to ep EndpointAddress(128) -> Ok(0) | |
USB_TRCPT1 | |
ep 0 WRITE DONE | |
-UsbBus::set_device_address addr=16 | |
+UsbBus::set_device_address addr=31 | |
USB_OTHER | |
ep 0 GOT SETUP | |
@@ -54,10 +48,15 @@ UsbBus::read 8 bytes from ep EndpointAddress(0) -> [128, 6, 0, 1, 0, 0, 8, 0] | |
UsbBus::write 8 bytes [18, 1, 0, 2, 2, 0, 0, 8] to ep EndpointAddress(128) -> Ok(8) | |
+USB_OTHER | |
+ep 0 WRITE FAIL | |
+ | |
+UsbBus::write 0 bytes [] to ep EndpointAddress(128) -> Ok(0) | |
+ | |
USB_TRCPT0 | |
ep 0 WRITE DONE | |
-UsbBus::write 0 bytes [] to ep EndpointAddress(128) -> Ok(0) | |
+UsbBus::stall=false for Out 0 | |
USB_OTHER | |
ep 0 GOT SETUP | |
@@ -67,6 +66,29 @@ UsbBus::read 8 bytes from ep EndpointAddress(0) -> [128, 6, 0, 1, 0, 0, 18, 0] | |
UsbBus::write 8 bytes [18, 1, 0, 2, 2, 0, 0, 8] to ep EndpointAddress(128) -> Ok(8) | |
USB_TRCPT0 | |
+ep 0 READABLE | |
+ | |
+UsbBus::read 0 bytes from ep EndpointAddress(0) -> [] | |
+ | |
+UsbBus::stall=true for Out 0 | |
+ | |
+UsbBus::stall=true for In 0 | |
+ | |
+USB_OTHER | |
+ep 0 GOT SETUP | |
+ | |
+UsbBus::read 8 bytes from ep EndpointAddress(0) -> [128, 6, 0, 1, 0, 0, 18, 0] | |
+ | |
+UsbBus::write 8 bytes [18, 1, 0, 2, 2, 0, 0, 8] to ep EndpointAddress(128) -> Ok(8) | |
+ | |
+USB_OTHER | |
+ep 0 GOT SETUP | |
+ | |
+UsbBus::read 8 bytes from ep EndpointAddress(0) -> [128, 6, 0, 1, 0, 0, 18, 0] | |
+ | |
+UsbBus::write 8 bytes [18, 1, 0, 2, 2, 0, 0, 8] to ep EndpointAddress(128) -> Ok(8) | |
+ | |
+USB_TRCPT1 | |
ep 0 WRITE FAIL | |
UsbBus::write 8 bytes [192, 22, 221, 39, 16, 0, 1, 2] to ep EndpointAddress(128) -> Ok(8) | |
@@ -99,6 +121,12 @@ ep 0 WRITE DONE | |
UsbBus::stall=false for Out 0 | |
+USB_TRCPT1 | |
+ep 0 READABLE | |
+ | |
+UsbBus::read 0 bytes from ep EndpointAddress(0) -> [] | |
+ | |
+USB_TRCPT0 | |
USB_OTHER | |
ep 0 GOT SETUP | |
@@ -106,7 +134,7 @@ UsbBus::read 8 bytes from ep EndpointAddress(0) -> [128, 6, 2, 3, 9, 4, 24, 0] | |
UsbBus::write 8 bytes [24, 3, 83, 0, 101, 0, 114, 0] to ep EndpointAddress(128) -> Ok(8) | |
-USB_TRCPT0 | |
+USB_TRCPT1 | |
ep 0 WRITE FAIL | |
UsbBus::write 8 bytes [105, 0, 97, 0, 108, 0, 32, 0] to ep EndpointAddress(128) -> Ok(8) | |
@@ -130,13 +158,7 @@ UsbBus::stall=true for Out 0 | |
UsbBus::stall=true for In 0 | |
-USB_OTHER | |
-ep 0 GOT SETUP | |
- | |
-UsbBus::read 8 bytes from ep EndpointAddress(0) -> [128, 6, 1, 3, 9, 4, 2, 0] | |
- | |
-UsbBus::write 2 bytes [26, 3] to ep EndpointAddress(128) -> Ok(2) | |
- | |
+USB_TRCPT0 | |
USB_OTHER | |
ep 0 GOT SETUP | |
@@ -150,18 +172,24 @@ ep 0 WRITE DONE | |
UsbBus::stall=false for Out 0 | |
USB_TRCPT1 | |
+ep 0 READABLE | |
+ | |
+UsbBus::read 0 bytes from ep EndpointAddress(0) -> [] | |
+ | |
+USB_TRCPT0 | |
+USB_OTHER | |
ep 0 GOT SETUP | |
UsbBus::read 8 bytes from ep EndpointAddress(0) -> [128, 6, 1, 3, 9, 4, 26, 0] | |
UsbBus::write 8 bytes [26, 3, 70, 0, 97, 0, 107, 0] to ep EndpointAddress(128) -> Ok(8) | |
-USB_OTHER | |
+USB_TRCPT1 | |
ep 0 WRITE FAIL | |
UsbBus::write 8 bytes [101, 0, 32, 0, 99, 0, 111, 0] to ep EndpointAddress(128) -> Ok(8) | |
-USB_TRCPT0 | |
+USB_TRCPT1 | |
ep 0 WRITE FAIL | |
UsbBus::write 8 bytes [109, 0, 112, 0, 97, 0, 110, 0] to ep EndpointAddress(128) -> Ok(8) | |
@@ -199,6 +227,7 @@ ep 0 READABLE | |
UsbBus::read 0 bytes from ep EndpointAddress(0) -> [] | |
+USB_TRCPT0 | |
USB_OTHER | |
ep 0 GOT SETUP | |
@@ -206,24 +235,30 @@ UsbBus::read 8 bytes from ep EndpointAddress(0) -> [128, 6, 3, 3, 9, 4, 10, 0] | |
UsbBus::write 8 bytes [10, 3, 84, 0, 69, 0, 83, 0] to ep EndpointAddress(128) -> Ok(8) | |
-USB_TRCPT0 | |
+USB_TRCPT1 | |
ep 0 WRITE FAIL | |
UsbBus::write 2 bytes [84, 0] to ep EndpointAddress(128) -> Ok(2) | |
-USB_OTHER | |
-ep 0 WRITE FAIL | |
+USB_TRCPT0 | |
+ep 0 WRITE DONE | |
UsbBus::stall=false for Out 0 | |
+USB_TRCPT1 | |
+ep 0 READABLE | |
+ | |
+UsbBus::read 0 bytes from ep EndpointAddress(0) -> [] | |
+ | |
USB_TRCPT0 | |
+USB_OTHER | |
ep 0 GOT SETUP | |
UsbBus::read 8 bytes from ep EndpointAddress(0) -> [128, 6, 0, 2, 0, 0, 9, 0] | |
UsbBus::write 8 bytes [9, 2, 67, 0, 2, 1, 0, 128] to ep EndpointAddress(128) -> Ok(8) | |
-USB_OTHER | |
+USB_TRCPT1 | |
ep 0 WRITE FAIL | |
UsbBus::write 1 bytes [50] to ep EndpointAddress(128) -> Ok(1) | |
@@ -233,11 +268,6 @@ ep 0 WRITE DONE | |
UsbBus::stall=false for Out 0 | |
-USB_TRCPT1 | |
-ep 0 READABLE | |
- | |
-UsbBus::read 0 bytes from ep EndpointAddress(0) -> [] | |
- | |
USB_OTHER | |
ep 0 GOT SETUP | |
@@ -295,7 +325,6 @@ ep 0 READABLE | |
UsbBus::read 0 bytes from ep EndpointAddress(0) -> [] | |
-USB_TRCPT0 | |
USB_OTHER | |
ep 0 GOT SETUP | |
@@ -303,9 +332,10 @@ UsbBus::read 8 bytes from ep EndpointAddress(0) -> [0, 9, 1, 0, 0, 0, 0, 0] | |
UsbBus::write 0 bytes [] to ep EndpointAddress(128) -> Ok(0) | |
-USB_TRCPT1 | |
+USB_TRCPT0 | |
ep 0 WRITE DONE | |
+USB_TRCPT1 | |
USB_OTHER | |
ep 0 GOT SETUP | |
@@ -358,25 +388,24 @@ UsbBus::read 7 bytes from ep EndpointAddress(0) -> [128, 37, 0, 0, 0, 0, 8] | |
UsbBus::write 0 bytes [] to ep EndpointAddress(128) -> Ok(0) | |
-USB_OTHER | |
+USB_TRCPT1 | |
ep 0 WRITE DONE | |
-USB_TRCPT1 | |
+USB_OTHER | |
ep 0 GOT SETUP | |
UsbBus::read 8 bytes from ep EndpointAddress(0) -> [33, 32, 0, 0, 0, 0, 7, 0] | |
-USB_OTHER | |
+USB_TRCPT0 | |
ep 0 READABLE | |
UsbBus::read 7 bytes from ep EndpointAddress(0) -> [128, 37, 0, 0, 0, 0, 8] | |
UsbBus::write 0 bytes [] to ep EndpointAddress(128) -> Ok(0) | |
-USB_TRCPT0 | |
+USB_TRCPT1 | |
ep 0 WRITE DONE | |
-USB_TRCPT1 | |
USB_OTHER | |
ep 0 GOT SETUP | |
@@ -404,40 +433,45 @@ UsbBus::read 7 bytes from ep EndpointAddress(0) -> [0, 194, 1, 0, 0, 0, 8] | |
UsbBus::write 0 bytes [] to ep EndpointAddress(128) -> Ok(0) | |
-USB_TRCPT1 | |
+USB_OTHER | |
ep 0 WRITE DONE | |
-USB_OTHER | |
+USB_TRCPT1 | |
ep 0 GOT SETUP | |
UsbBus::read 8 bytes from ep EndpointAddress(0) -> [33, 32, 0, 0, 0, 0, 7, 0] | |
-USB_TRCPT0 | |
+USB_OTHER | |
ep 0 READABLE | |
UsbBus::read 7 bytes from ep EndpointAddress(0) -> [0, 194, 1, 0, 0, 0, 8] | |
UsbBus::write 0 bytes [] to ep EndpointAddress(128) -> Ok(0) | |
-USB_OTHER | |
+USB_TRCPT0 | |
ep 0 WRITE DONE | |
USB_TRCPT1 | |
+USB_OTHER | |
ep 0 GOT SETUP | |
UsbBus::read 8 bytes from ep EndpointAddress(0) -> [33, 32, 0, 0, 0, 0, 7, 0] | |
-USB_OTHER | |
+USB_TRCPT0 | |
ep 0 READABLE | |
UsbBus::read 7 bytes from ep EndpointAddress(0) -> [0, 194, 1, 0, 0, 0, 8] | |
UsbBus::write 0 bytes [] to ep EndpointAddress(128) -> Ok(0) | |
-USB_TRCPT0 | |
+USB_TRCPT1 | |
ep 0 WRITE DONE | |
-USB_TRCPT1 | |
+USB_TRCPT0 | |
+ep 1 READABLE | |
+ | |
+UsbBus::read 1 bytes from ep EndpointAddress(1) -> [71] | |
+ | |
USB_OTHER | |
ep 0 GOT SETUP | |
@@ -445,7 +479,6 @@ UsbBus::read 8 bytes from ep EndpointAddress(0) -> [33, 34, 0, 0, 0, 0, 0, 0] | |
UsbBus::write 0 bytes [] to ep EndpointAddress(128) -> Ok(0) | |
-UsbBus::read 1 bytes from ep EndpointAddress(1) -> [71] | |
- | |
USB_TRCPT1 | |
ep 0 WRITE DONE | |
+ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment