With Linux, drivers are related to the used kernel. That means that the driver binary has to be build for the specific kernel in use.
Therefore, Linux distributions include already drivers for many hardware.
But problems arise when using a brand new or exotic hardware that is not supported by your distribution. Than you have two options:
- Build the driver for your kernel.
- Use an image provided by the hardware manufacturer.
The first option requires some knowledge about the Linux kernel and modules, and about the required utilities (GCC, make). See for example
http://www.tldp.org/LDP/lkmpg/2.6/html/x181.html[
^] and
Compile kernel module - ArchWiki[
^]. Note that the module must be rebuild each time when updating the kernel (e.g. by a Rapsbian update).
The second option requires installing the provided image (if a Raspbian image is availabe) by coyping it to the SD card which replaces your existing Raspbian. This is often not the best option because such images are usually not often updated. The update mechanism of Raspbian can't be used for kernel updates because that would not update the driver module.
Therefore, you should check if specific hardware is supported by your distribution before buying it. For the Raspberry Pi see
RPi USB Wi-Fi Adapters - eLinux.org[
^].
Because you have it already, just plug it in when power is off, power on, and check the log file
/var/log/kern.log. It should provide information if a driver module has been loaded or an unknown device has been detected.
As last resort you can try to find information in the web about your hardware. Search for the device name with Linux and/or Raspberry / Raspbian. If the above log file contain some information (especially USB VID and PID or a device name) include that too or use it instead of the initial used device name.