On Tue, 30 Nov 2004 08:44:57 -0500, Christian Convey
<conveycj@npt.nuwc.navy.mil> wrote:
Hey guys,
I've got a usb camera (Kodak DX6490). I'm starting to suspect from
various tinkering I've done (in Knoppix, FC3, and Sarge) that the kernel
can't find a module to associate with the camera, and that's causing my
problems.
In 2.6/Sarge...
- How does the kernel know which driver to use for a USB device I plug in?
The kernel alone do nothing, you need "userland" programs to load
kernel modules when a new HD is plugged, like the "hotplug" package.
If you only need to access the photos, usually you only need to load
the "usb-storage" kernel module and maybe the "fat" or "vfat".
If you use Gnome, and you install "udev", "hal",
"gnome-volume-manager" and "hotplug", you usually end with a nice icon
on the desktop automagically whenever you attach a USB mass storage to
your pc, and digital cameras can be seen like USB mass storage.
- What's the easiest reliable way of knowing whether or not the kernel
managed to bind a driver to a USB device I plug in?
Looking in your /varl/log/syslog or perusing your /proc/bus/usb or
/sys/bus/sys. There are utilities that do this for you and show a nice
tree with device informations.
Andrea