When you insert a removable medium (CD or DVD) or plug in a removable device (digital camera or USB flash drive) from a KDE desktop in SUSE, a window opens to let you choose the type of action to take on it. If you want to add a different action, or change an existing action, click the Configure button.
Figure 10-4 shows an example of the window that appears when a 32MB USB flash drive is inserted, as well as the KDE Control Module that appears when Configure is selected.
Use the KDE Control Module to set how to respond to inserted media. i
From the KDE Control Module, select the media type you want to change (in this case, Mounted Removable Medium). Click Add, and then select the type of action you would like to add as an option when that type of media is detected.
If you have added hardware to your computer that isn't properly detected, you might need to manually load a module for that hardware. Linux comes with a set of commands for loading, unloading, and getting information about hardware modules.
If you have installed the Linux kernel source code, source code files for available drivers are stored in subdirectories of the /usr/src/linux*/drivers directory. You can find information about these drivers in a couple of ways:
• make xconfig—With / usr/src/linux* as your current directory (and Linux kernel source code installed), type make xconfig from a Terminal window on the desktop. Select the category of module you want and then click Help next to the driver that interests you. The help information that appears includes a description of the driver. (If your system is missing graphical libraries needed to run make xconfig, try make menu-config instead.)
• Documentation—The /usr/src/linux*/Documentation directory contains lots of plain-text files describing different aspects of the kernel and related drivers.
After modules have been built, they are installed in the /lib/modules/ subdirectories. The name of the directory is based on the release number of the kernel that the modules were compiled for. Modules that are in that directory can then be loaded and unloaded as they are needed. Before building modules for a new kernel, or more important, a current kernel, it may be wise to add your initials to the kernel Makefile under the variable EXTRAVERSION at the top of the Makefile. This installs your new modules under /lib/modules/kernel-version with the EXTRAVERSION suffixed to the directory. If you completely wreck the module build, you haven't overwritten the current modules you may be running. It also makes it easier to identify custom kernel modules when debugging. To see your current kernel version, type
Was this article helpful?