romikgosai/squad_modified huggingface dataset:
The European Standardisation Bodies CEN, CENELEC and ETSI (independent of the OMTP/GSMA proposal) defined a common External Power Supply (EPS) for use with smartphones sold in the EU based on micro-USB. 14 of the world's largest mobile phone manufacturers signed the EU's common EPS Memorandum of Understanding (MoU). Apple, one of the original MoU signers, makes micro-USB adapters available – as permitted in the Common EPS MoU – for its iPhones equipped with Apple's proprietary 30-pin dock connector or (later) Lightning connector.

Questions and answers:
['
Q: Who defined a common External Power Supply for use with smartphones sold?
A: The European Standardisation Bodies CEN, CENELEC and ETSI', "
Q: How many mobile phone manufacturers signed the EU's common EPS (MoU)?
A: 14", '
Q: Who was one of the original MoU signers?
A: Apple']
All current USB On-The-Go (OTG) devices are required to have one, and only one, USB connector: a micro-AB receptacle. Non-OTG compliant devices are not allowed to use the micro-AB receptacle, due to power supply shorting hazards on the VBUS line. The micro-AB receptacle is capable of accepting both micro-A and micro-B plugs, attached to any of the legal cables and adapters as defined in revision 1.01 of the micro-USB specification. Prior to the development of micro-USB, USB On-The-Go devices were required to use mini-AB receptacles to perform the equivalent job.

Questions and answers:
['
Q: What are all USB On-The-Go devices required to have?
A: one, and only one, USB connector', '
Q: Non-OTG compliant devices are not allowed to use what?
A: the micro-AB receptacle', '
Q: Why are the Non-OTG compliant devices not allowed to use the micro-AB receptacle?
A: power supply shorting hazards on the VBUS line']
The OTG device with the A-plug inserted is called the A-device and is responsible for powering the USB interface when required and by default assumes the role of host. The OTG device with the B-plug inserted is called the B-device and by default assumes the role of peripheral. An OTG device with no plug inserted defaults to acting as a B-device. If an application on the B-device requires the role of host, then the Host Negotiation Protocol (HNP) is used to temporarily transfer the host role to the B-device.

Questions and answers:
['
Q: The OTG device with the B-plug inserted is called what?
A: B-device', '
Q: What does an OTG device default to with no plug inserted?
A: to acting as a B-device', '
Q: What is the A-device responsible for?
A: powering the USB interface when required']
USB is a serial bus, using four shielded wires for the USB 2.0 variant: two for power (VBUS and GND), and two for differential data signals (labelled as D+ and D− in pinouts). Non-Return-to-Zero Inverted (NRZI) encoding scheme is used for transferring data, with a sync field to synchronize the host and receiver clocks. D+ and D− signals are transmitted on a twisted pair, providing half-duplex data transfers for USB 2.0. Mini and micro connectors have their GND connections moved from pin #4 to pin #5, while their pin #4 serves as an ID pin for the On-The-Go host/client identification.

Questions and answers:
['
Q: What is USB?
A: a serial bus', '
Q: What kind of wires does the USB 2.0 variant use?
A: four shielded wires', '
Q: What are the four shielded wires in the USB 2.0 variant used for?
A: two for power (VBUS and GND), and two for differential data signals']
USB 2.0 provides for a maximum cable length of 5 meters for devices running at Hi Speed (480 Mbit/s). The primary reason for this limit is the maximum allowed round-trip delay of about 1.5 μs. If USB host commands are unanswered by the USB device within the allowed time, the host considers the command lost. When adding USB device response time, delays from the maximum number of hubs added to the delays from connecting cables, the maximum acceptable delay per cable amounts to 26 ns. The USB 2.0 specification requires that cable delay be less than 5.2 ns per meter (192 000 km/s, which is close to the maximum achievable transmission speed for standard copper wire).

Questions and answers:
['
Q: How long is the maximum cable length the USB 2.0 provides?
A: 5 meters for devices running at Hi Speed', '
Q: What is the maximum acceptable delay per cable?
A: 26 ns', '
Q: What does theUSB 2.0 specification require?
A: cable delay be less than 5.2 ns per meter']
A unit load is defined as 100 mA in USB 1.x and 2.0, and 150 mA in USB 3.0. A device may draw a maximum of five unit loads from a port in USB 1.x and 2.0 (500 mA), or six unit loads in USB 3.0 (900 mA). There are two types of devices: low-power and high-power. A low-power device (such as a USB HID) draws at most one-unit load, with minimum operating voltage of 4.4 V in USB 2.0, and 4 V in USB 3.0. A high-power device draws, at most, the maximum number of unit loads the standard permits. Every device functions initially as low-power (including high-power functions during their low-power enumeration phases), but may request high-power, and get it if available on the providing bus.

Questions and answers:
['
Q: What is a unit load defined as?
A: 100 mA in USB 1.x and 2.0', '
Q: How much is a unit load in USB 3.0?
A: 150 mA', '
Q: What is the maximum amount of load a USB 1. and 2.0 device may draw?
A: five unit loads', '
Q: What is the maximum amount of load a USB 3.0 device may draw?
A: six unit loads']
Some devices, such as high-speed external disk drives, require more than 500 mA of current and therefore may have power issues if powered from just one USB 2.0 port: erratic function, failure to function, or overloading/damaging the port. Such devices may come with an external power source or a Y-shaped cable that has two USB connectors (one for power and data, the other for power only) to plug into a computer. With such a cable, a device can draw power from two USB ports simultaneously. However, USB compliance specification states that "use of a 'Y' cable (a cable with two A-plugs) is prohibited on any USB peripheral", meaning that "if a USB peripheral requires more power than allowed by the USB specification to which it is designed, then it must be self-powered."

Questions and answers:
['
Q: What is an example of a device that requires more than 500 mA of current?
A: high-speed external disk drives', '
Q: What is an issue that may occur if a high-speed external disk drive is powered from just one USB 2.0 port.
A: may have power issues', '
Q: What does USB compliance specification prohibit?
A: "use of a \'Y\' cable (a cable with two A-plugs)']
The USB Battery Charging Specification Revision 1.1 (released in 2007) defines a new type of USB port, called the charging port. Contrary to the standard downstream port, for which current draw by a connected portable device can exceed 100 mA only after digital negotiation with the host or hub, a charging port can supply currents between 500 mA and 1.5 A without the digital negotiation. A charging port supplies up to 500 mA at 5 V, up to the rated current at 3.6 V or more, and drops its output voltage if the portable device attempts to draw more than the rated current. The charger port may shut down if the load is too high.

Questions and answers:
['
Q: What defines a new type of USB port, called the charging port?
A: The USB Battery Charging Specification Revision 1.1', '
Q: When was the USB Battery Charging Specification Revision 1.1 released?
A: in 2007', '
Q: What was the USB Battery Charging Specification Revision 1.1 called?
A: the charging port', '
Q: What does a charging port supply?
A: up to 500 mA at 5 V']
Two types of charging port exist: the charging downstream port (CDP), supporting data transfers as well, and the dedicated charging port (DCP), without data support. A portable device can recognize the type of USB port; on a dedicated charging port, the D+ and D− pins are shorted with a resistance not exceeding 200 ohms, while charging downstream ports provide additional detection logic so their presence can be determined by attached devices. (see ref pg. 2, Section 1.4.5, & Table 5-3 "Resistances"—pg. 29).

Questions and answers:
['
Q: How many types of charging ports exist?
A: Two types', '
Q: What can a portable device recognize?
A: the type of USB port', '
Q: What are the D+ and D- shortened with?
A: a resistance not exceeding 200 ohms']
The USB Battery Charging Specification Revision 1.2 (released in 2010) makes clear that there are safety limits to the rated current at 5 A coming from USB 2.0. On the other hand, several changes are made and limits are increasing including allowing 1.5 A on charging downstream ports for unconfigured devices, allowing high speed communication while having a current up to 1.5 A, and allowing a maximum current of 5 A. Also, revision 1.2 removes support for USB ports type detection via resistive detection mechanisms.

Questions and answers:
['
Q: What does the USB Battery Charging Specification Revision 1.2 make clear of?
A: there are safety limits to the rated current at 5 A coming from USB 2.0', '
Q: What does revision 1.2 remove?
A: USB ports type detection via resistive detection mechanisms', '
Q: When was USB Battery Charging Specification Revision 1.2 released?
A: in 2010']
In July 2012, the USB Promoters Group announced the finalization of the USB Power Delivery ("PD") specification, an extension that specifies using certified "PD aware" USB cables with standard USB Type-A and Type-B connectors to deliver increased power (more than 7.5 W) to devices with larger power demand. Devices can request higher currents and supply voltages from compliant hosts –  up to 2 A at 5 V (for a power consumption of up to 10 W), and optionally up to 3 A or 5 A at either 12 V (36 W or 60 W) or 20 V (60 W or 100 W). In all cases, both host-to-device and device-to-host configurations are supported.

Questions and answers:
['
Q: When did the USB Promoters Group announce the finalization of the USB Power Delivery specification?
A: In July 2012', '
Q: What can devices request?
A: higher currents and supply voltages from compliant hosts', '
Q: In all cases, both host-to-device and device-to-host configurations are what?
A: supported']
The USB Power Delivery revision 2.0 specification has been released as part of the USB 3.1 suite. It covers the Type-C cable and connector with four power/ground pairs and a separate configuration channel, which now hosts a DC coupled low-frequency BMC-coded data channel that reduces the possibilities for RF interference. Power Delivery protocols have been updated to facilitate Type-C features such as cable ID function, Alternate Mode negotiation, increased VBUS currents, and VCONN-powered accessories.

Questions and answers:
['
Q: The USB Power Delivery revision 2.0 specification has been released as part of what?
A: USB 3.1', '
Q: What does the USB Power Delivery revision 2.0 specification cover?
A: Type-C cable and connector with four power/ground pairs and a separate configuration channel', '
Q: Power delivery protocols have been updated to facilitate what?
A: Type-C features']
Sleep-and-charge USB ports can be used to charge electronic devices even when the computer is switched off. Normally, when a computer is powered off the USB ports are powered down, preventing phones and other devices from charging. Sleep-and-charge USB ports remain powered even when the computer is off. On laptops, charging devices from the USB port when it is not being powered from AC drains the laptop battery faster; most laptops have a facility to stop charging if their own battery charge level gets too low.

Questions and answers:
['
Q: What can sleep-and-charge USB ports be used to do?
A: charge electronic devices even when the computer is switched off', '
Q: What is normally powered off whenever the computer is off?
A: USB ports', '
Q: What remain powered even whenever the computer is powered off?
A: Sleep-and-charge USB ports']
On Dell and Toshiba laptops, the port is marked with the standard USB symbol with an added lightning bolt icon on the right side. Dell calls this feature PowerShare, while Toshiba calls it USB Sleep-and-Charge. On Acer Inc. and Packard Bell laptops, sleep-and-charge USB ports are marked with a non-standard symbol (the letters USB over a drawing of a battery); the feature is simply called Power-off USB. On some laptops such as Dell and Apple MacBook models, it is possible to plug a device in, close the laptop (putting it into sleep mode) and have the device continue to charge.[citation needed]

Questions and answers:
['
Q: On what laptops are the USB ports marked with a USB symbol with an added lightening bolt icon?
A: On Dell and Toshiba laptops', '
Q: What does dell call the feature that lets USB drives to remain powered when the computer is off?
A: PowerShare', '
Q: On what laptops are the sleep-and-charge marked with a non-standard symbol?
A: On Acer Inc. and Packard Bell laptops']
The GSM Association (GSMA) followed suit on 17 February 2009, and on 22 April 2009, this was further endorsed by the CTIA – The Wireless Association, with the International Telecommunication Union (ITU) announcing on 22 October 2009 that it had also embraced the Universal Charging Solution as its "energy-efficient one-charger-fits-all new mobile phone solution," and added: "Based on the Micro-USB interface, UCS chargers will also include a 4-star or higher efficiency rating—up to three times more energy-efficient than an unrated charger."

Questions and answers:
['
Q: When did the GSM Association follow suit?
A: 17 February 2009', '
Q: UCS chargers will also include what?
A: a 4-star or higher efficiency rating', '
Q: When was this further endorsed by the CTIA?
A: 22 April 2009']
In June 2009, many of the world's largest mobile phone manufacturers signed an EC-sponsored Memorandum of Understanding (MoU), agreeing to make most data-enabled mobile phones marketed in the European Union compatible with a common External Power Supply (EPS). The EU's common EPS specification (EN 62684:2010) references the USB Battery Charging standard and is similar to the GSMA/OMTP and Chinese charging solutions. In January 2011, the International Electrotechnical Commission (IEC) released its version of the (EU's) common EPS standard as IEC 62684:2011.

Questions and answers:
['
Q: When did many of the largest mobile phone manufacturers sign an EC-sponsored MoU?
A: June 2009', '
Q: What did the MoU make the manufacturers agree to do?
A: to make most data-enabled mobile phones marketed in the European Union compatible with a common External Power Supply', '
Q: When did the IEC release its version of the common EPS standard as IEC 62684:2011?
A: January 2011']
Some USB devices require more power than is permitted by the specifications for a single port. This is common for external hard and optical disc drives, and generally for devices with motors or lamps. Such devices can use an external power supply, which is allowed by the standard, or use a dual-input USB cable, one input of which is used for power and data transfer, the other solely for power, which makes the device a non-standard USB device. Some USB ports and external hubs can, in practice, supply more power to USB devices than required by the specification but a standard-compliant device may not depend on this.

Questions and answers:
['
Q: Some USB devices require what?
A: more power than is permitted by the specifications for a single port.', '
Q: Some devices such as an external hard and optical disk drive can use what?
A: an external power supply', '
Q: What is another alternative for power for an external hard and optical disk drive?
A: a dual-input USB cable', '
Q: What is the purpose of a dual-input USB cable?
A: one input of which is used for power and data transfer, the other solely for power']
In addition to limiting the total average power used by the device, the USB specification limits the inrush current (i.e., that used to charge decoupling and filter capacitors) when the device is first connected. Otherwise, connecting a device could cause problems with the host's internal power. USB devices are also required to automatically enter ultra low-power suspend mode when the USB host is suspended. Nevertheless, many USB host interfaces do not cut off the power supply to USB devices when they are suspended.

Questions and answers:
['
Q: What does the USB specification limit?
A: the inrush current', '
Q: When is the inrush current affected by the USB specification?
A: when the device is first connected', '
Q: What are USB devices required to enter?
A: ultra low-power suspend mode when the USB host is suspended', '
Q: Many USB host interfaces do not what?
A: cut off the power supply to USB devices when they are suspended']
Some non-standard USB devices use the 5 V power supply without participating in a proper USB network, which negotiates power draw with the host interface. These are usually called USB decorations.[citation needed] Examples include USB-powered keyboard lights, fans, mug coolers and heaters, battery chargers, miniature vacuum cleaners, and even miniature lava lamps. In most cases, these items contain no digital circuitry, and thus are not standard compliant USB devices. This may cause problems with some computers, such as drawing too much current and damaging circuitry. Prior to the Battery Charging Specification, the USB specification required that devices connect in a low-power mode (100 mA maximum) and communicate their current requirements to the host, which then permits the device to switch into high-power mode.

Questions and answers:
['
Q: What do some non-standard USB devices use?
A: the 5 V power supply without participating in a proper USB network', '
Q: What Negotiates power draw with the host interface?
A: the 5 V power supply', '
Q: What does the USB specification require prior to the Battery Charging Specification?
A: that devices connect in a low-power mode (100 mA maximum) and communicate their current requirements to the host']
USB data is transmitted by toggling the data lines between the J state and the opposite K state. USB encodes data using the NRZI line coding; a 0 bit is transmitted by toggling the data lines from J to K or vice versa, while a 1 bit is transmitted by leaving the data lines as-is. To ensure a minimum density of signal transitions remains in the bitstream, USB uses bit stuffing; an extra 0 bit is inserted into the data stream after any appearance of six consecutive 1 bits. Seven consecutive received 1 bits is always an error. USB 3.0 has introduced additional data transmission encodings.

Questions and answers:
['
Q: How is the USB data transmitted?
A: by toggling the data lines between the J state and the opposite K state', '
Q: What does USB use to encode data?
A: the NRZI line coding', '
Q: To ensure a minimum density of signal transitions  remains in the bitsream, what does USB use?
A: bit stuffing']
A USB packet's end, called EOP (end-of-packet), is indicated by the transmitter driving 2 bit times of SE0 (D+ and D− both below max.) and 1 bit time of J state. After this, the transmitter ceases to drive the D+/D− lines and the aforementioned pull up resistors hold it in the J (idle) state. Sometimes skew due to hubs can add as much as one bit time before the SE0 of the end of packet. This extra bit can also result in a "bit stuff violation" if the six bits before it in the CRC are 1s. This bit should be ignored by receiver.

Questions and answers:
["
Q: What is a USB packet's end called?
A: EOP (end-of-packet)", '
Q: What can skew due to hubs add?
A: as much as one bit time before the SE0 of the end of packet', '
Q: What can this extra bit result in?
A: "bit stuff violation']
USB 2.0 devices use a special protocol during reset, called chirping, to negotiate the high bandwidth mode with the host/hub. A device that is HS capable first connects as an FS device (D+ pulled high), but upon receiving a USB RESET (both D+ and D− driven LOW by host for 10 to 20 ms) it pulls the D− line high, known as chirp K. This indicates to the host that the device is high bandwidth. If the host/hub is also HS capable, it chirps (returns alternating J and K states on D− and D+ lines) letting the device know that the hub operates at high bandwidth. The device has to receive at least three sets of KJ chirps before it changes to high bandwidth terminations and begins high bandwidth signaling. Because USB 3.0 uses wiring separate and additional to that used by USB 2.0 and USB 1.x, such bandwidth negotiation is not required.

Questions and answers:
['
Q: What type of protocol is used for USB 2.0 devices during a reset?
A: a special protocol', '
Q: What is the special protocol during a USB 2.0 device reset called?
A: chirping', '
Q:  A device that is HS capable first connects as a what?
A: an FS device (D+ pulled high)']
According to routine testing performed by CNet, write operations to typical Hi-Speed (USB 2.0) hard drives can sustain rates of 25–30 MB/s, while read operations are at 30–42 MB/s; this is 70% of the total available bus bandwidth. For USB 3.0, typical write speed is 70–90 MB/s, while read speed is 90–110 MB/s. Mask Tests, also known as Eye Diagram Tests, are used to determine the quality of a signal in the time domain. They are defined in the referenced document as part of the electrical test description for the high-speed (HS) mode at 480 Mbit/s.

Questions and answers:
['
Q: Write operations to typical Hi-Speed hard drives can what?
A: sustain rates of 25–30 MB/s,', '
Q:  For USB 3.0, typical write speed is what?
A: 70–90 MB/s', '
Q: What is the read speed for USB 3.0?
A: 90–110 MB/s']
After the sync field, all packets are made of 8-bit bytes, transmitted least-significant bit first. The first byte is a packet identifier (PID) byte. The PID is actually 4 bits; the byte consists of the 4-bit PID followed by its bitwise complement. This redundancy helps detect errors. (Note also that a PID byte contains at most four consecutive 1 bits, and thus never needs bit-stuffing, even when combined with the final 1 bit in the sync byte. However, trailing 1 bits in the PID may require bit-stuffing within the first few bits of the payload.)

Questions and answers:
['
Q: After the sync field, all packets are made of how many bit bytes?
A: 8-bit bytes', '
Q: How are the bit bytes transmitted?
A: least-significant bit first', '
Q: The first byte is what?
A: a packet identifier (PID) byte']
Handshake packets consist of only a single PID byte, and are generally sent in response to data packets. Error detection is provided by transmitting four bits that represent the packet type twice, in a single PID byte using complemented form. Three basic types are ACK, indicating that data was successfully received, NAK, indicating that the data cannot be received and should be retried, and STALL, indicating that the device has an error condition and cannot transfer data until some corrective action (such as device initialization) occurs.

Questions and answers:
['
Q: Handshake packets consist of only a single what?
A: PID byte', '
Q: When are handshake packets generally sent?
A: in response to data packets', '
Q: What is provided by transmitting four bits that represent the packet type twice, in a single PID byte using complemented form?
A: Error detection']
IN and OUT tokens contain a seven-bit device number and four-bit function number (for multifunction devices) and command the device to transmit DATAx packets, or receive the following DATAx packets, respectively. An IN token expects a response from a device. The response may be a NAK or STALL response, or a DATAx frame. In the latter case, the host issues an ACK handshake if appropriate. An OUT token is followed immediately by a DATAx frame. The device responds with ACK, NAK, NYET, or STALL, as appropriate.

Questions and answers:
['
Q: IN and OUT tokens contain what?
A: a seven-bit device number and four-bit function number', '
Q: An IN token expects what?
A: a response from a device', '
Q: An OUT token is followed immediately by a what?
A: DATAx frame']