On an xM using the Angstrom demo image, I attached a USB/serial converter that uses an FT232 chip. The OS detected the device and added these files to /sys/bus/usb/drivers:
ftdi_sio (USB FTDI Serial Converters Driver)
usbserial (USB Serial Driver core)
usbserial_generic
Where did these files come from? Are there other USB driver files that will become available if I attach a device? How can I find out what drivers are available?
Drivers in your kernel can be: 1) built in which gets loaded at the time
of boot only and 2) second is modules which only gets loaded when you
insert the device.
generally, usbserial, ftdi_sio and related drivers are not built-in.
they get loaded when you insert the device.
You can see list of all the modules which are currently being loaded in
the memory by lsmod(8) command.
And to know which device modules are currently there in your kernel, you
can see /lib/modules/`uname -r`/kernel/
This folder has all the .ko files for the modules that are compiled with
your kernel.
Now, to know which device uses which module, one way is to try to insert
your device in your PC and see what are the modules which get loaded and
while compiling your kernel remember to include those modules.
I hope i answered the same thing that you are asking .
to know which device modules are currently there in your kernel, you
can see /lib/modules/`uname -r`/kernel/
This folder has all the .ko files for the modules that are compiled with
your kernel.