USB Flash Drive Writer Student: David Labský Supervisor: Ing

Total Page:16

File Type:pdf, Size:1020Kb

USB Flash Drive Writer Student: David Labský Supervisor: Ing CZECH TECHNICAL UNIVERSITY IN PRAGUE FACULTY OF INFORMATION TECHNOLOGY ASSIGNMENT OF BACHELOR’S THESIS Title: USB Flash Drive Writer Student: David Labský Supervisor: Ing. Miroslav Hrončok Study Programme: Informatics Study Branch: Computer engineering Department: Department of Digital Design Validity: Until the end of summer semester 2017/18 Instructions Design and implement an open source hardware box for writing a provided bootable disk image of a Linux distribution such as Fedora to USB flash drives. The box should have a button to start the write operation and an indicator of the progress. • Study existing implementations. • Consider and compare different types of hardware for use in the project. • Write full instructions for construction of the box from scratch. • Construct a functional physical prototype. When making decisions, consider the following criteria for use in the Fedora Project: • Ease of build: Even users without significant previous knowledge about used hardware should be able to build the device. • Price and availability of the components on various continents. • Extensibility. References Will be provided by the supervisor. L.S. doc. Ing. Hana Kubátová, CSc. prof. Ing. Pavel Tvrdík, CSc. Head of Department Dean Prague February 13, 2017 Czech Technical University in Prague Faculty of Information Technology Department of Digital Design Bachelor’s thesis USB Flash Drive Writer David Labský Supervisor: Ing. Miroslav Hrončok 16th of May, 2017 Acknowledgements A sincere thank you to my supervisor Miroslav Hrončok for his ideas, advice, and continued mentoring. Thank you to Petr Viktorin for his ethusiasm and pieces of hardware. Sorry I didn’t reach out more! Many thanks to Marek Žehra for incredibly professional photos on short notice. Thank you, Sentri, for proofreeding as well as keeping me virtual company during the final stretch. Thanks to Jiří Šebele for lending a hand, somehowwe form a good team. A thank you goes to my parents, even if they are unable to read the work proper. Thank you to the communities surrounding open hardware for their worth- while endeavor and always being willing to help. Lastly, I would like to extend my thanks to birds. Declaration I hereby declare that the presented thesis is my own work and that I have cited all sources of information in accordance with the Guideline for adhering to ethical principles when elaborating an academic final thesis. I acknowledge that my thesis is subject to the rights and obligations stipulated by the Act No. 121/2000 Coll., the Copyright Act, as amended. In accordance with Article 46(6) of the Act, I hereby grant a nonexclusive authorization (license) to utilize this thesis, including any and all computer programs incorporated therein or attached thereto and all corresponding documentation (hereinafter collectively referred to as the “Work”), to any and all persons that wish to utilize the Work. Such persons are entitled to use the Work in any way (including for-profit purposes) that does not detract from its value. This authorization is not limited in terms of time, location and quantity. In Prague on 16th of May, 2017 ………………… Czech Technical University in Prague Faculty of Information Technology © 2017 David Labský. All rights reserved. This thesis is a school work as defined by Copyright Act of the Czech Republic. It has been submitted at Czech Technical University in Prague, Faculty of Information Technology. The thesis is protected by the Copyright Act and its usage without author’s permission is prohibited (with exceptions defined by the Copyright Act). Citation of this thesis LABSKÝ, David. USB Flash Drive Writer. Bachelor’s thesis. Czech Technical University in Prague, Faculty of Information Technology, 2017. Available also from WWW: hhttps://github:com/Sanqui/fedorator-thesisi. Abstrakt V této práci je od myšlenky k prototypu dovedeno zařízení zvané Fedorator, které slouží k zápisu operačního systému Fedora na USB flash disky. Je zde proveden detailní rozbor hardwaru včetně přehledu USB protokolu. Klíčová slova USB flash disk, USB duplikační zařízení, Fedora, Raspberry Pi, open hardware Abstract In this thesis, a device called Fedorator, capable of writing the Fedora operating system to USB flash drives, is brought from thought to a prototype. Detailed analysis over the hardware is performed, including an overview of the USB protocol. Keywords USB flash drive, USB duplicator, Fedora, Raspberry Pi, open hardware Contents Introduction 21 1 Research and Analysis 23 1.1 How Fedora Spreads Publicity ................... 23 1.2 Existing solutions .......................... 24 1.2.1 Preloaded USB flash drives . 24 1.2.2 USB Duplicators ....................... 25 1.2.3 Existing software ...................... 27 1.2.4 Dedicated Open Source Hardware . 28 1.3 Rationale for a New Solution .................... 28 2 Specification and Goals 31 2.1 Function ............................... 31 2.1.1 User ............................. 32 2.1.2 Operator ........................... 32 2.2 Looks ................................. 32 2.3 Interface ............................... 33 2.4 Conclusion .............................. 35 3 Analysis of Possible Solutions 37 3.1 Hardware Options .......................... 38 3.1.1 Raspberry Pi ......................... 38 3.1.2 Arduino ........................... 40 13 3.1.3 ESP8266 ........................... 41 3.1.4 Teensy ............................ 42 3.1.5 FPGA ............................. 43 3.2 Display Options ........................... 44 3.2.1 Character-based LCDs ................... 44 3.2.2 OLED ............................. 44 3.2.3 TFT .............................. 45 3.3 Other Component Options ..................... 45 3.4 Casing Options ............................ 45 3.4.1 Wood ............................. 45 3.4.2 Plastic with Mold ...................... 46 3.4.3 3D Printed .......................... 46 3.5 Roundup ............................... 47 3.6 Concepts ............................... 48 3.6.1 Concept A .......................... 49 3.6.2 Concept B .......................... 50 3.6.3 Concept C .......................... 51 3.7 Decision ............................... 52 4 Raspberry Pi-based Solution 53 4.1 Specification ............................. 53 4.2 Software ............................... 53 4.2.1 Behavior ........................... 54 4.3 Technical Implementation ...................... 57 4.4 Case .................................. 57 4.5 Construction of a Prototype .................... 59 4.6 Instructions .............................. 61 4.7 Speed Measurements ........................ 61 4.8 Conclusion .............................. 65 5 Interlude: USB Mass Storage 67 5.1 Introduction to USB ......................... 67 5.2 USB Specification .......................... 68 5.2.1 USB Host ........................... 68 5.2.2 USB Device ......................... 69 5.2.3 USB Hardware ........................ 69 14 5.2.4 USB Protocol ........................ 69 5.3 USB Mass Storage Device Class ................... 70 6 Microcontroller-based solution 71 Conclusion 73 Future Work ................................ 74 Bibliography 75 A List of Acronyms 85 B Supplemental Material 87 15 List of Tables 1.1 Examples of USB duplicators available on the market . 25 4.1 Fedorator speed measurements ..................... 64 17 List of Figures 1.1 Fedora logo and wordmark [33] .................... 23 1.2 VINPOWER Black 1 to 11 USBShark [60] . 26 1.3 Altarec USB Copy Cruiser Mini Duplicator [7] . 26 1.4 Fedora Media Writer running on Linux [21] . 27 2.1 Solid Machined Metal Knob offered by Adafruit [2] . 34 3.1 Raspberry Pi 3 Model B [65] ...................... 38 3.2 Arduino Uno R3 [79] .......................... 41 3.3 Arduino Nano [56] ........................... 42 3.4 Teensy 3.6 [80] ............................. 43 3.5 Common OLED display available on Adafruit [1] . 44 3.6 LulzBot Mini 3D printer [4] ...................... 46 3.7 Concept A ................................ 49 3.8 Concept B ................................ 50 3.9 Concept C ................................ 51 4.1 Fedorator: the standby screen ..................... 54 4.2 Fedorator: picking a release from the list . 55 4.3 Fedorator: taking a look at the Fedora Workstation release . 56 4.4 Fedorator: Fedora LXDE Destkop was sucessfully written to the flash drive ................................ 56 4.5 A screenshot of the OpenSCAD software with the case open. Both the source code and the rendered model can be seen . 58 19 List of Figures 4.6 A render of the constructed case, courtesy of OpenSCAD . 59 4.7 A test print with a Raspberry Pi seated inside . 60 4.8 The case print complete with supports . 61 4.9 The Fedorator prototype with two USB flash drives plugged in . 62 4.10 The Fedorator prototype done flashing the Fedora Workstation system .................................. 63 4.11 The various flash drives tested ..................... 64 6.1 Teensy detecting a USB mass storage device . 72 20 Introduction In today’s world, there are many free and open source operating systems based on the Linux kernel, called Linux distributions [90]. Despite Linux’s relatively small market share (between 2.4% and 4.6%, to date [91]), it is being used by millions of people daily and has significant traction among developers [81] and technically minded people in general. The companies and communities behind Linux distributions are, of course, trying to raise the usage of their respetive operating systems. One way to achieve that is through
Recommended publications
  • QEMU Version 2.10.2 User Documentation I
    QEMU version 2.10.2 User Documentation i Table of Contents 1 Introduction ::::::::::::::::::::::::::::::::::::: 1 1.1 Features :::::::::::::::::::::::::::::::::::::::::::::::::::::::: 1 2 QEMU PC System emulator ::::::::::::::::::: 2 2.1 Introduction :::::::::::::::::::::::::::::::::::::::::::::::::::: 2 2.2 Quick Start::::::::::::::::::::::::::::::::::::::::::::::::::::: 2 2.3 Invocation :::::::::::::::::::::::::::::::::::::::::::::::::::::: 3 2.3.1 Standard options :::::::::::::::::::::::::::::::::::::::::: 3 2.3.2 Block device options ::::::::::::::::::::::::::::::::::::::: 9 2.3.3 USB options:::::::::::::::::::::::::::::::::::::::::::::: 19 2.3.4 Display options ::::::::::::::::::::::::::::::::::::::::::: 19 2.3.5 i386 target only::::::::::::::::::::::::::::::::::::::::::: 26 2.3.6 Network options :::::::::::::::::::::::::::::::::::::::::: 27 2.3.7 Character device options:::::::::::::::::::::::::::::::::: 35 2.3.8 Device URL Syntax::::::::::::::::::::::::::::::::::::::: 39 2.3.9 Bluetooth(R) options ::::::::::::::::::::::::::::::::::::: 42 2.3.10 TPM device options ::::::::::::::::::::::::::::::::::::: 42 2.3.11 Linux/Multiboot boot specific ::::::::::::::::::::::::::: 43 2.3.12 Debug/Expert options ::::::::::::::::::::::::::::::::::: 44 2.3.13 Generic object creation :::::::::::::::::::::::::::::::::: 52 2.4 Keys in the graphical frontends :::::::::::::::::::::::::::::::: 58 2.5 Keys in the character backend multiplexer ::::::::::::::::::::: 58 2.6 QEMU Monitor ::::::::::::::::::::::::::::::::::::::::::::::: 59 2.6.1 Commands :::::::::::::::::::::::::::::::::::::::::::::::
    [Show full text]
  • IBM Qradar : Installation Guide Chapter 1
    IBM QRadar 7.4 Installation Guide IBM Note Before you use this information and the product that it supports, read the information in “Notices” on page 69. Product information This document applies to IBM® QRadar® Security Intelligence Platform 7.4.2 and subsequent releases unless superseded by an updated version of this document. © Copyright International Business Machines Corporation 2004, 2020. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Introduction to QRadar installations ......................................................................v Chapter 1. QRadar deployment overview................................................................1 License keys................................................................................................................................................. 1 Integrated Management Module.................................................................................................................1 Management controller................................................................................................................................2 Prerequisite hardware accessories for QRadar installations......................................................................2 Environmental restrictions...........................................................................................................................2 Supported web browsers ............................................................................................................................3
    [Show full text]
  • Performance and Innovation of Storage Advances Through SCSI Express © 2014 Storage Networking Industry Association
    Performance and Innovation of Storage PRESENTATION TITLE GOES HERE Advances through SCSI Express Marty Czekalski President, SCSI Trade Association - Emerging Interface and Architecture Program Manager, Seagate Technology Greg McSorley Vice President, SCSI Trade Association Technical Business Development Manager, Amphenol SNIA Legal Notice The material contained in this tutorial is copyrighted by the SNIA unless otherwise noted. Member companies and individual members may use this material in presentations and literature under the following conditions: Any slide or slides used must be reproduced in their entirety without modification The SNIA must be acknowledged as the source of any material used in the body of any document containing material from these presentations. This presentation is a project of the SNIA Education Committee. Neither the author nor the presenter is an attorney and nothing in this presentation is intended to be, or should be construed as legal advice or an opinion of counsel. If you need legal advice or a legal opinion please contact your attorney. The information presented herein represents the author's personal opinion and current understanding of the relevant issues involved. The author, the presenter, and the SNIA do not assume any responsibility or liability for damages arising out of any reliance on or use of this information. NO WARRANTIES, EXPRESS OR IMPLIED. USE AT YOUR OWN RISK. Performance and Innovation of Storage Advances through SCSI Express © 2014 Storage Networking Industry Association. All Rights Reserved. 2 Abstract Performance and Innovation of Storage Advances through SCSI Express SCSI Express represents the natural evolution of enterprise storage technology building upon decades of customer and industry experience.
    [Show full text]
  • Juniper Secure Analytics Installation Guide
    Juniper Secure Analytics Installation Guide Release Published 7.3.0 2021-04-21 ii Juniper Networks, Inc. 1133 Innovation Way Sunnyvale, California 94089 USA 408-745-2000 www.juniper.net Juniper Networks, the Juniper Networks logo, Juniper, and Junos are registered trademarks of Juniper Networks, Inc. in the United States and other countries. All other trademarks, service marks, registered marks, or registered service marks are the property of their respective owners. Juniper Networks assumes no responsibility for any inaccuracies in this document. Juniper Networks reserves the right to change, modify, transfer, or otherwise revise this publication without notice. Juniper Secure Analytics Installation Guide 7.3.0 Copyright © 2021 Juniper Networks, Inc. All rights reserved. The information in this document is current as of the date on the title page. YEAR 2000 NOTICE Juniper Networks hardware and software products are Year 2000 compliant. Junos OS has no known time-related limitations through the year 2038. However, the NTP application is known to have some difficulty in the year 2036. END USER LICENSE AGREEMENT The Juniper Networks product that is the subject of this technical documentation consists of (or is intended for use with) Juniper Networks software. Use of such software is subject to the terms and conditions of the End User License Agreement (“EULA”) posted at https://support.juniper.net/support/eula/. By downloading, installing or using such software, you agree to the terms and conditions of that EULA. iii Table of Contents About
    [Show full text]
  • Phpmyadmin Documentation Release 5.1.2-Dev
    phpMyAdmin Documentation Release 5.1.2-dev The phpMyAdmin devel team Sep 29, 2021 Contents 1 Introduction 3 1.1 Supported features............................................3 1.2 Shortcut keys...............................................4 1.3 A word about users............................................4 2 Requirements 5 2.1 Web server................................................5 2.2 PHP....................................................5 2.3 Database.................................................6 2.4 Web browser...............................................6 3 Installation 7 3.1 Linux distributions............................................7 3.2 Installing on Windows..........................................8 3.3 Installing from Git............................................8 3.4 Installing using Composer........................................9 3.5 Installing using Docker..........................................9 3.6 IBM Cloud................................................ 14 3.7 Quick Install............................................... 14 3.8 Verifying phpMyAdmin releases..................................... 16 3.9 phpMyAdmin configuration storage................................... 17 3.10 Upgrading from an older version..................................... 19 3.11 Using authentication modes....................................... 19 3.12 Securing your phpMyAdmin installation................................ 26 3.13 Using SSL for connection to database server.............................. 27 3.14 Known issues..............................................
    [Show full text]
  • Ear Os Linux Download
    Ear os linux download The last version of eAR OS b was released in and was based on Ubuntu LTS Hardy Heron. Download. eAR OS b i eAR OS is an Ubuntu-based Linux distribution featuring the advanced, yet Screencasts. Download Mirrors, #fragment-3 •. Download eAROS Media Centre from our dedicated server. eAR OS comes with the very advanced and beautifully simple to operate eAR Media Center. Free Download eAR OS b - eAR OS is a state-of-the-art Linux operating system. You can either download eAR OS (free version) from their website or BitTorrent. Like the other Linux distributions, you can burn the ISO file as. It recently released eAR OS Free Edition, a free media center system You can install updates to the Media Center instead of downloading a. For Linux, a small tune is needed at build time. Need to compile libray for bit and for bit too. Then install these libraries to the OS preferred. Linux (Ubuntu, Debian, SuSE, Red Hat and all other distributions supporting Java If you are experiencing problems with starting Docear on Mac OS X, please. Docear is a unique solution to academic literature management, i.e. it helps you Docear recommends papers which are free, in full-text, instantly to download, and Docear is free, open source, available for Windows, Linux, and Mac OS X. You need to download the following software, and get a user license. μPILAR (). EN (includes ISO ). windows: [ download ] [ signature ]. Please select your download package: 32 (For Debian/Ubuntu) 64 (For Debian/Ubuntu) 32 (For Fedora/openSUSE) 64 (For.
    [Show full text]
  • Vt6306 Driver Download
    vt6306 driver download DRIVERS VIA VT6306 FIREWIRE FOR WINDOWS 8 DOWNLOAD (2020) See the release notes in the file for installation instructions, supported hardware, what's new, bug fixes, and known issues. I just selected these completely different models to illustrate the current situation. Welcome to the VIA Driver Download Portal. IEEE 1394 Host Controller in lspci, but rev. The IEEE 1394 high-speed serial bus known as Firewire is a leading PCI peer-to-peer interconnect system and is widely acclaimed as the primary interface for digital audio and video applications. Uploaded on, downloaded 367 times, receiving a 93/100 rating by 286 users. Purchased a FireWire IEEE 1394 PCI card with the VIA Technologies, Inc. Fire VT6306/L IEEE 1394 Link-Layer / PHY Chipset Solution The VIA Fire II VT6306/L is a complete single chip IEEE1394 solution that provides high-speed seamless plug and play connection to. The VT6306 IEEE 1394 OHCI Host Controller provides high performance serial connectivity. EasyCAP Driver is a file conversion software tool that converts the RCA or S-video source to the USB video. The VIA VT6306 and peripheral controllers show up to. Add FireWire connectivity to any computer with this 3+1-port IEEE 1394 FireWire card. The VIA Vt6306 3-port FireWire card. Simplicity, Provides a simple low cost interconnect system for multimedia applications such as video cameras. Featuring the size displayed will provide the FW ones don't. VIA Firewire Chipsets. Drivers in supported hardware, Inc. Note the updates below as well as the operating systems. Initial Driver Support for Windows 7, Vista, and XP - USB Attached SCSI Protocol UASP - Supports various Linux kernels - Supports Windows 10, Windows 8 inbox driver, BACK.
    [Show full text]
  • Fedora 26 Installation Guide
    Fedora 26 Installation Guide Installing Fedora 26 on 32 and 64-bit AMD and Intel Fedora Documentation Project Installation Guide Fedora 26 Installation Guide Installing Fedora 26 on 32 and 64-bit AMD and Intel Edition 1 Author Fedora Documentation Project Copyright © 2017 Red Hat, Inc. and others. The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/. The original authors of this document, and Red Hat, designate the Fedora Project as the "Attribution Party" for purposes of CC-BY-SA. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version. Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law. Red Hat, Red Hat Enterprise Linux, the Shadowman logo, JBoss, MetaMatrix, Fedora, the Infinity Logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries. For guidelines on the permitted uses of the Fedora trademarks, refer to https://fedoraproject.org/wiki/ Legal:Trademark_guidelines. Linux® is the registered trademark of Linus Torvalds in the United States and other countries. Java® is a registered trademark of Oracle and/or its affiliates. XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
    [Show full text]
  • USB 3.0 to SATA Hard Drive Lay-Flat Enclosure for 3.5-In. HDD And
    USB 3.0 to SATA Hard Drive Lay-Flat Enclosure Highlights for 3.5-in. HDD and SSD ● Compact, stable lay-flat design ● No software or drivers to MODEL NUMBER: U339-001-FLAT download or install ● Compliant with USB 3.0, USB 2.0 and USB 1.1 transfer rates ● Compliant with SATA HDD or SSD drives up to SATA III ● Protective cover keeps SATA drive free of dust System Requirements ● Computer with available USB port (USB 3.0 port required to achieve USB 3.0 data transfer speeds) ● 2.5-in. or 3.5-in. SATA HDD or SSD ● UASP-enabled host controller (for UASP data transfer speeds only) Quickly and easily add storage and transfer data to your computer or laptop by connecting a SATA drive Package Includes to your computer’s USB port. Compact lay-flat design takes up little space and maintains stability on most ● U339-001-FLAT USB 3.0 to surfaces. SATA Hard Drive Lay-Flat Enclosure Description ● USB 3.0 A/B cable, 4-ft. (1.22 m) length The U339-001-FLAT USB 3.0 to SATA Hard Drive Lay-Flat Enclosure allows you to quickly and easily add ● External Power Supply with storage and transfer data to your computer or laptop from a SATA hard drive. It lays flat to take up little NEMA 1-15P Plug (Input: 100- space and maintain stability. Just insert a 2.5-in. or 3.5-in. SATA HDD (Hard Disk Drive) or SSD (Solid 240V, 50/60 Hz, 0.8A; Output: 12V, 2A, 5-ft.
    [Show full text]
  • LINUX JOURNAL | Issue 284 | March 2018
    What’s New Shell Scripting Raspberry Pi in Qubes 4 Security Alternatives Since 1994: The original magazine of the Linux community DEEP DIVE BLOCKCHAIN PLUS POSTGRESQL 10 The Latest and Most Interesting Features BITCOIN AND TAXES Cryptocurrency and Uncle Sam LINUXBOOT FOSS Project Spotlight ISSUE 284 | MARCH 2018 www.linuxjournal.com MARCH 2018 CONTENTS ISSUE 284 DEEP DIVE: Blockchain 95 Blockchain, Part I: Introduction and Cryptocurrency by Petros Koutoupis What makes both bitcoin and blockchain so exciting? What do they provide? Why is everyone talking about this? And, what does the future hold? 105 Blockchain, Part II: Configuring a Blockchain Network and Leveraging the Technology by Petros Koutoupis How to set up a private etherium blockchain using open-source tools and a look at some markets and industries where blockchain technologies can add value. 2 | March 2018 | http://www.linuxjournal.com CONTENTS 6 From the Editor—Doc Searls Help Us Cure Online Publishing of Its Addiction to Personal Data UPFRONT 18 FOSS Project Spotlight: LinuxBoot by David Hendricks, Ron Minnich, Chris Koch and Andrea Barberio 24 Readers’ Choice Awards 26 Shorter Commands by Kyle Rankin 29 For Open-Source Software, the Developers Are All of Us by Derek Zimmer 32 Taking Python to the Next Level by Joey Bernard 37 Learning IT Fundamentals by Kyle Rankin 40 Introducing Zero-K, a Real-Time Strategy Game for Linux by Oflameo 45 News Briefs COLUMNS 46 Kyle Rankin’s Hack and / What’s New in Qubes 4 52 Reuven M. Lerner’s At the Forge PostgreSQL 10: a Great New Version for a Great Database 64 Shawn Powers’ The Open-Source Classroom Cryptocurrency and the IRS 72 Zack Brown’s diff -u What’s New in Kernel Development 76 Susan Sons’ Under the Sink Security: 17 Things 86 Dave Taylor’s Work the Shell Shell Scripting and Security 178 Glyn Moody’s Open Sauce Looking Back: What Was Happening Ten Years Ago? LINUX JOURNAL (ISSN 1075-3583) is published monthly by Linux Journal, LLC.
    [Show full text]
  • Red Hat Enterprise Linux 8 Essentials Red Hat Enterprise Linux 8 Essentials ISBN-13: 978-1-951442-04-0 © 2020 Neil Smyth / Payload Media, Inc
    Red Hat Enterprise Linux 8 Essentials Red Hat Enterprise Linux 8 Essentials ISBN-13: 978-1-951442-04-0 © 2020 Neil Smyth / Payload Media, Inc. All Rights Reserved. This book is provided for personal use only. Unauthorized use, reproduction and/or distribution strictly prohibited. All rights reserved. The content of this book is provided for informational purposes only. Neither the publisher nor the author offers any warranties or representation, express or implied, with regard to the accuracy of information contained in this book, nor do they accept any liability for any loss or damage arising from any errors or omissions. This book contains trademarked terms that are used solely for editorial purposes and to the benefit of the respective trademark owner. The terms used within this book are not intended as infringement of any trademarks. Rev: 2.0 Contents Table of Contents 1. Introduction .........................................................................................................................1 1.1 Superuser Conventions................................................................................................. 1 1.2 Opening a Terminal Window ...................................................................................... 2 1.3 Editing Files ................................................................................................................... 3 1.4 Feedback ......................................................................................................................... 5 1.5 Errata ..............................................................................................................................
    [Show full text]
  • Qemu USB Status Report 2012
    USB Status report 2012 Gerd Hoffmann Red Hat KVM Forum, Nov 7th 1 Gerd Hoffmann <[email protected]> Outline ● Some USB Basics. ● What is new / updated / improved in QEMU USB support? ● Future plans / TODO list. ● Using the new bits. 2 Gerd Hoffmann <[email protected]> USB Basics: Endpoints ● Communicate with the host using endpoints ● Each endpoint is a data pipe. ● One control endpoint. ● Up to 15 IN (device -> host) endpoints ● Up to 15 OUT (host ->device) endpoints. ● Four Endpoint types ● Control ● Bulk (bulky data: usb sticks) ● Isochronous (streaming data: usb speakers) ● Interrupt (events: mouse) 3 Gerd Hoffmann <[email protected]> USB Basics: Functions ● Functional unit, OS typically has one driver per function. ● Each function has a set of endpoints. ● Multifunction examples: ● Webcam with mic: one video, one audio. ● Extra HID function for buttons. ● Extra storage function with windows drivers. ● Most devices have a single function only. 4 Gerd Hoffmann <[email protected]> USB Core changes ● Model endpoints & packet queues. ● move from packet-by-packet to datapipe processing (next slides). ● USB3 descriptor support ● generate endpoint companion descriptors. ● generate binary object store descriptors. ● Usual share of cleanups. 5 Gerd Hoffmann <[email protected]> Packet queues: without pipelining #1 #2 #1 #1 QEMU Guest #1 usb-host Device or #2 redirect #2 #2 6 Gerd Hoffmann <[email protected]> Packet queues: with pipelining #1 #2 #1 #2 QEMU #1 Guest usb-host #2 Device or redirect #1 #2 7 Gerd Hoffmann <[email protected]> uhci host controller ● Bandwidth accounting (next slides). ● Support queuing & pipelining. ● Fix ich9 companion irq routing. ● Use all 4 intx pins for multifunction device to reduce IRQ sharing.
    [Show full text]