You are on page 1of 26

Hardware Configuration

Hardware Configuration
 Understand hardware resource allocation (IRQs, I/O ports and DMA)  Overview hardware devices such as expansion cards, USB and SCSI devices  Detection of network interfaces and printers (no configuration)  Understand basic configuration steps for modems and sound cards

IPMAC
Networking Academy

Resource Allocation
 Resource
 I RQs  I/O address  DMA

 Listing Allocated Resources


 Lspci  dmesg

IPMAC
Networking Academy

Resource Allocation (Conts)

IPMAC
Networking Academy

Resource Allocation (Conts)


 Manual Resource Allocation
 Edit /etc/lilo.conf (use an append= statement) or /etc/grub.conf.  Using /etc/modules.conf (or /etc/conf.modules).

IPMAC
Networking Academy

PC Expansion Cards
 Types
 ISA  PCI

 Control PnP devices


 Isapnptools: provided the pnpdump tool (/etc/isapnp.conf) for control expansion card  Module: isapnp.o

IPMAC
Networking Academy

USB Support

IPMAC
Networking Academy

USB Support (cont)


 Hotplugging
 keep the state of the operating system updated when pluggable hardware devices are added or removed.  hotplug script runs all the scripts in /etc/hotplug.d (the default is default.hotplug) which in turn starts the appropriate agent listed in /etc/hotplug.

IPMAC
Networking Academy

USB Support (cont)

IPMAC
Networking Academy

SCSI Devices
 Types of SCSI devices
 an 8-bit interface with a bus that supports 8 devices,  a 16-bit interface (WIDE) with a bus that supports 16 devices

 SCSI devices are uniquely identified using a set of 3 numbers called the SCSI ID:
 the SCSI channel (Each SCSI adapter supports one data channel)  the device ID number (jumpers on the disk)  the logical unit number LUN
IPMAC
Networking Academy

SCSI Devices (Cont)

IPMAC
Networking Academy

Network cards

IPMAC
Networking Academy

Setting up modems
 Modem device
 Internal modem  External Modem

IPMAC
Networking Academy

Setting up modems (Cont)

IPMAC
Networking Academy

Setting up modems (Cont)

IPMAC
Networking Academy

Setting up modems (Cont)

IPMAC
Networking Academy

Setting up modems (Cont)

IPMAC
Networking Academy

Setting up modems (Cont)


 ISDN
 isdn4linux project: isdn4k-utils  system-config-network

 ADSL
 Pppoe, pppoA

IPMAC
Networking Academy

Printer Configuration
 Steps of printing
 First the raw data is filtered into a postscript format,  the printing itself is handled by the ghostscript,

 Tools
 Dmesg  gs

IPMAC
Networking Academy

Printer Configuration
 Using printtool

IPMAC
Networking Academy

Printer Configuration (conts)


 Using cups
    main configuration files are stored in /etc/cups. own filters situated in /usr/lib/cups. Web based GUI running on port 631 lpd is replaced by the cupsd daemon

IPMAC
Networking Academy

Sound Cards
 Two sound support projects
 open sound system (OSS)  Advanced Linux sound architecture (ALSA)

IPMAC
Networking Academy

Sound Cards (Cont)

IPMAC
Networking Academy

Summary

IPMAC
Networking Academy

Summary (Cont)

IPMAC
Networking Academy

Summary (Cont)

IPMAC
Networking Academy

You might also like