Compare commits

..

14 Commits

Author SHA1 Message Date
arc
593b44d260 vault backup: 2025-08-03 13:51:48 2025-08-03 13:51:48 -06:00
arc
6961bd948b vault backup: 2025-08-03 13:46:47 2025-08-03 13:46:47 -06:00
arc
1ff545434f vault backup: 2025-08-03 13:41:47 2025-08-03 13:41:47 -06:00
arc
d0df3ab7ae vault backup: 2025-08-03 13:36:47 2025-08-03 13:36:47 -06:00
arc
145a871d1d vault backup: 2025-06-06 14:43:51 2025-06-06 14:43:51 -06:00
arc
b018456d64 vault backup: 2025-06-04 18:29:17 2025-06-04 18:29:17 -06:00
arc
6a8712dc7c vault backup: 2025-06-03 11:45:18 2025-06-03 11:45:18 -06:00
arc
892f40f37e vault backup: 2025-06-03 11:30:16 2025-06-03 11:30:16 -06:00
arc
83ceb7a5d0 vault backup: 2025-05-31 13:22:00 2025-05-31 13:22:00 -06:00
arc
3395a32204 vault backup: 2025-05-31 11:20:48 2025-05-31 11:20:48 -06:00
arc
4f1ea82d06 vault backup: 2025-05-30 16:10:23 2025-05-30 16:10:23 -06:00
arc
2857e5ea84 vault backup: 2025-05-30 16:05:23 2025-05-30 16:05:23 -06:00
arc
142ab93d04 vault backup: 2025-05-21 17:39:42 2025-05-21 17:39:42 -06:00
arc
90c9111a08 vault backup: 2025-05-09 13:07:48 2025-05-09 13:07:48 -06:00
3 changed files with 31 additions and 2 deletions

2
.obsidian/app.json vendored
View File

@ -2,7 +2,7 @@
"vimMode": true, "vimMode": true,
"promptDelete": false, "promptDelete": false,
"pdfExportSettings": { "pdfExportSettings": {
"includeName": true, "includeName": false,
"pageSize": "Letter", "pageSize": "Letter",
"landscape": false, "landscape": false,
"margin": "0", "margin": "0",

View File

@ -14,7 +14,7 @@
"prevConfig": { "prevConfig": {
"pageSize": "A4", "pageSize": "A4",
"marginType": "1", "marginType": "1",
"showTitle": true, "showTitle": false,
"open": true, "open": true,
"scale": 100, "scale": 100,
"landscape": false, "landscape": false,

29
notes/USB.md Normal file
View File

@ -0,0 +1,29 @@
A USB system is composed of three areas:
- USB interconnect (cables, ports)
- USB devices (keyboard, storage, controller)
- USB host (Laptop, computer)
# Hosts
There is only one host in any USB system. The USB interface to the host computer is referred to as the Host Controller. The Host Controller may be implemented in a combination of hardware, firmware, or software. A root hub is integrated within the host system to provide one or more attachment points.
# Devices
USB devices are one of the following:
- A hub, providing additional attachment points to the bus
- Functions that provide capabilities to the system (speakers, keyboard)
# Interconnects
# Protocol
A Universal Serial bus is strictly a *polled* bus, meaning the host controller initiates every data transfer.
Most bus transactions involve the transmission of up to three packets.
1. The token packet
> Each transaction begins when the host, on a scheduled basis, sends a USB packet describing the type and direction of a transaction, the USB device address, and endpoint number.
2. The data packet
> Depending on the direction of data transfer (specified in the token packet), this packet will move from the host to the device, or vice versa. If the source of the transaction has no data to send, it will send that instead.
3. The handshake packet
> The destination, in general, responds to a handshake packet indicating whether the transfer was successful.
The USB data transfer model between a source or destination on the host and an endpoint on a device is referred to as a *pipe*. There are two types of pipes: stream, and message. Stream data has no USB defined structure, while message data is structured. Each pipe is associated with a bandwidth, transfer service, and endpoint characteristics like directionality and buffer size.
One message pipe, the Default Control Pipe, always exists when a USB device is configured in order to provide access to the device's configuration, status, and control info.
For more, see the USB 2.0 specification section 4.4.