System Architecture
Objectives
Objective 1: Determine and Configure Hardware Settings
BIOS
USB Topology
USB Controllers
USB Devices
USB Drivers
USB Hotplug
Reporting Your Hardware
Device Management Definitions
BIOS
The firmware located in a PC,
BIOS
Depending on the BIOS vendor, these will include settings
for disks, on-board ports (such as serial and parallel ports),
and the clock, as well as many others.
Date and time: set in BIOS or in OS
Disks and boot devices as CD-DVD, Floopy, Network
Boot (NIC)
/proc/ioports:
When cpu needs to
communicate to
peripheral devices, it
does so by writing to IO
ports or simply ports.
Each device has its
own separate port that
is not shared with other
devices.
USB Topology
Universal Serial Bus (USB) is a type of interface used to
connect various types of peripherals, ranging from
keyboards and mice to hard drives, scanners, digital
cameras, and printers.
The lsusb command can be used to see how devices are
physically attached to a Linux system.
USB Controllers
There are three types of USB host controllers:
Open Host Controller Interface (OHCI)
Universal Host Controller Interface (UHCI)
Enhanced Host Controller Interface (EHCI)
OHCI and UHCI controllers are both USB 1.1 controllers,
which are capable of a maximum of 12 Mbps.
EHCI controllers are USB 2.0 controllers, which are
capable of a theoretical maximum of 480 Mbps
USB 3.0 Speed: 4800Mbps
A USB 2.0 device attached to a USB 1.1 hub will only be
able to run at USB 1.1 speeds.
USB Device
There are several classes of USB devices:
Human Interface Device (HID)
USB Drivers
USB support was added to the Linux kernel in the 2.3.x
development kernel series
The Linux kernel USB drivers fall into three categories:
Host controller drivers: usb-ohci.o , usb-uhci.o , usbehci.o
Class drivers: usb-storage.o , printer.o, and audio.o
Other device drivers
USB Hotplug
Hotplug lets you plug in new USB devices and use them
immediately.
Starting with kernel 2.4 (in January 2001), hotplugging
became a standard feature of Linux.