Quoting ming deng <[EMAIL PROTECTED]>: > I wonder why support of every new USB device will be built into kernel > in the format of loadable modules.
It is not. Many devices are supported only by userspace code.
> Why can't we redesign the USB core
> module(s), and make supporting of a specific USB device to be just an
> application.
Already done (libusb etc.) I personally wrote (at work) a small app to
program some USB stuff this way, and in Java too!
> I've been experiencing so much of kernel crashes from new USB devices,
> each one can understand the benefit of an appliation level driver
> against a kernel level driver. Can someone tell me what are the
> difficulties here for application level drivers?
Some device drivers (video, audio, network etc.) may need to plug into
kernel structures to be useful. But many devices (like digital cameras and
MP3 players) can and are supported by userspace apps.
Dmitri
--
panic("esp: Mr. Potatoe Head is on the loose!");
(from linux/drivers/scsi/esp.c)
msg02457/pgp00000.pgp
Description: PGP signature
