Save
Busy. Please wait.
Log in with Clever
or

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever
or

Username is available taken
show password


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
Your email address is only used to allow you to reset your password. See our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.
focusNode
Didn't know it?
click below
 
Knew it?
click below
Don't Know
Remaining cards (0)
Know
0:00
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

Device Drivers

Info about installed hardware

QuestionAnswer
A software component that allows a hardware device to communicate with the OS - allows an OS to correct, interpret,and implements the signals that come from the hardware devices Device Driver
Two methods Linux uses to implement device drivers Loaded as a kernel module compiled into the kernel
Software that the kernel accesses only when it is needed - have a .o or .ko extension and are linked and unlinked dynamically kernel modules
Kernel modules stored in /lib/modules/kernel_version/kernel/driver_name directory
Drivers that are integrated into the kernel build when the kernel is recompiled Compiled into the kernel
Directory that contains info about the systems state and processes -contents created dynamically /proc
/proc Files and Directories: Displays the BOOT options that were given to the kernel at boot time /proc/cmdline
/proc Files and Directories; has info about the computer's CPU /proc/cpuinfo
/proc Files and Directories: Displays a list of hardware installed /proc/devices
/proc Files and Directories: Shows all Direct Memory Access assignments - gives hardware devices direct access to computer's memory independent of CPU /proc/dma
/proc Files and Directories: Signals sent to CPU that inform it that it needs to process input from a hardware device /proc/interrupt
/proc Files and Directories: Contains a mapping of memory allocated to each device and the input/output port assignment for the memory /proc/iomem
/proc Files and Directories: Lists the kernel modules computer is currently using (running) /proc/modules
/proc Files and Directories: Gives info about the current kernel version /proc/version
/proc Files and Directories: Displays detailed memory info on the system /proc/meminfo
/proc Files and Directories: Contains a file or directory for each SCSI device attached to the computer /proc/scsi
/proc Files and Directories: Contains a file or directory for each USB device attached to the computer /proc/bus
/proc Files and Directories: Contains a file for the IDE (Integrated device electronics) device attached to the computer /proc/ide
/proc Files and Directories: Contains a list of filesystems that are configured into the currently running kernel /proc/filesystems
/proc Files and Directories: Partition info including major and minor number of each partition NAME and Number of BLOCKS /proc/partitions
/proc Files and Directories: permits interfaces on the system to FORWARD packages to one another /proc/ip_forward
Makes available or exports info about the hardware devices and drivers in the system to programs running on the system /sys
/sys Sub-Directories: Has an entry for each BLOCK device - Block devices such as flash drives and disk drives use data blocks /sys/block
/sys Sub-Directories: Holds a sub-directory for SCSI, USB, PCI, and ISA devices -Each sub-directory has an additional directory for devices and drivers that has info for each device and driver in the category /sys/bus
/sys Sub-Directories: Has files for each CLASS of device on computer /sys/class
/sys Sub-Directories: lists every device discovered on computer - The directory hierarchy places each device beneath the device to which it is connected /sys/devices
/sys Sub-Directories: has a sub-directory for each kernel module installed /sys/module
Display info on all USB devices connected to the computer lsusb
lsusb Options: Show all info about each USB device lsusb -v
lsusb Options: Show info for a specific bus lsusb -s device_name
Display info about HARDWARE on computer hwinfo
hwinfo Options: Probes for a specific hardware item hwinfo --hardware_item_name e.g. hwinfo --cpu
hwinfo Options: Show an abbreviated list of info hwinfo --short
hwinfo Options: Display RAID devices hwinfo --listmd
Display all PCI (Peripheral Component Interconnect) devices lspci
lspci Options: Show the devices and the kernel drivers that support them lspci -k
lspci Options: displays a tree diagram that shows connections between all busses, bridges, and devices lspci -t
A virtual file system mounted at /sys which exports info about hotplug devices so that other utilities can access the information sysfs
Daemon (hald) that provides all applications with data about current hardware. Hald runs constantly Hardware Abstraction Layer (HAL) daemon
Daemon allows processes to communicate with each other and notify them of new hotplug devices Desktop Bus (D-Bus) daemon
A virtual filesystem that dynamically creates device files as devices are added ad removed /udev
/udev uses this configuration file which contains the error reporting level for hotplug device errors /etc/udev/udev.conf
/udev uses this directory to name devices /etc/udev/rules.d
hwinfo Options: show a particular disk hwinfo --disk --only /dev/sdb
Created by: johnadream
Popular Computers sets

 

 



Voices

Use these flashcards to help memorize information. Look at the large card and try to recall what is on the other side. Then click the card to flip it. If you knew the answer, click the green Know box. Otherwise, click the red Don't know box.

When you've placed seven or more cards in the Don't know box, click "retry" to try those cards again.

If you've accidentally put the card in the wrong box, just click on the card to take it out of the box.

You can also use your keyboard to move the cards as follows:

If you are logged in to your account, this website will remember which cards you know and don't know so that they are in the same box the next time you log in.

When you need a break, try one of the other activities listed below the flashcards like Matching, Snowman, or Hungry Bug. Although it may feel like you're playing a game, your brain is still making more connections with the information to help you out.

To see how well you know the information, try the Quiz or Test activity.

Pass complete!
"Know" box contains:
Time elapsed:
Retries:
restart all cards